Belt Buffer deprecated

by Klonan

A buffer for your belts

Content
6 years ago
0.16
11
Logistics

g Crash on create ghost entity

6 years ago

If something destroys the Belt Buffer the game crashes
Screenshot of the error: https://i.imgur.com/JTlejOq.png

6 years ago
(updated 6 years ago)

Just had this happen as well, and looked at the code... think its cause we didn't have ghosting researched yet. EDIT, tested it and yeah no ghost rebuild time crashes it.

Error while running event belt_buffer::on_entity_died (ID 4)
Entity creation of entity-ghost failed
stack traceback:
belt_buffer/control.lua:264: in function <belt_buffer/control.lua:244>

6 years ago

In case anyone else stumbles across this, you can fix the issue by commenting out line 264 in control.lua in the mod. Line 264 is "surface.create_entity{name = "entity-ghost", inner_name = "belt-buffer-proxy", direction = direction, force = --force, position = position, expires = true}"

New response