Jump to content
  • 0

Anyone sees anything wrong with this ?


Sandbird

Question

I am getting this error in my log:

19:46:18 Error in expression <

if (_object getVariable ["Mission",0] == 1) exitWith {};


if (_object getVari>
19:46:18   Error position: <== 1) exitWith {};


if (_object getVari>
19:46:18   Error Generic error in expression
19:46:18 File z\addons\dayz_server\compile\server_updateObject.sqf, line 30

But i dont see any error with it

// Missions
if (_object getVariable ["Mission",0] == 1) exitWith {};

// Halo Jump
if (_object getVariable ["bis_fnc_halo_now",0] == 1) exitWith {};

Why is it giving errors ?

 

It was

 

if (_object getVariable ["Mission"] == 1) exitWith {};

 

but even when i changed it to the above....i still get the error.

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

hmm my guess is that the object does not have Mission variable set to it....so this breaks.....but wtf....i mean....Its not == 1, go on with your life...dont spam ***errror***, ffs.

It scared me cause i didnt know what is causing this, and i got TONS of it all the sudden in the log.

 

my server_cleanup.fsm also started spamming and hasnt stopped actually.....i changed it...from this:

" if(vehicle _x != _x && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x) && (typeOf vehicle _x) != ""ParachuteWest"" && (vehicle _x getVariable [""Sarge"",0] != 1) && (vehicle _x getVariable [""DZAI"",0] != 1) && (vehicle _x getVariable [""Mission"",0] != 1) && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n

to this:

" if(vehicle _x != _x && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x) && !((typeOf vehicle _x) in DZE_safeVehicle) && (typeOf vehicle _x) != ""ParachuteWest"" && (vehicle _x getVariable [""Mission"",0] && (vehicle _x getVariable [""DZAI"",0] != 1) && (vehicle _x getVariable [""Sarge"",0] != 1)) then {" \n

not that i think it matters....but at least on my Test server i dont get any errors.

Why all the sudden arma decided to complain about Mission variables.....is beyond me.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...