How to use pointer from CheatEngine in C#

Posts 16–25 of 25 · Page 2 of 2
Quote Originally Posted by Horror View Post
Adress : 0x01B3DCD
Offset : 0x6B
Like that ? Im confused too now xD
Yeah.
From what I have read now:

Offset = The numerical difference between a desired address and a known reference address.
Address = The code that identifies where a piece of information is stored

In other words:
Offsets are values you add to a main address to find one address in the memory.
Like pointers. (It's for Dynamic Address usage.)

Address are the direct "link" to the value in the memory.
It's stricted

Right?

@Horror

And then I think it would be for usage like:

I have the XP at: (Address) 0C16A19
And the Prestige is at: (Offset) 0D8
By adding: "Prestige" offset value to the "XP" address. I get the Address to the Prestige.
Quote Originally Posted by Jorndel View Post


Yeah.
From what I have read now:

Offset = The numerical difference between a desired address and a known reference address.
Address = The code that identifies where a piece of information is stored

In other words:
Offsets are values you add to a main address to find one address in the memory.
Like pointers. (It's for Dynamic Address usage.)

Address are the direct "link" to the value in the memory.
It's stricted

Right?

@Horror

And then I think it would be for usage like:

I have the XP at: (Address) 0C16A19
And the Prestige is at: (Offset) 0D8
By adding: "Prestige" offset value to the "XP" address. I get the Address to the Prestige.
And like this : 01D013E8 is adress of player 1s ammo, and if we add the offset 38EC we get 01D04CD4, the adress of player 2 ... Now im starting to get it ;D

Aldoh i still dont get what you mean by this ...:
Quote Originally Posted by Jorndel View Post

You have to read the value from the offset you are pointed to.
Then you add that to the Main Offset, and continue reading and adding until you reach the pointer end.
And where does the pointer comes in handy for the c# editing, or do you just have to do a loop through a lot of adressed and change them all?
Quote Originally Posted by Horror View Post
Adress : 0x01B3DCD
Offset : 0x6B
Like that ? Im confused too now xD
Yeah, offset is an number that you add to the base address in order to get a new one.Its good for loops, like, let's say you know that the base address for player stats on a match is 0x01B3DCD and the player offset is 0xA, to get each player address you can do like

Code:
for(int i = 0; i < NumberOfPlayers; i++){
    Player[i] = 0x01B3DCD + i * 0xA;
}
Quote Originally Posted by MarkHC View Post
Yeah, offset is an number that you add to the base address in order to get a new one.Its good for loops, like, let's say you know that the base address for player stats on a match is 0x01B3DCD and the player offset is 0xA, to get each player address you can do like

Code:
for(int i = 0; i < NumberOfPlayers; i++){
    Player[i] = 0x01B3DCD + i * 0xA;
}
Ok, yea, now i understand. But now, how to add all of these adresses to a C# code ?
Cus basicly, as an example, ill use killstreaks.
Player 1 : 01FD3E90, And changes every single match, with what seems to be random numbers ...
Pointer for this adress works doh ...
Quote Originally Posted by Horror View Post
Ok, yea, now i understand. But now, how to add all of these adresses to a C# code ?
Cus basicly, as an example, ill use killstreaks.
Player 1 : 01FD3E90, And changes every single match, with what seems to be random numbers ...
Pointer for this adress works doh ...
Let's see, maybe it aren't random numbers but one time it changes with (example) 1 times A and another time it changes with 3 times A...

So a loop would be possible when changing all the adresses, but then is the question, how many adresses are there? Cause you can't keep looping forever... (actually you can but is there a limited ammount of adresses in 1 pointer?

@ isaakske, ce learns us that every adress/pointer has a code, example: hp-1 in hp adress, so you can look up the poiter code and search the offset...?
Even if i had the amount wich it changes with, i would still, like you said, have an infinity amount of adresses ...
That's indeed true, en taking the change for te first 100 adresses is risky, cause it could be the 200th adress

That's where then pointers come in...

Jorndel: you have a name-changer, isn't it? Is it c# or some other? If it's c# could you please tell us how to write pointers?
Quote Originally Posted by stevonator View Post
That's indeed true, en taking the change for te first 100 adresses is risky, cause it could be the 200th adress

That's where then pointers come in...

Jorndel: you have a name-changer, isn't it? Is it c# or some other? If it's c# could you please tell us how to write pointers?
Look on this tutorial/release
http://www.mpgh.net/forum/31-c-c-pro...ry-editor.html
Ok thanks, i'll credit you and rhvitor6 in my hack, and also some other persons thx a lot, now it's all clear and ready to fake tha name xD
Posts 16–25 of 25 · Page 2 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us