Server LAG
#1

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)
Reply
#2

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

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

Show your OnPlayerUpdate callback.
Reply
#5

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...
Reply
#6

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

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

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.
Reply
#9

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)