[Request] Millennia

Ask about cheats/tables for single player games here
matt1713
Cheater
Cheater
Posts: 41
Joined: Tue Sep 29, 2020 1:32 pm
Reputation: 5

Re: [Request] Millennia

Post by matt1713 »

SlipperyEel wrote:
Fri Apr 05, 2024 10:30 am
BlueDragon90 wrote:
Fri Apr 05, 2024 8:44 am
the offset for innovation (inspiration) is wrong
Innovation always worked for me. I literally tested it dozens of times, changing the value and forcing the reward to pop the following turn.

I haven't had time to test the latest update myself yet, but per the previous poster apparently the offsets in the value arrays haven't changed, just the AOB for the Culture address, so the first table should still work fine.
I can confirm the innovation and social fabric points in the table (the ones where you manually enter the culture addresses) haven't worked since the update for me as well. However, everything else still works fine.

NoNickNeeded
Noobzor
Noobzor
Posts: 7
Joined: Mon Feb 12, 2018 5:15 pm
Reputation: 0

Re: [Request] Millennia

Post by NoNickNeeded »

SlipperyEel wrote:
Mon Apr 01, 2024 9:27 am
So with additional playing around, it seems like there are indeed two arrays of resource values. While it seems the offsets between each value within a given array are fixed, the offset from one array to the other appears to change without any consistent pattern. There also doesn't seem to be any consistency as to which array the real or UI value appears in, which is frustrating. However, if you can track down the two Culture addresses yourself via a manual scan then you can have the attached table automatically find the other addresses for you, due to the fixed offsets:

Image

Instructions: You'll have to manually scan for your Culture value. This is a float and will have two addresses. Once you find those, copy each address and enter them into the table sub-headers as pictured above. The other values will then automatically populate. When editing a given resource, for example Warfare, edit the value in both entries. N.B.: You can select both values using CTRL and then change them simultaneously.

There are presumably still other values in later ages that I haven't encountered yet. I'll add those as I come across them. I also have no idea if this will reliably work across the entire game, as I have given it limited testing with my existing pool of saves.

If someone wants to find pointers to the Culture addresses or figure out a working AOB scan and automate the whole thing, go right ahead. There might also be a better way to handle two sets of addresses for a given value, maybe with an Lua script.

Edit: OK I have managed to find a ridiculously large AOB that seems to be unique and has - so far in my limited local testing - proved to work consistently. I have created a table with a Lua script that will do the scan and populate the values if it correctly finds two addresses (otherwise it pops up an error). CE will freeze momentarily when activating the scan, and the values will take a few seconds to populate afterwards. I suspect that this AOB will probably need further adjustment once more people test it, so consider this a beta. If you do manage to break it, I'd appreciate it if you could do a manual scan to find your Culture address and then open the memory viewer and copy the 256 bytes starting from that address. Paste it in a text file and attach it here so I can compare it.
First off, thanks for the tables. The latter one doesn't work for me (probably because of the patch yesterday), but the first one, where you scan for culture and get the offsets to the others works like a charm.
I also found the spots for Specialists, which have an offset of +4f68 from culture.

Edit: Okay... after shutting down the game and resuming later, this worked once, but the second time it no longer worked and the offset changed to +5bf8. Either there was a patch I overlooked, or it's not part of the block.
Last edited by NoNickNeeded on Sat Apr 06, 2024 12:37 pm, edited 1 time in total.

NoNickNeeded
Noobzor
Noobzor
Posts: 7
Joined: Mon Feb 12, 2018 5:15 pm
Reputation: 0

Re: [Request] Millennia

Post by NoNickNeeded »

matt1713 wrote:
Fri Apr 05, 2024 2:10 pm
SlipperyEel wrote:
Fri Apr 05, 2024 10:30 am
BlueDragon90 wrote:
Fri Apr 05, 2024 8:44 am
the offset for innovation (inspiration) is wrong
Innovation always worked for me. I literally tested it dozens of times, changing the value and forcing the reward to pop the following turn.

I haven't had time to test the latest update myself yet, but per the previous poster apparently the offsets in the value arrays haven't changed, just the AOB for the Culture address, so the first table should still work fine.
I can confirm the innovation and social fabric points in the table (the ones where you manually enter the culture addresses) haven't worked since the update for me as well. However, everything else still works fine.
For inspiration you just have to change the offset from +438 to + 498. I haven't looked at the other yet.

matt1713
Cheater
Cheater
Posts: 41
Joined: Tue Sep 29, 2020 1:32 pm
Reputation: 5

Re: [Request] Millennia

Post by matt1713 »

NoNickNeeded wrote:
Sat Apr 06, 2024 9:32 am
For inspiration you just have to change the offset from +438 to + 498. I haven't looked at the other yet.
Yep, that did the trick; thanks. Also noticed that fixed an issue with values kinda moving around/being offset due to later-Age resources like Faith, Specialists, Arcana, Power (electricity), Aether, Ideology, Data, Computers, Archangel charges coming into the mix.

matt1713
Cheater
Cheater
Posts: 41
Joined: Tue Sep 29, 2020 1:32 pm
Reputation: 5

Re: [Request] Millennia

Post by matt1713 »

