StringMaster wrote: ↑Sun Oct 27, 2024 2:41 am
How do you find the EntityList? I have all the necessary pointers; I just need it to work for a single player and to run on GOG versions.
I don't. Just look at my "Get player base" code, you need to find that cmp instruction. In order to find it you need to search for a string " btnchat" here's sequence of bytes for that string - 1F 62 74 6E 63 68 61 74 but i recommend you to search using View - all strings. Make sure to check Case sentitive box.
When you going to find it, you need to go just a LITTLE above it. Make sure to set your display type in memory view to 4 bytes HEX. And you gonna find an address which uses that instruction, which in turn, compares if object was created by a player or AI. With blue color i marked an address of a string itself, your starting point. And with orange i marked an address of instruction that you need to find, in my case they are pretty close to each other, as you can see, i think in your it'll be the same.
Look at my screenshot