Native "GetEdictClassname" reported: Invalid edict (-1 - -1)
akochanov opened this issue · 2 comments
akochanov commented
Hi, that mistake in 1.55c
May be better to use this GetClientWeapon function? Dont get angry at me, I'm just learning to program)
L 02/09/2016 - 22:05:06: Info (map "vsh_castle_siege_b11") (file "errors_20160209.log")
L 02/09/2016 - 22:05:06: [SM] Native "GetEdictClassname" reported: Invalid edict (-1 - -1)
L 02/09/2016 - 22:05:06: [SM] Displaying call stack trace for plugin "saxtonhale.smx":
L 02/09/2016 - 22:05:06: [SM] [0] Line 5694, saxtonhale.sp::OnTakeDamage()
L 02/09/2016 - 22:11:25: [SM] Native "GetEdictClassname" reported: Invalid edict (-1 - -1)
L 02/09/2016 - 22:11:25: [SM] Displaying call stack trace for plugin "saxtonhale.smx":
L 02/09/2016 - 22:11:25: [SM] [0] Line 5694, saxtonhale.sp::OnTakeDamage()
L 02/09/2016 - 22:16:45: [SM] Native "GetEdictClassname" reported: Invalid edict (-1 - -1)
L 02/09/2016 - 22:16:45: [SM] Displaying call stack trace for plugin "saxtonhale.smx":
L 02/09/2016 - 22:16:45: [SM] [0] Line 5694, saxtonhale.sp::OnTakeDamage()
L 02/09/2016 - 22:30:13: Error log file session closed.
Starblaster64 commented
Probably, I'm short on free time at the moment, so I may not be able to fix it for a while.
Starblaster64 commented
By the way, was this happening constantly, or only in certain scenarios? I'm trying to figure out when it would return an invalid value at all.