Results 1 to 3 of 3
  1. #1
    tyguy550's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    74
    Reputation
    10
    Thanks
    11
    My Mood
    Happy

    Base Address of hl2.exe vs Base Address of client.dll

    What is the difference of two of these? I want to get an offset for health but it seems to be stored in client.dll - I got the base address of hl2.exe but what is the difference of the two and how do I get client.dll from hl2.exe?

  2. #2
    R3DDOT's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    C://Windows/system32
    Posts
    347
    Reputation
    38
    Thanks
    2,366
    My Mood
    Cheerful
    Quote Originally Posted by tyguy550 View Post
    What is the difference of two of these? I want to get an offset for health but it seems to be stored in client.dll - I got the base address of hl2.exe but what is the difference of the two and how do I get client.dll from hl2.exe?
    I'm assuming from what you said that "client.dll" is a module that is loaded by hl2.exe. Depends if you wanna use external / internal procedures:
    External:
    - You need to include <tlhelp32.h> in order to use Tool Help Library;
    - Get your process's ID by taking a snapshot of all running processes and comparing the name of that process entry to "hl2.exe";
    - Take a snapshot of that process's modules and and loop through the module entries.

    Internal:
    - Use GetModuleHandle to retrieve the handle to the module, which is equal to the module base.

  3. #3
    tyguy550's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    74
    Reputation
    10
    Thanks
    11
    My Mood
    Happy
    Quote Originally Posted by R3DDOT View Post


    I'm assuming from what you said that "client.dll" is a module that is loaded by hl2.exe. Depends if you wanna use external / internal procedures:
    External:
    - You need to include <tlhelp32.h> in order to use Tool Help Library;
    - Get your process's ID by taking a snapshot of all running processes and comparing the name of that process entry to "hl2.exe";
    - Take a snapshot of that process's modules and and loop through the module entries.

    Internal:
    - Use GetModuleHandle to retrieve the handle to the module, which is equal to the module base.
    Thanks for the great reply! I already have the base address for hl2.exe, and i've looped through all the modules running on hl2.exe and then used GetModuleFileName to print them out but none of them are client.dll. They are just system32 paths.

Similar Threads

  1. [Help] Can't get base address of engine.dll (client.dll is ok)
    By W1Z in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 2
    Last Post: 07-21-2013, 03:16 PM
  2. How i can change master server address in iw3mp.exe
    By stux in forum Call of Duty Modern Warfare Help
    Replies: 1
    Last Post: 04-06-2013, 10:36 AM
  3. [Help] hl2.exe crashes after injecting hacks
    By albo33 in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 3
    Last Post: 07-19-2011, 12:07 PM
  4. HL2.EXE ERROR
    By robert1109 in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 1
    Last Post: 08-28-2009, 11:38 PM
  5. Updated Address's [2-13-08] Most Address's
    By RoB07 in forum WarRock - International Hacks
    Replies: 14
    Last Post: 02-13-2008, 03:15 PM