Post: 'Addresses' and 'Offsets', know the difference !
03-12-2014, 07:12 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hey everyone, many people says 'offsets' instead of 'addresses'. It's not a big deal but knowing the difference and using both of them can get very useful to you when coding your tools/menu ! as you will only update 1 address instead of 10 addresses during an update of your game Smile

Offsets are the difference between a value and it's main address.

Here is 4 addresses (they are fake..):

    
G_Entity = 0xFCA280
Health = 0xFCA290
Model = 0xFCA2A4
Vision = 0xFCA2B0


These are addresses, let's transform them into offsets.

First, we need to find the 'main address'. In this case it is G_Entity, it's the main address and Health, model and vision are VALUES associated to the G_Entity !

Let's use offsets !

    
G_Entity = 0xFCA280
Health = G_Entity + 0x10
Model = G_Entity + 0x24
Vision = G_Entity + 0x30


NOTE: the offsets are '0x10', '0x24' and NOT 'G_Entity + 0x10'. An offset is only the difference ! I use them like this when coding something ! Smile


I found them by substracting the value address by the main address.

Example for health:

0xFCA290 - 0xFCA280 = 0x10, so G_Entity + 0x10 Smile


Why using offsets instead of addresses ?
It's simple, when the game gets an update, the difference between the value and it's main address will generaly NOT CHANGE. The structure will stay the same as it was, BUT every addresses in the game will most likely change !

so here is an example of updating G_Entity using addresses VS. offsets.
PS: i will also include stuff not related to G_Entity to make an example a bit more complex Smile !


ADDRESSES


Before the update:
    
G_Entity = 0xFCA280
Health = 0xFCA290
Model = 0xFCA2A4
Vision = 0xFCA2B0
Primary_Weapon = 0xFCA2B4
Secondary_Weapon = 0xFCA2B8
Primary_Ammo = 0xFCA2BC
Secondary_Ammo = 0xFCA2D0
UFO = 0xFCA2D4
Wallhack = 0xFCA2D8
Speed = 0xFCA2DC


AFTER THE UPDATE (if the addresses increased of 0x10000)
(Changes will be made in RED)
    
[COLOR="#FF0000"][b]
G_Entity = 0xFDA280
Health = 0xFDA290
Model = 0xFDA2A4
Vision = 0xFDA2B0
Primary_Weapon = 0xFDA2B4
Secondary_Weapon = 0xFDA2B8
Primary_Ammo = 0xFDA2BC
Secondary_Ammo = 0xFDA2D0
UFO = 0xFDA2D4
Wallhack = 0xFDA2D8
Speed = 0xFDA2DC
[/b]
[/COLOR]


Using OFFSETS

Before the update:
    
G_Entity = 0xFCA280
Health = G_Entity + 0x10
Model = G_Entity + 0x24
Vision = G_Entity + 0x30
Primary_Weapon = G_Entity + 0x34
Secondary_Weapon = G_Entity + 0x38
Primary_Ammo = G_Entity + 0x3C
Secondary_Ammo = G_Entity + 0x40
UFO = G_Entity + 0x44
Wallhack = G_Entity + 0x48
Speed = G_Entity + 0x4C


AFTER THE UPDATE (if the addresses increased of 0x10000)
(Changes will be made in RED)
    
[COLOR="#FF0000"][b]
G_Entity = 0xFDA280[/b][/COLOR]
Health = G_Entity + 0x10
Model = G_Entity + 0x24
Vision = G_Entity + 0x30
Primary_Weapon = G_Entity + 0x34
Secondary_Weapon = G_Entity + 0x38
Primary_Ammo = G_Entity + 0x3C
Secondary_Ammo = G_Entity + 0x40
UFO = G_Entity + 0x44
Wallhack = G_Entity + 0x48
Speed = G_Entity + 0x4C



I think you guys will now understand why using offsets is important, especially when updating a whole menu/tool Smile !

Also try saying 'offsets' and 'addresses' correctly but as i said, it's not a big deal, the important thing is to use them in your tool/menus to make them better ! Smile
Last edited by Bad Luck Brian ; 03-13-2014 at 06:22 PM.

The following 37 users say thank you to Bad Luck Brian for this useful post:

