Closed Jericho1060 closed 2 years ago
Would you be able to provide me with an example of this, and or reproduction including Lua code? An XS construct with the required elements on that I can copy would suffice. :)
Would you be able to provide me with an example of this, and or reproduction including Lua code? An XS construct with the required elements on that I can copy would suffice. :)
Yes, i can easilly build something for you but it's a random bug, some values are corrects, some others are wrong, and i don't know why. This may need a larger amount of machines to see it.
Eventually, you can test stuff on my personnal industry i'm not really using it for now.
The script i'm using is a public script i'm sharing with everyone who wants it https://github.com/Jericho1060/DU-Industry-HUD (only the master program needed)
mode generaly this is coming from these values
local statusData = json.decode(core.getElementIndustryStatus(id))
local element = {}
element.maintainProductAmount = statusData.maintainProductAmount
element.batchesRequested = statusData.batchesRequested
I'll add some screenshot later (after the maintenance)
Here a screen, as you can see, the 1st one is not good but the others look fine.
and here how it's on the machine
@Jericho1060, have you checked the PTS if maybe this has been fixed? They said in the patch notes a few bugs were fixed.
@Jericho1060, have you checked the PTS if maybe this has been fixed? They said in the patch notes a few bugs were fixed.
no, but i can test it, i'll have a look at it during the weekend but the pts data are old, my industry is pretty small on the pts, i'll check
test it today, it seems to be solved, waiting for the version deployment on th elive server to confirm with a larger industry
Something similar is still happening today on the live server. Possibly the fix hasn't made it across yet.
Can confirm that we have a fix for this in the works, should probably be on the PTS already. And I expect it will come with Ares.
In the interim as a workaround:
Any item type that is able to be broken down into decimal values such as Honeycomb, Fuel, Product and Ore.
You can simply divide by 16777216
to get the correct decimal value.
Closed as complete, if still issue, reopen new issue
For transfer units this bug appears to be back but some items appear to be set to zero and others to large values again
On industry data, depending on the mode (maintain, batch, ...) the setted amount returned in lua is not all the time the good value and it's most of the time a really big value.