|
You last visited: Today at 23:36
Advertisement
Base Address + Offset understanding.
Discussion on Base Address + Offset understanding. within the PW Hacks, Bots, Cheats, Exploits forum part of the Perfect World category.
02/19/2011, 18:23
|
#1
|
elite*gold: 0
Join Date: Feb 2011
Posts: 25
Received Thanks: 8
|
Base Address + Offset understanding.
Okay, Here goes a noob question but for the life of me I have to figure this out.
So the base address is 0xA5BFCC for PWI.. and HP offset 0x474
when i try to read baseaddress + HPoffset, I dont get the correct HP value..
what am I doing wrong??
|
|
|
02/20/2011, 07:37
|
#2
|
elite*gold: 20
Join Date: May 2009
Posts: 1,290
Received Thanks: 326
|
Well,
first of all, its Base + 20h + offset for character related data.
20h is the character struct; This can be best explained by looking at how games are written.
Ill use delphi code to explain.
Tcharacter = record
HP : integer;
MP : integer;
Name : String
...
end;
In this struct, The player HP chain would be
Base + 0h
Since Integer is 4 bytes, MP would be
Base + 4h
This is basically what pw does, only that their structs are of course much more complex, hence you get those "big" offsets.
I hope this cleared up a bit; I fail at explaining.
Cheers
|
|
|
02/20/2011, 09:59
|
#3
|
elite*gold: 0
Join Date: Mar 2010
Posts: 862
Received Thanks: 576
|

and
might help you a bit in understanding baseAddress etcetera.
|
|
|
02/20/2011, 21:47
|
#4
|
elite*gold: 0
Join Date: Feb 2011
Posts: 25
Received Thanks: 8
|
Thanks for the replies, I wasnt adding on the &h20. Now I'm able to find the bytes.. Everything accept for the name. Finding the name offset or converting it to a string. . Just to check the name offset would be at Baseaddress + 20h + 618h ?
|
|
|
02/21/2011, 08:31
|
#5
|
elite*gold: 20
Join Date: May 2009
Posts: 1,290
Received Thanks: 326
|
Add +0, since you want the pointer to it.
|
|
|
03/19/2011, 16:30
|
#6
|
elite*gold: 0
Join Date: Dec 2009
Posts: 3
Received Thanks: 0
|
|
|
|
03/19/2011, 19:12
|
#7
|
elite*gold: 20
Join Date: May 2009
Posts: 1,290
Received Thanks: 326
|
Base + 30h + offset for character struct data reguarding your own character.
1. Press Add pointer.
2. Enter base in left edit.
3. Enter 30 in right edit.
4. Enter an offset in the edit over the 30 one.
Done.
|
|
|
04/06/2011, 09:59
|
#8
|
elite*gold: 0
Join Date: Nov 2009
Posts: 3
Received Thanks: 0
|
can sum1 xplain me what is this all about? or why is this useful? me ish noob still QQ
|
|
|
04/06/2011, 12:30
|
#9
|
elite*gold: 0
Join Date: Mar 2010
Posts: 862
Received Thanks: 576
|
Quote:
Originally Posted by 20058213
can sum1 xplain me what is this all about? or why is this useful? me ish noob still QQ
|
It's for when you make bots. You read from your computer's memory all values you need to decide what to attack / empty your inventory / use pots / etcetera.
|
|
|
All times are GMT +1. The time now is 23:36.
|
|