For( problem.
Inside the for( there is something wrong, and I know I'm redefining inside the for( but that's not the problem, the array d.lists is a list of player accounts and then once it converts to dband, I need it to load all those accounts files "guild/player saccount_groster.txt" then remove the d.guild which is a guildname and then reupload it using savelines.All the params are correct I echoed them all. Someone Help!
PHP Code:
-Ronnie |
try for ( temp.dband : d.lists ), and also try echoing (if you haven't for some reason) d.lists to see that it actually is an array.
EDIT: You really should declare your variables as temporary with a temp. prefix anyway, so they aren't global variables. |
What does d.lists echo?
|
Actually guys figured it out for some odd reason
PHP Code:
PHP Code:
-Ronnie Will do @ Cbk, that should reduce lag also , or atleast a tiny bit? |
Its probably not increasing the speed a lot but using proper variable names instead of "d" or "dppl" is always good :)
|
I'm pretty sure using temp. variables lowers the memory usage.
|
Quote:
|
Quote:
|
Quote:
Though I'm not sure if it's stored on the hard drive (virtual memory) or actual memory on the systems running the servers. |
Quote:
Now then, Stefan was talking about variable names, not whether they're temporary variables or not, because obviously properly descriptive variable names improve comprehension. |
Quote:
|
All times are GMT +2. The time now is 05:10 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.