Jump to content

Server_cleanup.fsm doesn't have lines that it should?


Recommended Posts

THIS IS FOR BLUEPHOENIX ADMIN TOOLS
 
 
I'm assuming this is what is messing with what i posted about yesterday
 
 
PLEASE help. This is the most frustrating thing ever.
If you have any questions to me about my situation they are probably addressed in the post above
 
 
 
 
 
 
The line you are looking for is either:
 
   "    if  (!(vehicle _x in _safety) && ((typeOf vehicle _x) != ""ParachuteWest"") ) then {" \n
 
Change to / add as shown:
 
   "    if  (!(vehicle _x in _safety) && ((typeOf vehicle _x) != ""ParachuteWest"") && (vehicle _x getVariable ["Sarge",0] != 1) ) then {" \n
 
Or the line looks like
 
   if(vehicle _x != _x  && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n
 
Change that to
 
   if(vehicle _x != _x && (vehicle _x getVariable ["Sarge",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != 
 
 
in your server_objectUpdate.sqf (or however it's called in your server package) locate this:  (thanks sarge)
 
 
if (!_parachuteWest) then {
    if (_objectID == "0" && _uid == "0") then {
        _object_position = getPosATL _object;
        diag_log format ["DEBUG: Deleting object %1 with invalid ID at [%2,%3,%4]", typeOf _object, _object_position select 0, _object_position select 1, _object_position select 2];
        _isNotOk = true;
    };
};
 
and change to
 
 
if (!_parachuteWest) then {
    if (_objectID == "0" && _uid == "0" && (vehicle _object getVariable ["Sarge",0] != 1)) then {
        _object_position = getPosATL _object;
        diag_log format ["DEBUG: Deleting object %1 with invalid ID at [%2,%3,%4]", typeOf _object, _object_position select 0, _object_position select 1, _object_position select 2];
        _isNotOk = true;
    };
};
 
 
 
 
 
 
none of this is there for me??????
Link to comment
Share on other sites

  • 2 weeks later...

open the file called "server_updateObject.sqf" which is located in the compile folder:

Around line 22 look for this

{
diag_log(format["Non-string Object: ID %1 UID %2", _objectID, _uid]);
//force fail
_objectID = "0";
_uid = "0";
};

Just after the }; 

 

Place this 

if (_object getVariable "Sarge" == 1) exitWith {};

Around Line 31 Find this 

if (_objectID == "0" && _uid == "0") then

and replace it with this

if (_objectID == "0" && _uid == "0" && (vehicle _object getVariable ["Sarge",0] != 1)) then

Then In your server_cleanup.fsp Look for this 

if(vehicle x != _x && !(vehicle _x in PVDZEserverObjectMonitor) && (isPlayer x) && !((typeOf vehicle _x) in DZEsafeVehicle)) then {" \n

and replace it with this 

if(vehicle x != _x && !(vehicle _x in PVDZEserverObjectMonitor) && (isPlayer x) && (vehicle _x getVariable [""Sarge"",0] != 1) && !((typeOf vehicle _x) in DZEsafeVehicle)) then {" \n

Remember and backup the files before hand! 

 

And I also believe you Will need SARGE for it to work without problems!

This works on my server

:)

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
  • Discord

×
×
  • Create New...