Arma 3
Chemical Warfare Redux
C. Eagle 10 May, 2022 @ 8:36pm
Massive Server Spam Error (22,370 times in 30 minutes)
Ran this on our server and the servers' RPT spammed tf outta this.

20:21:04 Error position: <_exposureArr, _incrementArr, [0.1, 1, 0]>
20:21:04 Error Undefined variable in expression: _exposurearr
20:21:04 File CBRN_scripts\functions\fn_manageEventHandlers.sqf..., line 25
20:21:04 Error in expression <le "Increment");


_id = owner _x;
[_x, _exposureArr, _incrementArr, [0.1, 1, 0]>
20:21:04 Error position: <_exposureArr, _incrementArr, [0.1, 1, 0]>
20:21:04 Error Undefined variable in expression: _exposurearr
20:21:04 File CBRN_scripts\functions\fn_manageEventHandlers.sqf..., line 25
20:21:04 Error in expression <le "Increment");


_id = owner _x;
[_x, _exposureArr, _incrementArr, [0.1, 1, 0]>
20:21:04 Error position: <_exposureArr, _incrementArr, [0.1, 1, 0]>
20:21:04 Error Undefined variable in expression: _exposurearr
20:21:04 File CBRN_scripts\functions\fn_manageEventHandlers.sqf..., line 25
20:21:04 Error in expression <le "Increment");


_id = owner _x;
[_x, _exposureArr, _incrementArr, [0.1, 1, 0]>
20:21:04 Error position: <_exposureArr, _incrementArr, [0.1, 1, 0]>
20:21:04 Error Undefined variable in expression: _exposurearr
20:21:04 File CBRN_scripts\functions\fn_manageEventHandlers.sqf..., line 25
20:21:04 Error in expression <le "Increment");


_id = owner _x;
[_x, _exposureArr, _incrementArr, [0.1, 1, 0]>
< >
Showing 1-15 of 23 comments
Dankan37  [developer] 12 May, 2022 @ 3:27am 
Yeah, MP is untested, I was hoping to fix any errors when I integrated CBA and ACE.
For the time being I can attempt to add a null check... I'm a big rookie when it comes to MP.
C. Eagle 12 May, 2022 @ 8:45am 
Originally posted by Dankan37:
Yeah, MP is untested, I was hoping to fix any errors when I integrated CBA and ACE.
For the time being I can attempt to add a null check... I'm a big rookie when it comes to MP.

Ask for help on the arma discord. There are a few good eggs on there that helped me with my mod scripting issues :)
C. Eagle 13 May, 2022 @ 7:48am 
whatever you tried to fix caused it to not work at all on servers anymore :/
Dankan37  [developer] 13 May, 2022 @ 7:53am 
Yeah, I made a typo forgot to close a [. I hope it's fixed now...
C. Eagle 13 May, 2022 @ 7:58am 
Oay, waiting for the update to push through
C. Eagle 13 May, 2022 @ 8:26am 
nope, still isnt working.
the version with the massive error log worked better at this point.
Dankan37  [developer] 13 May, 2022 @ 8:57am 
Does the spammy version work? I will try a different check as I am afraid the solution I used wasn't the right one.
C. Eagle 13 May, 2022 @ 9:13am 
Originally posted by Dankan37:
Does the spammy version work? I will try a different check as I am afraid the solution I used wasn't the right one.

Yes, it worked minus the error spam
Dankan37  [developer] 13 May, 2022 @ 9:30am 
Well, I changed the logic one more time, if this doesn't work I'm rolling back to the spammy one. Also thanks for your help!
C. Eagle 13 May, 2022 @ 9:53am 
will test soon
C. Eagle 13 May, 2022 @ 1:54pm 
That seems to work better, but the effects of exposure (coughing, loss in vision dont seem to be present anymore
Dankan37  [developer] 13 May, 2022 @ 11:41pm 
Is the gas still deadly? Because the damage is applied at the same time with the effects...
As long as "hasInterface and isPlayer _unit" are verified there should be those effects since it runs locally.
C. Eagle 14 May, 2022 @ 6:54am 
Gas still works as expected but couldnt get the effects to appear
C. Eagle 14 May, 2022 @ 3:05pm 
Originally posted by Dankan37:
Is the gas still deadly? Because the damage is applied at the same time with the effects...
As long as "hasInterface and isPlayer _unit" are verified there should be those effects since it runs locally.

New error found....
C. Eagle 14 May, 2022 @ 3:05pm 
15:45:48 Error in expression <mage - _lastScaled);






if(_scaled > _thres) then {
_unit setUnconscious true>
15:45:48 Error position: <_thres) then {
_unit setUnconscious true>
15:45:48 Error Undefined variable in expression: _thres
15:45:48 File CBRN_scripts\functions\fn_manageGasEffects.sqf..., line 43
15:45:48 Error in expression <ilLevel");
_unit setSkill selectMax[0, (_fixedSkill - _sum/100)];



if(isPlayer>
15:45:48 Error position: <_fixedSkill - _sum/100)];



if(isPlayer>
15:45:48 Error Undefined variable in expression: _fixedskill
15:45:48 File CBRN_scripts\functions\fn_manageGasExposure.sqf..., line 37
< >
Showing 1-15 of 23 comments
Per page: 1530 50