Server freez after a server restart
#1

Hello guys, I have this big problem, i don't know why ..

When I restart the server and then i connect to the server, after I write my password, i'm spawned and the server freeze. Sometimes, my function bancheck(playerid) is called to late, and then when check if the player is not banned, OnPlayerLogin is called (to check if the password is correctly) , after he put in the box (dialog) his password.

Video: https://www.youtube.com/watch?v=y6KL_ANVF68

I have delete everything that I did recently in my gm (some timers, some new functions created) + all function OnPlayerLogin and the server still freeze.

This happens only when I restart the server, and after the freeze, all work normally.
Reply
#2

Seems like an infinite loop. Check your OnPlayerConnect for any unwanted timers/loops.
Reply
#3

Quote:
Originally Posted by Wanheda
Посмотреть сообщение
Seems like an infinite loop. Check your OnPlayerConnect for any unwanted timers/loops.
I try, still..

Ten minutes ago i have deleted 20.000 lines on my gamemode, and still get freeze..
Reply
#4

Wtf really
Reply
#5

wait,you`ve just deleted 20k lines from your gm and it still works?
Reply
#6

it looks like server needs too long to load your data.
is this problem only happening to you? or in whole server?

Quote:
Originally Posted by PepsiCola23
Посмотреть сообщение
wait,you`ve just deleted 20k lines from your gm and it still works?
this is awkward.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)