latest Offset for PWI after content update

06/23/2013 22:12 iwanp#136
why my Pb doesnt work and cant opent?.

Quote:
Originally Posted by KarmielKid View Post
OK ALL WORKING OFFSETS

The issue was
ITEMSTRUCT1_OffSet= being at 24+4=28

= ITEMSTRUCT1_OffSet=28 (reason bot was not looting or gathering) once char hooked and started.




Works with Prophet Bot 3.1



Copy below to your Custom_OffSets




[Perfect_World_Base_Address_In_Decimal]
Application_Title=Perfect World International
Base_Address=12635628
Real_Base_Address=12633740
Base_AddressFZ=12636820
Base_AddressEXP=12638608
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=1188
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=28
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





Updated
Base_AddressEXP=12638608



Thnx
G0liath


I would Like to give a special Thanks to Martmor for the tutorial today he wrote and to Swoosh and everyone else that assisted.


Cheers Mates



Updated June 13th 2013

For those crashing try the above config updated. This is for 3.1
How to update config, iam nob for this. ty
06/24/2013 06:31 ardy680#137
i got same problem....
[Only registered and activated users can see links. Click Here To Register...]

idk why.. i try re-open client, and not work...
and i try to use PB 3.0 and 3.1 :< nothin work...
06/24/2013 07:00 martmor#138
Quote:
Originally Posted by tempus fugitus View Post
Well i am reading all info i can from your link i dontk now how to do it still :(
You only must click Strg + F in the source code and enter the real base address in the search field (in Dec) and the old sendpacket address in Hex.
06/24/2013 07:32 tempus fugitus#139
Can you edit that file and post it somewhere for all nubs here who cant find what is needed i got all programs today and spend few horus figiring and i just sux..
06/24/2013 08:39 lookcandy#140
can someone just reupload the prophet bot that actualy work, idk how to edit this broken pb that i curenly have,
pls post the download link
06/24/2013 12:15 Murmuring#141
Quote:
Originally Posted by lookcandy View Post
can someone just reupload the prophet bot that actualy work, idk how to edit this broken pb that i curenly have,
pls post the download link
ok, i spend 5 minutes on this...

you can find the fixed version by using this google search results:
[Only registered and activated users can see links. Click Here To Register...]

what i read in another message board is, the bot start crashing after targeting a mob with error some array is empty.
because this offset is wrong: NPCSpecial_Offset=596

you can search that new offset (easy by adding +4 and test...) or you simply delete the function in the source on line 2351
Quote:
$TARSPEC = $SELECTED_SPECIAL_INFO[$TEMPNPCARRAY[0][5]]
also buy/sell dont work, since pwi changed the packets after the fixed version was uploaded.

note:
in the attached and fixed version i quickly removed the $TARSPEC and dont fix buy/sell...so bot should work.
source is included, so ppl with more free time can do what they want.
06/24/2013 13:45 Zizoun#142
Guess I'll take my words back Murmuring... Awesome job :handsdown:

Thanks a lot for including the sourcecode too, I will take a look and see where the targetting went wrong apart from the function you gave us, I also noticed the nomadmemory you attached with the bot is different from the one I had, so 1000 thanks for you.
06/24/2013 14:45 Murmuring#143
Quote:
Originally Posted by Zizoun View Post
Guess I'll take my words back Murmuring... Awesome job :handsdown:

Thanks a lot for including the sourcecode too, I will take a look and see where the targetting went wrong apart from the function you gave us, I also noticed the nomadmemory you attached with the bot is different from the one I had, so 1000 thanks for you.
no problem, just some minutes time.
the targetting works fine, wrong is this offset: NPCSpecial_Offset=596
so you dont get back the mob specials like "weak" or "sacrificial assault"...
the result is just a number what read out from a defined list here: $TARSPEC = $SELECTED_SPECIAL_INFO[$TEMPNPCARRAY[0][5]]

Quote:
Global $SELECTED_SPECIAL_INFO[300] = ['None', 'Incr. Movement', 'Unknown Special', 'Incr. Defence', 'Incr. Mag Resist', 'Incr. Attack', 'Incr. Magical Attk', 'Sacrificial Assault', 'Incr. Life', 'Weak']
since NPCSpecial_Offset give wrong number what cant find in the array $SELECTED_SPECIAL_INFO = bot crashed

i dont want to look for the right offset, since i dont use that function in my bot.
so i just deleted the line in the attached source...
if you really need to know what special a mob has, look for the right offset.

since the bot is right old, there are much more things who dont work actual.
as example while updating my bot, i see that reading chat stuff is also a bit changed.

old and used in the bot is:
Quote:
// 0 - 199 max
For(i = 0 ; i < lastChatObject ; i++)
{
p->chatObject = [[chatObjectsBase] + i*0x1C]
// Actual message
p->message = [[[chatObjectsBase] + i*0x1C]+0x8]
}
new is:
Quote:
// 0 - 199 max
For(i = 0 ; i < lastChatObject ; i++)
{
p->chatObject = [[chatObjectsBase] + i*0x24]
// Actual message
p->message = [[[chatObjectsBase] + i*0x24]+0x8]
}
you find more info in this excellent tutorial :)
[Only registered and activated users can see links. Click Here To Register...]
06/24/2013 15:19 tempus fugitus#144
I luv this intruder alert lol old one was creepy
06/24/2013 18:33 ardy680#145
sorry, noob question... i try on veno, but when i click unfreeze, PB Stopped working, i cant clik any menu on PB....
i try to un-check UNFREEZE, PB work, killing 1 mobs, but after killiung mobs, PB Crash, i cant click on menu bar, and not responding...
[Only registered and activated users can see links. Click Here To Register...]
06/24/2013 21:57 bubal#146
Quote:
Originally Posted by tempus fugitus View Post
I luv this intruder alert lol old one was creepy
hi just question what it means if the sound play? coz before my boot dont have sound, not like now.. its kinda annoying coz every 5min its play... intruder alert!! intruder alert!!! lol....
06/24/2013 23:23 tempus fugitus#147
its funny tho hehe i turned it down but i remmeber in last bots it had that vobliebobli sound oh man taht was super annoying
06/25/2013 05:43 Murmuring#148
Quote:
Originally Posted by ardy680
but when i click unfreeze, PB Stopped working
sorry i dont use the bot, so i cant answer helpfull to this.
offset is correct ?

Quote:
Originally Posted by bubal View Post
hi just question what it means if the sound play? coz before my boot dont have sound, not like now.. its kinda annoying coz every 5min its play... intruder alert!! intruder alert!!! lol....
Quote:
Originally Posted by tempus fugitus
its funny tho hehe i turned it down but i remmeber in last bots it had that vobliebobli sound oh man taht was super annoying
if you read my text before...you might see that the chat stuff wont work.
change the source to what i post before if you want to use chat alarm, if you to lazy...turn the chat alarm off.

cant belive that some one turn his sound off wen he just need to unclick a checkbox *facepalm*
06/25/2013 18:17 KarmielKid#149
Nice Job Murmuring.
06/26/2013 05:39 G0liath#150
So..is gathering working with these offsets? Mine seems to run to home and do nothing despite the fact im surrounded by herbs.

Sorry, I was being a noob. Had never used the gathering functions and seems that a radius needs to be set as well ;).