Construction Signaler


Send construction ghosts to your circuit network.

Content
5 years ago
0.16
5
Circuit network

b Error while running event ConstructionSignaler::on_tick (ID 0)

5 years ago

Love the concept, but got disconnected from the server on placement of the entity, unable to connect again while the entity is present. Also breaks in single player. This this is the error from the log.

1534.906 Error MainLoop.cpp:1035: Exception at tick 29056924: Error while running event ConstructionSignaler::on_tick (ID 0)
An area of zero size is not supported. Either don't define area to search the entire surface or use 'position'.
stack traceback:
ConstructionSignaler/control.lua:29: in function 'find_ghosts'
ConstructionSignaler/control.lua:76: in function 'update_signaller'
ConstructionSignaler/control.lua:14: in function <ConstructionSignaler/control.lua:11>

5 years ago

Hm I'm not sure how a logistic network of zero size gets created, do you have a save I can try?

But either way it's at least easy to fix -- I'll just skip searching any zero-size areas. Thanks for the report.

5 years ago

I suspect this entity is to blame: https://mods.factorio.com/mods/Smurph/Robocharger

5 years ago

Aha, that's got to be it. You can see where that entity is setting the construction_radius to 0: https://github.com/smurph/Robocharger/blob/master/Robocharger_1.1.0/prototypes/entity.lua#L27

I've got a simple fix already that will go out when I release another version, just skipping any zero-radius network cells.

5 years ago
(updated 5 years ago)

OK, I released version 0.16.1 with this fix incorporated. Let me know if you still have any problems.

5 years ago

changelog.txt. You need changelog.txt in your mod. :-)

5 years ago

Oh, I didn't see any mention of that in the official mod documentation, but yeah I see now that quite a few other mods have a changelog and it is displayed in the web UI. I will add!

New response