SA-MP Forums Archive
server lags - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: server lags (/showthread.php?tid=233496)



server lags - xir - 01.03.2011

hi.. i tried to home host the server just for now, but it lags like hell :S is it because i home host ?


Re: server lags - alpha500delta - 01.03.2011

If your specs are bad, or your internet is slow, then yes, but it could also be your script (check for loopholes and stuff)


Re: server lags - xir - 01.03.2011

internet is 20mb, good enough?

i also saw onplayerupdate causes lags but i dont got onplayerupdate .. :S


Re: server lags - xir - 02.03.2011

how can loops make it slower?


Re: server lags - Cameltoe - 02.03.2011

Quote:
Originally Posted by xir
Посмотреть сообщение
how can loops make it slower?
sa-mp server is one-threaded, this means that every single action get's placed in an que.


Re: server lags - wheelman_WM - 02.03.2011

Home hosting always lags to reduce lag dont use filterscripts.


Re: server lags - xir - 02.03.2011

no filterscripts :S


Re: server lags - BASITJALIL - 02.03.2011

Are you using any heavy gm and plugins?


Re: server lags - BlackWolf120 - 02.03.2011

also too many timers might cause the lag.
If theyre running at the same time or executing/repeating too big and heavy functions in a short time and for every single player.(e.g. saving data...)
Also there is to say that home hosting should be only a temporary solution, maybe for testin' stuff but if u want to run a server seriously u have to rent a server. Even more if u have a roleplay script with 50 players+.


Re: server lags - xir - 02.03.2011

Quote:
Originally Posted by BASITJALIL
Посмотреть сообщение
Are you using any heavy gm and plugins?
11k gm lines and sscanf plugin and a country dectector plugin