• 0
haremo

0920 the disappearance of the body and weapons

Question

In the 0920 update disappears body after death. where I can change to the body and the weapon does not disappear

1 person likes this

Share this post


Link to post
Share on other sites

33 answers to this question

  • 0

And I thought I'm the only one with this problem.It would have been nice to someone advised how to fix it

Share this post


Link to post
Share on other sites
Advertisement
  • 0

Hi again. In config.cpp i modify this:

class CfgSettings
{
    ///////////////////////////////////////////////////////////////////////
    // GARBAGE COLLECTOR
    ///////////////////////////////////////////////////////////////////////
    class GarbageCollector
    {
        /*
        * This number defines after how many minutes (+1..5 minutes imprecision) 
        * a corpse, vehicle wreck or dropped items should despawn.
        *
        * These things will despawn after despawnAfterMinutes time, but only
        * if there is no player within despawnRadius. If forceDespawnAfterMinutes
        * exceeded, it will despawn anyways.
        */
        despawnAfterMinutes = 30;
        forceDespawnAfterMinutes = 45;
        despawnRadius = 40;
    };

but don't work for me.... the corpse and weapons disappear in a few minutes.... any help? please

Share this post


Link to post
Share on other sites
  • 0

Ive heard it is only after the first time a player joins the server and dies. When he respawns the first time his body and weapon disappear. If he dies again and comes back his stuff is still at the place he died.

Share this post


Link to post
Share on other sites
  • 0

Haven't seen this problem, are you sure you haven't edited anything in the configs?

Share this post


Link to post
Share on other sites
  • 0

despawnAfterMinutes is not even checked in the garbage collector code now and does absolutely nothing.

All objects/dead bodies are deleted if no players are within despawnRadius. And this will happen in <5 minutes.

The only way to prevent bodies despawning atm is to have a player stay nearby.

Share this post


Link to post
Share on other sites
  • 0

I'm not in home and i can't play.. but a friend say me READTHESCROLL say the right....the first time what he commite suicide the corpse disappear...but the other 5 times he commite suicide and the corpse is in the groundO.o.

DespawnRadius:20000??????

Excuse me for my english, please.

Share this post


Link to post
Share on other sites
  • 0

despawnAfterMinutes is not even checked in the garbage collector code now and does absolutely nothing.

All objects/dead bodies are deleted if no players are within despawnRadius. And this will happen in <5 minutes.

The only way to prevent bodies despawning atm is to have a player stay nearby.

I've only been able to do limited testing, so I'm not 100% certain yet, but I also think this is the problem. Currently, AI corpses and dead players are being cleaned up like loot spawns. If no player is in the set radius, it despawns.

For testing, we had players die and respawn about 2km out. If no other players were near the body, it was gone by the time they ran back to it. But if another player was nearby, the body would remain for over 10 minutes.

Share this post


Link to post
Share on other sites
  • 0

This sound to be the problem, everything gets deleted if there is no player near by:

-       "		else " \n
-       "		{" \n
-       "			// Is the area around this building free of players?" \n
-       "			if !([getPosATL _x, _despawnRadius] call ExileServer_util_position_isPlayerNearby) then" \n
-       "			{" \n
-       "				_objectsToRemove pushBack _x;" \n
-       "			};" \n
-       "		};" \n

 

 

So the fix from Rod should be working. keep in mind that you have to binarize your mission.fsm again.

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.