Visual Signals

by zomis

Allows you to keep track of chosen circuit networks on the left hand side in your GUI. Originally a fork of CircuitsUI by Fumelgo.

Utilities
23 days ago
0.15 - 2.0
1.38K

b [Fixed] Crash using undo with Creative Mod

5 years ago

Instant blueprints enabled.
Factorio 0.17.24
Creative Mod 1.0.4
VS 0.17.0

The mod Creative Mod 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 Visual Signals caused a non-recoverable error.
Please report this error to the mod author.

Error while running event visual-signals::on_robot_built_entity (ID 14)
visual-signals/control.lua:147: attempt to index field 'force' (a nil value)
stack traceback:
visual-signals/control.lua:147: in function <visual-signals/control.lua:141>
stack traceback:
creative-mod/scripts/util.lua:160: in function 'raise_event'
creative-mod/scripts/util.lua:228: in function 'revive_entity_ghost_and_raise_event'
creative-mod/scripts/cheats.lua:2733: in function 'tick'
creative-mod/scripts/events.lua:177: in function <creative-mod/scripts/events.lua:146>
stack traceback:
[C]: in function 'raise_event'
creative-mod/scripts/util.lua:160: in function 'raise_event'
creative-mod/scripts/util.lua:228: in function 'revive_entity_ghost_and_raise_event'
creative-mod/scripts/cheats.lua:2733: in function 'tick'
creative-mod/scripts/events.lua:177: in function <creative-mod/scripts/events.lua:146>

5 years ago

Hi. It seems like the "creative-mod" is signaling that an entity is restored but it is not giving this entity a force. While it is quite easy to fix so that it my mod wouldn't crash when this is happening, it would lead to other unexpected issues - the restored GUI Signal Display would not be connected to a force and therefore unusable.

Honestly, I consider this to be more of a bug with the "creative-mod". When using the undo functionality that you mention, it should use the appropriate force.

5 years ago

Ok, thanks. I'll cross post. Should have done that immediately probably q:

5 years ago
(updated 5 years ago)

Hi!
I'm the current maintainer of the creative-mod mod :P
Thanks for reporting this bug.
I've pushed a new bugfix release v1.1.4 for the "Creative Mod" which should fix this error.
Have fun! :)

5 years ago

Thanks! <3

I guess I should have crossposted this a month ago! q:

New response