[Help] SuperJump, Update question?

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Apprentice ReactionMangust is offline
    MemberRank
    Jul 2015 Join Date
    12Posts

    [Help] SuperJump, Update question?

    I'm new in WarZ Developments so sorry if it's dumb question

    I did this one http://forum.ragezone.com/f791/tutor...p-dev-1113558/ but it doesn't works
    I have Untouched SRC
    The updated code looks like this:
    WarZ.sln
    Code:
    if(gUserProfile.ProfileData.isDevAccount && Keyboard->IsPressed(kbsLeftAlt))
    accelaration *= 5.0f;//SuperJump            
    if(InputMappingMngr>isPressed(r3dInputMappingMngr::KS_JUMP)&&gUserProfile.ProfileData.isDevAccount)
    {
    pl->JumpVelocity  = 17;
    }
    I had built entire solution and did RSBuild.exe without any errors. What am I doing wrong ?
    Last edited by ReactionMangust; 12-05-18 at 02:49 PM.


  2. #2
    Account Upgraded | Title Enabled! IKaruzI15 is offline
    MemberRank
    May 2017 Join Date
    197Posts

    Re: [Help] SuperJump, Update question?

    pl->JumpVelocity = 17; // is the default jump velocity but even that to make a superjump for devs you don't need this! There is an easier way!
    // thats an example!
    if (gClientLogic().localPlayer_ && gUserProfile.ProfileData.isDevAccount && Keyboard->IsPressed(kbsV))
    pl->JumpVelocity += 1; //

  3. #3
    Apprentice ReactionMangust is offline
    MemberRank
    Jul 2015 Join Date
    12Posts

    Re: [Help] SuperJump, Update question?

    Quote Originally Posted by IKaruzI15 View Post
    pl->JumpVelocity = 17; // is the default jump velocity but even that to make a superjump for devs you don't need this! There is an easier way!
    // thats an example!
    if (gClientLogic().localPlayer_ && gUserProfile.ProfileData.isDevAccount && Keyboard->IsPressed(kbsV))
    pl->JumpVelocity += 1; //
    Can I put it anywhere?

  4. #4
    Account Upgraded | Title Enabled! IKaruzI15 is offline
    MemberRank
    May 2017 Join Date
    197Posts

    Re: [Help] SuperJump, Update question?

    Put it into the HUDTPS File

  5. #5
    Apprentice ReactionMangust is offline
    MemberRank
    Jul 2015 Join Date
    12Posts

    Re: [Help] SuperJump, Update question?

    Okay, this is really strange

    it works in Studio, but it doesn't works on server
    Code:
    //#ifndef FINAL_BUILD
    if(gUserProfile.ProfileData.isDevAccount && Keyboard->IsPressed(kbsLeftAlt) || g_bEditMode && Keyboard->IsPressed(kbsLeftAlt)) //devspeed
    accelaration *= 10.0f;
    //#endif            
    //SuperJump
    if (gUserProfile.ProfileData.isDevAccount && Keyboard->IsPressed(kbsV) || g_bEditMode && Keyboard->IsPressed(kbsV))
    pl->JumpVelocity += 1;
    However I'm DEV

    Last edited by ReactionMangust; 12-05-18 at 10:10 PM.

  6. #6
    Account Upgraded | Title Enabled! IKaruzI15 is offline
    MemberRank
    May 2017 Join Date
    197Posts

    Re: [Help] SuperJump, Update question?

    ... you have to build the final client aswell and to update + You have to remove:
    #ifndef FINAL_BUILD

    before, but I already tell you don't do this, its good that it works for studio only because in the final build cheaters can easily abuse that!

  7. #7
    Apprentice ReactionMangust is offline
    MemberRank
    Jul 2015 Join Date
    12Posts

    Re: [Help] SuperJump, Update question?

    To build the final client, I should do "Build Solution", yes ?

    And to update it, I need to RSBuild.exe ? Am I right?

    #ifndef FINAL_BUILD was already commented (//#ifndef FINAL_BUILD)
    Last edited by ReactionMangust; 12-05-18 at 11:56 PM.

  8. #8
    Account Upgraded | Title Enabled! Oosmar02 is online now
    MemberRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Re: [Help] SuperJump, Update question?

    You dont need RsBuild for test

  9. #9
    Apprentice ReactionMangust is offline
    MemberRank
    Jul 2015 Join Date
    12Posts

    Re: [Help] SuperJump, Update question?

    Quote Originally Posted by Oosmar02 View Post
    You dont need RsBuild for test
    When I need RSBuild ?

    SuperJump, SuperSpeed doesn't works!
    1. I added this code
    Code:
    if(gUserProfile.ProfileData.isDevAccount && Keyboard->IsPressed(kbsLeftAlt) || g_bEditMode && Keyboard->IsPressed(kbsLeftAlt)) //devspeed
    accelaration *= 10.0f;
    if (gUserProfile.ProfileData.isDevAccount && Keyboard->IsPressed(kbsV) || g_bEditMode && Keyboard->IsPressed(kbsV))
    pl->JumpVelocity += 1;
    2. I rebuilt it without any errors

    3. I connected to server with DEV account(126)
    Why it doesn't works? I really don't understand it. What am I doing wrong? Maybe I forgot something?

  10. #10
    Account Upgraded | Title Enabled! Oosmar02 is online now
    MemberRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Re: [Help] SuperJump, Update question?

    How do you launch your game? With the studio? or with a launcher?

  11. #11
    Apprentice ReactionMangust is offline
    MemberRank
    Jul 2015 Join Date
    12Posts

    Re: [Help] SuperJump, Update question?

    Quote Originally Posted by Oosmar02 View Post
    How do you launch your game? With the studio? or with a launcher?
    With a launcher

  12. #12
    Account Upgraded | Title Enabled! Oosmar02 is online now
    MemberRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Re: [Help] SuperJump, Update question?

    - - - Updated - - -

    Okay so that's it, I advise you to use the studio to test, it will save you time. You need compile 'RELEASE' and put your login in local.ini

    Like that


    Run Studio.exe and click "Game(DevServer)"


  13. #13
    Apprentice ReactionMangust is offline
    MemberRank
    Jul 2015 Join Date
    12Posts

    Re: [Help] SuperJump, Update question?

    Thank you for responding! So I need to use RSBuild when I have tested my updates and want players to get this updates through their launcher? Am I right?
    And I can usually play through the studio?

  14. #14
    Account Upgraded | Title Enabled! Oosmar02 is online now
    MemberRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Re: [Help] SuperJump, Update question?

    Quote Originally Posted by ReactionMangust View Post
    Thank you for responding! So I need to use RSBuild when I have tested my updates and want players to get this update? Am I right?
    And I can usually play through the studio?
    Yes it is exactly that! You must make an rsbuild if you modify the client (Itemdb, texture ...) and force an update for the players who use the launcher :)
    And yes you can play from your studio with other players

  15. #15
    Apprentice ReactionMangust is offline
    MemberRank
    Jul 2015 Join Date
    12Posts

    Re: [Help] SuperJump, Update question?

    Thanks you so much!

    Solved.



Page 1 of 2 12 LastLast

Advertisement