detect if scenario is running / scenario data lifecycle?
Posted: Mon Aug 27, 2018 9:42 pm
i'm the creator of the mod "wave defense unlimited"
in the last version, i changed it so that the scenario is executed by the mod files instead of the scenario files.
the reason for this was to make it easier to update the mod (before you had to update the control.lua in the savegame, which was a terrible solution)
is it somehow possible to check if a scenario is running or what the ways of transferring data between the scenario and the mod exist?
i tried using a remote interface but that just results in multiplayer problems, at least the way how i did it.
i would even take a solution that doesn't let you migrate existing savegames, but i don't know how i detect a scenario without a remote interface.
https://mods.factorio.com/mod/Wave_Defense_Unlimited
right now i'm pretty much out of ideas.
i would really appreciate your help.
in the last version, i changed it so that the scenario is executed by the mod files instead of the scenario files.
the reason for this was to make it easier to update the mod (before you had to update the control.lua in the savegame, which was a terrible solution)
is it somehow possible to check if a scenario is running or what the ways of transferring data between the scenario and the mod exist?
i tried using a remote interface but that just results in multiplayer problems, at least the way how i did it.
i would even take a solution that doesn't let you migrate existing savegames, but i don't know how i detect a scenario without a remote interface.
https://mods.factorio.com/mod/Wave_Defense_Unlimited
right now i'm pretty much out of ideas.
i would really appreciate your help.