Results 1 to 5 of 5
  1. #1
    larta's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    In your Back !!
    Posts
    323
    Reputation
    10
    Thanks
    69
    My Mood
    Cool

    MoonJump : How to ?

    Hi.

    I have a little problem to make a MoonJump.
    I can make SuperJump. But i wanna go higher little bu little.

    I tried to initialize a value ( Named Height ) with the actual height. Then, add 100.
    But nothing happend ! I tried differents way. None worked.

    here is what i made :

    Code:
    void SuperJump()
    {
    	PlayerPtr // A define. It take the playerpointer.
    	
    	if (dwPlayerPointer != 0)
    	{
    		float Height = *(float*)(dwPlayerPointer+OFS_z);
    		if(GetAsyncKeyState(VK_CONTROL))
    		Height += 100;
    	}
    }
    Thanks for help.

  2. #2
    Skatebone1's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    safafa
    Posts
    41
    Reputation
    10
    Thanks
    0
    My Mood
    Amused
    void SuperJump()
    {
    PlayerPtr

    if (dwPlayerPointer != 0)
    {
    *(float*)(dwPlayerPtr+OFS_Z)+=150;
    }
    }

    Happy Christmas

  3. #3
    larta's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    In your Back !!
    Posts
    323
    Reputation
    10
    Thanks
    69
    My Mood
    Cool
    Quote Originally Posted by Skatebone1 View Post
    void SuperJump()
    {
    PlayerPtr

    if (dwPlayerPointer != 0)
    {
    *(float*)(dwPlayerPtr+OFS_Z)+=150;
    }
    }

    Happy Christmas
    Thanks. Gonna try it.
    But If I remember, that's what i tried first. But when I press control, i'm pushed in the "space"^^ . And I don't even come down.
    But maybe I did something wrong. I'll try it.


    EDIT : You forgot the Hotkey ^^


    EDIT 2 : Yeah, thats what i said... It get me to the space ! And I can't go down...
    Here is a screenshot :



    I don't know why. I can't fix it ! I should work..
    Last edited by larta; 11-10-2010 at 05:37 AM.

  4. #4
    rickbovenkamp2's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    206
    Reputation
    8
    Thanks
    96
    Use weapon gravity. And if you are doing this make it like this with the ofs_z:

    void SuperJump()
    {
    PlayerPtr // A define. It take the playerpointer.

    if ((dwPlayerPointer != 0) && (GetAsyncKeyState(VK_CONTROL)))
    {
    float Height = *(float*)(dwPlayerPointer+OFS_z);
    Height += 100;
    *(float*)(dwPlayerPointer+OFS_z)=Height;
    Sleep(50);
    }
    }

    Please learn scripting b4 coding hacks lol. This is just basic. If you change a variable, it wont immediately change the adress.
    Last edited by rickbovenkamp2; 11-10-2010 at 10:25 AM.

  5. #5
    larta's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    In your Back !!
    Posts
    323
    Reputation
    10
    Thanks
    69
    My Mood
    Cool
    Quote Originally Posted by rickbovenkamp2 View Post
    Use weapon gravity. And if you are doing this make it like this with the ofs_z:

    void SuperJump()
    {
    PlayerPtr // A define. It take the playerpointer.

    if ((dwPlayerPointer != 0) && (GetAsyncKeyState(VK_CONTROL)))
    {
    float Height = *(float*)(dwPlayerPointer+OFS_z);
    Height += 100;
    *(float*)(dwPlayerPointer+OFS_z)=Height;
    Sleep(50);
    }
    }

    Please learn scripting b4 coding hacks lol. This is just basic. If you change a variable, it wont immediately change the adress.
    lol Don't worry. I know the basics in c++ ( and more than that )
    But this is the first time i use dll injection. I'm trying to understand how it works.
    I use to make programs with windows, and Read/write process memory. And it's king different as dll injection..

    Anyway, thanks. Gonna try it

    EDIT :
    Working.

    What was my mistake ?
    - The "sleep" forgotten ?
    - And yeah, i forgot to change the value of the adress at the end x)
    Last edited by larta; 11-10-2010 at 10:57 AM.

Similar Threads

  1. how about Tantra Online Game
    By scoutranger in forum General Gaming
    Replies: 2
    Last Post: 09-25-2018, 06:57 AM
  2. How many people on this forum Play WoW?
    By RebornAce in forum General
    Replies: 27
    Last Post: 12-31-2009, 05:27 PM
  3. How to Use Tsearch
    By wardo1926 in forum Hack Requests
    Replies: 5
    Last Post: 12-18-2007, 09:24 PM
  4. How to get Perl
    By shercipher in forum Programming
    Replies: 2
    Last Post: 01-02-2006, 11:28 PM
  5. How To Brute Force
    By Flawless in forum Game Hacking Tutorials
    Replies: 0
    Last Post: 01-01-2006, 05:01 PM