Railway Painter

by Karakaz

Automatically color stations and trains containing specified keywords

Content
6 years ago
0.15 - 0.16
7
Trains

b Crash When Using Color Picker

6 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>

6 years ago

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

6 years ago

I am running the latest version of all mods installed. I uploaded my save file and mod directory (zipped) to Google Drive. The link:

https://drive.google.com/drive/folders/1zdI-aKe1trjRAkqxuSrIB6QJU9Tv0NDl?usp=sharing

6 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

6 years ago

Does it work fine with creative mode disabled?

6 years ago

Still getting the same error

6 years ago

Turns out this was a bug within the game and will be fixed with 0.16

https://forums.factorio.com/viewtopic.php?f=213&t=54048&start=20#p320476

New response