FS25_ForestryHelper icon indicating copy to clipboard operation
FS25_ForestryHelper copied to clipboard

Info box data labels change

Open APD183 opened this issue 7 months ago • 7 comments

The labels always seem to work on the first look, but after something happens some of the labels no longer match the data. It seems the data is still getting calculated and displayed correctly, though.

  • Volume -> Power
  • Current value -> Mass
  • Length -> Category

Image

I've tried some troubleshooting and have not yet determined what triggers the bug, but the longer I play the more likely it is to happen. Sometimes it happens after looking at the first log.

FS25 version 1.9.0.1, on both the Forestry Helper 1.0.0.1 in modhub and 1.0.0.2 from github.

APD183 avatar Jun 29 '25 17:06 APD183

I've had the same issue since the last mod version update.

The information is correct but does not match the label. It's most noticeable when cutting trees with Forestry Helper or power washing, where the Dirt Level is always duplicated for some reason.

Could it be a conflict? or this happening for everyone?

lechuza007 avatar Jun 29 '25 22:06 lechuza007

This is most likely related to this workaround I had to make:

https://github.com/Timmeey86/FS25_ForestryHelper/blob/47090b27a7975af6c934d6f5b73e475d8d8a20a3/scripts/ForestryHelper.lua#L110

the two most likely possibilities are:

  • Giants may have changed their code, making this workaround interfere, or
  • Another mod fell into the same trap, but didn't add a workaround, or used a different one which is incompatible with mine

I'll have to look into it this evening

Timmeey86 avatar Jun 30 '25 04:06 Timmeey86

I was able to look into it and couldn't reproduce the issue with Forestry Helper, Lumberjack and Info Display Extension installed.

The reproducer for you guys should be one of these two:

  1. Start the game, look at an already cut log first, then look at a tree or
  2. The opposite (tree first, then cut log on the ground)

Do you guys know which mod adds the "power", "category" and a second "mass" entries?

Timmeey86 avatar Jun 30 '25 04:06 Timmeey86

I appreciate you looking into this.

It sounds like it's a conflict between Info Display and some other mod which alters the display window/info system, if I follow right.

Realistic Weather comes to mind which adds moisture information but I have quite a few script mods running so it will take some time to figure out which one is the culprit.

lechuza007 avatar Jun 30 '25 11:06 lechuza007

After a bit of testing, I think this is occurring either after looking at a certain thing or number of different things. I did finally get it to change again if I look at several pieces of machinery/tractors and then look at a log, this time one of the labels becoming "working width".

The two other mods I have that seem like they were most likely to be interfering are:

  • Additional Field Info (1.0.1.0)
  • Info Display Extension (1.2.0.1)

When looking at machinery with the IDE mod on, I see lines for power, category, mass, and working width, depending on the equipment. I tried playing for a short time without the IDE mod on and the labels for logs never changed. I'm leaning towards a conflict with that mod but cannot prove it yet (because sometimes I can go a long time without the log labels changing even with the IDE mod on). As far as I can tell, cut logs are the only item where labels become mismatched.

APD183 avatar Jul 03 '25 23:07 APD183

I could reproduce at least one erroneous case now with Forestry Helper and Info Display Extension active.

  • Load the save => Look at tree ✅ => Look at machine ✅ => Look at log ❌

Looking into it now, the issue is most likely on my side

Timmeey86 avatar Oct 06 '25 18:10 Timmeey86

Pretty sure it's fixed in the most recent version. It's live on github and should be available on ModHub soon

Timmeey86 avatar Oct 06 '25 18:10 Timmeey86