Lately we have been running with a lot of unexplained crashes on our servers since the update push about a month ago to the new Protocol 48. But even before then, we have seen this warning in our AMXMOD-X error.log files. Not sure why, but in order to get our servers error free, we have tried but feel there needs to be a check for a playerid of 0 to prevent this. Though it is not critical for server operation, errors make me twinge.
All we are doing is reporting our findings, I have tried to search the forums about the event.inc file but only found old archive posts.
Code:
L 07/10/2009 - 03:40:46: Start of error session.
L 07/10/2009 - 03:40:46: Info (map "cs_militia") (file "addons/amxmodx/logs/error_20090710.log")
L 07/10/2009 - 03:40:46: Invalid player id 0
L 07/10/2009 - 03:40:46: [AMXX] Displaying debug trace (plugin "uaio_admin.amxx")
L 07/10/2009 - 03:40:46: [AMXX] Run time error 10: native error (native "get_user_weapon")
L 07/10/2009 - 03:40:46: [AMXX] [0] events.inc::Event_TextMsg (line 347)
L 07/10/2009 - 03:41:05: Invalid player id 0
L 07/10/2009 - 03:41:05: [AMXX] Displaying debug trace (plugin "uaio_admin.amxx")
L 07/10/2009 - 03:41:05: [AMXX] Run time error 10: native error (native "get_user_weapon")
L 07/10/2009 - 03:41:05: [AMXX] [0] events.inc::Event_TextMsg (line 347)
L 07/10/2009 - 03:41:44: Invalid player id 0
L 07/10/2009 - 03:41:44: [AMXX] Displaying debug trace (plugin "uaio_admin.amxx")
L 07/10/2009 - 03:41:44: [AMXX] Run time error 10: native error (native "get_user_weapon")
L 07/10/2009 - 03:41:44: [AMXX] [0] events.inc::Event_TextMsg (line 347)
L 07/10/2009 - 03:43:56: Invalid player id 0
L 07/10/2009 - 03:43:56: [AMXX] Displaying debug trace (plugin "uaio_admin.amxx")
L 07/10/2009 - 03:43:56: [AMXX] Run time error 10: native error (native "get_user_weapon")
L 07/10/2009 - 03:43:56: [AMXX] [0] events.inc::Event_TextMsg (line 347)
L 07/10/2009 - 03:44:36: Invalid player id 0
L 07/10/2009 - 03:44:36: [AMXX] Displaying debug trace (plugin "uaio_admin.amxx")
L 07/10/2009 - 03:44:36: [AMXX] Run time error 10: native error (native "get_user_weapon")
L 07/10/2009 - 03:44:36: [AMXX] [0] events.inc::Event_TextMsg (line 347)
This appears to be happening every week according to our logs from the past 2-3 weeks, but not known how frequently before then.
We run Mandriva Linux 2009.1 fully dedicated servers with Pentium-D 3.4Ghz, 2GB.
Anymore information needed, please let me know where I can be of assistance.
Thanks,
Krillin
__________________