furanzu How do I cheat? Reputation: 0
Joined: 23 Nov 2021 Posts: 2
|
Posted: Sat May 21, 2022 1:00 pm Post subject: Inventory/Wallet have unexpected data |
|
|
Thers this mmorpg with an official online api where you can get all the info you want but the update rate is slow, the farm traker update in 5+ minutes.
I wanted to make one realtime by reading the data in memory and it kinda work but:
Inventory:
The inventory contain one pointer for each slot side-by-side
The pointer point to some struct(a) that have another pointer to another struct (b)
The count value is in (a) and the ID in (b)
I've checked mats and consumable and is the same for almost all but some items have an unexpected absurd value in count (a) but the correct ID in (b)
No idea why that, maybe theres 2 struct(a) for some different items ?
Wallet:
I did a search for gold and i've found the poitner then i looked at the memory around it looks like uint32-uint32-uint32 as ID-COUNT-NOIDEA
So wallet start @ exe"+024AC3A8]8]378]0] but it looks randomly filled not like the inventory
Whatever currency is placed at wallet+random also the wallet size is not static like the inventory, on one account with lots of different currencies is around 130 blocks*3 on a new one with only gold is way less
Since i kow all currency ids (because is shown in the apis) i extract the currencies by reading 1k blocks keeping only the first id that i know if i get some strange id or a duplicate i consider that the end of the wallet.
I suppose that theres an index or something somewhere but no idea how to find it, someone can help ?
|
|