-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by Veroly
-
-
That is very strange might have to keep looking into this for people using HFB servers as this is what mine looks like.
People using HFB dont try this as it wont work correctly.
//Clean groups
{
//diag_log ("CLEANUP: CHECKING GROUP WITH " + str(count units _x) + " UNITS");
if (count units _x==0) then {
deleteGroup _x;
//diag_log ("CLEANUP: DELETING A GROUP");
};
} forEach allGroups;
/*
//Check for Ammobox
{
if(!(_x isKindOf "WeaponHolder")) then {
diag_log ("CLEANUP: DELETING AN AMMOBOX " + (typeOf _x));
deleteVehicle _x;
};
} forEach allMissionObjects "ReammoBox";
*/
//Check for hackers
{
"heliCrash" addPublicVariableEventHandler {
_list = nearestObjects [_this select 1, ["CraterLong"], 100];
{deleteVehicle _x;} foreach _list;
};
} forEach allUnits;
/*
//Let's move this into the body removal sequence so uncontrolled flies are removed only if corpses are cleaned
//Check Flies
_isOK=-1;
_dwUSOFC=0;
{
//_isOk = {!alive _x} count (nearestObjects [_x, ["CAManBase"], 2]);
_isOk = {!alive _x} count (_x nearEntities [["CAManBase"], 2]);
if (_isOk>-1) then {
diag_log ("DW_DEBUG _isOK: " + str(_isOK) );
};
if ((_isOk>-1) AND (isOK<1)) then {
//diag_log ("CLEANUP: DELETING A SOUND OF FLIES");
_dwUSOFC=_dwUSOFC+1;
deleteVehicle _x;
diag_log ("CLEANUP: DELETED AN UNCONTROLLED SOUND OF FLIES:" + str(_dwUSOFC) );
};
} forEach allMissionObjects "Sound_Flies";
*/
dayz_serverObjectMonitor = _safety; -
Curious if i can take a look at your Server cleanup,Im currently getting mad desync and login issues after changing the Server_cleanup.fsm
But the changes you're looking into sounds really good.
-
When i used the ground fog on my old server it worked fine without too much server performance towards the 4 hour mark with about 35+ people it did start to take a drain the server. but server restarts usally fix that.
-
-
Curious as if anyone has got their Server_cleanup.Fsm working yet so heli's actually patrol around and not just explode mid air on spawn, i fiddled around a bit with the coding but couldnt get it to work myself.
[OLD Release] Custom Chernarus Server Pack 1.2.1 - For Epoch 1.0.1.4 (Development Stopped)
in A2: Epoch Mods (1.0.5.1)
Posted
Omg scratch that i am the biggest idiot ever been banging my head against a wall for the past few days while coding other stuff and without much sleep and missed a key element.
Incase people do the same thing as me rightclick your fsm files and edit as notepad ++, to change to kill a hacker.
Little sleep + coding all night = stupid mistakes XD.