Railway Painter

by Karakaz
Automatically color stations and trains containing specified keywords
2 years ago
0.15 - 0.16
1606

b Crash When Using Color Picker

- 2 years ago

The game crashes when I click on "New" then click on anything in the color picker window. The error message says an error happened in color picker but it appears to occur only with your mod. Since I don't know which mod is the culprit, I will post this in both places. The error message is below:

Error while running event color-picker::on_gui_click (ID 1)
Can't copy object of type function
stack traceback:
color-picker/control.lua:41: in function 'raise_event'
color-picker/control.lua:119: in function 'raise_on_color_changed_event'
color-picker/control.lua:130: in function 'raise_on_color_changed_event_255'
color-picker/control.lua:1390: in function <color-picker/control.lua:1218>

- 2 years ago

Strange.. You are running the lastest versions of everything? Could you upload your save somewhere so I can test it?

- 2 years ago
- 2 years ago

I've looked into this today and it doesn't make more sense. With all the mods active, it crashes like you said, and with only the color-picker and mine active it works as it should. The only reasonable thing is that a third mod is causing issues. But this is still weired why it is happening in color-picker's raise_event function..

I created a bug report on factorio's forums about it here: https://forums.factorio.com/viewtopic.php?f=7&t=54048

- 2 years ago

Does it work fine with creative mode disabled?

- 2 years ago

Still getting the same error

- 2 years ago