Has anyone figured out how to change the price increases for some powers like Claim Territory?
I'm also trying to get the address for deciding if a unit has moved yet or not (so settlers and pioneers can always "deploy" even after moving).

GabKarol
Noobzor
Noobzor
Posts: 14
Joined: Wed Nov 10, 2021 10:23 am
Reputation: 1

Re: [Request] Millennia

Post by GabKarol »

matt1713 wrote:
Sun Apr 07, 2024 5:42 pm
Has anyone figured out how to change the price increases for some powers like Claim Territory?
I'm also trying to get the address for deciding if a unit has moved yet or not (so settlers and pioneers can always "deploy" even after moving).
You can search the number of times used in float. This means you can only find it if you can still use the power.

I haven't checked if you can use the offset table in here for it.

Edit: Good news and bad news. Good news is it can be used with the offset, the bad news is that it has only worked for me in the Age of Kings in v1.0.
I have also tried it during the very start of AoK but it didn't work, but on a save from the next turn it did.(offset is +3840)

matt1713
Cheater
Cheater
Posts: 41
Joined: Tue Sep 29, 2020 1:32 pm
Reputation: 5

Re: [Request] Millennia

Post by matt1713 »

GabKarol wrote:
Mon Apr 08, 2024 10:19 pm
Edit: Good news and bad news. Good news is it can be used with the offset, the bad news is that it has only worked for me in the Age of Kings in v1.0.
I have also tried it during the very start of AoK but it didn't work, but on a save from the next turn it did.(offset is +3840)
I swear, the more it's explored, the more I'm convinced the memory is handled in so much spaghetti code it's nothing short of a miracle the game runs at all.

NoNickNeeded
Noobzor
Noobzor
Posts: 7
Joined: Mon Feb 12, 2018 5:15 pm
Reputation: 0

Re: [Request] Millennia

Post by NoNickNeeded »

If anyone wants to change Chaos, the accumulated Chaos value is at +480... at least in the iron age and monument ages. Since Inspiration seems to stay on the same offset the whole game, I hope the same is true for Chaos, but I haven't been able to test it yet.

I'm not sure if the Chaos per round is inside the block, since it's adress is smaller than that of culture and accumulated Chaos, but in my current game it has an offset of -228 .

Somebody You Used To Know
Novice Cheater
Novice Cheater
Posts: 21
Joined: Fri May 04, 2018 8:26 am
Reputation: 3

Re: [Request] Millennia

Post by Somebody You Used To Know »

Is there a CT that I can download?

The one on page 3 has stopped working.

Somebody You Used To Know
Novice Cheater
Novice Cheater
Posts: 21
Joined: Fri May 04, 2018 8:26 am
Reputation: 3

Re: [Request] Millennia

Post by Somebody You Used To Know »

I would also love to know where this address is!!

matt1713 wrote:
Sun Apr 07, 2024 5:42 pm
Has anyone figured out how to change the price increases for some powers like Claim Territory?
I'm also trying to get the address for deciding if a unit has moved yet or not (so settlers and pioneers can always "deploy" even after moving).

frozb
What is cheating?
What is cheating?
Posts: 2
Joined: Tue Apr 30, 2024 5:49 am
Reputation: 0

Re: [Request] Millennia

Post by frozb »

Somebody You Used To Know wrote:
Mon Apr 15, 2024 12:20 am
I would also love to know where this address is!!
matt1713 wrote:
Sun Apr 07, 2024 5:42 pm
Has anyone figured out how to change the price increases for some powers like Claim Territory?
I'm also trying to get the address for deciding if a unit has moved yet or not (so settlers and pioneers can always "deploy" even after moving).
It is stored as a Float. Multiplier - is a number of uses (0, 1, 2, etc.) and formulae lookes like this:
Price = BasePrice * 1.2^(Mult)
You basically need to set it back to 0. It takes forever to scan for changes if it goes 0,1,2 - so I recommend scanning when it is 4 or higher.

Also, it looks like there are two values for a lot of things - one used for internal calculation and the other one is shown in UI and used to check if buttons are active. So you need to change both - or just change internal and end a turn - your choice)

It looks like the values have moved a little. I made this table for myself - maybe it will be of use to someone else.
Attachments
Millennia.CT
(8.39 KiB) Downloaded 6 times

frozb
What is cheating?
What is cheating?
Posts: 2
Joined: Tue Apr 30, 2024 5:49 am
Reputation: 0

Re: [Request] Millennia

Post by frozb »

BTW - added one small, but sweet addition - Culture skill cost.
It is saved next to the culture in the Float format. Not as wave number, but just as a plain next skill price. Same as many - two values (internal and UI).
Take a notice that the address of UI value ("Show" in table) from my experience changes almost every time. But if you find one - all are the same. So find a culture value (change it several times, for example) - you'll get 2 addresses. Difference between them is the one you looking for. All other UIs are moved by the exact same value as this one.
Attachments
Millennia.CT
(9.1 KiB) Downloaded 1 time

Post Reply

Who is online

Users browsing this forum: AmazonBot, AyOne, Bing [Bot], blahblahs, CrAzYBeAm, Devola, dren210, thrikreen, zencrawler