• Print

Author Topic: Notes and todos for improving and cleaning ULX/ULib startup  (Read 6 times)

0 Members and 1 Guest are viewing this topic.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Notes and todos for improving and cleaning ULX/ULib startup
« on: January 18, 2008, 02:51:54 pm »
The problem: ULX and ULib startup is driven mostly by timers right now. This means that mileage may vary on whether or not it works, and it is certainly annoying that modules have to wait until ULib is done, when it's taking extra time to be careful.

The goal: Have no timers (at all) involved in the ULX and ULib startup sequences; A possible exception to this would be to run something on the next tick, but only if absolutely necessary. Load modules instantly, but provide hooks (using hook.Add) for phases of ULib/ULX loading.

Notes:

Use OnEntityCreated to know the exact instant the player object is created on the client.
Experiencing God's grace one day at a time.

  • Print