Raised This Month: $12 Target: $400
 3% 

[AMXX] stats.amxx default plugin?


  
 
 
Thread Tools Display Modes
Author Message
MiSSBe4utyBuM
Junior Member
Join Date: Oct 2005
Old 10-19-2005 , 15:27   [AMXX] stats.amxx default plugin?
#1

Here's my amxx error:

L 10/19/2005 - 12:05:58: [AMXX] [DODX] Invalid player 27
L 10/19/2005 - 12:05:58: [AMXX] Displaying call trace (plugin "dod/addons/amxmodx/plugins/stats.amxx")
L 10/19/2005 - 12:05:58: [AMXX] [0] stats.sma::client_death (line 556)

Line 556 of stats.sma reads:

new enemygre = ( ( (wpnindex == DODW_HANDGRENADE || wpnindex == DODW_MILLS_BOMB) && get_user_team(killer) == 2 ) || ( wpnindex == DODW_STICKGRENADE && get_user_team(killer) == 1 ) ) ? 1:0

Quote:
Originally Posted by XxAvalanchexX
If there is a problem with a default plugin it should be posted in the bug reports forum. Thanks.
Any ideas on how to solve this?
MiSSBe4utyBuM is offline
SidLuke
Senior Member
Join Date: Mar 2004
Location: Poland, Chrzanow
Old 10-19-2005 , 17:39  
#2

All x modules are messed up in 1.6 because forwards are passing wrong data sometimes (dodx) or always (tfcx). I don't have time to look at it atm ( mon-fr work , sat-sun school ). IMO it's core problem ( forward system ) but I must prove it ...
__________________
Looking for DoD plugins ? Check DoD Plugins Center
SidLuke is offline
Send a message via AIM to SidLuke Send a message via MSN to SidLuke
BAILOPAN
Join Date: Jan 2004
Old 10-19-2005 , 17:54  
#3

It's not a core problem. A DoDX native is trying to do something on an invalid player.

I don't think you're using AMX Mod X 1.60, because the debugger would say which native was used. If not, could you upgrade and try to reproduce it?
__________________
egg
BAILOPAN is offline
MiSSBe4utyBuM
Junior Member
Join Date: Oct 2005
Old 10-19-2005 , 18:40  
#4

No, I'm not I'm sure its 1.55
Is 1.6 a secure upgrade?

I've asked my host to do it for me.
I'll post the new error next time it happens.
MiSSBe4utyBuM is offline
MiSSBe4utyBuM
Junior Member
Join Date: Oct 2005
Old 10-20-2005 , 00:53  
#5

It crashed. I got these errors with the 1.6.
I didn't have tk debug. Didn't think it was an issue.
So i debugged it.

L 09/30/2005 - 217:06: [AMXX] Run time error 4 (index out of bounds)
L 09/30/2005 - 217:06: [AMXX] Debug is not enabled (plugin "dod/addons/amxmodx/plugins/stats.amxx")

L 09/30/2005 - 20:13:55: [AMXX] [DODX] Invalid player 20
L 09/30/2005 - 20:13:55: [AMXX] Debug is not enabled (plugin "dod/addons/amxmodx/plugins/stats.amxx")

L 09/30/2005 - 09:54:57: [AMXX] [DODX] Invalid player 14
L 09/30/2005 - 09:54:57: [AMXX] Debug is not enabled (plugin "dod/addons/amxmodx/plugins/stats.amxx")

now in plugins.ini i have stats.amxx debug

But it said its not enabled
MiSSBe4utyBuM is offline
BAILOPAN
Join Date: Jan 2004
Old 10-20-2005 , 01:00  
#6

What?

It crashes when? When you use debug mode?
__________________
egg
BAILOPAN is offline
MiSSBe4utyBuM
Junior Member
Join Date: Oct 2005
Old 10-20-2005 , 09:17  
#7

No its crashing more then it use to now.
I placed debug after both stats and tkrevenge but its not debuggin them.
Its still telling me they are disabled.

I have the debug in amxx.cfg set to 1
My plugins looks like this:
; Day of Defeat
stats.amxx debug ; stats on death or round end (DoD Module required!)
statssounds.amxx ; precache plugin for stats plugins
stats_logging.amxx ; weapons stats logging (DoD Module required!)


; Custom - Add 3rd party plugins here
dod_tkrevenge.amxx debug
MiSSBe4utyBuM is offline
BAILOPAN
Join Date: Jan 2004
Old 10-20-2005 , 10:03  
#8

Is the server linux or windows? If it's linux, do you have SSH access?
__________________
egg
BAILOPAN is offline
MiSSBe4utyBuM
Junior Member
Join Date: Oct 2005
Old 10-20-2005 , 20:06  
#9

It started recoreding the errors, i duno if it was something I did.
But here it is:

L 10/21/2005 - 07:434: [DODX] Invalid player 17
L 10/21/2005 - 07:434: [AMXX] Displaying debug trace (plugin "stats.amxx")
L 10/21/2005 - 07:434: [AMXX] Run time error 10: native error (native "get_user_team")
L 10/21/2005 - 07:434: [AMXX] [0] stats.sma::client_death (line 556)
MiSSBe4utyBuM is offline
MiSSBe4utyBuM
Junior Member
Join Date: Oct 2005
Old 10-25-2005 , 12:49  
#10

Line 556 of Stats.amxx:

new enemygre = ( ( (wpnindex == DODW_HANDGRENADE || wpnindex == DODW_MILLS_BOMB) && get_user_team(killer) == 2 ) || ( wpnindex == DODW_STICKGRENADE && get_user_team(killer) == 1 ) ) ? 1:0
MiSSBe4utyBuM is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode