Quote:
Originally Posted by Andy0687
Mmm, sorry about that, I skipped over the part where you said about "folder depth" issues, how many variables could you have where it becomes THAT laggy anyways for such a long period of time that it would become an incuberance to gameplay?
|
It is not so much an incuberance to game play as it is simply an issue of having more serverside cpu usage. I have many cases where I have to delete huge sections of variables because savevars() does not delete variables that aren't actually writen in the txt you are calling it from.
My 1st method is the method I am using right now...I just wanted to know if someone found a better way...
Quote:
Originally Posted by xAndrewx
I see the bug, knda
I did this though, dunno if it's of value
HTML Code:
temp.curList = getstringkeys("client.");
this.clearList("client.", temp.curList);
function clearList(stringType, currentList)
{
for (temp.curString: temp.currentList)
{
unset( (@ temp.stringType @ temp.curString) );
}
}
|
That is pretty much what I did in my first method except you seemed to add a little more unnecessary code.