-SuperMan, One, B777x, coreconfusion, Cyb3r, Dan Dactyl, ErasedDev, EliteHackzPS3, GangDePlot, Geo, hackeveryone, Sir Quack, iNDMx, jwm614, Loxy, Luphox, M-alShammary, MegaMister, MODZ4FUN420, moviedog, MrGodHandz, NotALegitPlayer, Notorious, Phreaker, primetime43, RTE, SC58, Smoky420, SnaY, basshead4ever, Taylors Bish, VezahMoDz, worrorfight, xelahot, xROccOx
03-12-2014, 07:17 PM #2
Luphox
Bounty hunter
Oh mi g0d, thanks for a very helpful thread buddy! :wub:

The following 2 users say thank you to Luphox for this useful post:

Bad Luck Brian,
03-12-2014, 07:31 PM #3
Sir Quack
I am error
nice one Kevin Happy
03-12-2014, 07:32 PM #4
SC58
Former Staff
Originally posted by Bad
Hey everyone, many people says 'offsets' instead of 'addresses'. It's not a big deal but knowing the difference and using both of them can get very useful to you when coding your tools/menu ! as you will only update 1 address instead of 10 addresses during an update of your game Smile

Offsets are the difference between a value and it's main address.

Here is 4 addresses (they are fake..):

    
G_Entity = 0xFCA280
Health = 0xFCA290
Model = 0xFCA2A4
Vision = 0xFCA2B0


These are addresses, let's transform them into offsets.

First, we need to find the 'main address'. In this case it is G_Entity, it's the main address and Health, model and vision are VALUES associated to the G_Entity !

Let's transform the values of G_Entity into offsets ! Smile

    
G_Entity = 0xFCA280
Health = G_Entity + 0x10
Model = G_Entity + 0x24
Vision = G_Entity + 0x30


it's easy, i found them by substracting the value address by the main address.

Example for health:

0xFCA290 - 0xFCA280 = 0x10, so G_Entity + 0x10 Smile


Why using offsets instead of addresses ?
It's simple, when the game gets an update, the difference between the value and it's main address will generaly NOT CHANGE. The structure will stay the same as it was, BUT every addresses in the game will most likely change !

so here is an example of updating G_Entity using addresses VS. offsets.
PS: i will also include stuff not related to G_Entity to make an example a bit more complex Smile !


ADDRESSES


Before the update:
    
G_Entity = 0xFCA280
Health = 0xFCA290
Model = 0xFCA2A4
Vision = 0xFCA2B0
Primary_Weapon = 0xFCA2B4
Secondary_Weapon = 0xFCA2B8
Primary_Ammo = 0xFCA2BC
Secondary_Ammo = 0xFCA2D0
UFO = 0xFCA2D4
Wallhack = 0xFCA2D8
Speed = 0xFCA2DC


AFTER THE UPDATE (if the addresses increased of 0x10000)
(Changes will be made in RED)
    
[COLOR="#FF0000"][b]
G_Entity = 0xFDA280
Health = 0xFDA290
Model = 0xFDA2A4
Vision = 0xFDA2B0
Primary_Weapon = 0xFDA2B4
Secondary_Weapon = 0xFDA2B8
Primary_Ammo = 0xFDA2BC
Secondary_Ammo = 0xFDA2D0
UFO = 0xFDA2D4
Wallhack = 0xFDA2D8
Speed = 0xFDA2DC
[/b]
[/COLOR]


OFFSETS

Before the update:
    
G_Entity = 0xFCA280
Health = G_Entity + 0x10
Model = G_Entity + 0x24
Vision = G_Entity + 0x30
Primary_Weapon = G_Entity + 0x34
Secondary_Weapon = G_Entity + 0x38
Primary_Ammo = G_Entity + 0x3C
Secondary_Ammo = G_Entity + 0x40
UFO = G_Entity + 0x44
Wallhack = G_Entity + 0x48
Speed = G_Entity + 0x4C


AFTER THE UPDATE (if the addresses increased of 0x10000)
(Changes will be made in RED)
    
[COLOR="#FF0000"][b]
G_Entity = 0xFDA280[/b][/COLOR]
Health = G_Entity + 0x10
Model = G_Entity + 0x24
Vision = G_Entity + 0x30
Primary_Weapon = G_Entity + 0x34
Secondary_Weapon = G_Entity + 0x38
Primary_Ammo = G_Entity + 0x3C
Secondary_Ammo = G_Entity + 0x40
UFO = G_Entity + 0x44
Wallhack = G_Entity + 0x48
Speed = G_Entity + 0x4C



I think you guys will now understand why using offsets is important, especially when updating a whole menu/tool Smile !

