Quote:
Originally Posted by Twinny
Would it be possible to allow scripts to modify the object created by this function? I would like to erase a load of clientr. flags when the player logs off.
|
I imagine this would actually save a lot of load-up time.
When the player logs in, they need to download all of their weapons, client.flags, clientr.flags, saved attributes, and all of the surrounding players/NPCs.
Would it be better to locally store client/r.flags and other data and let there be a single packet that the server would have to send in order for those to be used? Wouldn't know if it does that.
Even better, the server could specify to the client which flags it can't pre-load from local storage before using them. I wonder if the login event in the control-NPC is executed before the player loads anything else, otherwise it would be kindof strange to delete client/r.flags when that happens.