View Single Post
  #28  
Old 03-12-2012, 02:34 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by jamitsu89 View Post
The only advantage I see of caching them in a weapon NPC as opposed to storing them in clientr. variables is it takes up less VISIBLE space. Yet if you want to be able to quickly refer to these item flags without checking the Database, you will have them visibly in the flags. GK have over 500 flags as previously stated, and they're running just fine.

Therefore I see no true "better" way, and it's down to a matter of personal preference.
I've spent a lot of time developing on "big" servers, namely Maloria and Zodiac. Along with Kingdoms Debug, they all had one thing in common: player flags was filled with garbage, which made looking through them more annoying than it should be. This was especially annoying on Zodiac.

Quote:
Originally Posted by jamitsu89 View Post
Heck, if you're storing them in clientr. you don't even need to triggerClient; you can just write them then and there to be available Clientside.
clientr. flags trigger to the client automatically, you know. I recall Stefan posting something about updating clientr. flags frequently wasn't very optimal. I can't remember the exact details.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote