Freeze & Incoming connection -
papedo - 14.03.2012
Hello,
when I start server, after few minits of playing (5 - 30) game freezes for all. No player position updating, no chat updates.. When players try to reconnect server prints into log "Incoming connection" and for player "Connected. Joining the game", but player canґt spawn or write to the chat. Any ideas for fix it?
Thx for Help
//Edit Solution: infinite while loop in register dialog
Re: Freeze & Incoming connection -
[BP]Tony - 14.03.2012
What gamemode you are using ?
Re: Freeze & Incoming connection -
papedo - 14.03.2012
My own gamemode. I haven't been changed nothing in OnPlayerConnect.. IDK why it happens.
Re: Freeze & Incoming connection -
Twisted_Insane - 14.03.2012
Search in your script for this line:
Re: Freeze & Incoming connection -
Georgi166 - 14.03.2012
It would be DDOS But if it was it wouldn't even show "Connected"
AW: Freeze & Incoming connection -
Blunt P - 16.03.2012
You have to check how much ressource the server does take when it freezes. If the CPU load is high, then you might have a loop which keeps continueing.
Re: Freeze & Incoming connection -
AndreT - 16.03.2012
Your server has frozen from what it seems to me. Do you use the MySQL plugin?
Quote:
Originally Posted by Twisted_Insane
Search in your script for this line:
|
Seriously, stop even posting if you don't know what's going on...
Re: Freeze & Incoming connection -
seanny - 16.03.2012
Try re-downloading the SAMP scripting includes. I had a similar error were OnPlayerConnect was not even called
Re: Freeze & Incoming connection -
new121 - 16.03.2012
Quote:
Originally Posted by AndreT
Seriously, stop even posting if you don't know what's going on...
|
Yea that guy is an idiot, +rep, anyways, if you are using MYSQL then you probally are using inefficient code, if it is not you either have way to many timers or a loop that is not stopped, if you are hosting it on your home pc you may just not have the needed PC specs to host a server from home, buying an actual host will fix it if that is the issue.
Re: Freeze & Incoming connection -
papedo - 16.03.2012
Quote:
Originally Posted by T0pAz
It looks like there is return 0; somewhere on OnPlayerUpdate.
|
In OnPlayerUpdate i save last player activity tick into variable, nothing else. // Added since year..
Quote:
Originally Posted by Georgi166
It would be DDOS But if it was it wouldn't even show "Connected"
|
Connecting IPs match with IPs player, which play on my server..
Server freezes in random time, but always minute after some player connect.