• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 9 of 9
    1. #1
      Global Moderator
      Certified Asshole
       
      CodenzHub
       
      Traxin's Avatar
      Join Date
      Aug 2015
      Posts
      668
      Thanks (-->)
      133
      Thanks (<--)
      204

      Post How To Call Game Functions C++ x64dbg Hacking Tutorial Part 2

      Advertise on GuidedHacking
      Here we go guys, part 2 of the How to Call Game Functions tutorial.
      We're gonna be using, C++, Cheat Engine, x64dbg, IDA Pro to reverse engineer and hack Assault Cube. Showing you how to call the print to chat function from the game. Make sure you watch the first part of this tutorial!

      Like the last video, We will reverse engineer the function prototypes using x64dbg and IDA Pro disassemblers and write a internal DLL hack that will call the functions by address when a key is pressed using a DLL injector. These really are fantastic tutorials if you want to be a pro game hacker someday and I hope you watch all of our videos.

      Download the source code from the attachment.



      Download x64DBG Debugger

      Download the GuidedHacking Injector made by Broihon

      Download Assault Cube

      Attachment Virus Scan

      Donate to GH if you like our videos:
      https://guidedhacking.com/donate

      Follow GuidedHacking!
      https://facebook.com/guidedhacking
      https://twitter.com/guidedhacking
      https://guidedhacking.com/patreon
      Attached Files Attached Files

    2. Thanks Broihon thanked for this post
    3. #2
      Administrator
      Hacked By Jesus
       
      Reversing
       
      [GH]Rake's Avatar
      Join Date
      Jan 2014
      Location
      USA
      Posts
      3,619
      Thanks (-->)
      866
      Thanks (<--)
      1066
      These are awesome Traxin thanks so much for making them and making GH awesome

    4. #3
      Global Moderator
      Certified Asshole
       
      CodenzHub
       
      Traxin's Avatar
      Join Date
      Aug 2015
      Posts
      668
      Thanks (-->)
      133
      Thanks (<--)
      204
      Just giving back to my peoples

    5. #4
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      LemonySquid's Avatar
      Join Date
      May 2017
      Posts
      17
      Thanks (-->)
      3
      Thanks (<--)
      2
      Thanks for the tutorial. I tried to follow your steps as you did them but once we got to the part where we open x32dbg, attach it, and go to the address we got from cheatengine the stack at the bottom right did not include anything related to what was typed in the chat box. I tried many times but could not get this part to work for myself.

    6. #5
      Global Moderator
      Certified Asshole
       
      CodenzHub
       
      Traxin's Avatar
      Join Date
      Aug 2015
      Posts
      668
      Thanks (-->)
      133
      Thanks (<--)
      204
      Quote Originally Posted by LemonySquid View Post
      Thanks for the tutorial. I tried to follow your steps as you did them but once we got to the part where we open x32dbg, attach it, and go to the address we got from cheatengine the stack at the bottom right did not include anything related to what was typed in the chat box. I tried many times but could not get this part to work for myself.
      All I can guess from this is that you've set the breakpoint at the incorrect location and should probably go back to Cheat Engine and try one of the other addresses you found.
      It can be a bitch the first few times, especially if you're not very comfortable with reverse engineering. Simply looking at the debugger and all the information displayed can be kind of overwhelming at the beginning.

    7. #6
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      LemonySquid's Avatar
      Join Date
      May 2017
      Posts
      17
      Thanks (-->)
      3
      Thanks (<--)
      2
      Quote Originally Posted by Traxin View Post
      All I can guess from this is that you've set the breakpoint at the incorrect location and should probably go back to Cheat Engine and try one of the other addresses you found.
      It can be a bitch the first few times, especially if you're not very comfortable with reverse engineering. Simply looking at the debugger and all the information displayed can be kind of overwhelming at the beginning.
      Thanks for the reply, I will definitely give this another go tomorrow.

      May I ask you another question? I don't want to derail your topic so feel free to ignore me or edit my question out of my post. But basically, I have a game where I edit the prices of items so I can buy them. This works fine but the addresses change ofcourse. I have tried things to find a static pointer (pointer scanner, what accesses, what writes..) but to no avail. What I did find was that the item prices have an offset of 0xD0 from oneanother, so item 1 for example was AE7D58B0 and item 2 AE7D5A50 etc. This remained true through every restart of the game, though I haven't found a way to make any of my findings useful. I really want to edit these values via dll injection.

      Anyway, I will try and follow along with your video again tomorrow and let you know how it goes!

    8. #7
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      LemonySquid's Avatar
      Join Date
      May 2017
      Posts
      17
      Thanks (-->)
      3
      Thanks (<--)
      2
      I have tried to follow again but i get stuck at the same part, I have tried to screenshot the relevant parts

      So firstly I type in something and search, then find the relevant one:
      http://i.imgur.com/ThNgkss.png

      Then I add a breakpount after 0A and type something else
      http://i.imgur.com/3xw8HPn.png

      then I delete the cheatengine breakpoint and move to x32dbg and goto the address + toggle breakpoint (conveniently same address from the video)
      http://i.imgur.com/1R7c7Fo.png

      then my entire stack is here but nothing I typed it is in the stack
      https://pastebin.com/0DH7zRFT

    9. #8
      Global Moderator
      Certified Asshole
       
      CodenzHub
       
      Traxin's Avatar
      Join Date
      Aug 2015
      Posts
      668
      Thanks (-->)
      133
      Thanks (<--)
      204
      I don't know exactly what you did, but I do see something resembling a format string and what seem to be like some strings that are shown as the map is loading.
      Spoiler: stacky stack


      0018F728 004B2FC8 return to ac_client.004B2FC8 from ac_client.004BBA3B
      0018F72C 0018F748
      0018F730 004ECE8C "%s\\*.%s"
      0018F734 00000000
      0018F738 0018F7A8 &"packages/maps/official"
      0018F73C 004EC27C "cgz"
      0018F740 0018F908
      0018F744 00000004
      0018F748 0018F909
      0018F74C 00000103
      0018F750 0018F908
      0018F754 00000042
      0018F758 02952FC8
      0018F75C 77B0A3E3 return to ntdll.77B0A3E3 from ntdll.RtlFillMemoryUlong
      0018F760 02952FD8
      0018F764 00000008
      0018F768 0018F784
      0018F76C 004B3008 return to ac_client.004B3008 from ac_client.004B2F3D
      0018F770 0018F908
      0018F774 00000104
      0018F778 004ECE8C "%s\\*.%s"
      0018F77C 00000000
      0018F780 0018F7A8 &"packages/maps/official"
      0018F784 0018FB30
      0018F788 0040CC48 return to ac_client.0040CC48 from ac_client.004B2FF0
      0018F78C 0018F908
      0018F790 00000104
      0018F794 004ECE8C "%s\\*.%s"
      0018F798 0018F7A8 &"packages/maps/official"
      0018F79C 0018FB4C
      0018F7A0 0047CF70 return to ac_client.0047CF70 from ac_client.0040CC30
      0018F7A4 004ECE8C "%s\\*.%s"
      0018F7A8 004EC280 "packages/maps/official"
      0018F7AC 004EC27C "cgz"
      0018F7B0 0018FB4C
      0018F7B4 004EC280 "packages/maps/official"
      0018F7B8 0018FB30
      0018F7BC 004EC27C "cgz"


      Maybe hit F9 when you first break into the debugger and look at the stack. Maybe you'll see different messages being passed through each time it breaks.

    10. Thanks LemonySquid thanked for this post
    11. #9
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      LemonySquid's Avatar
      Join Date
      May 2017
      Posts
      17
      Thanks (-->)
      3
      Thanks (<--)
      2
      Advertise on GuidedHacking
      Ah that could very well be it. When I attach the debugger it actually breaks instantly and I have to keep pressing continue over and over again until it looks like it's done, I don't know if I have some settings wrong or something. I find xDbg harder to use than olly and I'm not very good with olly either. Once I finish my current project I think I will jump back to assault cube and go through a lot of the tutorials again to get a firmer understanding of things.

    Similar Game Hacker Threads

    1. [VideoTutorial] How To Call Game Functions C++ x64dbg Hacking Tutorial
      By Traxin in forum GH Hack Video Tutorials
      Replies: 8
      Last Post: 07-31-2017, 02:36 AM
    2. [Help] Where can i learn this part in game hacking?
      By KA34 in forum Hacking Help
      Replies: 3
      Last Post: 02-04-2017, 04:18 PM
    3. [Discuss] What is the most annoying part of game hacking?
      By [GH]Rake in forum General Hacking Discussion
      Replies: 7
      Last Post: 04-11-2016, 11:08 AM
    4. [VideoTutorial] Game Hacking with Reclass Tutorial
      By [GH]Rake in forum GH Hack Video Tutorials
      Replies: 9
      Last Post: 04-04-2016, 03:18 PM
    5. [Help] Call Game Functions Not Effect
      By lukaluka in forum Assault Cube Hacks
      Replies: 1
      Last Post: 02-06-2016, 06:00 AM

    Tags for this Thread