武装突袭3

武装突袭3

Chemical Warfare Redux
C. Eagle 2022 年 5 月 10 日 下午 8:36
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]>
< >
正在显示第 1 - 15 条,共 23 条留言
Dankan37  [开发者] 2022 年 5 月 12 日 上午 3:27 
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 2022 年 5 月 12 日 上午 8:45 
引用自 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 2022 年 5 月 13 日 上午 7:48 
whatever you tried to fix caused it to not work at all on servers anymore :/
Dankan37  [开发者] 2022 年 5 月 13 日 上午 7:53 
Yeah, I made a typo forgot to close a [. I hope it's fixed now...
C. Eagle 2022 年 5 月 13 日 上午 7:58 
Oay, waiting for the update to push through
C. Eagle 2022 年 5 月 13 日 上午 8:26 
nope, still isnt working.
the version with the massive error log worked better at this point.
Dankan37  [开发者] 2022 年 5 月 13 日 上午 8:57 
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 2022 年 5 月 13 日 上午 9:13 
引用自 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  [开发者] 2022 年 5 月 13 日 上午 9:30 
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 2022 年 5 月 13 日 上午 9:53 
will test soon
C. Eagle 2022 年 5 月 13 日 下午 1:54 
That seems to work better, but the effects of exposure (coughing, loss in vision dont seem to be present anymore
Dankan37  [开发者] 2022 年 5 月 13 日 下午 11:41 
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 2022 年 5 月 14 日 上午 6:54 
Gas still works as expected but couldnt get the effects to appear
C. Eagle 2022 年 5 月 14 日 下午 3:05 
引用自 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 2022 年 5 月 14 日 下午 3:05 
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
< >
正在显示第 1 - 15 条,共 23 条留言
每页显示数: 1530 50