Page 2 of 13

Re: The Long Dark (Steam/JLee3D)

Posted: Tue Dec 31, 2019 1:13 pm
by JLee3D
Feared889 wrote:
Tue Dec 31, 2019 9:35 am
[Backpack] Select Any Item to Restore Full Condition

I have tested with burnt flare, it restored to 100% but I can't use it. I haven't tested ruined meat or any food item, so how those are going to work? Thanks.
Sorry, I forgot to mention that this only affects the HP (condition) of the item (GearItem). Now, some items like the flare (FlareItem) which is also of type GearItem, has fields "float m_BurnLifetimeMinutes" & "FlareState m_State" which I did not set as it will need additional checking if the item indeed is a FlareItem so the game will not crash if I modify them. I only intend to restore the conditions of regular items like tools before they get completely broken/ruined, like from 5% to 100% but haven't tried on 0% yet (I think some items will despawn/disappear at 0% or when used up).

I changed to this tactic from "restoring tool condition on-use" because this is much easier to update whenever a new version of TLD is released. The old method was done with searching from 'unknown value' until I got the real condition of items to make the script. The old method also does not include torches and flares.

Another reason is probably because of my play style as I never really use flares and torches --- always used the lantern since it is a better light source and gun warning shots as wolf deterrents, which (as I prefer) is sometimes a little harder on new games without these items.

Hope this is okay for the meantime as I might add it later on.

Re: The Long Dark (Steam/JLee3D)

Posted: Wed Jan 01, 2020 5:15 am
by kdz
Thank you for the table, JLee3D!

I have a slight problem though. I'm on newest GoG version of the game (says 1.69 57923 in the menu) and the latest table does not allow me to enable any features marked [Backpack] or [Containers]. Nothing happens when I try to toggle those records (they can't be enabled), while every other option, except ammo, works. Any insight or advice would be much appreciated.

Re: The Long Dark (Steam/JLee3D)

Posted: Wed Jan 01, 2020 8:23 am
by JLee3D
kdz wrote:
Wed Jan 01, 2020 5:15 am
Thank you for the table, JLee3D!

I have a slight problem though. I'm on newest GoG version of the game (says 1.69 57923 in the menu) and the latest table does not allow me to enable any features marked [Backpack] or [Containers]. Nothing happens when I try to toggle those records (they can't be enabled), while every other option, except ammo, works. Any insight or advice would be much appreciated.
Sorry, I only have the Steam version (1.69 build 57923) and it seems some of the addresses are not the same with the GoG version.

Is "[Backpack] Select Any Item to Restore Full Condition" working in the GoG version? If so then IL2CPPDumper function addresses are the same for both Steam & GoG versions and I am about to release additional scripts based on these function addresses to help you further. I will also try to convert the other scripts with these function addresses from IL2CPP.

Re: The Long Dark (Steam/JLee3D)

Posted: Wed Jan 01, 2020 8:38 am
by JLee3D
Riven wrote:
Fri Dec 13, 2019 6:24 pm
could you please add an option to unlock the entire map with one charcoal use?
This is now added in the latest table update for Steam Version 1.69 (LMAO). See top post.

Re: The Long Dark (Steam/JLee3D)

Posted: Wed Jan 01, 2020 5:42 pm
by Feared889
Not sure if the Inf. Reload does it, but if the gun is loaded with more than 1 bullet, it doesn't work as it sets to 0 bullet with no reload.

Some ideas on the CT, if you consider-
* Enabling directional arrow from story mode into survival mode, as we have the option to reveal entire map now (huge thanks for that).
* Duplication for non-stackable items.

Re: The Long Dark (Steam/JLee3D)

Posted: Wed Jan 01, 2020 11:24 pm
by kdz
JLee3D wrote:
Wed Jan 01, 2020 8:23 am
Is "[Backpack] Select Any Item to Restore Full Condition" working in the GoG version? If so then IL2CPPDumper function addresses are the same for both Steam & GoG versions and I am about to release additional scripts based on these function addresses to help you further. I will also try to convert the other scripts with these function addresses from IL2CPP.
Sadly not. I just checked and
[Containers] +3 Extra Items When Stacking Existing Item
[Survey] Reveal Large Map Radius (chiados)
[Fatigue] Always at 90/100 So You Can Still Sleep
[Backpack] Select Any Item to Restore Full Condition
[Backpack] Zero Weight
[Eating] Food Will Always Have MAX Calories Left (up to 1k)
That and everything under new [Crafting] section does not work.

I think it's weird they use different code for practically identical releases, but what can you do. Thanks for answering!

Edit: I bought it on steam, so problem kind of "solved". Keep up the good work with the table, JLee3D! :)

Re: The Long Dark (Steam/JLee3D)

Posted: Thu Jan 23, 2020 5:53 am
by nyancat36
Thank you very much for the 1.71 table
Unfortunately, it seems to be 1.72 soon and some can not be used

Re: The Long Dark (Steam/JLee3D)

Posted: Thu Jan 23, 2020 2:19 pm
by JLee3D
nyancat36 wrote:
Thu Jan 23, 2020 5:53 am
Thank you very much for the 1.71 table
Unfortunately, it seems to be 1.72 soon and some can not be used
Updated... see first post. Thanks for the notification. 8-)

Re: The Long Dark (Steam/JLee3D)

Posted: Thu Jan 23, 2020 2:29 pm
by nyancat36
Thank you for the very quick update.
I regret that I can't even fix it, But now I will play with this!

Re: The Long Dark (Steam/JLee3D)

Posted: Thu Jan 30, 2020 2:00 pm
by Feared889
Again those cucks at Hinter hotfixed their shizzle and some options aren't working.

Re: The Long Dark (Steam/JLee3D)

Posted: Thu Jan 30, 2020 5:39 pm
by Airle
yep, doesnt work anymore...

Re: The Long Dark (Steam/JLee3D)

Posted: Fri Jan 31, 2020 8:07 am
by JLee3D
Feared889 wrote:
Thu Jan 30, 2020 2:00 pm
Again those cucks at Hinter hotfixed their shizzle and some options aren't working.
:mrgreen:
Airle wrote:
Thu Jan 30, 2020 5:39 pm
yep, doesnt work anymore...
Thank you both for the post notifications. Already updated, see first post. 8-)

Re: The Long Dark (Steam/JLee3D)

Posted: Fri Jan 31, 2020 11:29 pm
by Airle
thanks, works great..

Re: The Long Dark (Steam/JLee3D)

Posted: Thu Feb 06, 2020 3:50 am
by Esca
Game was patched 1.74. Updated requested. Some stuff still works, some no longer. Thanks.

Re: The Long Dark (Steam/JLee3D)

Posted: Thu Feb 06, 2020 9:35 am
by JLee3D
Esca wrote:
Thu Feb 06, 2020 3:50 am
Game was patched 1.74. Updated requested. Some stuff still works, some no longer. Thanks.
Updated, see top post. Thanks! 8-)