What's the NPC type offset?
Quote:
I haven't investigated all of the info types fully, mainly just the ones I'm interested in.Code:struct chatObj { uint uk1; // 0x00 Unknown char msgScope; // 0x04 I.e., world, private, faction (see messageTypes) char smileySet; // 0x05 char uk3; // 0x06 char uk4; // 0x07 wchar *p_msg // 0x08 Pointer to actual unicode message string uint dwItemId // 0x0C ID of an item linked in chat uint msgId // 0x10 Unique message ID (can be different from index) uint uk5; // 0x14 uint uk6; // 0x18 }
Code:messageTypes (see chatObj->msgScope) Local // 0 World // 1 Squad // 2 Faction // 3 Whisper // 4 5 // 5 6 // 6 Trade // 7 Notification // 8 System // 9 Gen. Info // 0xa Local info(b) // 0xb Local info(c) // 0xc
UPDATE pwi_offsets
SET value = value + 0x10
WHERE value > 0x390
&& name LIKE 'off_player_%'
UPDATE pwi_offsets
SET value = value + 0x18
WHERE value > 0x6D8
&& name LIKE 'off_player_%'
UPDATE pwi_offsets
SET value = value + 0x10
WHERE value > 0xA44
&& name LIKE 'off_player_%'
insert into pwi_offsets (name, value) values
("add_base" , 0xAF6DA4),
("add_sendPacket" , 0x659450),
("add_petStandardSkill" , 0xB00E64),
("add_chat" , 0xAFBEE8)
ON DUPLICATE KEY UPDATE value = VALUES(value);
off_player_uniqueId 47C off_player_lvl 488 off_player_cultivation 48C off_player_HP 490 off_player_MP 494 off_player_currentExp 498 off_player_currentSP 49C off_player_availableStats 4A0 off_player_currentChi 4A4 off_player_attackLevel 4A8 off_player_defenseLevel 4AC off_player_criticalBonus 4B0 off_player_detectionLevel 4BC off_player_currentVit 4C0 off_player_currentMag 4C4 off_player_currentStr 4C8 off_player_currentDex 4CC off_player_maxHP 4D0 off_player_maxMP 4D4 off_player_HPregenRate 4D8 off_player_MPregenRate 4DC off_player_walkSpeed 4E0 off_player_runSpeed 4E4 off_player_swimSpeed 4E8 off_player_flySpeed 4EC off_player_accuracy 4F0 off_player_minPhysAtk 4F4 off_player_maxPhysAtk 4F8 off_player_attackSpeed 4FC off_player_range 500 off_player_minMetalDmg 504 off_player_maxMetalDmg 508 off_player_minWoodDmg 50C off_player_maxWoodDmg 510 off_player_minWaterDmg 514 off_player_maxWaterDmg 518 off_player_minFireDmg 51C off_player_maxFireDmg 520 off_player_minEarthDmg 524 off_player_maxEarthDmg 528 off_player_minMagAtk 52C off_player_maxMagAtk 530 off_player_metalDefense 534 off_player_woodDefense 538 off_player_waterDefense 53C off_player_fireDefense 540 off_player_earthDefense 544 off_player_physicalDefense 548 off_player_evasion 54C off_player_maxChi 550 off_player_gold 554 off_player_maxGold 558 off_player_weaponId 55C off_player_headWearId 560 off_player_necklaceId 564 off_player_robeId 568 off_player_armourId 56C off_player_beltId 570 off_player_pantsId 574 off_player_shoesId 578 off_player_wristerId 57C off_player_leftRingId 580 off_player_rightRingId 584 off_player_arrowId 588 off_player_flyMountId 58C off_player_fashionTopId 590 off_player_fashionPantsId 594 off_player_fashionShoesId 598 off_player_fashionGlovesId 59C off_player_attackHierogramId 5A0 off_player_heavenBookId 5A4 off_player_speakerId 5A8 off_player_HPhieroId 5AC off_player_MPhieroId 5B0 off_player_dungeonSackId 5B4 off_player_genieId 5B8 off_player_reputation 5C8 off_player_transformState 5CC off_player_strName 638 off_player_profession 640 off_player_moveType 64C off_player_x2 668 off_player_y2 66C off_player_z2 670 off_player_party 6D8 off_player_moveCounter 928 off_player_x3 92C off_player_y3 930 off_player_z3 934 off_player_expLostOnRevival 978 off_player_HPcooldown A0C off_player_MPcooldown A14 off_player_petCooldown A44 off_player_currentTarget B60 off_player_currentDialogueId B70 off_player_inventory CA4 off_player_equip CA8 off_player_questItem CAC off_player_shopPage1 CC0 off_player_shopPage2 CC4 name hex( value ) off_player_shopPage3 CC8 off_player_shopPage4 CCC off_player_shopPage5 CD0 off_player_shopPage6 CD4 off_player_shopPage7 CD8 off_player_shopPage8 CDC off_player_bank CE0 off_player_matBank CE4 off_player_fashionBank CE8 off_player_catShopSell CF8 off_player_catShopBuy CFC off_player_playerInfo D00 off_player_actStruct 1048 off_player_pet 1060 off_player_activeSkillList 1074 off_player_activeSkillCount 1078
How I update them after they're found is easy: Just keep adding 4 to the first value that is wrong (and all after it) until it is correct again. Then move on to the next value that is still wrong.Quote:
very thanks for the list Interest...
but i dont have any structure to put those informations.... some1 know some bot to use it?
other question:
in prophet bot i have,for example:
EXP_OffSet=1160
and in Interest list, is:
off_player_currentExp 498
Those values are in hex? or i want to see the source to know it?
sry for my bad english...
And thanks again!
@edit
forget those dummie questions
is Hex in Interest list
and Dec in prophet bot, but u can put 0x in front and "turn into hex"
My BaseAdress for prophet bot is: 0xAAF7464
now, im updating my prophet bots list, if works: later i post it here.
Again, sry for bad english, no google translator helping....
@Edit
Last question (for now):
How do u find those offsets? o.o
[Perfect_World_Base_Address_In_Decimal] Application_Title=Perfect World International Base_Address=11498596 Base_AddressFZ=11499732 Base_AddressEXP=11442500 [Custom_32_Offsets_In_Decimal] Casting_Offset=1760 Name_offset=0x638 LVL_Offset=0x488 Class_offset=0x640 HP_OffSet=0x490 MaxHP_OffSet=0x4D0 MP_OffSet=0x494 MaxMP_OffSet=0x4D4 STR_offset=0x4C8 DEX_offset=0x4CC VIT_offset=0x4C0 MAG_offset=0x4C4 Spirit_offset=0x49C Gold_offset=1348 FlySpeed_Offset=1244 FlyCounter_Offset=2300 MoveMode_OffSet=1592 CHI_Offset=0x4A4 MAXCHI_Offset=0x550 Jump_Offset=3104 CastID_Offset=1760 CharState_Offset=1668 Reputation_Offset=0x5C8 Culti_Offset=0x48C X_Offset=60 Y_Offset=68 Z_Offset=64 Target_OffSet=0xB60 PetBase_Offset=4132 PetHP_OffSet=60 PetHunger_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 PlayerBase_Offset=136 PlayerCount_Offset=20 PlayerID_Offset=1120 PlayerLVL_Offset=1132 PlayerName_Offset=1560 PlayerHP_Offset=1140 PlayerMAXHP_Offset=1204 PlayerClass_Offset=1568 NPCBase_Offset=80 NPCCount_Offset=20 NPCID_Offset=284 NPCName_Offset=596 NPCLVL_Offset=292 NPCHP_Offset=300 NPCMAXHP_Offset=364 NPCSpecial_Offset=584 ItemBase_Offset=24 ItemID_Offset=268 ItemSN_Offset=272 ItemName_Offset=356