SA-MP Forums Archive
Crash caused by an Uknown error in "GetPlayerArmour" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Crash caused by an Uknown error in "GetPlayerArmour" (/showthread.php?tid=482888)



Crash caused by an Uknown error in "GetPlayerArmour" - denNorske - 23.12.2013

[07:57:27] Crash caused by an unknown error in GetPlayerArmour at address 0x2059c

(Running sa-mp server at 0.3c)


We use Crashdetect plugin on our server, to be able to detect which errors caused the server to crash.
Frequently, the last months, our server has been facing a weird error, and it crashes.

Does anyone know what the error may be caused of?

The thing is, we use getplayerarmour only one place in our script, which is under a command. /Getinfo.
This command is barely used, and the server suddenly crashes. And that was the reason.

So, any ideas what may could cause this?


Re: Crash caused by an Uknown error in "GetPlayerArmour" - Battlezone - 23.12.2013

i dont know how to identify the error :S
However, you can use die_on_error 0 and put it at the end of your server.cfg to prevent server shutdown on error.


Re: Crash caused by an Uknown error in "GetPlayerArmour" - denNorske - 23.12.2013

Oh thankyou. But, are you sure it will help, as it is the cause of crash?


Re: Crash caused by an Uknown error in "GetPlayerArmour" - Battlezone - 24.12.2013

Well i tested it before on my server and it worked for me ( when i had 0.3e server & 0.3x) .
Pretty sure it will work with yours, just try it