Quote:
Originally Posted by Stefan
Optimization in terms of reducing the memory usage. Each player had hundreds of clientr.muditem_ flags, the original scripters probably thought those are deleted at logout, but they are not, it's clientr.mud_. So those flags required a huge amount of memory on server-side and also made login slower. Also there were two dbnpcs with a huge amount of variables which were not used anyway but it was adding more and more.
|
Did you rewrite the system (I sure hope so) or just remove unnecessary flags? I know the second lot of item flags are just descriptions of items and as such are unnecessary. It's an awful system. Instead of the current method, could just store them clientside in a temporary space: retrieve only what you need when you need. Depends on what you did though

.
Quote:
Originally Posted by Stefan
There should eventually be some tools to measure the memory usage of npcs, players and levels.
|
/memstats
