SA-MP Forums Archive
Server keeps crashing... - 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: Server keeps crashing... (/showthread.php?tid=614251)



Server keeps crashing... - DeksoN - 06.08.2016

Hello SAMP Friends, i have one problem , if someone can solve , my server keeps crashing, it's online for i dont know 4 hourse and then just shuts down, can some one help?

I added crashdetect plugin.

Code -> http://pastebin.com/Chem3EA3

Please help!

Regards.


Re: Server keeps crashing... - WingedFrostWolf - 06.08.2016

I'm definately not an expert on this, but I believe you could be crashing because of:

Код:
[12:57:35] [debug] Server crashed while executing TFKV1.9.amx
[12:57:35] [debug] AMX backtrace:
[12:57:35] [debug] #0 native ShowMenuForPlayer () from samp03svr
[12:57:35] [debug] #1 002cf0a8 in public OnPlayerSelectedMenuRow (0, 8) from TFKV1.9.amx
Double check your ShowMenuForPlayer () and OnPlayerSelectedMenuRow codes.

If I'm wrong feel free to correct me.

P.S. You should really fix your Array index out of bounds error.

Код:
[12:50:51] [debug] #0 002bfe64 in public PingKick () from TFKV1.9.amx
[12:51:44] [debug] Run time error 4: "Array index out of bounds"
[12:51:44] [debug]  Accessing element at index 4 past array upper bound 3



Re: Server keeps crashing... - DeksoN - 06.08.2016

Thank you so much , im gonna try!

Thank you for your help, and time!