Why Lag my server?
#1

Hello.I have 266 ping in my server.But when i log-in it makes me slow... the login dialog.... also in class select section... so what is the fact of this problem? .... maybe for the map? Map createObject's should be on OnPlayerConnect Right?.....
Reply
#2

There are some possibilties which make your server lag.

One of it, your host. Make sure you dont have problem with your host.
And about that createobject, i think it should be OnGameModeInit callback function.
Reply
#3

Hello, your createobject's should be under your OnGameModeInit callback function as qazwsx stated above. The lag may be because of your host provider, or your connection. Try moving the createobject codes.
Reply
#4

I already had this problem. Try to remove some mappings
Reply
#5

Indeed, could be something with your host. Or there is something in the code that makes your server lag. I used to have a problem with playerstats saving. There was a timer in my script saving every second all files of players. So when there were 50 players it started lagging because it had to save all the 50 files every second.

But try to check your script and make sure there is nothing like a timer running something every second as I had.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)