Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[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