Dwarfer Posted June 4, 2014 Report Share Posted June 4, 2014 Hi, I've been slowly modding some of the files to fix the errors with the 112555 update with the change on the nil value. I have been fixing some from my own and from other peoples posts. I've started this to track some of them to make it easy for people to find. FIXED @DayZ_Epoch_Server\addons\dayz_server\EMS\Missions\Major\SM8.sqf Under line 10 "_missName = "C-130 Crash";" add the following //DZMSFindPos loops BIS_fnc_findSafePos until it gets a valid result _coords = call DZMSFindPos; @DayZ_Epoch_Server\addons\dayz_server\EMS\Scripts\DZMSAISpawn.sqf Change line 8 to include the "_aicskill" declaration in the private function private ["_aicskill","_position","_unitcount","_skill","_wpRadius","_xpos","_ypos","_unitGroup","_aiskin","_unit","_weapon","_magazine","_wppos1","_wppos2","_wppos3","_wppos4","_wp1","_wp2","_wp3","_wp4","_wpfin"]; Not FIXED @DayZ_Epoch_Server\addons\dayz_server\EMS\DZMSFunctions.sqf https://github.com/TheFuchs/EMS-0.3/blob/master/EMS/DZMSFunctions.sqf 10:45:52 Error in expression < {_aiweapon = DZMSWeps3;}; }; _weapon = _aiweapon call BIS_fnc_selectRandom; _ma> 10:45:52 Error position: <_aiweapon call BIS_fnc_selectRandom; _ma> 10:45:52 Error Undefined variable in expression: _aiweapon 10:45:52 File z\addons\dayz_server\EMS\DZMSFunctions.sqf, line 194 This one I cannot see what is wrong with the code as everything is declared fine.. @DayZ_Epoch_Server\addons\dayz_server\EMS\Scripts\DZMSAISpawn.sqf https://github.com/TheFuchs/EMS-0.3/blob/master/EMS/Scripts/DZMSAISpawn.sqf 10:45:53 Error in expression <"_i" from 1 to 3 do { _unit addMagazine _magazine; }; _unit addWeapon _weapon; _> 10:45:53 Error position: <_magazine; }; _unit addWeapon _weapon; _> 10:45:53 Error Undefined variable in expression: _magazine 10:45:53 File z\addons\dayz_server\EMS\Scripts\DZMSAISpawn.sqf, line 71 This one I cannot see what is wrong with the code as everything is declared fine.. These are the ones I have found so far. The two fixes do work and do stop spanning the logs. if anyone else has any other let me know I will put up the top for easy findings. Thanks raymix 1 Link to comment Share on other sites More sharing options...
Mr.Death Posted June 5, 2014 Report Share Posted June 5, 2014 which file for @DayZ_Epoch_Server\addons\dayz_server\EMS\Scripts Link to comment Share on other sites More sharing options...
Dwarfer Posted June 5, 2014 Author Report Share Posted June 5, 2014 DZMSAISpawn.sqf. Well Spotted Updated Thanks Link to comment Share on other sites More sharing options...
KillingPigs123 Posted June 22, 2014 Report Share Posted June 22, 2014 Does you script end at //diag_log format ["[DZMS]: AI Weapon:%1 / AI Magazine:%2",_weapon,_magazine]; in DZMSAi script? If it ends there, redownload the script and replace your DZMSAI Script only, because underneath that is more code. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now