AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Need help old wc3ft 2.3.2 undead glitch (https://forums.alliedmods.net/showthread.php?t=210814)

r3d_w1r3 03-14-2013 22:26

Need help old wc3ft 2.3.2 undead glitch
 
i have an old version of the wc3ft 2.3.2 which have a bug on undead skill unholy aura the speed work fine until u switch weapon then u completely loose the speed bonus till next round
Code:

new Float:fmove, Float:smove;
            get_uc(uc_handle, UC_ForwardMove, fmove);
            get_uc(uc_handle, UC_SideMove, smove );
       
            new Float:maxspeed;
            pev(id, pev_maxspeed, maxspeed);
            new Float:walkspeed = (maxspeed * 0.52);
            fmove = floatabs( fmove );
            smove = floatabs( smove );
           
            if(fmove <= walkspeed && smove <= walkspeed && !(fmove == 0.0 && smove == 0.0))
            {
                    set_pev(id, pev_flTimeStepSound, 999);
            }

    }
}

any1 know how to fix this pls it will be much appreciated

Thanks

Podarok 03-15-2013 01:07

Re: Need help old wc3ft 2.3.2 undead glitch
 
Rip the code from new version of war3ft.

r3d_w1r3 03-15-2013 13:06

Re: Need help old wc3ft 2.3.2 undead glitch
 
meh found out with was a plugin conflict with amx_super so i turned it off and now it work just fine

YamiKaitou 03-15-2013 13:11

Re: Need help old wc3ft 2.3.2 undead glitch
 
It is a known bug with AMX_Super. Simply use the amx_super_nospeed version

Podarok 03-15-2013 14:19

Re: Need help old wc3ft 2.3.2 undead glitch
 
Quote:

Originally Posted by YamiKaitou (Post 1913207)
It is a known bug with AMX_Super. Simply use the amx_super_nospeed version

Wrong. It doesnt fix anything, at least for me. I have to disable these plugins if I want my speed to work correctly.

YamiKaitou 03-15-2013 14:28

Re: Need help old wc3ft 2.3.2 undead glitch
 
Quote:

Originally Posted by Podarok (Post 1913243)
Wrong. It doesnt fix anything, at least for me. I have to disable these plugins if I want my speed to work correctly.

If you use amx_super.amxx, yes the bug exists. But if you use amx_super_nospeed.amxx, the bug does not exist. I have tested this myself before

r3d_w1r3 03-15-2013 19:59

Re: Need help old wc3ft 2.3.2 undead glitch
 
No i confirm it work with no speed :D


All times are GMT -4. The time now is 21:49.

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