andrew_exec wrote: ↑Sat Jun 17, 2023 8:11 pm
Thats nice, but where is manual to make working all other pointers?:))) If it really that simple, make new full table and receive our respect
)) Чел, если ты реально в этом шаришь, ну сделай таблицу да и все, пусть все профы занимаются тем, в чем реально шарят.
To update the pointers, load up recifences table, attach CE to the stellaris process, enable the table. If you look at the achievement table for, for instance, Energy, you will see:
Code: Select all
<CheatEntry>
<ID>7318</ID>
<Description>"Energy (x100000) ==>"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>FF00FF</Color>
<VariableType>8 Bytes</VariableType>
<Address>pPlayer</Address>
<Offsets>
<Offset>8</Offset>
<Offset>30</Offset>
<Offset>1FF8</Offset>
</Offsets>
</CheatEntry>
So the base pointer i pPlayer (from Recifenses table), and the offsets are 1FF8, 30, and 8.
In ce, to see all the data for the player, click on "Memory View", then select the menus "Tools" -> "Dissect data/structures".
In the "Group 1" input box in the screen that opens, write: "[pPlayer]" (without the quotes), then in the menu, select "Structures" -> "Define new structure". In the box that opens then, you should probably write something larger than the default in "Size" box. 8192 to get to offset 2000, but probably a bit more if something has been expanded.
And there you have the player structure. To test it on a working version, you can scroll down to 1ff8, expand that, scroll down to 30, expand that, and there you will see the resources. Energy from offset 8, etc.
When it changes, the first offset is usually pushed down a bit. You can expand something a lower in the list and see if you can find it easily that way. If not, you can start searching until you find energy (search for value between, use console to add one energy, repeat search until you find it). Then put a "what writes to this address", use the console to add 1 more energy, and you can look at the code to, hopefully, find the new offsets. Then it is "just" to update all the offsets.