Companion Drones 2.0 [WIP]

by kubiixx

Adds friends - now to Factorio 2.0 WORK IN PROGRESS - crashes may occur - use with caution !

Content
4 days ago
2.0
1.40K

b [FIXED] Crash When placeing blueprint with modules in assembly machines

6 days ago

I had no issues in single player but when joining a friend that hosted the save file it crashed on placing blueprint
The mod Companion Drones 2.0 (2.0.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event companion-drones::ontick (ID 0)
companion-drones/script/companion.lua:852: attempt to compare table with number
stack traceback:
companion-drones/script/companion.lua:852: in function 'hasorcantake'
companion-drones/script/companion.lua:905: in function 'trytofindwork'
companion-drones/script/companion.lua:1095: in function 'performjob_search'
__companion-drones/script/companion.lua:1173: in function 'check_job_search'
__companion-drones/script/companion.lua:1211: in function 'handler'
__core/lualib/event_handler.lua:47: in function <__core/lualib/event_handler.lua:45>

6 days ago
(updated 6 days ago)

host restarted game and it seems to have fixed itself will report if crash reoccurs nm it happened again

4 days ago
(updated 4 days ago)

I am actually the host of this save.

The mod Companion Drones 2.0 (2.0.4) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event companion-drones::on_pre_build (ID 9)
companion-drones/script/companion.lua:1522: attempt to index field 'cursor_record' (a nil value)
stack traceback:
companion-drones/script/companion.lua:1522: in function 'get_blueprint_area'
companion-drones/script/companion.lua:1573: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

With latest patch, bug appears to occur sporadically.

We can force the bug if we copy and place any blueprint that has a module (speed, quality etc) in it. Upon placement the crash will occur, for my specific crash, it doesn't matter if I disable construction bot build or if I leave it on. If the bots attempt to build it, the error code above occurs

4 days ago

Fixed in 2.0.5

New response