Closed geek-at closed 10 years ago
maybe its better to set the variable "DZMSMajDone = false;" and not "nil". Or change the Boolean Condition in "waitUntil {DZMSMajDone};" to "waitUntil {!isNil "DZMSMajDone"};"
I've just tried that but it still says
11:14:06 Error position: <DZMSMajDone};
DZMSMajDone = false;
};>
11:14:06 Error Nicht definierte Variable in Ausdruck: dzmsmajdone
11:14:06 File z\addons\dayz_server\DZMS\Scripts\DZMSMajTimer.sqf, line 44
11:14:06 Error in expression <or Mission %1.",_varName];
waitUntil {DZMSMajDone};
DZMSMajDone = false;
I think the DZMSMajDone var isn't set. In my understanding it should be set to true in either mission. The strange part is that missions work like charm. Vehicles, Enemies.. everything spawns but the log keeps spamming millions of lines
Crazy, i download the pack and open the file in the editor, but it only has 38 lines of code. please change and test these: in DZMSInit.sqf: above
// Let's get the clocks running! [] ExecVM DZMSMajTimer; [] ExecVM DZMSMinTimer;
insert:
DZMSMajDone = false;
The problem as I've seen it is a bracket problem trickling down from before DZMS runs. It then causes the waitUntil to error claiming that the variable is undefined when the waitUntil is actually supposed to wait until it becomes defined before continuing.
Fixed in recent commit.
My RPT File is spamming millions of lines with
Line 42 in DZMSMajTimer.sqf is:
What might be the problem? Everything is stock.