PDA NearPOI does not work with SpawnOPV on servers

Discussion in 'Backlog' started by ravien_ff, Jan 21, 2023.

  1. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,423
    Likes Received:
    12,029
    For more information see here Bug Report Template

    Build: 4016
    Mode: Survival
    Mode: Multiplayer

    SERVER NAME: NA
    SEED-ID: Any

    If applicable:
    MODIFIED PLAYFIELDS: Yes

    Reproducibility: Always
    Severity: Minor

    Type: PDA

    Summary: PDA NearPOI does not work when used on POIs spawned via the SpawnOPV function while on a server.

    Description: If a PDA mission spawns a POI via the SpawnOPV feature with Hold Position as the mission order, and then the PDA does a NearPOI check for an action, that action will work fine in single player but not on a server.

    For example I have a mission that will spawn a base 6000 away from the player, and then gives them a waypoint to go to it. In single player this works perfect, the base is spawned, and then 10 seconds later the mission objective is updated to give the player a waypoint to go to the spawned POI.
    On a server the POI is spawned but no waypoint is given and the PDA does not register that the player has come within the required distance even after relogging.
    Did not test if a waypoint is still given if the POI is spawned within the render distance of 3000 meters however.

    The NearPOI function does seem to work fine for normal POIs spawned via the playfield, it only appears broken if the POI is spawned via the PDA's SpawnOPV function.

    Steps to Reproduce:
    1) Subscribe to my test scenario here: https://steamcommunity.com/sharedfiles/filedetails/?id=2918811239
    2) Start a new dedicated server game on Tallodar (starting planet doesn't matter but this is just faster).
    3) When the starting missions prompts, hit F1 to complete it to get it out of the way.
    4) Go to the playfield TestSpace, in the system TestSystem (console command sector TestSystem then sector TestSpace)
    5) Go to the Suspicious Radio Beacon in the center of the playfield and speak to the console to activate the mission.
    6) Once the mission objective updates to "approach signal source" this is when you're supposed to get a yellow waypoint on the map to approach the POI.
    7) Use the map command to verify that the POI did spawn, but the PDA is not detecting it for the NearPOI check.
    8) Repeat the test in single player and you do get a waypoint and the mission can be completed as normal.
    (Optional) If you want to test resetting the mission, you can either regenerate the Suspicious Radio Beacon, or go into godmode invisible and turn off the 3 generators in the POI (named Activated). Then you can leave godmode invisible and speak to the console and it will reset and restart the mission over again.

    Screenshots, Crash Logs, any other Relevant Information or Download links:
    There are also problems with these and similar missions on a server or even in single player where they will just stop starting at all. They are set up to start with chapter activation with infinite repeats and a restart delay of 1 second, but sometimes that will permanently break for a specific mission if that mission is started multiple times and a player will no longer be able to activate that mission using the ChapterActivation set.

    If you travel between several of these TestSpace playfields and attempt to run the missions there multiple times it's highly likely the PDA ChapterActivation will break on some of them especially if done on a server.
    I realize this probably needs a separate report, but it is a pretty major issue because being able to start a repeatable mission using ChapterActivation has a lot of uses in-game. If these missions have a chance to break and stop activating when the ChapterActivation is supposed to work, then this means ChapterActivation cannot be used for any repeatable mission.


    Link to the test scenario used for the example: https://steamcommunity.com/sharedfiles/filedetails/?id=2918811239

    Screenshots:

    When you first enter this playfield type you get a popup notice like so:
    [​IMG]



    You're looking for this POI to start the mission:
    [​IMG]


    Activate the beacon to start the mission:
    [​IMG]


    You can make sure these three generators named Activated are off using godmode invisible (gm iv) and the POI will allow you to restart the mission.
    [​IMG]


    When you activate the console, you will get a waypoint like this to go find the next beacon. This works in single player but not multiplayer.
    [​IMG]
     
    #1
    Insopor, Vermillion and Vollinger like this.

Share This Page