SA-MP Forums Archive
Crash 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: Crash Problem (/showthread.php?tid=596147)



Crash Problem - Andrei1255 - 13.12.2015

Hi ! The players on my server are crashed very often, and I don't know why . I think that it's a problem with the gamemode, but I don't know what. Can you give me some reasons of crashes in a pawno script (gamemode) ? Thanks !


Re: Crash Problem - Younes44 - 13.12.2015

added crashdetect+ nativechecker Plugin and show us error in ur server-log


Re: Crash Problem - Andrei1255 - 13.12.2015

Does the crashdetect / nativechecker plugin also detect when a player is crashed ? I think that it detects only a server crash...


Re: Crash Problem - FreAkeD - 13.12.2015

Quote:
Originally Posted by Andrei1255
Посмотреть сообщение
Does the crashdetect / nativechecker plugin also detect when a player is crashed ? I think that it detects only a server crash...
nativechecker only detects what plugins are missing.

crashdetect detects where your server crashes.


Re: Crash Problem - Andrei1255 - 13.12.2015

And what can I install to see a detailed crash of a player ? I see where's the problem, in which function, but I can't see which array is out of bounds, as the error is:

[15:32:06] [debug] Run time error 4: "Array index out of bounds"
[15:32:06] [debug] Accessing element at negative index -1
[15:32:06] [debug] AMX backtrace:
[15:32:06] [debug] #0 003d2908 in public LoadTrunk (42) from ***.amx
[15:32:06] [debug] #1 003e23f8 in ?? (42) from ***.amx

If you want, I can paste here the "LoadTrunk" code.


Re: Crash Problem - FreAkeD - 13.12.2015

Show us the LoadTrunk code.


Re: Crash Problem - Andrei1255 - 20.12.2015

I have solved that errors, but some players on my server are still crashed pretty often . Any idea`s why it's happened, or maybe a fix ? Thanks very much !


Re: Crash Problem - Andrei1255 - 22.12.2015

UP ...