• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Sleeping
  • Steam Gaming
  • Trolling
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 10 of 10
    1. #1
      Administrator
      Hacked By Jesus
       
      Coding
       
      [GH]Rake's Avatar
      Join Date
      Jan 2014
      Location
      USA
      Posts
      2,743
      Thanks (-->)
      564
      Thanks (<--)
      839

      Lightbulb Game Hacking with Reclass Tutorial

      Cheats-n-Trainers
      Hey Guys GuidedHacking here with a new hack tool game hacking tutorial! ReClass is a tool similar to the Cheat Engine Structure Dissector except it's 10000% better. It will by default show all the video game variables as 32bit hex, integer and float. This makes it very easy to figure out what the player entity object variables are. The best part about this hack tool ReClass is that is can generate classes including padding that you can copy and paste directly into your internal hack source code. Then you simply assign a class object pointer to the address of the object and then you may access variables without using offsets. Once you learn how to use it, you will never do it anyother way! Thanks for watching this game hacking tutorial!






      ReClass is a program that can create classes out of structures in memory that can easily be incorporated into internal hacks like this:

      ReClass usage Example:

      ReClass generated class:

      class playerent
      {
      public:
      char _0x0000[4];
      vec vHead; //0x0004
      char _0x0010[36];
      vec vLocation; //0x0034
      vec vViewAngle; //0x0040
      char _0x004C[37];
      BYTE bScoping; //0x0071
      char _0x0072[134];
      __int32 health; //0x00F8
      __int32 armor; //0x00FC
      char _0x0100[292];
      BYTE bAttacking; //0x0224
      char name[16]; //0x0225
      char _0x0235[247];
      BYTE team; //0x032C
      char _0x032D[11];
      BYTE state; //0x0338
      char _0x0339[59];
      weapon* weapon; //0x0374
      char _0x0378[520];
      };



      typecasting a pointer to the address:

      playerent * localPlayer = (playerent*)*(DWORD*)(0x509B74);



      Accessing the member variables:

      localPlayer->vHead.x = 999;



      Some related posts topics here:
      http://guidedhacking.com/showthread....to-make-a-hack
      http://guidedhacking.com/showthread....ersing-c-games

      Thank you @Lukor for the attachment:
      Spoiler: AnotherReclass2015

      I present you... another ReClass2015.

      But wait. It is not the same as the one you get on github.
      I fixed some bugs, added a feature and fixed my own bugs...

      I got the request from @mambda as well as myself because we hate to manualy add private/public in a class every time it switches from padding to something usefull.
      It is also compiled with the most resent dependencies delivered with the project. (exept for beaengine)

      What is new: (that i can think off)
      • less crashes
      • RTTI setting is now saved between restarts
      • ADV Class added (automatic public/private)


      Game Hacking with Reclass Tutorial
      Game Hacking with Reclass Tutorial

      I provide the x86 and x64 executables in the attachment.


      Attached Files Attached Files

    2. Thanks Nazalas, Liduen, Khonnor, NTvalk thanked for this post
    3. #2
      Hacker
      Turning to page 394...
       
      Coding
       
      Liduen's Avatar
      Join Date
      May 2013
      Location
      Germany
      Posts
      711
      Thanks (-->)
      158
      Thanks (<--)
      224
      Good stuff please keep this up!
      My contributions
      UrbanTerror | OpenGL - ModelLogger | Polymorphic junk code | Tutorial/Article Collection
      Admiring technological singularity

    4. Thanks [GH]Rake thanked for this post
    5. #3
      Coder
      U can haxor my gam now plz?
       
      Feeling Normal
       
      Nazalas's Avatar
      Join Date
      May 2015
      Location
      United States
      Posts
      108
      Thanks (-->)
      46
      Thanks (<--)
      19
      Need more of these!

    6. #4
      Administrator
      Hacked By Jesus
       
      Coding
       
      [GH]Rake's Avatar
      Join Date
      Jan 2014
      Location
      USA
      Posts
      2,743
      Thanks (-->)
      564
      Thanks (<--)
      839
      Here is an interesting tool similar to ReClass for defining structures in data on disk, would be very useful for a savegame editor or reversing a proprietary file format
      http://www.sweetscape.com/010editor/templates.html

    7. #5
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      forivin's Avatar
      Join Date
      Mar 2013
      Posts
      10
      Thanks (-->)
      1
      Thanks (<--)
      0
      Hm, there is too much trial and error involved. I may use this in combination with cheat engines data dissector or whatever it was called...
      But what about methods (member functions)? I mean classes are usually not just made of fields/properties. The player class for instance should have a jump() method and the guns should have a shoot() method I would assume.
      How would I identify those?

    8. #6
      Administrator
      Hacked By Jesus
       
      Coding
       
      [GH]Rake's Avatar
      Join Date
      Jan 2014
      Location
      USA
      Posts
      2,743
      Thanks (-->)
      564
      Thanks (<--)
      839
      Quote Originally Posted by forivin View Post
      Hm, there is too much trial and error involved. I may use this in combination with cheat engines data dissector or whatever it was called...
      But what about methods (member functions)? I mean classes are usually not just made of fields/properties. The player class for instance should have a jump() method and the guns should have a shoot() method I would assume.
      How would I identify those?
      The only way to reverse structures is trial and error

      If the member functions are virtual functions they can be found by looking at the vTable which can be found by at offset 0x0 of the object.
      Member functions will generally use the thiscall calling convention https://en.wikipedia.org/wiki/X86_ca...tions#thiscall

      Do a "Find what accesses this address" on the object address and view the functions that access it.
      Depending on the compiler:
      VisualStudio: if the object address is in ECX you know it's probably a member function
      GCC: object address is pushed on the stack last before calling member functions
      IDA may properly identify the functions as __thiscall also

      Check out this:
      Reversing Microsoft Visual C++ Part II: Classes, Methods and RTTI

    9. Thanks forivin thanked for this post
    10. #7
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      forivin's Avatar
      Join Date
      Mar 2013
      Posts
      10
      Thanks (-->)
      1
      Thanks (<--)
      0
      I think what I meant to say was that you don't really know if a property actually is what you think it is and that this method of identifying properties would make it extremely hard to actually identify all of them. I'm not saying I know a better way of doing it, I'm just saying the results are kind of based on blind assumptions.
      Imagine you would spot a property that always represents your health as shown on your screen. You would mark it as "health" while the actual health property might be a float. That integer could simply be a rounded value used for display.
      I'd say using good old cheat engine scans on the address range of the player object would be better... well, better than just looking and guessing.

      That information about the calling convention and the compilers is very helpful indeed.
      About IDA.. I have yet to learn how to use it properly. I'm really hoping to see a tutorial on that on your channel one day, btw.

      Oh and thanks for the tutorial link, it looks really promising.

      Have a good one.

    11. #8
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      SteveMavic's Avatar
      Join Date
      Mar 2016
      Posts
      2
      Thanks (-->)
      0
      Thanks (<--)
      0
      How can I find local player address? I can't find any tutorial, I'm also a little bit upset because of this.

    12. #9
      Administrator
      Hacked By Jesus
       
      Coding
       
      [GH]Rake's Avatar
      Join Date
      Jan 2014
      Location
      USA
      Posts
      2,743
      Thanks (-->)
      564
      Thanks (<--)
      839
      Quote Originally Posted by SteveMavic View Post
      How can I find local player address? I can't find any tutorial, I'm also a little bit upset because of this.
      Try harder

    13. #10
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      SteveMavic's Avatar
      Join Date
      Mar 2016
      Posts
      2
      Thanks (-->)
      0
      Thanks (<--)
      0
      GuidedHacking Advertisements
      Okay, I will.

    Similar Game Hacker Threads

    1. [VideoTutorial] C++ Detour / Hooking Function Tutorial for Game Hacking
      By [GH]Rake in forum GH Hack Video Tutorials
      Replies: 26
      Last Post: 12-29-2016, 06:48 PM
    2. [Tutorial] Reverse Engineer C++ Games Game Hacking Tutorial
      By [GH]Rake in forum Game Hacking Tutorials
      Replies: 12
      Last Post: 06-22-2016, 05:56 PM
    3. [Tutorial] Hacking packets with Charles, write custom python client (online flash game hacking)
      By artania in forum Game Hacking Tutorials
      Replies: 6
      Last Post: 04-16-2016, 05:17 PM
    4. [Tutorial] Learn To Master The Basics Of Game Hacking With Cheat Engine Tutorial
      By ChrisFayte in forum Cheat The Game
      Replies: 6
      Last Post: 04-13-2016, 10:42 AM
    5. [Tutorial] Building a structure, class with ReClass
      By voidisalive in forum Game Hacking Tutorials
      Replies: 5
      Last Post: 07-02-2013, 09:08 PM