AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   (OLD) Bug Reports (https://forums.alliedmods.net/forumdisplay.php?f=24)
-   -   [AMXX] stats.amxx default plugin? (https://forums.alliedmods.net/showthread.php?t=19557)

MiSSBe4utyBuM 10-19-2005 15:27

[AMXX] stats.amxx default plugin?
 
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?

SidLuke 10-19-2005 17:39

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 ...

BAILOPAN 10-19-2005 17:54

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?

MiSSBe4utyBuM 10-19-2005 18:40

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. 8)

MiSSBe4utyBuM 10-20-2005 00:53

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 - 21:37:06: [AMXX] Run time error 4 (index out of bounds)
L 09/30/2005 - 21:37: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

BAILOPAN 10-20-2005 01:00

What?

It crashes when? When you use debug mode?

MiSSBe4utyBuM 10-20-2005 09:17

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

BAILOPAN 10-20-2005 10:03

Is the server linux or windows? If it's linux, do you have SSH access?

MiSSBe4utyBuM 10-20-2005 20:06

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

L 10/21/2005 - 07:43:34: [DODX] Invalid player 17
L 10/21/2005 - 07:43:34: [AMXX] Displaying debug trace (plugin "stats.amxx")
L 10/21/2005 - 07:43:34: [AMXX] Run time error 10: native error (native "get_user_team")
L 10/21/2005 - 07:43:34: [AMXX] [0] stats.sma::client_death (line 556)

MiSSBe4utyBuM 10-25-2005 12:49

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


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

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