AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   AMX Super (https://forums.alliedmods.net/forumdisplay.php?f=111)
-   -   3.1 (https://forums.alliedmods.net/showthread.php?t=55400)

slmclarengt 05-21-2007 01:39

3.1
 
I only have a second to explain, but I'm using 1.76d and amxx super 3.1. I am receiving
Code:

L 05/20/2007 - 23:33:54: Invalid player id 0
L 05/20/2007 - 23:33:54: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 05/20/2007 - 23:33:54: [AMXX] Run time error 10: native error (native "get_user_attacker")
L 05/20/2007 - 23:33:54: [AMXX]    [0] amx_super.sma::on_damage (line 307)

Because I run an UWC3 server and many attacks are from non-player indexes such as the Thorns Aura or Carrion Beetles, therefore, as per amxx 1.75,
Quote:

Originally Posted by Funcwiki
If no player is attacking the indexed player, get_user_attacker will return 0. As of 1.75, get_user_attacker can return a non-player index if the player was attacked by a non-player entity.

Maybe bmann can institute a change to permanently settle this problem or I will put a solution in place. Now you are aware of the error and it's cause by other indexes.

Cheers,

Slmclarengt

bmann_420 05-22-2007 16:53

Re: 3.1
 
2 Attachment(s)
This is the release of AMX Super 5.0 for Improvement purposes.

Regular commands / server commands
Fun Commands


All times are GMT -4. The time now is 23:22.

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