On my servers there is an issue with the switches:
They do not keep their state.
Happens with both mesecon_switch_on and a mesecon_switch_off.
After toggling their state, they will switch back after about 2-10 seconds.
mesecons is at 03ab151c873fd6a4574a8490b17a48b4e9e65d76.
minetest_game is at 89c45993acae89ee1bc68f42e510f5304f13ffa9.
The issue can be observed on games.firc.de:30000 right outside of the spawn.
Has anybody else noticed that? What can I do to fix it?
Edit: When toggling multiple switches, they all flip back to their old state at the same time, globalstep.
With the help of the great DS, we were able to isolate the problem, it's not at all related to mesecons, but stems from the advtrains mod.
DS suggested removing the mesecons_switch mod and advtrains bugged out at startup:
- Code: Select all
ERROR[Main]: ModError: Failed to load and run script from /srv/minetest/world/worldmods/advtrains/advtrains/advtrains_luaautomation/init.lua:
ERROR[Main]: ...ns/advtrains/advtrains_luaautomation/p_mesecon_iface.lua:6: Attempt to override non-existent item mesecons_switch:mesecon_switch_off
I'll be in touch with the advtrains guys to resolve the issue.
DS: Thank you for your help :)