• 0
RandoThePirate

Player body despawn time

Question

Is there a way to change the body despawn time. 

ive looked at and changed the garbage collector time that doesn't seem to work. not even on AI despawn timer ( witch  I  would also like to increase.)

it seems to be 5 mins or so. 

 I  ave been on servers where npc bodies are 10-15 mins. and player bodies are 15-20 

can someone direct me on how to modify this. 

 

Edited by RandoThePirate

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

the player despawn is the important one. is this in garbage collection. any ideas? 

 

 I  did adjust the garbage collector settings in the ai systems  I  m using but it may be per mission...

 

 

Edited by RandoThePirate

Share this post


Link to post
Share on other sites
Advertisement
  • 0

My main concern is player and weapon despawn after KIA.

 I  messed with the garbage collector: 

@ExileServer/addons/exile_server_config.pbo
Spoiler

///////////////////////////////////////////////////////////////////////
    // GARBAGE COLLECTOR
    ///////////////////////////////////////////////////////////////////////
    class GarbageCollector
    {
        /*
            Remark: 
            In 0.9.35 and below, Exile has checked if a player was nearby and then delayed
            the deletion. This check has been removed to save server performance.

            Do NOT touch these if you are not 10000% sure what you do!    
        */
        class Ingame 
        {
            // Dropped items without fissix
            class GroundWeaponHolder
            {
                lifeTime = 30;
                interval = 5;
            };

            // Dropped items with fissix
            class WeaponHolderSimulated
            {
                lifeTime = 30;
                interval = 5;
            };

            // Corpses and wrecks
            class AllDead 
            {
                lifeTime = 30;
                interval = 5;
            };

            // Loot spawned inside a building
            class Loot 
            {
                lifeTime = 5;
                interval = 1;
            };

            // Never touch this or you will break your sever!
            class Groups 
            {
                interval = 0.5;
            };
        };

Not sure if these do what  I  think/expect but here is hoping. only way for me to test is to play it.

 Items dropped from your inventory?

     // Dropped items without fissix
            class GroundWeaponHolder

weapons dropped when KIA?

     // Dropped items without fissix
            class GroundWeaponHolder
            

Player KIA and destroyed vehicles?

   // Corpses and wrecks
            class AllDead 

 

 

Share this post


Link to post
Share on other sites
  • 0

Resurrection time!!!!

Having an issue, players report body despawn is happening very fast. Exile config shows Lifetime 15, interval 5. Does this mean stays for 15 minutes, checked every 5? If so, why would body disappear less than 5 minutes? Could a mod be interfering with this?

Update: Searched in all files under mission, for lifetimer, alldead no other results don't think its an overwrite.

Edited by geekm0nkey

Share this post


Link to post
Share on other sites
  • 0
20 hours ago, geekm0nkey said:

Resurrection time!!!!

Having an issue, players report body despawn is happening very fast. Exile config shows Lifetime 15, interval 5. Does this mean stays for 15 minutes, checked every 5? If so, why would body disappear less than 5 minutes? Could a mod be interfering with this?

Update: Searched in all files under mission, for lifetimer, alldead no other results don't think its an overwrite.

lifetime is the amount of time something has to be older than before the garbage collector deletes it

interval is the sweep time of objects so in theory

lifetime 20 mins with interval of 5 mins could be up to 24mins 59secs before despawn and as little as 20mins 1sec.

decreasing the interval time does mean it more accurately deletes on the life time but adds more server load so my advice is just increase lifetime and leave intervals alone unless you make them greater to take some load off the server but it does make the lifetime a little more random

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.