Spidertron Automation

by ILLISIS

Automated Spidertrons; have the ability to move, set logistic requests, construct, deconstruct, repair, upgrade entities/blueprints and destroy enemies 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
8 days ago
1.1 - 2.0
30.5K
Logistics Combat Logistic network

b Crash - 'next_station' [Work around available]

2 years ago

Hi. I love the concept of this mod:)
But it does crash regularly with this logentriy:
1208.576 Error MainLoop.cpp:1284: Exception at tick 10978440: The mod Constructron-Continued (1.0.7) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Constructron-Continued::on_nth_tick(60)
Constructron-Continued/control.lua:603: attempt to index global 'next_station' (a nil value)
stack traceback:
Constructron-Continued/control.lua:603: in function 'do_until_leave'
Constructron-Continued/control.lua:1200: in function 'do_job'
Constructron-Continued/control.lua:1221: in function <Constructron-Continued/control.lua:1212>

As stated in the API documentation, you should check if the object is valid before trying to index it.

https://lua-api.factorio.com/latest/LuaEntity.html#LuaEntity.valid

2 years ago

Hi

I have already found this bug and it will be fixed in the next release. To work around it for now, you can simply place at least two Service Stations on the map.

The next version is getting very very close! Also feel free to jump into the new discord if you need any more help!
https://discord.gg/m9TDSsH3u2

2 years ago

thanks:)
I duplicated the report to discord