server lags
#1

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

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

internet is 20mb, good enough?

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

how can loops make it slower?
Reply
#5

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

Home hosting always lags to reduce lag dont use filterscripts.
Reply
#7

no filterscripts :S
Reply
#8

Are you using any heavy gm and plugins?
Reply
#9

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+.
Reply
#10

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


Forum Jump:


Users browsing this thread: 3 Guest(s)