Also try saying 'offsets' and 'addresses' correctly but as i said, it's not a big deal, the important thing is to use them in your tool/menus to make them better ! Smile


I was wondering whenever some one was going to do this, It makes things alot better like

Stat entity 0x12345678
kills - 0x12
deaths - 0x17
prestige - 0x20

instead of

prestige - 0x12345678
kills 0x87654321

lol

The following 6 users say thank you to SC58 for this useful post:

Bad Luck Brian, BaSs_HaXoR, Dan Dactyl, NotALegitPlayer, VezahMoDz
03-13-2014, 08:16 AM #5
ErasedDev
Climbing up the ladder
Originally posted by Bad
Hey everyone, many people says 'offsets' instead of 'addresses'. It's not a big deal but knowing the difference and using both of them can get very useful to you when coding your tools/menu ! as you will only update 1 address instead of 10 addresses during an update of your game Smile

Offsets are the difference between a value and it's main address.

Here is 4 addresses (they are fake..):

    
G_Entity = 0xFCA280
Health = 0xFCA290
Model = 0xFCA2A4
Vision = 0xFCA2B0


These are addresses, let's transform them into offsets.

First, we need to find the 'main address'. In this case it is G_Entity, it's the main address and Health, model and vision are VALUES associated to the G_Entity !

Let's transform the values of G_Entity into offsets ! Smile

    
G_Entity = 0xFCA280
Health = G_Entity + 0x10
Model = G_Entity + 0x24
Vision = G_Entity + 0x30


it's easy, i found them by substracting the value address by the main address.

Example for health:

0xFCA290 - 0xFCA280 = 0x10, so G_Entity + 0x10 Smile


Why using offsets instead of addresses ?
It's simple, when the game gets an update, the difference between the value and it's main address will generaly NOT CHANGE. The structure will stay the same as it was, BUT every addresses in the game will most likely change !

so here is an example of updating G_Entity using addresses VS. offsets.
PS: i will also include stuff not related to G_Entity to make an example a bit more complex Smile !


ADDRESSES


Before the update:
    
G_Entity = 0xFCA280
Health = 0xFCA290
Model = 0xFCA2A4
Vision = 0xFCA2B0
Primary_Weapon = 0xFCA2B4
Secondary_Weapon = 0xFCA2B8
Primary_Ammo = 0xFCA2BC
Secondary_Ammo = 0xFCA2D0
UFO = 0xFCA2D4
Wallhack = 0xFCA2D8
Speed = 0xFCA2DC


AFTER THE UPDATE (if the addresses increased of 0x10000)
(Changes will be made in RED)
    
[COLOR="#FF0000"][b]
G_Entity = 0xFDA280
Health = 0xFDA290
Model = 0xFDA2A4
Vision = 0xFDA2B0
Primary_Weapon = 0xFDA2B4
Secondary_Weapon = 0xFDA2B8
Primary_Ammo = 0xFDA2BC
Secondary_Ammo = 0xFDA2D0
UFO = 0xFDA2D4
Wallhack = 0xFDA2D8
Speed = 0xFDA2DC
[/b]
[/COLOR]


OFFSETS

Before the update:
    
G_Entity = 0xFCA280
Health = G_Entity + 0x10
Model = G_Entity + 0x24
Vision = G_Entity + 0x30
Primary_Weapon = G_Entity + 0x34
Secondary_Weapon = G_Entity + 0x38
Primary_Ammo = G_Entity + 0x3C
Secondary_Ammo = G_Entity + 0x40
UFO = G_Entity + 0x44
Wallhack = G_Entity + 0x48
Speed = G_Entity + 0x4C


AFTER THE UPDATE (if the addresses increased of 0x10000)
(Changes will be made in RED)
    
[COLOR="#FF0000"][b]
G_Entity = 0xFDA280[/b][/COLOR]
Health = G_Entity + 0x10
Model = G_Entity + 0x24
Vision = G_Entity + 0x30
Primary_Weapon = G_Entity + 0x34
Secondary_Weapon = G_Entity + 0x38
Primary_Ammo = G_Entity + 0x3C
Secondary_Ammo = G_Entity + 0x40
UFO = G_Entity + 0x44
Wallhack = G_Entity + 0x48
Speed = G_Entity + 0x4C



I think you guys will now understand why using offsets is important, especially when updating a whole menu/tool Smile !

Also try saying 'offsets' and 'addresses' correctly but as i said, it's not a big deal, the important thing is to use them in your tool/menus to make them better ! Smile


