[+REP] Server Crash (Crash detect errors)
#1

Hello, my server gets random crashed quite a few time now.

i decided to load "crashdetect" plugin, and got so many errors in the log.

Also, after the crash the server ping can be seen but on connecting in (it kicks the player)

So here are the errors, i get in the crash.

1 possible reason i found out is when any player gets more then 2b cash, server crashes.

Also, see the following serverlog errors

Code:
[15:30:54] [debug] Run time error 4: "Array index out of bounds"
[15:30:54] [debug]  Accessing element at index 65535 past array upper bound 499
[15:30:54] [debug] AMX backtrace:
[15:30:54] [debug] #0 00137284 in ?? (1, 65535, 1079194420, 54, 3) from DEATHMATCH.amx
[15:30:54] [debug] #1 0001126c in public OnPlayerTakeDamage (1, 65535, 1079194420, 54, 3) from DEATHMATCH.amx

[15:31:11] [debug] Run time error 4: "Array index out of bounds"
[15:31:11] [debug]  Accessing element at index 65535 past array upper bound 499
[15:31:11] [debug] AMX backtrace:
[15:31:11] [debug] #0 00137284 in ?? (1, 65535, 1079194420, 54, 3) from DEATHMATCH.amx
[15:31:11] [debug] #1 0001126c in public OnPlayerTakeDamage (1, 65535, 1079194420, 54, 3) from DEATHMATCH.amx
This is repeated 999 times in the whole log, i just copied twice.

And now after crash, i see this in the serverlog

[15:33:59] [connection] (player ip) requests connection cookie.
[15:34:08] Kicking (player ip) because they didn't logon to the game.
[15:34:30] Kicking (player ip) because they didn't logon to the game.
[15:34:42] [connection] (player ip) requests connection cookie.


it is also repeated, when everyplayer joins.

Server restart fixes it, but the errors (onplayertakedamange) continous

Help me please..

and tell me if you need my "OnPlayerTakeDamge" Code.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)