latest Offset for PWI after content update

06/22/2013 00:01 bubal#91
is this the one u searching i just read last time?

How to find all new offsets

Ok so everyone wants to be able to find the new offsets themself.
I will walk you through the steps we took.

1: Find new Base_Address and add to you Custom_OffSets.ini(Base_Address=10798316).

2: To find Base_AddressFZ we took the new Base_Address=10798316 and subtracted the old Base_Address=10437900.
So 10798316 - 10437900 = 360416.
Then we took the old Base_AddressFZ=10439036 and added the 360416 we got.
So 10439036 + 360416 = 10799452.
We then added this to our Custom_OffSets.ini(Base_AddressFZ=10799452)

3: Base_AddressCHARID is no longer used.
Your Prophet-Bot-Config.ini saves by char name now.

4: To find all other offsets here is what we did.
Found new MaxHP_OffSet=1204 and subtracted the old MaxHP_OffSet=1196.
So 1204 - 1196 = 8
Here is how the Custom_OffSets.ini changed.

[Perfect_World_Base_Address_In_Decimal]
Application_Title=Element Client
Base_Address=10798316 ;We found the new Base_Address=10798316
Base_AddressFZ=10439036 ;Added 360416(Base_AddressFZ=10799452)
Base_AddressCHARID=11157196 ;Is not used anymore
[Custom_32_Offsets_In_Decimal]
CASTING_Offset=1740 ;Added 8(CASTING_Offset=1748)
Name_offset=1552 ;Added 8(Name_offset=1560)
LVL_Offset=1124 ;Added 8(LVL_Offset=1132)
Class_offset=1560 ;Added 8(Class_offset=1568)
HP_OffSet=1132 ;Added 8(HP_OffSet=1140)
MaxHP_OffSet=1196 ;Added 8(MaxHP_OffSet=1204)
MP_OffSet=1136 ;Added 8(MP_OffSet=1144)
MaxMP_OffSet=1200 ;Added 8(MaxMP_OffSet=1208)
EXP_Offset=1140 ;Added 8(EXP_Offset=1148)
STR_offset=1188 ;Added 8(STR_offset=1196)
DEX_offset=1192 ;Added 8(DEX_offset=1200)
VIT_offset=1180 ;Added 8(VIT_offset=1188)
MAG_offset=1186 ;Added 8(MAG_offset=1192)
Spirit_offset=1144 ;Added 8(Spirit_offset=1152)
Gold_offset=1336 ;Added 8(Spirit_offset=1152)
X_Offset=60 ;Did not change
Y_Offset=68 ;Did not change
Z_Offset=64 ;Did not change
MoveX_Offset=32 ;Did not change
MoveY_Offset=40 ;Did not change
MoveZ_Offset=36 ;Did not change
PetHP_OffSet=4096 ;Added 8(PetHP_OffSet=4104)
Target_OffSet=2816 ;Added 8(Target_OffSet=2824)
TarHP_OffSet=308 ;Subtracted 8(TarHP_OffSet=300)
TarMaxHP_OffSet=372 ;Subtracted 8(TarMaxHP_OffSet=364)
TarName_OffSet=604 ;Subtracted 8(TarName_OffSet=596)
TarLVL_OffSet=300 ;Subtracted 8(TarLVL_OffSet=292)
TarSpec_OffSet=592 ;Subtracted 8(TarSpec_OffSet=584)

5: To get Exp showing correctly we had to edit the source code.
On Line 32 we had to take the old $exp_base = 0x9F5028, convert 9F5028
to dec wich is 10440744 and add the 360416 we got earlyer.
So 10440744 + 360416 = 10801160 convert 10801160 to hex wich is 00A4D008.
This is how your new $exp_base should look after you have changed it $exp_base = 0xA4D008

6: To get move to corpse working we had to edit source code.
On Line 110 we had to add 8 to the old $OFFSET_MOVEX[2] = 4072.
This is how your new $OFFSET_MOVEX[2] should look after you have changed it $OFFSET_MOVEX[2] = 4080
On Line 115 we had to add 8 to the old $OFFSET_MOVEY[2] = 4072.
This is how your new $OFFSET_MOVEY[2] should look after you have changed it $OFFSET_MOVEY[2] = 4080
On Line 120 we had to add 8 to the old $OFFSET_MOVEZ[2] = 4072.
This is how your new $OFFSET_MOVEZ[2] should look after you have changed it $OFFSET_MOVEZ[2] = 4080




Hope this helps.
Prophet 2
Last edited by PW-Prophets; 08-14-2010 at 01:31.
06/22/2013 00:43 Sᴡoosh#92
KarmielKid, you should be the last to talk big. Like I said before, you where one of the reasons Prophets quit.

Just wanted to wait 2 days to see if prophet bot not working had any effect on my bot sales. It doesn't. That's all I wanted to know, here's what my bot uses :

Dec :

[Only registered and activated users can see links. Click Here To Register...]

Hex :

[Only registered and activated users can see links. Click Here To Register...]

Cheers
06/22/2013 01:13 Murmuring#93
Quote:
Originally Posted by Zizoun View Post
Some people already have the offsets and they don't even want to share or give more hints, than just "base address", on why the bot can't hook to the client, so yeah, you pretty much proved what karmiel said.
wtf...i answered the question why the bot can hook to the client = wrong base adress.
as result i got nerved why i dont post all offsets i found ?

and you sure i should then post more/all offsets ?
Quote:
Originally Posted by Zizoun View Post
All those are fine except freezing and sendpacket.
better use this...
Base_AddressFZ=12636820
SendPacket_Adress=7177216

edit: swoosh allready posted them :D
06/22/2013 06:14 Zizoun#94
Thanks a lot for the replies, but the error (issues attaching for offsets) that my bot can't hook to client is not because base address is wrong, or at least is still not working after I put it what you told me...
I never had this kind of error in any other pwi updates and it's kinda driving me crazy searching everywhere

What I got as offsets is:
[Perfect_World_Base_Address_In_Decimal]
Application_Title=Perfect World International
Base_Address=12635628
Real_Base_Address=12633740
Base_AddressFZ=12636820
Base_AddressEXP=
SendPacket_Adress=7177216
ChatBase_Address=12654952
LastChat_Address=12654964


[Custom_32_Offsets_In_Decimal]
CHARSTRUCT1_OffSet=52
Casting_Offset=1840
Name_offset=1652
CHARID_Offset=1156
LVL_Offset=1168
Class_offset=1660
HP_OffSet=1176
MaxHP_OffSet=1248
EXP_OffSet=1184
MP_OffSet=1180
MaxMP_OffSet=1252
STR_offset=1240
DEX_offset=1244
VIT_offset=1232
MAG_offset=1236
Spirit_offset=1188
Gold_offset=1380
FlySpeed_Offset=1272
FlyCounter_Offset=2408
MoveMode_OffSet=1656
CHI_Offset=1364
MAXCHI_Offset=1376
Jump_Offset=3356
CastID_Offset=1836
CharState_Offset=1756
Reputation_Offset=1512
Culti_Offset=1172
X_Offset=60
Y_Offset=68
Z_Offset=64

Target_OffSet=3172
PetBase_Offset=4636
PetHP_OffSet=56
PetHunger_OffSet=8
ACTIONSTRCT1_Offset=52
ACTIONSTRCT2_Offset=4612
ACTIONSTRCT3_Offset=48
ACTIONSTRCT4A_Offset=4
ACTIONSTRCT4B_Offset=8

ActionFlag_Offset=24
ActionRead_Offset=4
ActionRead2_Offset=8
ActionRead3_Offset=28
ActionWrite_Offset=12
ActionWrite2_Offset=20
ActionSkill_Offset=80
ActionMoveX_Offset=32
ActionMoveY_Offset=40
ActionMoveZ_Offset=36
ActionHeight_OffSet=104
ActionHeightFlag_OffSet=100
ActionHeightFlag2_OffSet=108
ActionDoneFlag_Offset=8
ActionValue_Offset=44
ActionValue2_Offset=64
ActionSetError_Offset=76
ActionFinished_Offset=8
ActionStart_Offset=20
ActionNotStart_Offset=36
ActionObject_Offset=32
ObjectAction_Offset=56

PLAYERSTRUCT1_OffSet=28
PLAYERSTRUCT2_OffSet=32

PlayerBase_Offset=136
PlayerCount_Offset=20
PlayerID_Offset=3172
PlayerLVL_Offset=1164
PlayerName_Offset=1636
PlayerHP_Offset=1140
PlayerMAXHP_Offset=1232
PlayerClass_Offset=1596

NPCSTRUCT1_OffSet=28
NPCSTRUCT1_OffSet=36

NPCBase_Offset=80
NPCPAI_Offset=748
NPCCount_Offset=20
NPCID_Offset=288
NPCName_Offset=608
NPCLVL_Offset=296
NPCHP_Offset=304
NPCMAXHP_Offset=376
NPCSpecial_Offset=596
TARSTARGET_OffSet=748

ITEMSTRUCT1_OffSet=28
ITEMSTRUCT2_OffSet=40

ItemBase_Offset=24
ItemID_Offset=272
ItemSN_Offset=276
ItemName_Offset=360
ItemType_Offset=336

INVENTORYSTRUCT1_OffSet=3360

InventoryBase_Offset=12
InventoryID_Offset=8
InventoryStackAmount_Offset=16
InventoryMAXStackAmount_Offset=20
InventorySellPrice_Offset=24
InventoryBuyPrice_Offset=28
InventoryDescription_Offset=64

EQUIPPEDINVENTORSTRUCT1_OffSet=3324

I'm not sure how to get BaseAddressEXP
06/22/2013 07:28 x3emal#95
with Name_offset=1660 bot see name my char buy get error : array variable incorrect number of subscripts or subscript dimension range exceeded
06/22/2013 08:10 bedvira#96
this offsets looks right:
Base_AddressEXP=12638608
Class_offset=1668 (i was try +2.. and get this, its shown right class)
But bot still not work. Cant select mobs, not get they identifical code.
06/22/2013 08:15 martmor#97
HI Guys, I try it to make the file copy & paste.

I do not use any grind bot since over 10 month, so I do not test it.

If you use the original prophetbot 3.1 file you must change in the sourcecode the sendpacket (in Hex) and the realbase address too. prophet wrote this in his tread at any message where to find this addresses in the source code. Here you must use the search function or must read every message from him.

If you use 3.0 you must change the action offset in the source code.

[Perfect_World_Base_Address_In_Decimal]
Application_Title=Perfect World International
Base_Address=12635628
Real_Base_Address=12633740
Base_AddressFZ=12636820
Base_AddressEXP=12309816
SendPacket_Adress=7177216
ChatBase_Address=12654952
LastChat_Address=12654964

[Custom_32_Offsets_In_Decimal]
CHARSTRUCT1_OffSet=52
Casting_Offset=1848
Name_offset=1660
CHARID_Offset=1156
LVL_Offset=1168
Class_offset=1668
HP_OffSet=1176
MaxHP_OffSet=1248
EXP_OffSet=1184
MP_OffSet=1180
MaxMP_OffSet=1252
STR_offset=1240
DEX_offset=1244
VIT_offset=1232
MAG_offset=1236
Spirit_offset=1184
Gold_offset=1380
FlySpeed_Offset=1276
FlyCounter_Offset=2412
MoveMode_OffSet=1664
CHI_Offset=1364
MAXCHI_Offset=1376
Jump_Offset=3360
CastID_Offset=1852
CharState_Offset=1680
Reputation_Offset=1512
Culti_Offset=1168
X_Offset=60
Y_Offset=68
Z_Offset=64

Target_OffSet=3172
PetBase_Offset=4740
PetHP_OffSet=56
PetHunger_OffSet=8

ACTIONSTRCT1_Offset=52
ACTIONSTRCT2_Offset=4716
ACTIONSTRCT3_Offset=48
ACTIONSTRCT4A_Offset=4
ACTIONSTRCT4B_Offset=8

ActionFlag_Offset=24
ActionRead_Offset=4
ActionRead2_Offset=8
ActionRead3_Offset=28
ActionWrite_Offset=12
ActionWrite2_Offset=20
ActionSkill_Offset=80
ActionMoveX_Offset=32
ActionMoveY_Offset=40
ActionMoveZ_Offset=36
ActionHeight_OffSet=104
ActionHeightFlag_OffSet=100
ActionHeightFlag2_OffSet=108
ActionDoneFlag_Offset=8
ActionValue_Offset=44
ActionValue2_Offset=64
ActionSetError_Offset=76
ActionFinished_Offset=8
ActionStart_Offset=20
ActionNotStart_Offset=36
ActionObject_Offset=32
ObjectAction_Offset=56

PLAYERSTRUCT1_OffSet=28
PLAYERSTRUCT2_OffSet=32

PlayerBase_Offset=136
PlayerCount_Offset=20
PlayerID_Offset=1156
PlayerLVL_Offset=1168
PlayerName_Offset=1660
PlayerHP_Offset=1176
PlayerMAXHP_Offset=1248
PlayerClass_Offset=1600

NPCSTRUCT1_OffSet=28
NPCSTRUCT1_OffSet=36

NPCBase_Offset=88
NPCPAI_Offset=752
NPCCount_Offset=20
NPCID_Offset=288
NPCName_Offset=612
NPCLVL_Offset=296
NPCHP_Offset=304
NPCMAXHP_Offset=376
NPCSpecial_Offset=596
TARSTARGET_OffSet=748

ITEMSTRUCT1_OffSet=28
ITEMSTRUCT2_OffSet=40

ItemBase_Offset=24
ItemID_Offset=272
ItemSN_Offset=276
ItemName_Offset=360
ItemType_Offset=336

INVENTORYSTRUCT1_OffSet=3624

InventoryBase_Offset=12
InventoryID_Offset=8
InventoryStackAmount_Offset=16
InventoryMAXStackAmount_Offset=20
InventorySellPrice_Offset=24
InventoryBuyPrice_Offset=28
InventoryDescription_Offset=64

EQUIPPEDINVENTORSTRUCT1_OffSet=3324







Maybe wrong:

FlySpeed_Offset=1276

FlyCounter_Offset=2412
MoveMode_OffSet=1660
Jump_Offset=3360
PlayerClass_Offset=1600
06/22/2013 08:33 KarmielKid#98
Class_offset=1668

What I have.

Working
1. Sees Char
2. hp-mp-str-vit-mag-spirit
3. Auto potting working.
4. Buffing Myself
5. Moving Back To HomeXYZ


Not working
Does not see Targets Mobs - NPC - Other Players
1. Does not target
2. Does not gather.
3. Does not defend

[Perfect_World_Base_Address_In_Decimal]
Application_Title=Perfect World International
Base_Address=12635628
Real_Base_Address=12633740
Base_AddressFZ=12636820
Base_AddressEXP=12309816
SendPacket_Adress=7177216
ChatBase_Address=12654952
LastChat_Address=12654964

[Custom_32_Offsets_In_Decimal]
CHARSTRUCT1_OffSet=52
Casting_Offset=1848
Name_offset=1660
CHARID_Offset=1160
LVL_Offset=1168
Class_offset=1668
HP_OffSet=1176
MaxHP_OffSet=1248
EXP_OffSet=1184
MP_OffSet=1180
MaxMP_OffSet=1252
STR_offset=1240
DEX_offset=1244
VIT_offset=1232
MAG_offset=1236
Spirit_offset=1184
Gold_offset=1380
FlySpeed_Offset=1276
FlyCounter_Offset=2412
MoveMode_OffSet=1660
CHI_Offset=1364
MAXCHI_Offset=1376
Jump_Offset=3360
CastID_Offset=1852
CharState_Offset=1680
Reputation_Offset=1512
Culti_Offset=1168
X_Offset=60
Y_Offset=68
Z_Offset=64

Target_OffSet=3172
PetBase_Offset=4740
PetHP_OffSet=56
PetHunger_OffSet=8

ACTIONSTRCT1_Offset=52
ACTIONSTRCT2_Offset=4716
ACTIONSTRCT3_Offset=48
ACTIONSTRCT4A_Offset=4
ACTIONSTRCT4B_Offset=8

ActionFlag_Offset=24
ActionRead_Offset=4
ActionRead2_Offset=8
ActionRead3_Offset=28
ActionWrite_Offset=12
ActionWrite2_Offset=20
ActionSkill_Offset=80
ActionMoveX_Offset=32
ActionMoveY_Offset=40
ActionMoveZ_Offset=36
ActionHeight_OffSet=104
ActionHeightFlag_OffSet=100
ActionHeightFlag2_OffSet=108
ActionDoneFlag_Offset=8
ActionValue_Offset=44
ActionValue2_Offset=64
ActionSetError_Offset=76
ActionFinished_Offset=8
ActionStart_Offset=20
ActionNotStart_Offset=36
ActionObject_Offset=32
ObjectAction_Offset=56

PLAYERSTRUCT1_OffSet=28
PLAYERSTRUCT2_OffSet=32

PlayerBase_Offset=136
PlayerCount_Offset=20
PlayerID_Offset=1156
PlayerLVL_Offset=1168
PlayerName_Offset=1660
PlayerHP_Offset=1176
PlayerMAXHP_Offset=1248
PlayerClass_Offset=1668

NPCSTRUCT1_OffSet=28
NPCSTRUCT1_OffSet=36

NPCBase_Offset=80
NPCPAI_Offset=748
NPCCount_Offset=20
NPCID_Offset=288
NPCName_Offset=612
NPCLVL_Offset=296
NPCHP_Offset=304
NPCMAXHP_Offset=376
NPCSpecial_Offset=596
TARSTARGET_OffSet=748

ITEMSTRUCT1_OffSet=28
ITEMSTRUCT2_OffSet=40

ItemBase_Offset=24
ItemID_Offset=272
ItemSN_Offset=276
ItemName_Offset=360
ItemType_Offset=336

INVENTORYSTRUCT1_OffSet=3624

InventoryBase_Offset=12
InventoryID_Offset=8
InventoryStackAmount_Offset=16
InventoryMAXStackAmount_Offset=20
InventorySellPrice_Offset=24
InventoryBuyPrice_Offset=28
InventoryDescription_Offset=64

EQUIPPEDINVENTORSTRUCT1_OffSet=3324
06/22/2013 10:26 Zizoun#99
Quote:
Originally Posted by martmor View Post
HI Guys, I try it to make the file copy & paste.

I do not use any grind bot since over 10 month, so I do not test it.

If you use the original prophetbot 3.1 file you must change in the sourcecode the sendpacket (in Hex) and the realbase address too. prophet wrote this in his tread at any message where to find this addresses in the source code. Here you must use the search function or must read every message from him.

If you use 3.0 you must change the action offset in the source code.
Thanks a lot.

I've been searching for a while and I found a reply from you here on how to do it for 3.0, but the version I have is 3.1 and doesn't have any .au3 file, so how do you do it for the 3.1? or is it already changed?

[Only registered and activated users can see links. Click Here To Register...]
06/22/2013 10:31 martmor#100
Quote:
1. Does not target
2. Does not gather.
3. Does not defend
The Target ID keep at 0

But Target Offset is correct.

Not sure which offsets are wrong that this do not work. Any Idea which offset can be wrong? Action Offset is correct too.

Quote:
but the version I have is 3.1 and doesn't have any .au3 file, so how do you do it for the 3.1?
Depended on which version you have. If you have the original Prophetbot you need to change them in the source. But Prophet included the au3 file. If you have amineurin prophet bot you do not must change anything in the source code. Did you changed until now anything in the source code after offset changes?
06/22/2013 10:39 Zizoun#101
Quote:
Originally Posted by martmor View Post
Depended on which version you have. If you have the original Prophetbot you need to change them in the source. But Prophet included the au3 file. If you have amineurin prophet bot you do not must change anything in the source code. Did you changed until now anything in the source code after offset changes?
No, I never changed anything in the source other than offsets in the .ini file, so I guess I'm using amineurins... I keep getting the error that "Issues attaching for offsets - there might be another bot attached to this process".
06/22/2013 10:46 martmor#102
With the offsets that I wrote you do not get this error if you have the original prophetbot and changed them in the source code. (I did so).
06/22/2013 11:19 KarmielKid#103
Every on character now displays correctly

Offsets not working.
[Only registered and activated users can see links. Click Here To Register...]

Will not target

Will not attack

Will not gather

Will not defend.



Zizoun I have the [Only registered and activated users can see links. Click Here To Register...]

For Prophet Bot Unleashed 3.1 PWI

Quote:
Originally Posted by martmor View Post
The Target ID keep at 0

But Target Offset is correct.
What do you mean Keep Target ID at 0 ?

I believe we need to find out what controls the targeting info.
06/22/2013 12:16 kuea#104
same here Target : 0 value, i work on that too
06/22/2013 15:27 martmor#105
I took now again a look to all offsets. Incorrect is the move mode with 1660 (same as Name offset and this can't be) and name offset is correct. So I gave now Move Mode back to 1556. But not sure if it work now better. This maybe slove the gater herbs and mats problem if we get the move mode correct. I think that 1664 will be correct (but I do not know).

CharID was wrong. On page 7 I wrote the correct one 1156, on Page 10 I made the mistake.

I made the wrong offset in the morning, wrote after the offsets that this is maybe wrong and everybody copied the wrong offset.

Guys, I did not use the bot since 10 month or so. I make this only for you. You do not must know anything about offsets to take a look if any offset is double or whats in other messages written. And just this is what I do now.

At first you must make the easiest thing. Take a look if anybody is a easy mistake (can be every time) like a offset is double and similar things like this. And this have nothing to do with knowing about offsets.

I tried it now with some different offsets but nothing changed :(

I need the help from altivex or somebody else :)