Hearts of Iron IV x64 v1.11.10 (GM and More) 2022-Apr-16

Upload your cheat tables here (No requests)
mulrich
Expert Cheater
Expert Cheater
Posts: 73
Joined: Fri Apr 28, 2017 6:25 pm
Reputation: 12

Re: Hearts of Iron IV x64 v1.11.2 (GM and More) 2021-Nov-27

Post by mulrich »

Nyankov wrote:
Tue Dec 07, 2021 2:58 pm
Lololmaorofl wrote:
Mon Dec 06, 2021 6:10 pm

Is there any chance you could possibly make Decisions complete in 1 day? There is no console command for that.
I use the console command "Decision.NoChecks", does that not work for you?
That allows you to take the decision, even if you haven't fulfilled the requirements, but they still take the same amount of time to complete.

How to use this cheat table?
  1. Install Cheat Engine
  2. Double-click the .CT file in order to open it.
  3. Click the PC icon in Cheat Engine in order to select the game process.
  4. Keep the list.
  5. Activate the trainer options by checking boxes or setting values from 0 to 1

Namelessy
Table Makers
Table Makers
Posts: 280
Joined: Wed Feb 24, 2021 7:46 am
Reputation: 406

Re: Hearts of Iron IV x64 v1.11.2 (GM and More) 2021-Nov-27

Post by Namelessy »

mulrich wrote:
Tue Dec 07, 2021 8:34 am
Lololmaorofl wrote:
Mon Dec 06, 2021 6:10 pm
Is there any chance you could possibly make Decisions complete in 1 day? There is no console command for that.
Sadly, those are all determined by their own individual variables and would require extensive modding of game files.

For example, the variable for time to complete for merging Soviet manufacturing plants is called "sov_merge_designers_time".
If you are aiming to get the pointers for every decision you have a problem. As you say, that would require a lot of entries (either modded, or pointers). However, most (if not all) games are object oriented, which might make things a bit easier. So you can find out where it handles ALL decisions, and finish them, either by adding up to a level, or subtracting down to a level.

For decisions, when you start one, you can see in the decisions screen (or the tooltip) how many days are left. If you search for this, you can narrow it down to one value. You now have the "days left until done" for one decision. If you then select it and choose "See what accesses this address" you will get a list of a few entries when the day ends. Among them is this (this is from the 1.11.4 open beta):

Code: Select all

hoi4.exe+4E1547 - FF 4E 18              - dec [rsi+18]
This is the one that decreases the "day left" counter for the decisions.
Just below it is a compare and a jump:

Code: Select all

hoi4.exe+4E1547 - FF 4E 18              - dec [rsi+18]
hoi4.exe+4E154A - 83 7E 18 01           - cmp dword ptr [rsi+18],01 { 1 }
hoi4.exe+4E154E - 0F8D 5E020000         - jnl hoi4.exe+4E17B2
The compare checks if it is 1, and the jump is a "jump if not less", so we can assume we want the [rsi+18] to be less than one. If we change the value to 1 in cheat engine, on the next day it will be 0 and the decision finishes.
Since changing the "dec [rsi+18]" to "set [rsi+18] to 0" would finish all decisions for all countries in a day, we probably want to only do this for the player.

If we check the other register values in that method, we can find that R15 contains the CDecisionStatus structure ("Dissect structure" is our friend), and [R15+10] contains the pointer to the CCountry struct. If [R15+10] is the same as the player ([pPlayer] in Recifenses table) we are probably good to change the "days left" to 0, and decisions are done in a day.

mulrich
Expert Cheater
Expert Cheater
Posts: 73
Joined: Fri Apr 28, 2017 6:25 pm
Reputation: 12

Re: Hearts of Iron IV x64 v1.11.2 (GM and More) 2021-Nov-27

Post by mulrich »

Interesting, @Namelessy.

Wouldn't this affect countdown timers as well, though? Like the Polish peasant strike, for example. There are some of those that you definitely don't want to finish too soon.

Namelessy
Table Makers
Table Makers
Posts: 280
Joined: Wed Feb 24, 2021 7:46 am
Reputation: 406

Re: Hearts of Iron IV x64 v1.11.2 (GM and More) 2021-Nov-27

Post by Namelessy »

Oh absolutely.

This would finish any decision at midnight. Which means that any that gives bonuses while running will be useless if they finish in a day. So you would either need a massive list with "these can be finished in a day" (back to pointers/IDs), or you would need to toggle the "finish in a day" on when you need it, and toggle it off when you want to keep the decision going.

Or a mod that overrides the duration of the "finish in a day" decisions, but that is again a big undertaking.

Or possibly, somebody smarter than me can figure out a more elegant solution :)

TopMarx
Noobzor
Noobzor
Posts: 6
Joined: Wed May 29, 2019 10:34 pm
Reputation: 0

Re: Hearts of Iron IV x64 v1.11.2 (GM and More) 2021-Nov-27

Post by TopMarx »

I'm sure this has been brought up before but railway guns aren't affected by instant production in any way. I'm not sure if railroad construction also isn't affected or if it's affected but behaves strangely.

User avatar
Lololmaorofl
Cheater
Cheater
Posts: 27
Joined: Fri Sep 24, 2021 12:17 pm
Reputation: 4

