Skip to content

RHS vest pouches go missing on player reconnet or server restart. #51

Description

@arvindavidson

In Commit d1667ec
in "src/Scripts/Game/EPF_EntitySaveData.c"

The change from prefabString = string.Format("{%1}", prefabString); to prefabString = string.Format("{%1}.et", prefabString); could be causing issues with how the prefab names are being formatted and stored. This change adds the .et extension to the prefab string, which might not be expected by other parts of the code that handle the prefab names.

Seems to be the cause of RHS pouches and some vanilla items going missing after player reconnects or server restarts.
Doing tests after reverting that line seems to fix the issue.

Steps to reproduce:

  1. Load overthrow/ any EPF scenarios with RHS loaded.
  2. Equip player with any vest + puch
  3. Save
  4. Restart/leave server and rejoin.

Result: Player spawns without ouches.
Expected Result: Player spawns with pouches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions