PWI: Reflections offset list for Prophet Bot.

08/08/2012 16:46 altivex#1
Hello!
And i think i really need your help.:handsdown:
Thanks Swoosh for part of offsets!

[Perfect_World_Base_Address_In_Decimal]
Application_Title=
Base_Address=11857716
Real_Base_Address=
Base_AddressFZ=11860588
Base_AddressEXP=
SendPacket_Adress=6870592
ChatBase_Address=
LastChat_Address=

[Custom_32_Offsets_In_Decimal]
CHARSTRUCT1_OffSet=52
Casting_Offset=1824
Name_offset=1644
CHARID_Offset=1152
LVL_Offset=1164
Class_offset=1652
HP_OffSet=1172
MaxHP_OffSet=1244
EXP_OffSet=1180
MP_OffSet=1176
MaxMP_OffSet=1248
STR_offset=1236
DEX_offset=1240
VIT_offset=1228
MAG_offset=1232
Spirit_offset=1184
Gold_offset=1376
FlySpeed_Offset=1272
FlyCounter_Offset=2408
MoveMode_OffSet=1656
CHI_Offset=1192
MAXCHI_Offset=
Jump_Offset=3172
CastID_Offset=1832
CharState_Offset=1732
Reputation_Offset=1504
Culti_Offset=1164
X_Offset=60
Y_Offset=68
Z_Offset=64

Target_OffSet=3036
PetBase_Offset=4316
PetHP_OffSet=
PetHunger_OffSet=

ACTIONSTRCT1_Offset=52
ACTIONSTRCT2_Offset=4292
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=1152
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 ll try to find more, but iknow much lesser in such things as you are =)
08/08/2012 17:12 ardy680#2
Base address isnt 11859452 ..??
08/08/2012 17:46 martmor#3
I have until now:

Hex:
Root: 0xB4EF34
Base: 0xB4F5FC
Packet: 0x0068D640

[Custom_32_Offsets_In_Decimal]
Unfreeze_Address=11860588
Base_Address=11859452
BaseCall_Address=11857716
Jump_Offset=3288
CastID_Offset=1832
State_Offset=1740
Class_Offset=1652
Reputation_Offset=1504
Gold_Offset=1376
MaxCHI_Offset=1372
CHI_Offset=1340
MaxMP_OffSet=1248
MaxHP_Offset=1244
DEX_Offset=1240
STR_Offset=1236
MAG_Offset=1232
VIT_Offset=1228
Spirit_Offset=1184
EXP_Offset=1180
MP_Offset=1176
HP_Offset=1172
Culti_Offset=1168
LVL_Offset=1164
CharID_Offset=1152

But did not had time to enter it into the files until now.
08/08/2012 18:15 altivex#4
[Perfect_World_Base_Address_In_Decimal]
Application_Title=Perfect World International
Base_Address=11859452
Real_Base_Address=11857716
Base_AddressFZ=11860588
Base_AddressEXP=
SendPacket_Adress=6870592
ChatBase_Address=
LastChat_Address=

[Custom_32_Offsets_In_Decimal]
CHARSTRUCT1_OffSet=52
Casting_Offset=1824
Name_offset=1644
CHARID_Offset=1152
LVL_Offset=1164
Class_offset=1652
HP_OffSet=1172
MaxHP_OffSet=1244
EXP_OffSet=1180
MP_OffSet=1176
MaxMP_OffSet=1248
STR_offset=1236
DEX_offset=1240
VIT_offset=1228
MAG_offset=1232
Spirit_offset=1184
Gold_offset=1376
FlySpeed_Offset=1272
FlyCounter_Offset=2408
MoveMode_OffSet=1656
CHI_Offset=1192
MAXCHI_Offset=
Jump_Offset=3172
CastID_Offset=1832
CharState_Offset=1732
Reputation_Offset=1504
Culti_Offset=1164
X_Offset=60
Y_Offset=68
Z_Offset=64

Target_OffSet=3036
PetBase_Offset=4316
PetHP_OffSet=56
PetHunger_OffSet=8

ACTIONSTRCT1_Offset=52
ACTIONSTRCT2_Offset=4292
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=1152
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
it works... no exp and chat , but i think it works!
upd: it works, buy didn`t use magic.
08/08/2012 18:39 ardy680#5
didnt use magic?
magic skill?
08/08/2012 18:43 martmor#6
The offset from the original prophetbot 3.1 file:

[Perfect_World_Base_Address_In_Decimal]
Application_Title=Perfect World International
Base_Address=11859452
Base_AddressFZ=11860588
Base_AddressEXP=11862296
ChatBase_Address=
LastChat_Address=

[Custom_32_Offsets_In_Decimal]
CHARSTRUCT1_OffSet=52
Casting_Offset=1824
Name_offset=1644
CHARID_Offset=1152
LVL_Offset=1164
Class_offset=1652
HP_OffSet=1172
MaxHP_OffSet=1244
EXP_OffSet=1180
MP_OffSet=1176
MaxMP_OffSet=1248
STR_offset=1236
DEX_offset=1240
VIT_offset=1228
MAG_offset=1232
Spirit_offset=1184
Gold_offset=1376
FlySpeed_Offset=1272
FlyCounter_Offset=2408
MoveMode_OffSet=1656
CHI_Offset=1192
MAXCHI_Offset=
Jump_Offset=3172
CastID_Offset=1832
CharState_Offset=1732
Reputation_Offset=1504
Culti_Offset=1164
X_Offset=60
Y_Offset=68
Z_Offset=64

Target_OffSet=3036
PetBase_Offset=4316
PetHP_OffSet=56
PetHunger_OffSet=8

ACTIONSTRCT1_Offset=52
ACTIONSTRCT2_Offset=4292
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=1152
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 changed Sendpacket and real base address and the action structure in the exe file. It works fine.

RealBase: 11859452
SendPacket: 0068D640
ActionOffset=4292
08/08/2012 18:44 altivex#7
Quote:
didnt use magic?
magic skill?
yup.
08/08/2012 19:14 KarmielKid#8
martmor Have any idea why I would crash after starting the program once it tries to target I get a memory error.

I was able to get all the offsets. and thank you for those you also added.

Could the SendPacket: 0x0068D640 Be the issue?

I should add gathering herbs works fine.
08/08/2012 19:16 martmor#9
yes in the .exe file the real base address, send packet address and action offsets should get changed
08/08/2012 19:22 altivex#10
martmor , but mine works...
Or you telling about non fixed exe ?
08/08/2012 19:24 martmor#11
mine work too. I changed the exe file. I used the original prophetbot script with the new realbase and send packed address. Not the changed script that you use.
08/08/2012 19:30 altivex#12
And it use magic skills ?
Cos ididn`t change nothing in exe.
It works, but didn`t use skills.
hmmm.... and now use them... strange.
08/08/2012 19:34 ardy680#13
i cant save mobs target... why??
08/08/2012 19:39 KarmielKid#14
martmor what are you using to open .exe for edit PE explore?

Farming is working great still having issues with mobs. Once targeted I crash.

And again thanks for responding.
08/08/2012 21:29 martmor#15
The source code au3 file was provided by prophet bot. You can open this file with an AutoIT software.