Server Crash - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Server Crash (
/showthread.php?tid=141752)
Server Crash -
Noredine - 15.04.2010
My server is hosted by Server FFS
In Country France..
And always my server crash ...after 30 minutes or 10 minutes..
My server a few times for 1 second or 2 seconds pings: 1500
When my server was in the Country Nederlands its does not crash ever.
Re: Server Crash -
adsy - 15.04.2010
have you modified your code in any way?
have you got the latest release server version?
have you contacted serverffs?
have you checked the server error log?
if you have modified your code especially in the onplayerupdate function can you check it?
Re: Server Crash -
Noredine - 15.04.2010
Quote:
Originally Posted by adsy
have you modified your code in any way? Yes
have you got the latest release server version? Yes
have you contacted serverffs? No
have you checked the server error log? Yes
if you have modified your code especially in the onplayerupdate function can you check it? Yes
|
Re: Server Crash -
Jay_ - 15.04.2010
There are many many reasons that could cause a server to crash - from too many timers or code being executed on a regular basis, to simple coding mistakes. I suggest you post the crash log in the server support section. Hopefully a developer will reply with some further information.
The way you describe it, it sounds to me like there is to much code being executed on a regular basis causing the server to overload and bottleneck. My recommendation is to not use OnPlayerUpdate for
anything.
Re: Server Crash -
Noredine - 15.04.2010
Quote:
Originally Posted by _Jay_
There are many many reasons that could cause a server to crash - from too many timers or code being executed on a regular basis, to simple coding mistakes. I suggest you post the crash log in the server support section. Hopefully a developer will reply with some further information.
The way you describe it, it sounds to me like there is to much code being executed on a regular basis causing the server to overload and bottleneck. My recommendation is to not use OnPlayerUpdate for anything.
|
I use OnPlayerUpdateX.
created with forward...
I need move my code OnPlayerUpdateX at OnPlayerDisconnect.