Quote:
Originally Posted by fowlplay4
The triggers are fine, misread what was happening.
Personally, I'm not a fan of making everyone's "better ATTRs" accessible to everyone all the time rather than when they're needed.
Rather than using a hack to get around the limitations of an ATTR it's probably better to make your system work without having to sync a significant amount of data.
Can you explain the situation where you need it to work like this?
|
It's for convenience, just like ATTR's are. A caching system for the client to have data available about other clients for whenever it's needed, instead of having to wait for the server to respond. Right now it's not being used for any kind of massive data that would extend past 223 bytes (and it never will be, I agree that some data should never be sync'd with all players and should be available upon request) but accessing something like pl.nicknameColor, pl.red/pl.green/pl.blue/pl.alpha/pl.rotation/pl.strechx/pl.stretchy, pl.sysHealth, pl.sysMagic, or pl.sysAlliance (For a server that doesn't use a standard interface) is a lot prettier than pl.attr[1], or even pl.attr[NICKNAME_COLOR]. It's a lot more self-documenting and preferable for a server that has multiple scripters.