Attach Notes


Attach notes to combinators, entities... almost everything + Adds signposts. All notes are saved when you export a blueprint as a string (but you need the mod to read them).

Utilities
3 years ago
0.16 - 1.1
8.12K

b Crashes with other mods

2 years ago

Hello,

Using this in a pyanodons game with Factory Planner. When the Factory Planner gui is active clicking causes Attach Notes to crash:

The mod Attach Notes (0.5.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event attach-notes::on_gui_click (ID 1)
attach-notes/scripts/metatables.lua:67: attempt to index local 'entity' (a nil value)
stack traceback:
attach-notes/scripts/metatables.lua:67: in function 'newindex'
__attach-notes
/scripts/entity-notes/gui-templates.lua:38: in function '?'
attach-notes/scripts/gui-tools.lua:187: in function 'handleGuiEvent'
attach-notes/scripts/gui-tools.lua:194: in function 'func'
attach-notes/framework.lua:98: in function <attach-notes/framework.lua:97>

Didn't look like something that was fixed in 0.5.1 (by reading the changenotes).

Thanks,
Impish

2 years ago

Some more info - it is not just Factory Planner. When the Max Rate gui is active clicking on it can cause the same crash. Is there a missing guard to check that the click is on the Attach Notes gui perhaps? Another stack trace, but I think it is the same as the previous one.

The mod Attach Notes (0.5.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event attach-notes::on_gui_click (ID 1)
attach-notes/scripts/metatables.lua:67: attempt to index local 'entity' (a nil value)
stack traceback:
attach-notes/scripts/metatables.lua:67: in function 'newindex'
__attach-notes
/scripts/entity-notes/gui-templates.lua:38: in function '?'
attach-notes/scripts/gui-tools.lua:187: in function 'handleGuiEvent'
attach-notes/scripts/gui-tools.lua:194: in function 'func'
attach-notes/framework.lua:98: in function <attach-notes/framework.lua:97>

New response