Posts: 381
Threads: 19
Joined: Oct 2011
Reputation:
0
You probably have tons of useless timers or some messed up functions on saving/loading.
If not any of the above, there's a very slight chance it could be your MySQL host if you're running MySQL, that is.
Check your heap stack; and check your script for any useless [256] strings or other variables or anything.
Posts: 223
Threads: 13
Joined: Sep 2012
Reputation:
0
OnPlayerRequestClass
PlayerProcessTimer[playerid] = SetTimerEx("PlayerProcess",2000, true, "i", playerid);
OnPlayerDisconnect
Killtimer(PlayerProcessTimer[playerid]);
OnGameModeInit
timers_processer = SetTimer("TimerPROCESS",800,true);
OnGameModeExit
KillTimer(timers_processer);
there are 2 timer run continuously, anticheat and game mode.
Posts: 381
Threads: 19
Joined: Oct 2011
Reputation:
0
Check for variables using more than 128 text strings when they shouldn't.
Also are you using MySQL?
Posts: 223
Threads: 13
Joined: Sep 2012
Reputation:
0
new string[85];
format(string, sizeof(string), "%s был разморожен Администратором %s",PlayerInfo[Spectate[playerid]][pName] ,PlayerInfo[playerid][pName]);
we know how to properly allocate memory.
yes, im using MySQL, i do not think that it is because of him.
Posts: 381
Threads: 19
Joined: Oct 2011
Reputation:
0
It could be. You probably have a shitty host or shitty saving/loading schemes.
Try a new host or check the string limiters on your saving/loading.
It must be because of useless heaps of data (Ex: Strings all limited to 256, loading/saving not done properly, MySQL host database needs cleaning/new hosting etc.)
Check back with me after you do this.
Posts: 223
Threads: 13
Joined: Sep 2012
Reputation:
0
It's not lag host or MySQL, lags players with high id, if more than 500 online, I connected id 300 the game will be much lag, if I connected id 15 game will not lag.
Posts: 223
Threads: 13
Joined: Sep 2012
Reputation:
0
machine configuration:
Intel® Xeon® CPU E5430 @ 2.66GHz 2003.000 Mhz X 8
32gb ОЗУ
Диск SATA 240gb
1gb channel.
It's not lag host.
Posts: 223
Threads: 13
Joined: Sep 2012
Reputation:
0
Checked on a high online display quickly without lags only 30 TextDraw, lags the rest give to the customer, we have 90 TextDraw. should appear instantly, it does not happen that gives lags to the client.