It's only required for scanning. If we can get a pointer to the address in question (The address of the first Inventory Class Instance), then the scan wouldn't be necessary at all.
Alternately, IFireflyl is using a manual method to do the same. It could be automated into a script similar to mine that also would not require a search.
There was a picture I posted a while back that kind of explains how I was doing this. The Item Class holds all instances of every Item the game is tracking and has all the details of an item (including shop items and any other items). The Inventory Class is just a simple container that points to the first and last Item Instances. It doesn't hold pointers to every item. This means that the Item Instances that belong to a Inventory Instance have to be contiguous. So you can do offsets easily. This also means that Item Instances belonging to other Inventory Instances need to be far way from either in memory so they don't write into each other. The only reason I went the Inventory->Item route, is because it has the start pointer of the first Item Instance. Once you have that, you don't need the Inventory Class at all.
Of course, finding the address of the first Item Instance can be difficult.
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1