I think every bit of code I added has been extended, changed, or removed. So you can't blame me, as I believe a mixture of Catid and Grel did the current object handling code.
The way ASSS handles objects, to ease coding for other modules, is when you send an object state with a target of the arena (ToggleSet in objects.c), it will remember that state so anytime a new user enters , it will update that state for that user (SendState in object.c). To prevent this, from a client side, create a new command in which when toggling a state to the arena, the command will instead send the new toggled state to an array of players and not the arena itself. Or if you want to have this work on your zone only, edit objects.c itself and disable the storage system.
Mr Ekted - Sat Mar 11, 2006 10:25 pm
Post subject:
I like the feature. It just wasn't working. It was turning on all objects all the time.
Grelminar - Tue Mar 14, 2006 2:44 am
Post subject:
The current objects.c was written by catid. I don't know much about it, or the objects protocol. If you want to fix bugs, or rewrite it from scratch, please go ahead.
Goldeye - Sun Apr 02, 2006 5:25 pm
Post subject:
In most hz arenas we use my varlvz module to manage scoreboards. While it doesn't really handle player-specific states (well, it might, I don't remember) it could easily be adapted for pb.
It sets a named object variable to a numberic state. Could be used to put up numbers, times, words, etc, easily.