SA-MP Forums Archive
Server LAG - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: Server LAG (/showthread.php?tid=322799)



Server LAG - Gooday - 03.03.2012

Can a script make a server "laggy" because the players in my server says "WOW i lag here" The map got 700 objects and i host with JiHost, Maybe this the problem? (host)


Re: Server LAG - ikey07 - 03.03.2012

Wrong made loops, wrong timers etc that all can lagg your server


Re: Server LAG - Gooday - 04.03.2012

What do you mean for loops? So if i have 20 warns i will lag?


Re: Server LAG - T0pAz - 04.03.2012

Show your OnPlayerUpdate callback.


Re: Server LAG - Gooday - 04.03.2012

pawn Код:
public OnPlayerUpdate(playerid)
{
     new money;
     money = GetPlayerMoney(playerid);
     SetPlayerScore(playerid,money);
     return 1;
}
Basically it shows the moneys and not the score in the tab...


Re: Server LAG - Test23 - 04.03.2012

If there's a lot of objects in a certian area there will be a lag.


Re: Server LAG - Abbott - 04.03.2012

Are you getting FPS lag or general server lag (chat lag, sync, etc)?


Re: Server LAG - TheCow - 04.03.2012

Easy fix - Move to Volt Host.
It might be your host, becouse I had the same problem with JiHost after 1 week of using it.
When I moved over to Volt Host, then I didn't lag at all.

Or maybe its your script fault.


Re: Server LAG - Detective- - 07.03.2012

Could be your mappings, your script may be having too many problems with it, or it can just be your host.

Are your mappings all in one area near each other? And check your host's server specifications and see what type of hardware they're using.