• 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 8 of 8
    1. #1
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      AlexR's Avatar
      Join Date
      Mar 2013
      Posts
      2
      Thanks (-->)
      3
      Thanks (<--)
      1

      How to get the main address of a programm

      Cheats-n-Trainers
      Hello,

      at first: i'm using Cheat Engine and Visual Basics
      I would be interested into creating an ESP, but there is a problem that I can't get solved by my own.
      Also I didn't found a good solution online.

      I found there some stuff about the enemy in multiplayer mode (my friend helped me)
      So I found the enemy health, name, amo, nades and most important the cordinates.
      For all this informations i need the static address of it. the problem is i get everytime an address entry like this: "ac_client.exe"+000E4E08
      my oppinion is the entry "ac_client.exe" represents a address. but this string i can't enter in my vb programm to get an address.

      my question is how can i get the static main address of a game i.e. AssaultCube?

      thx for helping

    2. #2
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      Chuck E's Avatar
      Join Date
      Jan 2013
      Location
      United Kingdom
      Posts
      119
      Thanks (-->)
      30
      Thanks (<--)
      20
      The starting point address is usually 0400000.

      There is a way to get that by using the exe's name, but I forget how. It's is in one of the posts here. Posted by AlexSlayore, I believe.

      So, you would have:

      00400000
      000E4E08 +
      ------------
      004E4E08


      EDIT: I found the post with how to do it:
      http://guidedhacking.com/showthread....his-screenshot
      Last edited by Chuck E; 03-17-2013 at 03:50 PM.

    3. Thanks AlexR thanked for this post
    4. #3
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      491
      Can't be certain about 0x400000, it could also be 0x1000000 for example. It's dependent on your OS

      My Fivehax library has a function for finding a modules base address, not in it's virtual memory space though. Can't link it to you, on cellphone, just look up Fivehax on google, you'll find it on Github.
      Last edited by c5; 03-17-2013 at 04:35 PM.
      How to get the main address of a programm

    5. #4
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      Chuck E's Avatar
      Join Date
      Jan 2013
      Location
      United Kingdom
      Posts
      119
      Thanks (-->)
      30
      Thanks (<--)
      20
      Quote Originally Posted by c5 View Post
      ... My Fivehax library has a function for finding a modules base address...
      http://guidedhacking.com/showthread....ivehax-library

      I totally forgot about that, and I had thanked and posted on there. Hmm, senile dementia must be setting in, lol.

    6. #5
      Global Moderator
      give me my colorz back
      FeelsBadMan
       
      Coding
       
      till0sch's Avatar
      Join Date
      Oct 2012
      Location
      Germany.
      Posts
      1,165
      Thanks (-->)
      178
      Thanks (<--)
      338
      This gives you the main module base address in VB:

      Dim P As Process = Process.GetProcessesByName("YOURPROCESSNAMEWITHOUT .EXE")(0)
      Dim BaseAddress As Integer = P.MainModule.BaseAddress.ToInt32()

    7. #6
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      cra0's Avatar
      Join Date
      Apr 2013
      Posts
      2
      Thanks (-->)
      0
      Thanks (<--)
      0
      Quote Originally Posted by till0sch97 View Post
      This gives you the main module base address in VB:

      Dim P As Process = Process.GetProcessesByName("YOURPROCESSNAMEWITHOUT .EXE")(0)
      Dim BaseAddress As Integer = P.MainModule.BaseAddress.ToInt32()
      Correct I wrote a function for this

      Public Function FindBaseAddress(ByVal ProcName As String)
      Dim internal_p_address_pointerstyle As IntPtr
      Dim internal_p As Process() = Process.GetProcessesByName(ProcName)
      Dim internal_p_address = internal_p(0).MainModule.BaseAddress


      Dim BaseAddress_longstyle As Long = internal_p_address.ToInt32()




      Return BaseAddress_longstyle
      End Function

    8. #7
      Global Moderator
      give me my colorz back
      FeelsBadMan
       
      Coding
       
      till0sch's Avatar
      Join Date
      Oct 2012
      Location
      Germany.
      Posts
      1,165
      Thanks (-->)
      178
      Thanks (<--)
      338
      Quote Originally Posted by cra0 View Post
      Correct I wrote a function for this

      Public Function FindBaseAddress(ByVal ProcName As String)
      Dim internal_p_address_pointerstyle As IntPtr
      Dim internal_p As Process() = Process.GetProcessesByName(ProcName)
      Dim internal_p_address = internal_p(0).MainModule.BaseAddress


      Dim BaseAddress_longstyle As Long = internal_p_address.ToInt32()




      Return BaseAddress_longstyle
      End Function
      And why you corrected it? The above code worked and it was only 2 lines..

    9. #8
      Global Moderator
      give me my colorz back
      FeelsBadMan
       
      Coding
       
      till0sch's Avatar
      Join Date
      Oct 2012
      Location
      Germany.
      Posts
      1,165
      Thanks (-->)
      178
      Thanks (<--)
      338
      GuidedHacking Advertisements
      Quote Originally Posted by cra0 View Post
      Correct I wrote a function for this

      Public Function FindBaseAddress(ByVal ProcName As String)
      Dim internal_p_address_pointerstyle As IntPtr
      Dim internal_p As Process() = Process.GetProcessesByName(ProcName)
      Dim internal_p_address = internal_p(0).MainModule.BaseAddress


      Dim BaseAddress_longstyle As Long = internal_p_address.ToInt32()




      Return BaseAddress_longstyle
      End Function
      And why you corrected it? The above code worked and it was only 2 lines..


      Public Function FindBaseAddress(ByVal ProcName As String)
      Dim P As Process = Process.GetProcessesByName(ProcName)(0)
      return P.MainModule.BaseAddress.ToInt32()
      End Function

    Similar Game Hacker Threads

    1. Replies: 6
      Last Post: 05-23-2016, 08:33 AM
    2. Cs:Go Main Cpp
      By Broihon in forum Hacking Help
      Replies: 8
      Last Post: 03-16-2015, 10:15 AM
    3. Where have you learn to programm ?
      By un1que in forum General Coding Discussion
      Replies: 4
      Last Post: 09-22-2014, 04:41 AM
    4. [Community] Have you seen the "Most users ever online" on the main page?
      By Spamer in forum GH Discussion
      Replies: 7
      Last Post: 07-18-2014, 02:25 PM
    5. DLL Address?
      By polk666 in forum Hacking Help
      Replies: 10
      Last Post: 07-27-2013, 12:24 PM

    Tags for this Thread