Thread: Offsets

Results 1 to 4 of 4
  1. #1
    nitega's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Lithuania
    Posts
    223
    Reputation
    8
    Thanks
    1,085
    My Mood
    Cheerful

    Question Offsets

    Can someone post ProcessEventOffset,ObjectsOffset,NamesOffset?
    Or tell me how to find them
    Last edited by Margherita; 09-25-2011 at 04:07 PM.
    https://facebook.com/******
    https://niteg*****m/










    [img]https://niteg*****m/rafw1.jpg[/img]

  2. #2
    alex606516's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My house.
    Posts
    567
    Reputation
    19
    Thanks
    38
    My Mood
    Flirty
    what's an offset?

  3. #3
    RAWR(:'s Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    South Texas
    Posts
    430
    Reputation
    14
    Thanks
    236
    My Mood
    In Love
    Typically there are two approaches to such tasks. For simplicity, let us consider a game with an integer amount of "health" for the player.

    The first is to manipulate the process memory while the program is running. This is good for finding known values. When you have 100 health in a game, search the memory space for 100 (most likely as an integer) and record every location it is found. Then when your health changes to 99, cross-search those same locations to see which have changed appropriately. Continue until you have narrowed down the precise location(s) of the health variable. In most modern games what you will actually find is a dynamically allocated memory address that is part of a struct. That struct will be referenced by a pointer within the program, you then have to search within the program memory for values that may be a pointer to the space near the health variable, and repeat the narrowing-down process over multiple game runs to establish the position of the pointer to the data that you want. This is the method most useful for classic PC and console games, particularly any game where the memory space is small and easy to manipulate.

    The second method requires you to disassemble the application binary (I use IDA Pro for this), then locate functions that are known to use the data that you want. For example, say you see "Health: 99" on the screen. Search the binary for the "Health: " string, then find references to that string (you will likely find a call to sprintf or similar) and see what other memory locations those same functions reference, this will usually lead you to the "health" variable or the struct containing it. This is the method most common in more modern games, with massive memory spaces and more advanced programming practices.

    Source:
    reverse engineering - Finding and using memory offsets in an existing program? - Stack Overflow

  4. #4
    Margherita's Avatar
    Join Date
    Jan 2011
    Gender
    female
    Posts
    11,299
    Reputation
    783
    Thanks
    1,287
    My Mood
    Bashful
    /Solved ^
    PM Me | VM Me | Rules

    MARGHERITA

Similar Threads

  1. need help with offset problem
    By qplazm in forum General Game Hacking
    Replies: 1
    Last Post: 12-31-2008, 01:45 PM
  2. offsets
    By silent1990 in forum Combat Arms Hacks & Cheats
    Replies: 0
    Last Post: 12-03-2008, 06:01 AM
  3. CombatArms addys pointers & offsets?
    By nitro107 in forum Combat Arms Hacks & Cheats
    Replies: 4
    Last Post: 08-20-2008, 05:31 AM
  4. Offset addresses
    By thomtim in forum WarRock - International Hacks
    Replies: 0
    Last Post: 07-22-2008, 02:21 AM
  5. Offsets
    By radnomguywfq3 in forum Visual Basic Programming
    Replies: 2
    Last Post: 09-01-2007, 09:50 AM