SA-MP Forums Archive
What is the problem? - 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: What is the problem? (/showthread.php?tid=464164)



What is the problem? - und3rcore - 15.09.2013

Hello, i recently had some issues with my server. The script compiles just fine without any errors/warnings and everything works perfect but after 10-20 minutes the server crashes automatically so i used the crashdetect plugin and i get these errors:

The crashinfo.txt that gets generated when the server crashes: crashinfo.txt - Pastebin

And the info from crashdetect plugin at server_log.txt: server_log.txt - Pastebin

Also any other information can be provided such as the code, etc.

Thanks in advance.


Re: What is the problem? - und3rcore - 15.09.2013

Someone please? This is a bit of urgent as the players are complaining and I got no idea what caused this. I already checked the code but I didn't see anything wrong.


Re: What is the problem? - Konstantinos - 15.09.2013

Array index out of bounds in OnPlayerKeyStateChange callback. That means that it uses -1 inside an array [ ].

The version 4.12 of crashdetect has been released in case you use 4.10

Update the plugin and create a file called "pawn.cfg" into the pawno directory. Open the file and write in it:
pawn Код:
-d3
Save the file and re-compile the scripts you use. Run your server again and show us again what it prints in the console/server log (It might gives extra information such as lines etc..)


Re: What is the problem? - und3rcore - 16.09.2013

Thanks I will try what you said and post back! (Are patridaa!)