• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook pagefor updates, or we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.)

[Tutorial] Super Jump DEV

Newbie Spellweaver
Joined
Aug 12, 2016
Messages
38
Reaction score
15
Hello ragezone.

Is there a simple code.



In Warz.sln

Search

PHP:
if(gUserProfile.ProfileData.isDevAccount && Keyboard->IsPressed

Like this
PHP:
//#ifndef FINAL_BUILD
            if(gUserProfile.ProfileData.isDevAccount && Keyboard->IsPressed(kbsLeftAlt))
                accelaration *= 15.0f;
//#endif

Add below.

PHP:
//SuperJump
            if(InputMappingMngr->isPressed(r3dInputMappingMngr::KS_JUMP) && gUserProfile.ProfileData.isDevAccount)
            {               
 pl->JumpVelocity  = 17;
             }

Compile and make RSBUILD.
 
Newbie Spellweaver
Joined
Mar 21, 2014
Messages
48
Reaction score
7
if(gUserProfile.ProfileData.isDevAccount && Mouse->IsPressed(r3dMouse::mCenterButton)) {
uberAnim_->StartJump();
JumpVelocity = 39; // THE BEST - [FDR]
JumpStartTime = r3dGetTime() + uberAnim_->jumpStartTime;
}
else
{
uberAnim_->StartJump();
JumpVelocity = 17;
JumpStartTime = r3dGetTime() + uberAnim_->jumpStartTime;
}

just press middle mouse button.
credits to FDR
 
Skilled Illusionist
Joined
Jan 22, 2014
Messages
310
Reaction score
323
for Hero itemID
Code:
find in AI_Player.cpp

JumpVelocity = 17;
and make like this
Code:
float JumpVelocityForHero = (CurLoadout.HeroItemID == 20174)?30.0f:17.0f; //AlexRedd:: superjump for hero id
JumpVelocity  = JumpVelocityForHero;
 
Last edited:
Newbie Spellweaver
Joined
Mar 15, 2006
Messages
39
Reaction score
0
for Hero itemID
Code:
find in AI_Player.cpp

JumpVelocity = 17;
and make like this
Code:
float JumpVelocityForHero = (CurLoadout.HeroItemID == 20174)?30.0f:17.0f; //AlexRedd:: superjump for hero id
JumpVelocity  = JumpVelocityForHero;

i test play game Disconneted from server

How to Edit??
 
Last edited:
Skilled Illusionist
Joined
Jan 22, 2014
Messages
310
Reaction score
323
search in obj_ServerPlayer.cpp
Code:
if(m_PlayerFlyingAntiCheatTimer > 5.0f)
and replace to
Code:
if(m_PlayerFlyingAntiCheatTimer > 5.0f && loadout_->HeroItemID!=20174)
build solution
 
Newbie Spellweaver
Joined
Mar 15, 2006
Messages
39
Reaction score
0
help me please
YOU HELP EDIT Code AntiHack just testing
**speed Weapon , game client crash (WarZ has stopped working)


if(JumpVelocity > 18 && gUserProfile.ProfileData.isDevAccount == 0)
{
*(unsigned long*)0 = 0; // Forces the game to crash
return;
}

thank you
 
Back
Top