Lua Problem on Linux?
Posted: Thu Jun 07, 2018 6:29 am
Hi,
we're using Adventure Creator and DialogueSystem and we let the variables of the different systems sync at the end of each dialogue. We're experiencing some weird behavior on Linux machines now. Apparently, the sync is in some way not working correclty. I haven't figured out if you need to save/load the game yet, since we're still setting up a Linux computer to test it ourselves and currently only have players feedback. But I can look into their savegames.
What happens definitely is that DialogueSystem loses the changes of its variables. A var once set to "true" und suddenly "false" again, destroying the whole game logic. This is happening for both the variables used only by DialogueSystem and for the ones also used by AC. I can see in the AC database that changes in variables are stored there correclty. However, they are wrong in the Lua environment.
For example: Variable A got set to true IN the dialogue. It then seems to have synced to the AC system correctly. It is true in AC. But it is false when I return it via the Lua console. I don't know yet if one has to save and return to the game or if that happens instantly yet.
It is only happening on Linux. Maybe you already have an idea what might cause that?
Thanks
Marcus
we're using Adventure Creator and DialogueSystem and we let the variables of the different systems sync at the end of each dialogue. We're experiencing some weird behavior on Linux machines now. Apparently, the sync is in some way not working correclty. I haven't figured out if you need to save/load the game yet, since we're still setting up a Linux computer to test it ourselves and currently only have players feedback. But I can look into their savegames.
What happens definitely is that DialogueSystem loses the changes of its variables. A var once set to "true" und suddenly "false" again, destroying the whole game logic. This is happening for both the variables used only by DialogueSystem and for the ones also used by AC. I can see in the AC database that changes in variables are stored there correclty. However, they are wrong in the Lua environment.
For example: Variable A got set to true IN the dialogue. It then seems to have synced to the AC system correctly. It is true in AC. But it is false when I return it via the Lua console. I don't know yet if one has to save and return to the game or if that happens instantly yet.
It is only happening on Linux. Maybe you already have an idea what might cause that?
Thanks
Marcus