Posts: 1,664
Threads: 319
Joined: May 2012
Reputation:
0
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?.....
Posts: 409
Threads: 37
Joined: Jun 2013
Reputation:
0
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.
Posts: 244
Threads: 19
Joined: Mar 2012
Reputation:
0
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.
Posts: 212
Threads: 8
Joined: Jul 2012
Reputation:
0
I already had this problem. Try to remove some mappings
Posts: 89
Threads: 1
Joined: Oct 2010
Reputation:
0
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.