Companion Drones 2.0 [WIP]

by kubiixx

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

Content
10 months ago
2.0
6.23K

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

10 months 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>

10 months ago
(updated 10 months ago)

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

10 months ago
(updated 10 months 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

10 months ago

Fixed in 2.0.5

New response