Page MenuHomeFeedback Tracker

Spawned Items Despawn Based on Event Lifetime Instead of Item Lifetime
Assigned, UrgentPublic

Description

When creating a new event and spawning one or more items, the lifetime of the event takes priority over the lifetime of the item. As a result, once the lifetime of the event expires, the item(s) in question will despawn, even if the item is deployable, has been deployed, and is in-use.

In testing on a vanilla server with no other changes to the XML configuration, other than to drop 1x "LargeTent" and 1x "CarTent", both the "LargeTent" and "CarTent" were deployed and items were stored. Both despanwed once the event triggered its next run. Items stored were lost along with the deployed tents.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
PS4
Category
Gameplay
Steps To Reproduce

Configuration

  • Shutdown your private DayZ server
  • Confirm that "LargeTent" has a lifetime value of 3888000 (45d) (types.xml)
  • Create a new event in ./db/events.xml that spawns a "LargeTent" and set the lifetime for the new event to 300 (5m)
  • Create a new spawn position in ./cfgeventspawns.xml with your target spawn location
  • Upload the modified XML files and restart the private server; wait for the event to trigger the spawn
  • Deploy and interact with "LargeTent" (store a few items)

To trigger the despawning of the "LargeTent"

  • Leave the location and return after 300 seconds (5m) or;
  • Move around for 300 seconds (5m) and restart your private DayZ server
Additional Information

I've marked this as "major" due to:

  1. Repeatability
  2. Prioritizing event lifetime over the lifetime of the item makes item drops less valuable to players (i.e. limits drops to only items that remain on the player)
  3. Unexpected as the lifetime of the items in question are clearly multitudes higher than the event and can be confirmed in types.xml

The only workaround on PS4/PS5 using Nitrado is to set the lifetime of the event to match the lifetime of the item(s) being spawned, or to make sure all item lifetimes and the event lifetime match 1:1 (calling this out for events that may span multiple items with differing lifetimes).

Event Timeline

dgco created this task.Jul 9 2022, 5:42 PM
dgco changed Operating System from Windows 7 to Windows 10 x64.
dgco set Operating System Version to PS4.
Geez changed the task status from New to Assigned.Jul 11 2022, 10:21 AM