Mission spawned vehicles and 1.8.3 Need Assistance Please

HospitalChair

Well-Known Member
Does anyone have a fix for the exploding of mission spawned cars in vanilla dayz 1.8.3. You used to be able to comment out lines in server_updateobject like this:

//if (!_parachuteWest) then {
//diag_log format["Object: %1, ObjectID: %2, ObjectUID: %3",_object,_objectID,_objectUID];


//if (!(_objectID in dayz_serverIDMonitor) AND isNil {_objectUID}) then {
//force fail
//_objectID = nil;
//_objectUID = nil;
//};

//if ((isNil {_objectID}) AND (isNil {_objectUID})) then
//{
//_object_position = getPosATL _object;
//#ifdef OBJECT_DEBUG
//diag_log(format["Object %1 with invalid ID at pos [%2,%3,%4]",
//typeOf _object,
//_object_position select 0,
//_object_position select 1,
//_object_position select 2]);
//#endif
//_isNotOk = true;
//};

//};

//if (_isNotOk) exitWith {
//deleteVehicle _object;
//}; //uncomment to remove

and you used to have this section in server_cleanup.fsm but this section doesn't exist any more. Ideas?

name = "general_cleanup";
init = /*%FSM<STATEINIT""">*/"//Clean groups" \n
"{" \n
" //diag_log (""CLEANUP: CHECKING GROUP WITH "" + str(count units _x) + "" UNITS"");" \n
" if (count units _x==0) then {" \n
" deleteGroup _x;" \n
" //diag_log (""CLEANUP: DELETING A GROUP"");" \n
" };" \n
"} forEach allGroups;" \n
"" \n
"//Check for hackers" \n
"// {" \n
"// if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n
"// diag_log (""CLEANUP: KILLING A HACKER "" + (name _x) + "" "" + str(_x) + "" IN "" + (typeOf vehicle _x));" \n
"// (vehicle _x) setDamage 1;" \n
"// _x setDamage 1;" \n
"// };" \n
"// } forEach allUnits;" \n
"" \n
 
Back
Top