Would be wonderful if there was a way to modify the attributes of offline players. Something like
PHP Code:
temp.pl = loadPlayer("cbk1994");
pl.clientr.var = "foo";
If the player is online, loadPlayer should just return the TServerPlayer object (like findPlayer).
I'm not sure what the most effective way to save changes is, but I'm sure it's somehow possible. I'm guessing the garbage collector, which "destroys" the object, could save it once all references to it have been dropped (the function ends)?