Re: Hearts of Iron IV x64 v1.11.2 (GM and More) 2021-Nov-27

Post by Lololmaorofl »

Nyankov wrote:
Tue Dec 07, 2021 2:58 pm
Lololmaorofl wrote:
Mon Dec 06, 2021 6:10 pm

Is there any chance you could possibly make Decisions complete in 1 day? There is no console command for that.
I use the console command "Decision.NoChecks", does that not work for you?
It simply does a No Checks so that you can press the decision. If a decision takes 270 days that doesn't help much now does it?

User avatar
joebno2
Noobzor
Noobzor
Posts: 11
Joined: Thu Oct 21, 2021 2:09 am
Reputation: 0

Re: Hearts of Iron IV x64 v1.11.2 (GM and More) 2021-Nov-27

Post by joebno2 »

when i give myself military factories the keep saying none then i add or remove one it goes back to working for a second then goes back to saying none

mulrich
Expert Cheater
Expert Cheater
Posts: 73
Joined: Fri Apr 28, 2017 6:25 pm
Reputation: 12

Re: Hearts of Iron IV x64 v1.11.2 (GM and More) 2021-Nov-27

Post by mulrich »

Lololmaorofl wrote:
Thu Dec 09, 2021 1:23 am
Nyankov wrote:
Tue Dec 07, 2021 2:58 pm
Lololmaorofl wrote:
Mon Dec 06, 2021 6:10 pm

Is there any chance you could possibly make Decisions complete in 1 day? There is no console command for that.
I use the console command "Decision.NoChecks", does that not work for you?
It simply does a No Checks so that you can press the decision. If a decision takes 270 days that doesn't help much now does it?
We discussed it a bit in a few posts earlier on this page, and the inherent problems surrounding it. :)

AlexG
Noobzor
Noobzor
Posts: 11
Joined: Fri Aug 27, 2021 1:52 pm
Reputation: 0

Re: Hearts of Iron IV x64 v1.11.2 (GM and More) 2021-Nov-27

Post by AlexG »

Hey, I tried the Airforce 99 upgrade cheat but it crashed the table, did that one get broken from one of the updates or was it more likely something else on my end?

Thank you for continuing to update this! :)

Namelessy
Table Makers
Table Makers
Posts: 280
Joined: Wed Feb 24, 2021 7:46 am
Reputation: 406

Re: Hearts of Iron IV x64 v1.11.2 (GM and More) 2021-Nov-27

Post by Namelessy »

AlexG wrote:
Thu Dec 09, 2021 2:49 pm
Hey, I tried the Airforce 99 upgrade cheat but it crashed the table, did that one get broken from one of the updates or was it more likely something else on my end?

Thank you for continuing to update this! :)
I haven't had any issues on 1.11.3, on 1.11.4 it stops working every update, but that manifest as an inability to check the cheat. Not had any crashes with it (except when I am trying to create them ;) )

MeadeIndeed
Noobzor
Noobzor
Posts: 6
Joined: Thu Jun 04, 2020 9:58 pm
Reputation: 0

Re: Hearts of Iron IV x64 v1.11.2 (GM and More) 2021-Nov-27

Post by MeadeIndeed »

Heyo, the table stopped working recently on my end. Weirdly enough though the extension table still works, at least the "Enable Console in Ironman" one.

Never had the table stop working over a like 19 MB update before either. <.<

mulrich
Expert Cheater
Expert Cheater
Posts: 73
Joined: Fri Apr 28, 2017 6:25 pm
Reputation: 12

Re: Hearts of Iron IV x64 v1.11.2 (GM and More) 2021-Nov-27

Post by mulrich »

Patch 1.11.4 is out.

And before Mr/Mrs Twattington comes in: yes, it broke the main table. Some options on the extension table work.

Namelessy
Table Makers
Table Makers
Posts: 280
Joined: Wed Feb 24, 2021 7:46 am
Reputation: 406

Re: Hearts of Iron IV x64 v1.11.2 (GM and More) 2021-Nov-27

Post by Namelessy »

Updated the extension table to 1.11.4. A bit short on time so not everything is tested 100%, but pointers seems to work, and console/modded achievements, and cheap plane upgrades. Added the "Decisions in a day" bit. You should use that with care as it will finish any decision in a day, even the good ones you want to have around. Turn it on/off with numpad-1.

Leave a comment if I missed a pointer, or some script isn't working correctly (and say which one....).

Noonespecial
What is cheating?
What is cheating?
Posts: 2
Joined: Wed Dec 15, 2021 11:36 am
Reputation: 0

Re: Hearts of Iron IV x64 v1.11.2 (GM and More) 2021-Nov-27

Post by Noonespecial »

nice table

Noonespecial
What is cheating?
What is cheating?
Posts: 2
Joined: Wed Dec 15, 2021 11:36 am
Reputation: 0

Re: Hearts of Iron IV x64 v1.11.2 (GM and More) 2021-Nov-27

Post by Noonespecial »

Hey could you update it to 1.11.4?

Post Reply

Who is online

Users browsing this forum: alexwithtoast, Bxiong1996, Google Adsense [Bot], hasnanss1, thelongcheng, zelitt55