Wow man you so smart , how you come out with stuff like this ?
Last edited by ErasedDev ; 03-15-2014 at 09:47 PM. Reason: s7 coughs

The following user thanked ErasedDev for this useful post:

03-15-2014, 08:28 PM #6
primetime43
Knowledge is power Tiphat
Originally posted by Bad
Hey everyone, many people says 'offsets' instead of 'addresses'. It's not a big deal but knowing the difference and using both of them can get very useful to you when coding your tools/menu ! as you will only update 1 address instead of 10 addresses during an update of your game Smile

Offsets are the difference between a value and it's main address.

Here is 4 addresses (they are fake..):

    
G_Entity = 0xFCA280
Health = 0xFCA290
Model = 0xFCA2A4
Vision = 0xFCA2B0


These are addresses, let's transform them into offsets.

First, we need to find the 'main address'. In this case it is G_Entity, it's the main address and Health, model and vision are VALUES associated to the G_Entity !

Let's use offsets !

    
G_Entity = 0xFCA280
Health = G_Entity + 0x10
Model = G_Entity + 0x24
Vision = G_Entity + 0x30


NOTE: the offsets are '0x10', '0x24' and NOT 'G_Entity + 0x10'. An offset is only the difference ! I use them like this when coding something ! Smile


I found them by substracting the value address by the main address.

Example for health:

0xFCA290 - 0xFCA280 = 0x10, so G_Entity + 0x10 Smile


Why using offsets instead of addresses ?
It's simple, when the game gets an update, the difference between the value and it's main address will generaly NOT CHANGE. The structure will stay the same as it was, BUT every addresses in the game will most likely change !

so here is an example of updating G_Entity using addresses VS. offsets.
PS: i will also include stuff not related to G_Entity to make an example a bit more complex Smile !


ADDRESSES


Before the update:
    
G_Entity = 0xFCA280
Health = 0xFCA290
Model = 0xFCA2A4
Vision = 0xFCA2B0
Primary_Weapon = 0xFCA2B4
Secondary_Weapon = 0xFCA2B8
Primary_Ammo = 0xFCA2BC
Secondary_Ammo = 0xFCA2D0
UFO = 0xFCA2D4
Wallhack = 0xFCA2D8
Speed = 0xFCA2DC


AFTER THE UPDATE (if the addresses increased of 0x10000)
(Changes will be made in RED)
    
[COLOR="#FF0000"][b]
G_Entity = 0xFDA280
Health = 0xFDA290
Model = 0xFDA2A4
Vision = 0xFDA2B0
Primary_Weapon = 0xFDA2B4
Secondary_Weapon = 0xFDA2B8
Primary_Ammo = 0xFDA2BC
Secondary_Ammo = 0xFDA2D0
UFO = 0xFDA2D4
Wallhack = 0xFDA2D8
Speed = 0xFDA2DC
[/b]
[/COLOR]


Using OFFSETS

Before the update:
    
G_Entity = 0xFCA280
Health = G_Entity + 0x10
Model = G_Entity + 0x24
Vision = G_Entity + 0x30
Primary_Weapon = G_Entity + 0x34
Secondary_Weapon = G_Entity + 0x38
Primary_Ammo = G_Entity + 0x3C
Secondary_Ammo = G_Entity + 0x40
UFO = G_Entity + 0x44
Wallhack = G_Entity + 0x48
Speed = G_Entity + 0x4C


AFTER THE UPDATE (if the addresses increased of 0x10000)
(Changes will be made in RED)
    
[COLOR="#FF0000"][b]
G_Entity = 0xFDA280[/b][/COLOR]
Health = G_Entity + 0x10
Model = G_Entity + 0x24
Vision = G_Entity + 0x30
Primary_Weapon = G_Entity + 0x34
Secondary_Weapon = G_Entity + 0x38
Primary_Ammo = G_Entity + 0x3C
Secondary_Ammo = G_Entity + 0x40
UFO = G_Entity + 0x44
Wallhack = G_Entity + 0x48
Speed = G_Entity + 0x4C



I think you guys will now understand why using offsets is important, especially when updating a whole menu/tool Smile !

Also try saying 'offsets' and 'addresses' correctly but as i said, it's not a big deal, the important thing is to use them in your tool/menus to make them better ! Smile

Haha, I tried to tell people this too, but they still kept saying offsets stare I was actually gonna do this too but never got the chance to make the thread. Thanks for doin it for meh! :p
03-15-2014, 11:36 PM #7
Dan Dactyl
One Among The Fence
Very great info. Thanks bro!



