Constructron-Continued

by ILLISIS

An automated Spidertron; has the ability to move, set logistic requests, construct, deconstruct, repair and upgrade entities/blueprints of any size, anywhere on the map with items from your logistic network for the ultimate fire and forget automation and megabase quality of life experience with unmatched scaling potential.

Tweaks
2 months ago
1.1
22.9K

b Possible bug regarding logistics requests for constructrons [resolved]

1 year, 2 months ago

Hi, I've noticed that constructrons tends to request a bit too much for their own inventory:
https://i.imgur.com/c4y3JHE.png
In the image above, it requested for 8092 fast transport belts, which has a stacking size of 100, thus taking a maximum of 81 slots (out of the 80 slots a constructron has). Furthermore, I've modified the mod settings to request 100 construction robots (which it already has so it's taking 2 slots already) and it had already requested a few other things:
https://i.imgur.com/Zr0aLOw.png

My current mod list is in the following gist:
https://gist.github.com/gabfv/5f1c03adad895acc064b9680f4dad1da

1 year, 2 months ago

I've tried to reproduce the issue while investigating with the vscode debug adapter but I've not been able to. Seems like a /ctron reset all fixed the issue (perhaps the logistic requests were malformed from a migration?) since I do not see new jobs created with too many requests for the inventory.

1 year, 2 months ago

Hi
Happy to be corrected but as far as I am aware, chunk overload shouldn't be an issue so I am not entirely sure how you managed to get it to that state.. (please note it L55 has been slightly changed to validate the robot name in the upcoming version)

https://github.com/ILLISIS/Constructron-Continued/blob/main/script/job_processor.lua#L55
https://github.com/ILLISIS/Constructron-Continued/blob/main/script/job_processor.lua#L292

Happy to discuss further!

1 year, 2 months ago

Any thoughts since my reply? the new version has been released now so you will see the changes in the repo.

1 year, 2 months ago

I can say that I've not yet seen the issue pops up again, I'd probably consider this fixed!

1 year, 2 months ago

No worries, feel free to join the discord if you want to go into depth with anything!