Transport Drones

by Klonan

Adds transport drones and transport depots

Content
4 months ago
0.18 - 1.1
71.8K
Logistics

b Crash with Creative Mode

4 years ago

Hello! My game crashes when I try to deconstruct Roads with instant deconstruction enabled with creative mode. Not sure, which mod causes the problem, here is the report:

The mod Creative Mod (1.3.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event creative-mod::on_tick (ID 0)
The mod Transport Drones (0.3.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Transport_Drones::on_robot_mined_tile (ID 48)
Transport_Drones/script/proxy_tile.lua:134: bad argument #2 of 2 to 'get_surface' (string expected, got nil)
stack traceback:
[C]: in function 'get_surface'
Transport_Drones/script/proxy_tile.lua:134: in function 'handler'
core/lualib/event_handler.lua:44: in function <core/lualib/event_handler.lua:42>
stack traceback:
creative-mod/scripts/util.lua:161: in function 'raise_event'
creative-mod/scripts/util.lua:330: in function 'raise_event_for_destroyed_tiles'
creative-mod/scripts/cheats.lua:2861: in function 'tick'
creative-mod/scripts/events.lua:185: in function <creative-mod/scripts/events.lua:154>
stack traceback:
[C]: in function 'raise_event'
creative-mod/scripts/util.lua:161: in function 'raise_event'
creative-mod/scripts/util.lua:330: in function 'raise_event_for_destroyed_tiles'
creative-mod/scripts/cheats.lua:2861: in function 'tick'
creative-mod/scripts/events.lua:185: in function <creative-mod/scripts/events.lua:154>

Any way to fix that? Great Mod, btw!

4 years ago

The creative mod isn't passing the right data to the event,
Specifically event.surface_index seems to be missing

4 years ago

thank your for the response! Is there anything I can do to fix it? I have no idea what that means, "event.surface_index seems to be missing"

New response