Results 1 to 11 of 11
  1. #1
    Trexx188845's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0

    Making A Game Trainer

    I have been studying visual basic for quite a while now and tried to make a trainer for Mass Effect 1, but apparently it didn't seem to work. Well, atleast not after I restart the game. I used the adresses which found throw cheat engine, but it seems they change. Since I never have made trainers before I did not expect this... Is there a way to prevent this from happening?

    Any help would be greatly appreciated...

    Don't think it would be any help for you to know what code I tried to use but anyway here it is:
    W4Bytes(&H18943AE0, 10000)

  2. #2
    Cryptonic's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    United Provinces of Canada
    Posts
    1,313
    Reputation
    44
    Thanks
    190
    My Mood
    Bored
    If the code changes, then that must be how the game counters the 'hacks'. I don't know if you can prevent it, probably not (though I have no idea how flash games work).

  3. #3
    Trexx188845's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    It isn't a flash game, it seems the adresses changes upon loading, restarting the game, changing 'instance'. But the hex code does not, though I don't know if the hex code can't be used to make trainers with.

  4. #4
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    Its DMA (Dynamic memory allocation)
    Everytime the process starts, it allocates the memory on different places (within the process memory).
    You need to find the static address. And move from there. (CE has a tutorial for that.. do it)

    Also im a bit rusty as I didnt code anything related to game hacking in months.. So some definitions might not be correct.

    And it is not an "anti" hacking system. Thats how process's work.
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  5. #5
          ( ° ͜ʖ͡°)╭∩╮
    Former Staff
    MarkHC's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    127.0.0.1
    Posts
    2,750
    Reputation
    66
    Thanks
    14,529
    My Mood
    Angelic
    You can use a Pattern Scan to find the right addresses every time...


    CoD Minion from 09/19/2012 to 01/10/2013

  6. #6
    Cryptonic's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    United Provinces of Canada
    Posts
    1,313
    Reputation
    44
    Thanks
    190
    My Mood
    Bored
    Ohhh.. When I see game trainer.. I think of flash games, and I have no clue how they work.. :P

  7. #7
    Trexx188845's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    I found the CE tut, I will give it a try. I will edit this post when I have gotten a result. Thanks for the replies
    Last edited by Trexx188845; 08-17-2012 at 10:21 AM.

  8. #8
    Pingo's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    687
    Reputation
    24
    Thanks
    865
    My Mood
    Blah
    I would usually just use code injection for a dynamic address.
    But since you're new to ASM and im not sure how good your VB skills are, id say read up on multi level pointers.
    Dont use CE built in pointer scanner, it sucks balls. Research multi level pointers and understand how they work.
    Once you understand them, it'l become easier. Basically you're finding a static route to a dynamic address.

    Have a look on this site for a memory class that has pointers and code injection.
    I know iv made one that does all this in vb, but i cant remember if i posted it or not.

  9. #9
    Trexx188845's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    I tried the tut and passed it quite easy, however I do still have issues finding those pointers, maybe should start out with older games...

  10. #10
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    Quote Originally Posted by Trexx188845 View Post
    I tried the tut and passed it quite easy, however I do still have issues finding those pointers, maybe should start out with older games...
    Whats the issue?
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  11. #11
    Trexx188845's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Brinuz View Post
    Whats the issue?
    It is just like they don't exist... I have created a small trainer for Alien Shooter, it appears to be working. I will be studying this some more and see how far I can get.

Similar Threads

  1. [How to make a Game Trainer in vb2008 Help!]
    By h40xer in forum General Game Hacking
    Replies: 1
    Last Post: 01-09-2011, 10:58 AM
  2. how to make a sime flash game trainer[tut]
    By tremaster in forum Visual Basic Programming
    Replies: 6
    Last Post: 08-23-2010, 06:54 PM
  3. How to make your own Flash Game Trainer NEW
    By Mlkellinas in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 3
    Last Post: 04-24-2010, 08:15 PM
  4. Tut to make a vb trainer for w/e game
    By elitexppro in forum Programming Tutorial Requests
    Replies: 3
    Last Post: 01-06-2010, 05:44 PM
  5. i need help making a in game trainer HELP
    By dethklok6661 in forum General Game Hacking
    Replies: 0
    Last Post: 01-21-2009, 05:35 PM