SilvioDoHOTS 1 Posted September 30, 2018 (edited) I made up a small pvp server for my friends in a small area. Everything works perfect, when the server is on for a while and alot of deaths happens, stack up a lot of bodies and weapons on the ground, and this causes too much lag. How can I cleanup this bodies/weapons after a while? Edit: Pic of the issue, that can provoke lag and alot of fps loss. Edited October 1, 2018 by SilvioDoHOTS Share this post Link to post Share on other sites
philippj 103 Posted September 30, 2018 \db\globals.xml <var name="CleanupLifetimeDefault" type="0" value="{{ VALUE IN MINUTES }}"/> Share this post Link to post Share on other sites
SilvioDoHOTS 1 Posted September 30, 2018 @philippj this is valid for weapons and dropped items too? Share this post Link to post Share on other sites
SilvioDoHOTS 1 Posted September 30, 2018 7 minutes ago, philippj said: \db\globals.xml <var name="CleanupLifetimeDefault" type="0" value="{{ VALUE IN MINUTES }}"/> @philippj this is valid for weapons and dropped items too? Edit: I already changed the value to 1 <var name="CleanupLifetimeDefault" type="0" value="1"/> but the corpses don't despawn, aparently you have to move away from them to this happen. Do you know where I can change that? Share this post Link to post Share on other sites
philippj 103 Posted September 30, 2018 Did you restart the server? Share this post Link to post Share on other sites
SilvioDoHOTS 1 Posted September 30, 2018 11 minutes ago, philippj said: Did you restart the server? Yes, I did. When I restart the server, the corpses disappear. But once the server is on, the corpses don't disappear. I have to restart the server again to them vanish. Share this post Link to post Share on other sites
GrosTon1 26 Posted September 30, 2018 4 hours ago, SilvioDoHOTS said: @philippj this is valid for weapons and dropped items too? Edit: I already changed the value to 1 <var name="CleanupLifetimeDefault" type="0" value="1"/> but the corpses don't despawn, aparently you have to move away from them to this happen. Do you know where I can change that? Same here. Share this post Link to post Share on other sites
Ton_41 1 Posted October 1, 2018 How to clear items on the ground when server restart. Share this post Link to post Share on other sites
SilvioDoHOTS 1 Posted October 1, 2018 45 minutes ago, Ton_41 said: How to clear items on the ground when server restart. On server restart is simple, just do what @philippj told above. Our problem is to clear items while the server is up. Share this post Link to post Share on other sites
Ton_41 1 Posted October 1, 2018 7 minutes ago, SilvioDoHOTS said: On server restart is simple, just do what @philippj told above. Our problem is to clear items while the server is up. I mean if I dump items on floor when server restart that items is remain such as meat ,campfire ,cloth. Not mean drop in the house. Share this post Link to post Share on other sites
SilvioDoHOTS 1 Posted October 1, 2018 9 minutes ago, Ton_41 said: I mean if I dump items on floor when server restart that items is remain such as meat ,campfire ,cloth. Not mean drop in the house. You can aways turn off persistence. I think it is on serverDZ.cfg Share this post Link to post Share on other sites
Ton_41 1 Posted October 1, 2018 (edited) 2 minutes ago, SilvioDoHOTS said: You can aways turn off persistence. I think it is on serverDZ.cfg instanceId = 1; // DayZ server instance id to identify number of instances per box and their storage folders with persistence files lootHistory = 1; // how many persistence history files should been kept by instance, number is looped over during save storeHouseStateDisabled = false; // Disable houses/doors persistence (value true/false), usable in case of problems with persistence storageAutoFix = 1; // Checks if persistence files are corrupted and replaces corrupted ones with empty ones (value 0-1) where to close that? Edited October 1, 2018 by Ton_41 Share this post Link to post Share on other sites
SilvioDoHOTS 1 Posted October 1, 2018 Just now, Ton_41 said: instanceId = 1; // DayZ server instance id to identify number of instances per box and their storage folders with persistence files lootHistory = 1; // how many persistence history files should been kept by instance, number is looped over during save storeHouseStateDisabled = false; // Disable houses/doors persistence (value true/false), usable in case of problems with persistence storageAutoFix = 1; // Checks if persistence files are corrupted and replaces corrupted ones with empty ones (value 0-1) where to close that I don't know exactly, but if isn't there, definitely it is on dayzOffline.chernarusplus/db. Since your issue is different from the one of this post, you should look into /db files explanation or open a new thread. You can also disable the dropped itens in economy.xml (it was what I did). PS for others: I have added a image of the issue on the main thread post. Share this post Link to post Share on other sites
SilvioDoHOTS 1 Posted October 1, 2018 This was discussed in another threat, and we find a solution. Closed. Share this post Link to post Share on other sites