Same as everyone else here, was working fine in single player, then installed the mod on my dedicated server and was getting ready to update my trains just to fail to join 😢
Cannot join. The following mod event handlers are not identical between you and the server. This indicates that the following mods are not multiplayer (save/load) safe. (See the log file for more details):
mod-Automatic_Train_Painter
from client log file
94.923 Error ClientMultiplayerManager.cpp:1072: mod-Automatic_Train_Painter was not registered for the following events when the map was saved but has registered them as a result of loading: Custom event (ID 351), Custom event (ID 355) and Custom event (ID 356)
94.924 Error ClientMultiplayerManager.cpp:99: MultiplayerManager failed: "" + multiplayer.script-event-mismatch + "
" + "
mod-Automatic_Train_Painter"
Having the server save and restarting the server and then joining seems to have worked fine, tho I'm worried it might break 😄
Probably some event listeners need to be registered on init as well and not just on load :)