Server Crashed Help me !!
#1

I use crashdetect last version in check problem.

Helpme :

[21:54:13] [debug] #1 00029db8 in public ScriptInit_OnGameModeInit () from rev.amx
[21:54:13] [debug] #2 00000704 in public OnPlayerEnterVehicle () from rev.amx

[21:55:31] [debug] Attempted to read/write array element at index 332 in array of size 302
[21:55:31] [debug] AMX backtrace:
[21:55:31] [debug] #0 00068170 in public SSCANF_OnPlayerDisconnect (2, 1) from rev.amx
[21:55:31] [debug] #1 00038324 in public ppb_OnPlayerDisconnect (2, 1) from rev.amx
[21:55:31] [debug] #2 00037608 in public _y_utils_OnPlayerDisconnect (2, 1) from rev.amx
[21:55:31] [debug] #3 000066e8 in ?? (2, 1, 1, 0, 0, 8, 2, 1, 0, 0, ... <1073741813 arguments>) from rev.amx
[21:55:31] [debug] #4 00007c1c in public OnPlayerDisconnect (2, 1) from rev.amx
[21:55:31] [debug] Attempted to read/write array element at index 332 in array of size 302
[21:55:31] [debug] AMX backtrace:
[21:55:31] [debug] #0 00068170 in public SSCANF_OnPlayerDisconnect (2, 1) from rev.amx
[21:55:31] [debug] #1 00038324 in public ppb_OnPlayerDisconnect (2, 1) from rev.amx
[21:55:31] [debug] #2 00037608 in public _y_utils_OnPlayerDisconnect (2, 1) from rev.amx
[21:55:31] [debug] #3 000066e8 in ?? (2, 1, 1, 0, 0, 8, 2, 1, 0, 0, ... <1073741813 arguments>) from rev.amx
[21:55:31] [debug] #4 00007c1c in public OnPlayerDisconnect (2, 1) from rev.amx
Reply
#2

It seems that you tried to write to an array at an index that is above the size of said array?

Trying to do everything with the crashdetect plugin and the gamemode compiled with the -d3 flag would help finding where the problem is exactly.

https://github.com/Zeex/samp-plugin-...ith-debug-info - explains how to do that

Other than that you could try showing your OnPlayerEnterVehicle callback as it should have the array that is causing the problem (although it could be difficult to find which one if it has lots of code, so just compile with -d3 and show the new logs). Also, what did you do to cause the crash?
Reply
#3

Follow
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)