Originally posted by Bad
Hey everyone, many people says 'offsets' instead of 'addresses'. It's not a big deal but knowing the difference and using both of them can get very useful to you when coding your tools/menu ! as you will only update 1 address instead of 10 addresses during an update of your game Smile

Offsets are the difference between a value and it's main address.

Here is 4 addresses (they are fake..):

    
G_Entity = 0xFCA280
Health = 0xFCA290
Model = 0xFCA2A4
Vision = 0xFCA2B0


These are addresses, let's transform them into offsets.

First, we need to find the 'main address'. In this case it is G_Entity, it's the main address and Health, model and vision are VALUES associated to the G_Entity !

Let's use offsets !

    
G_Entity = 0xFCA280
Health = G_Entity + 0x10
Model = G_Entity + 0x24
Vision = G_Entity + 0x30


NOTE: the offsets are '0x10', '0x24' and NOT 'G_Entity + 0x10'. An offset is only the difference ! I use them like this when coding something ! Smile


I found them by substracting the value address by the main address.

Example for health:

0xFCA290 - 0xFCA280 = 0x10, so G_Entity + 0x10 Smile


Why using offsets instead of addresses ?
It's simple, when the game gets an update, the difference between the value and it's main address will generaly NOT CHANGE. The structure will stay the same as it was, BUT every addresses in the game will most likely change !

so here is an example of updating G_Entity using addresses VS. offsets.
PS: i will also include stuff not related to G_Entity to make an example a bit more complex Smile !


ADDRESSES


Before the update:
    
G_Entity = 0xFCA280
Health = 0xFCA290
Model = 0xFCA2A4
Vision = 0xFCA2B0
Primary_Weapon = 0xFCA2B4
Secondary_Weapon = 0xFCA2B8
Primary_Ammo = 0xFCA2BC
Secondary_Ammo = 0xFCA2D0
UFO = 0xFCA2D4
Wallhack = 0xFCA2D8
Speed = 0xFCA2DC


AFTER THE UPDATE (if the addresses increased of 0x10000)
(Changes will be made in RED)
    
[COLOR="#FF0000"][b]
G_Entity = 0xFDA280
Health = 0xFDA290
Model = 0xFDA2A4
Vision = 0xFDA2B0
Primary_Weapon = 0xFDA2B4
Secondary_Weapon = 0xFDA2B8
Primary_Ammo = 0xFDA2BC
Secondary_Ammo = 0xFDA2D0
UFO = 0xFDA2D4
Wallhack = 0xFDA2D8
Speed = 0xFDA2DC
[/b]
[/COLOR]


Using OFFSETS

Before the update:
    
G_Entity = 0xFCA280
Health = G_Entity + 0x10
Model = G_Entity + 0x24
Vision = G_Entity + 0x30
Primary_Weapon = G_Entity + 0x34
Secondary_Weapon = G_Entity + 0x38
Primary_Ammo = G_Entity + 0x3C
Secondary_Ammo = G_Entity + 0x40
UFO = G_Entity + 0x44
Wallhack = G_Entity + 0x48
Speed = G_Entity + 0x4C


AFTER THE UPDATE (if the addresses increased of 0x10000)
(Changes will be made in RED)
    
[COLOR="#FF0000"][b]
G_Entity = 0xFDA280[/b][/COLOR]
Health = G_Entity + 0x10
Model = G_Entity + 0x24
Vision = G_Entity + 0x30
Primary_Weapon = G_Entity + 0x34
Secondary_Weapon = G_Entity + 0x38
Primary_Ammo = G_Entity + 0x3C
Secondary_Ammo = G_Entity + 0x40
UFO = G_Entity + 0x44
Wallhack = G_Entity + 0x48
Speed = G_Entity + 0x4C



I think you guys will now understand why using offsets is important, especially when updating a whole menu/tool Smile !

Also try saying 'offsets' and 'addresses' correctly but as i said, it's not a big deal, the important thing is to use them in your tool/menus to make them better ! Smile

The following user thanked Dan Dactyl for this useful post:

Bad Luck Brian
01-18-2015, 06:17 AM #8
xelahot
Gym leader
Very helpful, thanks m8 Winky Winky
01-18-2015, 08:45 PM #9
Thank you for this.
01-19-2015, 09:11 AM #10
iTпDM
Vault dweller
Originally posted by modz View Post
Thank you for this.


This address is Work on old update maybe 1.04 or 1.05

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo