debnet wrote: ↑Wed Apr 30, 2025 6:31 pm
I confirm the current table doesn't work with latest patch.
@Namelessy if you can take the time to explain how to shift the offsets to the correct positions, we would be able to update the table without bothering you in the future. By the way, thanks for all your precious work!
There are notes on how to update the scripts in the table itself, although you need a couple of evenings with youtube and google to be able to do that I guess (look up Stephen Chapman on youtube).
For the offsets for the character, for instance, if the select character script works, you can go to "Dissect structure" and add "[pSlectedChar]" (no quotes) in the address box, and select generate new structure. Then just have a look around where the previous one were and see if you can spot the new offset.
If we take gold for 1.16.0.1, you can see in the table that the offsets are 250 and 1A0. So, go to the struct, scroll down to 1A0 (bottom most is first offset), then scroll down to 250, and see if you can spot it close to where it was (quick and dirty way). If you don't see it (I didn't), then you need to find the gold value in the memory scanner, and when you find it, right-click and select "what accesses this pointer", and you can see what the last offset it. In this case it was E8. And it turned out that the first offset was the same. If not, you might have to read a bit of the code to find the offset.
If we take prestige, the offset was 100 and 1A0. and if we do the "quick and dirty" and just look, you can see it is just a bit further down, and it turns out they (prestige, fame, Piety, Devotion, etc), was just bumped 16 bytes (10 hex), so the prestige offset was bumped from 100 to 110, Piety from E8 to F8, etc.
So, not difficult, just tedious