Cleanup

Does this make bodys go away? players have been saying there bodys keep just dissappearing
Nope, only loot on the ground sometimes if you set low timings. If you have Epoch then bodies after time decay into bones, that hard to see.
 
I'm seeing zero benefit in this. The script initializes, then I see this in RPT:

Code:
11:38:00 "LinkCleaning: Start cleaning"
11:38:02 Cannot use magazine ItemBandage in muzzle RoadFlareMuzzle
11:38:09 "LinkCleaning: Stop cleaning"

But no object count is being reduced:

Code:
    Line 211: 11:31:37 "DEBUG FPS: 7.1048 OBJECTS: 7108 : PLAYERS: 7"
    Line 342: 11:35:15 "DEBUG FPS: 14.4796 OBJECTS: 10298 : PLAYERS: 10"
    Line 369: 11:38:19 "DEBUG FPS: 12.749 OBJECTS: 10323 : PLAYERS: 12"
    Line 416: 11:41:23 "DEBUG FPS: 11.9671 OBJECTS: 10328 : PLAYERS: 12"
    Line 446: 11:44:27 "DEBUG FPS: 10.7817 OBJECTS: 10388 : PLAYERS: 13"
    Line 476: 11:47:31 "DEBUG FPS: 10.877 OBJECTS: 10399 : PLAYERS: 13"
    Line 527: 11:50:36 "DEBUG FPS: 10.6312 OBJECTS: 10403 : PLAYERS: 13"
    Line 552: 11:53:41 "DEBUG FPS: 10.4167 OBJECTS: 10413 : PLAYERS: 13"
    Line 610: 11:56:46 "DEBUG FPS: 10.2828 OBJECTS: 10819 : PLAYERS: 16"
    Line 666: 11:59:58 "DEBUG FPS: 9.47306 OBJECTS: 10512 : PLAYERS: 15"
    Line 697: 12:03:16 "DEBUG FPS: 8.30737 OBJECTS: 10462 : PLAYERS: 16"
    Line 798: 12:06:44 "DEBUG FPS: 8.329 OBJECTS: 10611 : PLAYERS: 18"
    Line 1218: 12:10:42 "DEBUG FPS: 7.4384 OBJECTS: 10808 : PLAYERS: 17"
    Line 1403: 12:14:42 "DEBUG FPS: 7.59013 OBJECTS: 10548 : PLAYERS: 18"
    Line 1986: 12:18:42 "DEBUG FPS: 6.49087 OBJECTS: 10601 : PLAYERS: 19"
    Line 2579: 12:23:29 "DEBUG FPS: 6.28684 OBJECTS: 10681 : PLAYERS: 21"
    Line 2775: 12:28:26 "DEBUG FPS: 5.84368 OBJECTS: 10776 : PLAYERS: 22"
    Line 2845: 12:33:40 "DEBUG FPS: 5.39811 OBJECTS: 10912 : PLAYERS: 24"
    Line 2936: 12:39:16 "DEBUG FPS: 5.20833 OBJECTS: 10935 : PLAYERS: 24"
    Line 3079: 12:45:28 "DEBUG FPS: 4.78326 OBJECTS: 11071 : PLAYERS: 26"
    Line 3227: 12:51:47 "DEBUG FPS: 4.769 OBJECTS: 11032 : PLAYERS: 25"
    Line 3415: 12:58:03 "DEBUG FPS: 4.81203 OBJECTS: 11110 : PLAYERS: 25"
    Line 3716: 13:04:30 "DEBUG FPS: 4.24178 OBJECTS: 11315 : PLAYERS: 28"
 
Had the script installed... bodys dissappeared and disabled it now they dont :O?
If you run this script on Epoch mod, are you sure that bodies not just decay into bones? Cause this script do not remove bodies, only if you did something with permaLoot i think. PM me with your server_functions.sqf and server_cleanup.fsm and RPT log file between server restarts with cleanup ON.
 
Code:
5:50:41 "LinkCleaning: Start cleaning"
5:50:42 "CLEANUP:TOTAL 33 LOOT BAGS"
5:50:42 Bad conversion: array
5:50:42 Error in expression <(isPlayer _x) and (alive _x)} count (_x nearEntities [["CAManBase"], 25]);
if ((>
5:50:42   Error position: <nearEntities [["CAManBase"], 25]);
if ((>
5:50:42   Error 0 elements provided, 3 expected
5:50:42 File z\addons\dayz_server\init\LinkCleanup.sqf, line 76
5:50:42 "LinkCleaning: Stop cleaning"

how might i fix this problamo?

Use the correct Syntax:
_x <- The Object / Player / Animal
nearEntities <- the function name
['CAManBase'] <- The parameter for the function
['CAManBase','Distance'] <- Correct Parameters

Correct Syntax:

(_x nearEntities ['CAManBase',25]);


Also check, if there is an "_x":

if(_x != "") then {
// Do something
};
 
LTGNick and Maddin

Wut?

On Page 2 there was a problem:

Code:
5:50:41 "LinkCleaning: Start cleaning"
5:50:42 "CLEANUP:TOTAL 33 LOOT BAGS"
5:50:42 Bad conversion: array
5:50:42 Error in expression <(isPlayer _x) and (alive _x)} count (_x nearEntities [["CAManBase"], 25]);
if ((>
5:50:42   Error position: <nearEntities [["CAManBase"], 25]);
if ((>
5:50:42   Error 0 elements provided, 3 expected
5:50:42 File z\addons\dayz_server\init\LinkCleanup.sqf, line 76
5:50:42 "LinkCleaning: Stop cleaning"


I just noticed, that it's a wrong syntax and there is a possibility, that _x is not set, which would cause the problem.
 
I'm having the issue that the cleanup script is deleting all of the boxes on the server =/ even if i added them here:
Code:
                        _ammobox = ["USLaunchersBox","RULaunchersBox","USSpecialWeapons_EP1","USVehicleBox","BAF_OrdnanceBox","USBasicAmmunitionBox"];

I didnt touched anything else on the script
But i cannot say if its maybe the cleanup.fsm which is doing that. will test this now and tell the result later :)
 
I'm having the issue that the cleanup script is deleting all of the boxes on the server =/ even if i added them here:
Code:
                        _ammobox = ["USLaunchersBox","RULaunchersBox","USSpecialWeapons_EP1","USVehicleBox","BAF_OrdnanceBox","USBasicAmmunitionBox"];

I didnt touched anything else on the script
But i cannot say if its maybe the cleanup.fsm which is doing that. will test this now and tell the result later :)

That's exactly, what you do NOT want to do ^^ if you want the boxes to not be deleted take them out of that list.
 
whopsie :D

but i just tested it without the cleanup.sqf and seems like the cleanup.fsm cleaning up them as well ;)

but thanks for the advice^^
 
Any chance of an update to run with Arma 2 beta 112555, throws this in .rpt log

Code:
20:40:05 Error in expression <elQty + 1;
};
};
sleep 0.001;
} forEach _missionObjs;
if (_delQty > 0) then {
_q>
20:40:05   Error position: <_missionObjs;
if (_delQty > 0) then {
_q>
20:40:05   Error Undefined variable in expression: _missionobjs
20:40:05 File z\addons\dayz_server\init\LinkCleanup.sqf, line 54
20:40:06 "LinkCleaning: Start cleaning"
20:40:06 "LinkCleaning: Stop cleaning"
20:40:06 Error in expression <0) then {
_lastGullMod = diag_tickTime;
_x call purge;
} forEach entities "Seagu>
20:40:06   Error position: <_x call purge;
} forEach entities "Seagu>
20:40:06   Error Undefined variable in expression: _x
20:40:06 File z\addons\dayz_server\init\LinkCleanup.sqf, line 132
20:40:06 Error in expression <+ 1;
};
};
};
};
sleep 0.001;
} forEach _randomzeds;
if (_delrndzed > 0) then {
>
20:40:06   Error position: <_randomzeds;
if (_delrndzed > 0) then {
>
20:40:06   Error Undefined variable in expression: _randomzeds
20:40:06 File z\addons\dayz_server\init\LinkCleanup.sqf, line 113
 
Back
Top