Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    mains3rv3r's Avatar
    Join Date
    Mar 2007
    Gender
    male
    Location
    NC
    Posts
    360
    Reputation
    27
    Thanks
    29
    My Mood
    Devilish

    Lightbulb [Tutorial] Adding Pointers in your VB5/6 Trainer

    Due to SEVERAL private messages on this, here it is. Adding pointers in Visual Basic 5/6. Be sure to read all of it to make sure your brain understands how it works. From there you could even think of more things! Amazing really.

    This tutorial is for swim in VB6. This tutorial is to teach you the basics of adding a pointer in VB6. I am assuming that you followed TheRedEye's tutorial on Creating a trainer in VB5/6 and added the API statement he got off of a website to attach the VB program to a running process. If you have not, read his tutorial first. I'm going to throw out the entire code at first. Take a look over it to see what I'll be explaining and how simple it can be broken down into. I explain more about it below the entire code.

    Dim Swim As Long
    Dim Swim1 As Long

    Call ReadALong("Warrock", &H894E28, Swim)
    Swim1 = Swim + &H54
    Call WriteALong("Warrock", Swim1, 4)

    Dim 'VARIABLE' As Long

    ^___ Sets a value. You can name 'VARIABLE' whatever you'd like. It is basically like setting a variable in C/C++. (of course no quotes around the variable) In this case, you'll need 2 variables set to make the pointer. Make sure they are not named the same thing as you will need two differently named variables later.


    Call ReadALong("PROGRAM NAME", ADDRESS, VARIABLE1)

    Program name is obvious. This finds the exe file in the process list to edit (this was all decleared in that API statement/module you added). Address is the address of whatever you are beginning with. Don't add the pointer yet. That is next. VARIABLE1 is the first variable you set the address to. This is for the pointer being added to it later. If you don't understand how this quite works, continue reading on. There's a chance you could make the connection.


    VARIABLE2 = VARIABLE1 + POINTER

    This is setting the second variable to be set as the first variable (basically the address for swim in this case) plus the pointer you are pointing to.


    Call WriteALong("PROGRAM NAME", VARIABLE2, ValueSetting)

    Program name is explained above. Variable2 is set to Variable1 + pointer (just like cheat engine). Valuesetting is what you want to change the value of the address + pointer to (in this case, the address + pointer is variable 2).


    You can make separate buttons for this. One to turn the swim on (ValueSetting set to 4) and one to turn swim off (ValueSetting set to 0). ( 0 is also standing upright position. So basically back to normal. )

    Don't forget to add the '&H' before the address/pointer you declare. This kind of a big deal. lol.

    +Rep me if this helps you in any way. Thanks.

    Tutorial by mains3rv3r of MPGH.

  2. #2
    lolhackerlol's Avatar
    Join Date
    Apr 2007
    Gender
    male
    Posts
    298
    Reputation
    13
    Thanks
    0
    Omg Thanks Here Comes A New Public Hack!!!!!!!!!! :d

    *EDIT*

    Carn't get it to work i'll find a way though
    Last edited by lolhackerlol; 06-05-2007 at 01:09 AM.
    https://i140.photobucke*****m/albums/r30/kelsy_012/mpghzn5.gif

  3. #3
    Trixiez's Avatar
    Join Date
    Feb 2007
    Gender
    male
    Posts
    261
    Reputation
    10
    Thanks
    0
    This is nice. I understood this before - But didn't fully undestand what some things meant. Just knew how to do it.

    4 is the value of swim found using this method below:

    Code:
    Dim Value1 As Long
    Call ReadALong("WarRock", &H894E28, Value1)
    Text1.Text = Value1
    If thats right, then cool. I have then figured out my problem. This is a really nice tutorial with pretty colors

    ~TriX~

    [EDIT] I have tried Super Jump - I dont know what I have done wrong though. I know I can set an input value for XXXX - But that will come later aswell as a keybind.

    Code:
    Private Sub Command1_Click()
    Dim value As Long
    Dim Value1 As Long
    Call ReadALong("Warrock", &H894E28, value)
    Value1 = value + &H180
    Call WriteALong("Warrock", Value1, XXXX)
    End Sub
    Last edited by Trixiez; 06-05-2007 at 02:11 AM.



  4. #4
    mains3rv3r's Avatar
    Join Date
    Mar 2007
    Gender
    male
    Location
    NC
    Posts
    360
    Reputation
    27
    Thanks
    29
    My Mood
    Devilish
    Ahh yes. I have also had problems with adding superjump into the program. It is very buggy from map to map. I have yet to figure out the problem with superjump.

  5. #5
    Trixiez's Avatar
    Join Date
    Feb 2007
    Gender
    male
    Posts
    261
    Reputation
    10
    Thanks
    0
    oK mate. If I figure it out I will let you know. Do you find the values out the same way as I do?

    ~TriX~



  6. #6
    mains3rv3r's Avatar
    Join Date
    Mar 2007
    Gender
    male
    Location
    NC
    Posts
    360
    Reputation
    27
    Thanks
    29
    My Mood
    Devilish
    Quote Originally Posted by Trixiez View Post
    oK mate. If I figure it out I will let you know. Do you find the values out the same way as I do?

    ~TriX~
    Yes. I don't see why it wouldn't work. It's very questionable if you ask me... lol

  7. #7
    webtijn's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    168
    Reputation
    10
    Thanks
    3
    Quote Originally Posted by Trixiez View Post
    This is nice. I understood this before - But didn't fully undestand what some things meant. Just knew how to do it.

    4 is the value of swim found using this method below:

    Code:
    Dim Value1 As Long
    Call ReadALong("WarRock", &H894E28, Value1)
    Text1.Text = Value1
    If thats right, then cool. I have then figured out my problem. This is a really nice tutorial with pretty colors

    ~TriX~

    [EDIT] I have tried Super Jump - I dont know what I have done wrong though. I know I can set an input value for XXXX - But that will come later aswell as a keybind.

    Code:
    Private Sub Command1_Click()
    Dim value As Long
    Dim Value1 As Long
    Call ReadALong("Warrock", &H894E28, value)
    Value1 = value + &H180
    Call WriteALong("Warrock", Value1, XXXX)
    End Sub
    Don't know anything about VB, but don't you need to freeze the address as well? Try set the value of XXXX to something like 2000 and see if you die because of falling from too heigh. If that works, then you only need to freeze the value. If it doesn't work, you're doing something really wrong
    Last edited by webtijn; 06-05-2007 at 02:19 PM.

  8. #8
    ~claw~'s Avatar
    Join Date
    May 2007
    Gender
    male
    Location
    In my room 0.o
    Posts
    849
    Reputation
    11
    Thanks
    25
    wow it works thxs

  9. #9
    mains3rv3r's Avatar
    Join Date
    Mar 2007
    Gender
    male
    Location
    NC
    Posts
    360
    Reputation
    27
    Thanks
    29
    My Mood
    Devilish
    Quote Originally Posted by webtijn View Post
    Don't know anything about VB, but don't you need to freeze the address as well? Try set the value of XXXX to something like 2000 and see if you die because of falling from too heigh. If that works, then you only need to freeze the value. If it doesn't work, you're doing something really wrong
    Well you see, no matter what value you set the address + pointer to in VB, you'll always go the same height. In some maps you go below, and others you jump up high. If you were to freeze the address then either you'd be stuck under the floor or it'd be similar to sky walker (except WAAAY more buggy). Again, very questionable... all other pointers work fine. But freezeing it does not help. I believe my coding is right...

  10. #10
    nikryj's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    180
    Reputation
    11
    Thanks
    0
    i get something like syntax compilation error when i try this.

  11. #11
    purenoob134's Avatar
    Join Date
    Apr 2007
    Posts
    468
    Reputation
    11
    Thanks
    13

    mains3rver

    GREAT GUIDE, SO EASY TO UNDERSTAND!!! ill add to your rep and thank you
    thanks man, great guide

  12. #12
    mains3rv3r's Avatar
    Join Date
    Mar 2007
    Gender
    male
    Location
    NC
    Posts
    360
    Reputation
    27
    Thanks
    29
    My Mood
    Devilish
    Quote Originally Posted by nikryj View Post
    i get something like syntax compilation error when i try this.
    We solved this problem. Simple mistake. Stuff like that happens.

  13. #13
    Kung Fu Penguin31's Avatar
    Join Date
    Jun 2007
    Gender
    male
    Location
    how am i supposed to know....
    Posts
    473
    Reputation
    12
    Thanks
    48

    Thumbs up

    nice tutorial , good contribution keep it up !!

    i may start making trainers soon !!







    [img]https://www.danasof*****m/sig/ghghhkjklk.jpg[/img]

    drill sargeant: How tall are you boy!?
    soldier: umm....urr about 5' 11''
    drill sargeant: I didn't know they stacked shit that high!!

    Creator of the Annihilation,Freebie and KFP Series.

    <MASTER HACKER>

  14. #14
    nbr1dan's Avatar
    Join Date
    Mar 2007
    Location
    At my computer
    Posts
    168
    Reputation
    14
    Thanks
    15
    Very good information. thanks!

  15. #15
    dezer's Avatar
    Join Date
    Nov 2006
    Gender
    male
    Posts
    285
    Reputation
    12
    Thanks
    4
    My Mood
    Aggressive
    I know how to get Super jump to work i just dont know how to make it in VB. so here it goes: super jump value type has to be set to float to make it work (for 4bytes its underground hack, not super jump) in CE its easy u just change the type when adding address, but any help in VB? ;p

Page 1 of 2 12 LastLast

Similar Threads

  1. [Tutorial]Adding Glitcher to your hack
    By NOOBJr in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 55
    Last Post: 10-02-2010, 10:32 PM
  2. [Tutorial] How to make your own undetected module in VB6
    By markfracasso11 in forum Visual Basic Programming
    Replies: 17
    Last Post: 10-15-2007, 09:34 AM
  3. [TUTORIAL]how to VB.net 2005 Trainers (Incl. secure passwords)
    By kyo in forum WarRock - International Hacks
    Replies: 20
    Last Post: 07-06-2007, 09:42 PM
  4. XqwertyX fhen u realise your nex trainer??
    By aprill27 in forum WarRock Korea Hacks
    Replies: 5
    Last Post: 05-27-2007, 12:22 PM
  5. (request) tutorial on pointer finding
    By ragman1234 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 03-26-2007, 03:21 PM