So I have met a, quite big, problem which makes me unable to publish my map (that's quite a big problem right?).
To start off, my map was doing fine. Everything worked perfectly... Until I added the Coop Mod (Allied Commanders). Since then, when I try to publish my map, it ends up telling me:
Script failed to compile: Expected a boolean expression (See Trigger Editor for more details)
The line/problem (in the file "Generated"):
11 if (lib1_InitVariables_completed) { return; } LHZHkR2 = true;
It's in this function: 10 void lJjCBNR () { 11 if (lib1_InitVariables_completed) { return; } FSQIwZR = true; 12 }
So my guess is that lib1_InitVariables_completed doesn't receive a boolean.
Also, if it may help, I can still Test the map (playing it). Is there something I could be doing wrong with the coop mod? In fact, I didn't touch the triggers, nor UI nor anything but the Data for the units.
Hey there I just had this issue on release day for an expansion in my game KeyStone, and was panicked for a bit! I'm not sure what causes it, but I do have one resolution: turn off the "Obfuscate Script Files" option in the editor's Preferences.
I'm feeling pretty lucky for finding this. I noticed that the variable name in the error message was unreadable and switched the obfuscate option off in order to make it more readable, but instead it just totally resolved the issue!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi!
So I have met a, quite big, problem which makes me unable to publish my map (that's quite a big problem right?).
To start off, my map was doing fine. Everything worked perfectly... Until I added the Coop Mod (Allied Commanders). Since then, when I try to publish my map, it ends up telling me:
Script failed to compile: Expected a boolean expression (See Trigger Editor for more details)
The line/problem (in the file "Generated"):
11 if (lib1_InitVariables_completed) { return; } LHZHkR2 = true;
It's in this function:
10 void lJjCBNR () {
11 if (lib1_InitVariables_completed) { return; } FSQIwZR = true;
12 }
So my guess is that lib1_InitVariables_completed doesn't receive a boolean.
Also, if it may help, I can still Test the map (playing it).
Is there something I could be doing wrong with the coop mod? In fact, I didn't touch the triggers, nor UI nor anything but the Data for the units.
Thanks!
Hey there I just had this issue on release day for an expansion in my game KeyStone, and was panicked for a bit! I'm not sure what causes it, but I do have one resolution: turn off the "Obfuscate Script Files" option in the editor's Preferences.
I'm feeling pretty lucky for finding this. I noticed that the variable name in the error message was unreadable and switched the obfuscate option off in order to make it more readable, but instead it just totally resolved the issue!