Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProductionInspector.lua:815: attempt to concatenate a nil value #9

Closed
AndrewMumby opened this issue Sep 12, 2022 · 8 comments
Closed

Comments

@AndrewMumby
Copy link

I got the above error after buying a second industrial bakery (Industrial Bakery mod) and turning on all its productions with nothing in its inputs. I have Production Revamp installed. The first industrial bakery worked fine.

Restarting the game does not fix the issue, but does remove the empty boxes.

Filling the inputs and outputs does not fix the issue. Restarting the game after filling the inputs and outputs does not fix the issue.

20220912093148_1
20220912093152_1

@AndrewMumby
Copy link
Author

Update: Cause was completely wrong. Built a new dairy, and filled it. Production Revamp adds new output modes which Inspector does not recognise. Changing the output modes to Distribute/Spawning instead of Storing caused Inspector to start working again.

@jtsage
Copy link
Owner

jtsage commented Sep 12, 2022

Give this version a shot - I believe this was fixed, but it has not been "released" or pushed to modhub just yet: https://github.com/jtsage/FS22_ProductionInspector/raw/main/FS22_ProductionInspector.zip

@AndrewMumby
Copy link
Author

Looks to work fine. Storing productions now get a <- instead of crashing.

@BullFlag
Copy link

BullFlag commented Nov 1, 2022

I too saw the same Error Skumby reported, LUA line 815 'draw' with Revamp installed. I was able to clear the error by switching the option "SHOW OUTPUTS to NO"

The update V1110 appears to solve it, now Outputs are back ON! Appreciate the awesome mod and active support

@BullFlag
Copy link

BullFlag commented Nov 1, 2022

Well, I tried the new GitHub Release V1110 on another Map with latest Revamp. I had a different error than Skumby reports above. This time " perform arithmetic on a nil value" Line 999

FS22_ProductionInspector/ProductionInspector.lua:999: attempt to perform arithmetic on a nil value
2022-10-31 20:24 Error: Running LUA method 'draw'.

By setting option "SHOW OUTPUTS to NO" I was able to clear the error. Seems there might be another condition causing the LUA "draw" to throw an error Can I provide any other details?

@BullFlag
Copy link

BullFlag commented Jan 5, 2023

Late responding. As @judg393 states above

I tried removing FS22_A_ProductionRevamp and two other mods that required Revamp. YES this did clear the buggy behavior I no longer needed to set "Show Outputs" option to NO to get fully functional Production Inspector

@jtsage
Copy link
Owner

jtsage commented Jan 8, 2023

FS22_ProductionInspector.zip

This is a testing version, it might fix this.

@BullFlag
Copy link

Yes that fixed it! PI now works with Outputs YES, no conflict with FS22_A_ProductionRevamp V1.4 Beta 10 and latest version on GitHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants