SryImAnooB Posted March 21, 2017 Report Share Posted March 21, 2017 Hey guys, i need some help/answers. I have no clue about cleanup the server from loot when no one is around for a specific amount of time. I noticed that this was uncommented in server_function.sqf: server_systemCleanup = compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_cleanup.sqf"; so i removed the // and checked what happend...nothing :D Then i checked out the server_cleanup.sqf. In line 23 it says: if (_age > 20) then { changed to: if (_age > 2) then { cause i thought 20 = 20min ?! so 2 = 2min. Was a try nothing happend. I googled around and noticed that in 1.0.5.1 the server_cleanup was .fsm and not .sqf. Does this matter? And does anyone have a tip how to cleanup loot when for ex. a player is not in range from 500m for 5 mins?! Link to comment Share on other sites More sharing options...
0 icomrade Posted March 21, 2017 Report Share Posted March 21, 2017 The code you are referencing is in a comment, it's not used, the file is also not used any commented out. this is the loot cleanup file: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_server/system/scheduler/sched_lootpiles.sqf SryImAnooB 1 Link to comment Share on other sites More sharing options...
0 SryImAnooB Posted March 21, 2017 Author Report Share Posted March 21, 2017 16 minutes ago, icomrade said: The code you are referencing is in a comment, it's not used, the file is also not used any commented out. this is the loot cleanup file: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_server/system/scheduler/sched_lootpiles.sqf Aww thanks mate. I was blind -.-. Link to comment Share on other sites More sharing options...
Question
SryImAnooB
Hey guys, i need some help/answers.
I have no clue about cleanup the server from loot when no one is around for a specific amount of time.
I noticed that this was uncommented in server_function.sqf:
server_systemCleanup = compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_cleanup.sqf";
so i removed the // and checked what happend...nothing :D
Then i checked out the server_cleanup.sqf.
In line 23 it says:
if (_age > 20) then {
changed to:
if (_age > 2) then {
cause i thought 20 = 20min ?! so 2 = 2min. Was a try nothing happend.
I googled around and noticed that in 1.0.5.1 the server_cleanup was .fsm and not .sqf. Does this matter?
And does anyone have a tip how to cleanup loot when for ex. a player is not in range from 500m for 5 mins?!
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now