Page 41 of 49

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

Posted: Tue Nov 15, 2022 11:09 am
by ZashkvaroK
MortifiedPotato wrote:
Sat Nov 12, 2022 9:27 am
Namelessy wrote:
Sat Oct 29, 2022 5:48 pm
Updated the extension table to 1.12.4. Removed the custom difficulty as it only worked with increasing strength, so I need to figure out the other bits as well.
1.12.5 and the 'enable achievement' script isn't activating :I Great how every smallest update breaks the tables.

Edit: .... uh.. I somehow got it to work, by doing nothing differently than the first 50 tries. But yeah, it does still work, it seems.
Can you tell me what exactly you changed in the table? Or can you send me yours?

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

Posted: Tue Nov 15, 2022 5:34 pm
by ZashkvaroK
"Achievements with mods" does not work on v1.12.5, can anyone tell me how to fix it myself?

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

Posted: Sun Nov 20, 2022 5:03 am
by Torven
ZashkvaroK wrote:
Tue Nov 15, 2022 5:34 pm
"Achievements with mods" does not work on v1.12.5, can anyone tell me how to fix it myself?
Are you enabling the script while the game is booting up? I don't know if it changed, but I remember when the table was new reading the script had to be active before it reached the main menu screen.

edit: Just noticed that that is listed in one of the notes under the script. The only other thing I can think to check is to make sure you have the main script from the base table running before you start the mod script from the extension table.

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

Posted: Fri Nov 25, 2022 8:23 pm
by ZashkvaroK
Torven wrote:
Sun Nov 20, 2022 5:03 am
edit: Just noticed that that is listed in one of the notes under the script. The only other thing I can think to check is to make sure you have the main script from the base table running before you start the mod script from the extension table.
Idk, base table is "hoi4_HeartsOfIron_IV_x64_v1-11-10-09ac_Steam_TheSavour_PF_CE74_S8-16-AOB_T72"?
It doesn't work
Torven wrote:
Sun Nov 20, 2022 5:03 am
Are you enabling the script while the game is booting up? I don't know if it changed, but I remember when the table was new reading the script had to be active before it reached the main menu screen.
Yes, I turn it on loadscreen, before the menu.

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

Posted: Mon Nov 28, 2022 1:30 am
by Torven
OK, I think the issue is the base table is out of date. On page 40, someone linked a table called "hoi4 1.24.CT" Haven't tried it with today's update, but it was working fine last time I played.

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

Posted: Tue Jan 10, 2023 12:15 pm
by Gold_fhishes
Will yo udo an uptdated version for 1.12.7?

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

Posted: Thu Jan 19, 2023 8:59 am
by cuck_king
I updated the extension table for 1.12.8, but I've only ever used it for enabling the console, so it's only been tested for that.
Big thanks to Nameless for the tutorial and help.

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

Posted: Fri Jan 20, 2023 10:00 pm
by Wiaizm
Is there are updated verison of yhe extension table (multiplayer version)

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

Posted: Wed Feb 15, 2023 2:19 am
by Q2xhc3NpYyBDcm93
How do I get the AOB for CHP2 for the console script? If I try to use the console in MP it tells me it cannot be used in Ironman or Multiplayer

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

Posted: Wed Feb 15, 2023 8:17 pm
by Kaedus
Q2xhc3NpYyBDcm93 wrote:
Wed Feb 15, 2023 2:19 am
If I try to use the console in MP it tells me it cannot be used in Ironman or Multiplayer
"it cannot be used in Ironman or Multiplayer". what other questions? can't be used, no, not at all.

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

Posted: Thu Feb 16, 2023 8:19 am
by BipBop
I can confirm that the 1.12.8 version works fine for activating the achievements with mods for 1.12.9 too. I also added a lua script that looks for HOI4.exe for 10 seconds while the game is loading so I can quickly activate achievements before main menu is loaded. It also creates a Compact View Mode option if you want to use it.

Here is the code:
Spoiler
function cycleFullCompact()
local state = not(compactmenuitem.Caption == 'Compact View Mode')
compactmenuitem.Caption = state and 'Compact View Mode' or 'Full View Mode'
getMainForm().Splitter1.Visible = state
getMainForm().Panel4.Visible = state
getMainForm().Panel5.Visible = state
end

function addCompactMenu()
if compactmenualreadyexists then return end
local parent = getMainForm().Menu.Items
compactmenuitem = createMenuItem(parent); parent.add(compactmenuitem)
compactmenuitem.Caption = 'Compact View Mode'
compactmenuitem.OnClick = cycleFullCompact
compactmenualreadyexists = 'yes'
end

addCompactMenu()

PROCESS_NAME = 'hoi4.exe'
--------
-------- Auto Attach
--------
local autoAttachTimer = nil ---- variable to hold timer object
local autoAttachTimerInterval = 1000 ---- Timer intervals are in milliseconds
local autoAttachTimerTicks = 0 ---- variable to count number of times the timer has run
local autoAttachTimerTickMax = 5000 ---- Set to zero to disable ticks max
local function autoAttachTimer_tick(timer) ---- Timer tick call back
---- Destroy timer if max ticks is reached
if autoAttachTimerTickMax > 0 and autoAttachTimerTicks >= autoAttachTimerTickMax then
timer.destroy()
end
---- Check if process is running
if getProcessIDFromProcessName(PROCESS_NAME) ~= nil then
timer.destroy() ---- Destroy timer
openProcess(PROCESS_NAME) ---- Open the process
end
autoAttachTimerTicks = autoAttachTimerTicks + 1 ---- Increase ticks
end
autoAttachTimer = createTimer(getMainForm()) ---- Create timer with the main form as it's parent
autoAttachTimer.Interval = autoAttachTimerInterval ---- Set timer interval
autoAttachTimer.OnTimer = autoAttachTimer_tick ---- Set timer tick call back

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

Posted: Thu Feb 16, 2023 8:21 am
by BipBop
cuck_king wrote:
Thu Jan 19, 2023 8:59 am
I updated the extension table for 1.12.8, but I've only ever used it for enabling the console, so it's only been tested for that.
Big thanks to Nameless for the tutorial and help.
Could you please point me to the tutorial, in case in the future there won't be anybody here to update? Thank you.

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

Posted: Thu Feb 16, 2023 9:24 am
by cuck_king
BipBop wrote:
Thu Feb 16, 2023 8:21 am
Could you please point me to the tutorial, in case in the future there won't be anybody here to update? Thank you.
From the discord server linked in the CK3 thread, it's public to my knowledge but please ask me to delete if it's not
Namelessy wrote:
[Link]

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

Posted: Thu Feb 16, 2023 12:06 pm
by BipBop
Thank you.

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

Posted: Thu Feb 16, 2023 8:28 pm
by Namelessy
Updated CHP6 for 1.12.9. None of the other bits are updated, but they seemed to work (not tested the bits requiring Recifenses table)
cuck_king wrote:
Thu Feb 16, 2023 9:24 am
From the discord server linked in the CK3 thread, it's public to my knowledge but please ask me to delete if it's not
[Link]
All good. I just haven't posted it here since I am easier to get hold of for questions on the discord :)

Edit: and the link to the extension table.