Gamemode lagging like crazy for no reason - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Gamemode lagging like crazy for no reason (
/showthread.php?tid=533241)
Gamemode lagging like crazy for no reason -
Tika Spic - 23.08.2014
So I recently started making a new GM from scratch with dini as the file reader and zcmd as the cmd processor (it's how the guy who I'm making it for wanted), and here is the problem:
I have 0 timers, 0 file loadings, about 50 commands, I started making it yesterday I mean its not even at 10% completion yet and when I go ingame (local server, 127.0.0.1:7777) it lags crazy.. A message in chat (OnPlayerText) takes 20~ secs to show, printing in the console of me entering and leaving the game takes about 10~ secs, everything was fine yesterday I have no idea what happened..
Any suggestions?
Re: Gamemode lagging like crazy for no reason -
RajatPawar - 23.08.2014
One, you are using dini - it's slow. You also may have a loop with bad conditions, try using the performance profiler plugin!
Re: Gamemode lagging like crazy for no reason -
Tika Spic - 23.08.2014
I agree that dini is slow but its not being used even once, i just enter the game, no loading no nothing, it can't make the server lag if it isnt being used :S
I'll try the plugin thanks for the help