Updated Construction Drones

by Tubbles

Adds ground based construction robots. A repackage of roy192's fork of the original mod by Klonan. WARNING: Please note that 2.0 support is experimental, use at your own risk!

Content
20 hours ago
1.1 - 2.0
42.6K
Logistic network

b [FIXED] Unrecoverable error

10 days ago

playing multiplayer get this error

The mod Updated Construction Drones (2.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Updated_Construction_Drones::on_ai_command_completed (ID 128)
real number expected got inf.
stack traceback:
[C]: in function 'newindex'
...ated_Construction_Drones
/script/construction_drone.lua:1964: in function <...ated_Construction_Drones__/script/construction_drone.lua:1956>
(...tail calls...)
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

10 days ago
(updated 9 days ago)

Playing single player I got this error when making my first repair tool and had some damaged belts they tried to repair.

The mod Updated Construction Drones (2.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Updated_Construction_Drones::on_ai_command_completed (ID 128)
LuaEntityPrototype doesn't contain key max_health.
stack traceback:
[C]: in function 'index'
...ated_Construction_Drones
/script/construction_drone.lua:1644: in function <...ated_Construction_Drones__/script/construction_drone.lua:1604>
(...tail calls...)
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

Factorio Current Log:
<script src="https://pastebin.com/embed_js/iSPupe1E?theme=dark"></script>

Game Save:
https://files.catbox.moe/0uyton.zip

Just need to make 1 repair tool to get the error.

10 days ago
(updated 10 days ago)

Playing singleplayer.

The mod Updated Construction Drones (2.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Updated_Construction_Drones::on_ai_command_completed (ID 128)
Unknown item name: 1
stack traceback:
[C]: in function 'draw_sprite'
...ated_Construction_Drones__/script/construction_drone.lua:1307: in function 'update_drone_sticker'
...ated_Construction_Drones__/script/construction_drone.lua:1599: in function <...ated_Construction_Drones__/script/construction_drone.lua:1528>
(...tail calls...)
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

10 days ago
(updated 10 days ago)

Thank you for the report! In order to aid bugfixes, please attach the following:

  • factorio-current.log
  • A general description of how the bug happened
  • Any error messages
  • If possible, consider uploading a save file where the bug is reproducible
10 days ago

Updated Construction Drones (2.0.0) 모드가 복구할 수 없는 오류를 발생시켰습니다.
이 오류를 모드 제작자에게 보고하세요.

Error while running event Updated_Construction_Drones::on_ai_command_completed (ID 128)
Unknown item name: 1
stack traceback:
[C]: in function 'draw_sprite'
...ated_Construction_Drones__/script/construction_drone.lua:1307: in function 'update_drone_sticker'
...ated_Construction_Drones__/script/construction_drone.lua:1599: in function <...ated_Construction_Drones__/script/construction_drone.lua:1528>
(...tail calls...)
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

This bug occurs when the drone is harvesting rocks, not when harvesting wood.

10 days ago

Error while running event Updated_Construction_Drones::on_player_mined_entity (ID 68)
Invalid ItemID: expected LuaItemPrototype, LuaItemStack, LuaItem or string.
stack traceback:
[C]: in function 'insert'
...ated_Construction_Drones__/script/construction_drone.lua:2061: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

9 days ago

The mod Updated Construction Drones (2.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Updated_Construction_Drones::on_ai_command_completed (ID 128)
LuaEntity doesn't contain key set_command.
stack traceback:
[C]: in function 'index'
...ated_Construction_Drones
/script/construction_drone.lua:1407: in function 'unit_clear_target'
...ated_Construction_Drones__/script/construction_drone.lua:1472: in function <...ated_Construction_Drones__/script/construction_drone.lua:1434>
(...tail calls...)
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

Happened while I think it's trying to build rails under rocks. The rocks were marked for destruction. The blueprint was planted down before the construction robots were built.

9 days ago

Мод Updated Construction Drones (2.0.0) вызвал неустранимую ошибку.
Пожалуйста, сообщите об этой ошибке автору мода.

Error while running event Updated_Construction_Drones::on_ai_command_completed (ID 128)
Unknown item name: 1
stack traceback:
[C]: in function 'draw_sprite'
...ated_Construction_Drones__/script/construction_drone.lua:1307: in function 'update_drone_sticker'
...ated_Construction_Drones__/script/construction_drone.lua:1599: in function <...ated_Construction_Drones__/script/construction_drone.lua:1528>
(...tail calls...)
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

при сборке камней произошла ошибка

9 days ago

Мод Updated Construction Drones (2.0.0) вызвал неустранимую ошибку.
Пожалуйста, сообщите об этой ошибке автору мода.

Error while running event Updated_Construction_Drones::on_ai_command_completed (ID 128)
Unknown item name: 1
stack traceback:
[C]: in function 'draw_sprite'
...ated_Construction_Drones__/script/construction_drone.lua:1307: in function 'update_drone_sticker'
...ated_Construction_Drones__/script/construction_drone.lua:1599: in function <...ated_Construction_Drones__/script/construction_drone.lua:1528>
(...tail calls...)
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

an error occurred when assembling stones where there were two resources

9 days ago

Got an error too :

The mod Updated Construction Drones (2.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Updated_Construction_Drones::on_ai_command_completed (ID 128)
Unknown item name: 1
stack traceback:
[C]: in function 'draw_sprite'
...ated_Construction_Drones__/script/construction_drone.lua:1307: in function 'update_drone_sticker'
...ated_Construction_Drones__/script/construction_drone.lua:1599: in function <...ated_Construction_Drones__/script/construction_drone.lua:1528>
(...tail calls...)
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

after asking the drones to destroy some rocks, right at the start of the game.

Couldn't get a save to reproduce as this happened right at the start..

9 days ago
(updated 9 days ago)

no other mod but only updated construction drone enabled.

Whenever destruct rock that contains stone and coal, it would crash right away.


  14.401 Loading script.dat: 37757 bytes.
  14.404 Checksum for script __level__/control.lua: 3780939624
  14.407 Checksum for script __Updated_Construction_Drones__/control.lua: 2400123198
  24.316 Error MainLoop.cpp:1429: Exception at tick 540: The mod Updated Construction Drones (2.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Updated_Construction_Drones::on_ai_command_completed (ID 128)
Unknown item name: 1
stack traceback:
        [C]: in function 'draw_sprite'
        ...ated_Construction_Drones__/script/construction_drone.lua:1307: in function 'update_drone_sticker'
        ...ated_Construction_Drones__/script/construction_drone.lua:1599: in function <...ated_Construction_Drones__/script/construction_drone.lua:1528>
        (...tail calls...)
        __core__/lualib/event_handler.lua:47: in function <__core__/lualib/event_handler.lua:45>
9 days ago

Error while running event Updated_Construction_Drones::on_ai_command_completed (ID 128)
real number expected got inf.
stack traceback:
[C]: in function 'newindex'
...ated_Construction_Drones
/script/construction_drone.lua:1964: in function <...ated_Construction_Drones__/script/construction_drone.lua:1956>
(...tail calls...)
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

8 days ago

This bug has hopefully been fixed now in 2.0.1. If the issue persists, please open a new thread here on the mod portal or on the github page, and make sure to add the following:

  • factorio-current.log
  • A general description of how the bug happened
  • Any error messages
  • If possible, consider uploading a save file where the bug is reproducible
This thread has been locked.