Quote:
Originally Posted by lukelm
Could anyone help me with the combination of the names of the offsets used by the prophet and the bot Jawq?
The program now recognizes my character, but the error "Status: Critical error, code 256. Instance unhooked". I saw that other people had this error and it was because of incorrect offsets.
Sorry for the inconvenience.
Ty!
Jaqw bot / Prophet Bot
CallSendPacket = SendPacket_Adress (?)
CallIsQuestAvailable = I do not know
BaseAddress = Base_Address
BaseOffset = I do not know
PlayerStruct = CHARSTRUCT1_OffSet (?)
PlayerId = CHARID_Offset
PlayerLevel = LVL_Offset
PlayerName = Name_offset
PlayerTransportMode = MoveMode_OffSet (?)
PlayerFlyMountId = FlyCounter_Offset or FlySpeed_Offset (?)
PlayerPositionX = X_Offset
PlayerPositionZ = Z_Offset
PlayerPositionY = Y_Offset
PlayerTargetId = Target_OffSet
PlayerFreeze = I do not know. Unfreeze_Offset?
PlayerQuestInventory = InventoryBase_Offset
PlayerAction = ACTIONSTRCT2_Offset (?)
PlayerQuestList = I do not know
ItemId = ItemID_Offset
Lists = NPCSTRUCT1_OffSet (??)
NpcList = NPCSTRUCT1_OffSet (??)
NpcSortedList = = I do not know
NpcId = NPCID_Offset
|
CallSendPacket = SendPacket_Adress (?)
Yes.
CallIsQuestAvailable = I do not know
Not available in prophet, since prophet doesn't do quests of any kind.
BaseOffset = I do not know
This one should be in prophet, but it's also the least problematic one, since it has been 0x1C since ages ago.
PlayerStruct = CHARSTRUCT1_OffSet (?)
It used to be 0x20, it's now 0x34. Find values in prophet that match either one or the other and use the one it matches.
PlayerTransportMode = MoveMode_OffSet (?)
No. I don't know if prophet uses this flag, but it's an offset to value indicating if character is mounted on a fly mount.
The possible values resolved address takes are:
0 = character on ground (standing, walking or running)
1 = character in water
2 = character in flight (fly mount is active)
PlayerFlyMountId = FlyCounter_Offset or FlySpeed_Offset (?)
Neither. It's ID of character's flying mount.
PlayerFreeze = I do not know. Unfreeze_Offset?
I don't know what Unfreeze_Offset in prophet is, but in Jawq it's an offset to address indicating if character is motion locked by opened dialog window.
You will note the offset isn't "aligned" and the reason for it is that the value is of type byte.
PlayerQuestInventory = InventoryBase_Offset
Not likely. Inventory and QuestInventory are different. Luckily, they are neighbours, so you can get the value for PlayerQuestInventory by taking InventoryBase_Offset from prophet and adding 0x08 to the value.
PlayerAction = ACTIONSTRCT2_Offset (?)
Probably, but cannot confirm.
PlayerQuestList = I do not know
Not available in prophet, since prophet doesn't do quests of any kind.
Lists = NPCSTRUCT1_OffSet (??)
Cannot confirm. Value is offset to lists chain, from here you can access various lists like npcs, players and items that are near character.
NpcList = NPCSTRUCT1_OffSet (??)
Cannot confirm. Value is offset to npc list, that contains npcs near character.
NpcSortedList = = I do not know
Cannot confirm, my guess is this one isn't available in prophet. It's a final offset to ordered npc lists. My guess is prophet uses unordered list.
For more details on what each of the offsets in Jawq is, please look at post 1 on page 1, where they are explained further.