Server crash.. [with crash detect logs] please help
#1

Code:
[17:31:10] [debug] #0 0002b8ac in ?? (2, 65535, 1092455253, 51, 3) from zma4.amx
[17:31:10] [debug] #1 0000fb88 in public OnPlayerTakeDamage (2, 65535, 1092455253, 51, 3) from zma4.amx
[17:31:32] [chat] [Luis]: ,
[17:31:33] [debug] Run time error 4: "Array index out of bounds"
[17:31:33] [debug]  Accessing element at index 65535 past array upper bound 999
[17:31:33] [debug] AMX backtrace:
[17:31:33] [debug] #0 0002b8ac in ?? (0, 65535, 1084122727, 54, 3) from zma4.amx
[17:31:33] [debug] #1 0000fb88 in public OnPlayerTakeDamage (0, 65535, 1084122727, 54, 3) from zma4.amx
[17:31:47] Report: TheBloodz[3] has reported FailerZ[15] [Reason: afk.....]
[17:31:57] Owner [T]revo[R] has kicked FailerZ [Reason: afk]
[17:31:57] [resume] FailerZ is no longer AFK because he's left the game. (768 seconds)
[17:31:57] [part] FailerZ has left the server (15:2)
[17:32:12] --- Server Shutting Down.
[17:32:12] [part] MacacoRoxo has left the server (0:0)
[17:32:12] [part] Mantass_Smailius has left the server (1:0)
[17:32:12] [part] [T]revo[R] has left the server (2:0)
[17:32:12] [part] TheBloodz has left the server (3:0)
[17:32:12] [part] Karl_Crister has left the server (4:0)
[17:32:12] [part] Emerald has left the server (5:0)
[17:32:12] [part] lasillaXD has left the server (6:0)
[17:32:12] [part] Charles_Richman has left the server (7:0)
[17:32:12] [part] Orion_Fresh has left the server (8:0)
[17:32:12] [part] zYureTodz has left the server (9:0)
[17:32:12] [part] mauroxxx has left the server (10:0)
[17:32:12] [part] Luis has left the server (11:0)
[17:32:12]
Reply
#2

whats the problem and how to fix it..
Reply
#3

In OnPlayerTakeDamage callback, check if issuerid is not INVALID_PLAYER_ID before using it in arrays.
Reply
#4

new crash again..


[08:03:11] [debug] Run time error 4: "Array index out of bounds"
[08:03:11] [debug] Accessing element at index 65535 past array upper bound 999
[08:03:11] [debug] AMX backtrace:
[08:03:11] [debug] #0 00027900 in ?? (12, 65535, 54) from zma4.amx
[08:03:11] [debug] #1 0000c9e4 in public OnPlayerDeath (12, 65535, 54) from zma4.amx
[08:03:11] [death] Saniok_Sivelov died 54
[08:03:16] [connection] 36.76.173.208:3822 requests connection cookie.
[08:03:17] Incoming connection: 36.76.173.208:3822 id: 7
[08:03:18] [join] rafli has joined the server (7:36.76.173.20
[08:03:19] [pause] rafli is now AFK.
[08:03:20] [kill] ItsOveR killed leonardo_baummer M4
[08:03:21] [kill] Nightmare killed ItsOveR Chainsaw
[08:03:22] [Admin Chat] Owner FailerZ[3]: no we found the problem
[08:03:29] [Admin Chat] Moderator Magnataur.[2]: What problem ?
[08:03:38] --- Server Shutting Down.
[08:03:38] [part] [DF]KillerZ has left the server (0:0)
[08:03:38] [part] FlyinG_CockroacH has left the server (1:0)
[08:03:38] [part] Magnataur. has left the server (2:0)
[08:03:38] [part] FailerZ has left the server (3:0)
[08:03:38] [part] jimmy has left the server (4:0)
[08:03:38] [part] Nightmare has left the server (5:0)
[08:03:38] [part] leonardo_baummer has left the server (6:0)
[08:03:38] [part] rafli has left the server (7:0)
[08:03:38] [part] [T]revo[R] has left the server (8:0)
[08:03:38] [part] ItsOveR has left the server (9:0)
[08:03:38] [part] Vladon_Tulenev has left the server (10:0)
[08:03:38] [part] josematon has left the server (11:0)
Reply
#5

Same as above but now in OnPlayerDeath callback, check if killerid is not INVALID_PLAYER_ID before using it in arrays.
Reply
#6

Some guy is using BulletCrasher on you which already fixed / patched in 0.3z R4. Try updating to 0.3.7 i guess?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)