Problems with the save of the player's position after last update

  1. ‹ Older
  2. 7 years ago

    Hi all, I've had the chance to do a bit more digging. I've got the same issue as @Furia, a mission that worked flawlessly before the switch to the updated CBA and most recent ALiVE version is now no longer reliably loading the player's location. I have just done some testing and recreated the issue with a completely clean copy of Arma installed on a clean Windows 10, with a brand new mission on Altis. This is using TADST. The only real setting that isn't default is -filepatching (I sometimes use bCombat). I'm now pretty satisfied that it's not just something wrong with my setup as I couldn't have really been more clinical about ruling that out.

    I've noticed that for me, losing player persistence has a 100% correlation with a particular loading behavior. Loading mission from a dedicated server, the loading screen will appear as normal, then it will flash to the briefing screen / map view, then it will jump back to a loading screen again. If you run the same scenario in single player, the mission will load, jump in-game for a moment, then jump back to the loading screen, during which time you can hear environmental sounds and the sound of any teammates getting in formation.

    This second load screen can take a while (several minutes on SSD / Skylake i7). I suspect this loading time depends on the complexity of the mission + some unknown variable (perhaps internet speed - see below). It seems to be in addition to the time the entire mission would take to load in previous versions of ALiVE, so now missions take twice as long to load. Before, the mission would load without any jumping in and out of the load screen, the map briefing screen would appear, I'd click "Continue" and then unleash hell, with my player information saving / loading as it should.

    Generally, the map/briefing screen is only skipped when there is pre-existing War Room data on that mission. On a newly renamed mission, the map/briefing screen will usually load up and loading won't take as long. This leads me to believe that perhaps the duration of the secondary loading screen is in some way related to how quickly it takes the Data module to get all the required information, which would explain the variability (sometimes it works, sometimes not - internet speed?).

    On dedi, the player's location will always persist if the second loading period completes before the map/briefing screen times out (that is, loading finishes and then the map screen that requires the player to click "Continue" on the bottom right appears, rather than jumping straight into the mission). However, mostly the game will skip the map/briefing screen and jump straight into the mission after an extended second load time. When this happens, I lose all player persistence. All other persistence remains (logistics, vehicles, virtual AI, OPCOM, markers, everything). This now happens almost all of the time on all my ALiVE missions with persistent data since updating.

    Interestingly, this load=>mission=>load issue disappears completely if you revert back to CBA 2.2 but obviously that breaks the latest ALiVE in other ways now. I strongly suspect the issue relates to the module load order, and specifically, the way CBA 2.3.1 handles the module load order. The mission starts before loading is complete, and somehow the data module manages to correctly load everything but player information.

    I cannot recreate this in all scenarios. The more complex a mission, however, the more likely it seems to appear. Especially if the mission contains Ambient Weather / IED / CQB modules and is on a large map with tons of objectives. In the mission I just made from scratch (attached), there are two OPCOMs with a civilian and military objective between them, two logistics modules for them, Alive (req), Virtual AI, Ambient Weather, IED, data, player options, Civ Pop and Placement, and probably one or two others - all normal ALiVE modules. The mission is on Altis. The only object is a player. There are no scripts or anything else. Data debug is on. There are two examples of this happening in the attached file. The first, Virtual AI didn't even work at all and I ended up with a perpetual loading screen (which now happens quite often). The second was a perfect example of what I have described above, on the new mission with clean War Room data.

    Hopefully this helps!

    RPT / mission files here.

  3. ^ Most excellent report... thanks for taking the time. Does this only affect the player's location? ie: do loadouts restore properly?

  4. No worries! It's all player persistence as far as I can tell. Loadouts, stances, health etc. generally also fail to load.

  5. Yes same I can confirm this as well. Vehicles are persistent, logistic items are persistent, time of the day and wethaer are persistent.
    AI are not persitent either (tested with AI grouped to player), even if killed they spawn again on the first mission starting point when restarting again.
    Player loadout is not conserved neither its possition.
    I do experience the same "launching issues" that @Incontinentia mentioned.

  6. @Furia Yes same I can confirm this as well. Vehicles are persistent, logistic items are persistent, time of the day and wethaer are persistent.
    AI are not persitent either (tested with AI grouped to player), even if killed they spawn again on the first mission starting point when restarting again.
    Player loadout is not conserved neither its possition.
    I do experience the same "launching issues" that @Incontinentia mentioned.

    Good work guys.

    Just an FYI, Playable AI location will not persist even when everything is working. If you want them to teleport to your player location on mission start/load, here's a thread with a script: http://alivemod.com/forum/1613-ai-teammates-location-persistence-solved

  7. The AI I mentioned are not playable but just the AI group tied to a player.
    The AI are a minnor issue, but in my persistent Campaign I badly need player persistence working.
    Hope they can find a solution. Thx!!

  8. @Furia The AI I mentioned are not playable but just the AI group tied to a player.
    The AI are a minnor issue, but in my persistent Campaign I badly need player persistence working.
    Hope they can find a solution. Thx!!

    Sorry I phrased it wrong. Any AI tied to the player will not organically have their position persist.

  9. Any units that are not profiled are not persistent, which includes player - tied AI

  10. Edited 7 years ago by KeyCat

    Since things works OK for me with the "ALiVE | Getting Started" demo missions but not "Operation Landlord" demo I've tried to find what setting/s differs between the two without any success.

    Could it be that it is related to the size of the island (number of objects)? "ALiVE | Getting Started" is on Stratis and "Operation Landlord" is on Altis.

    @Spyder: Does it work for you (i.e player's location,health, loadout restore..) when you run the "Operation Landlord" mission?

    /KC

  11. Edited 7 years ago by KeyCat

    Just tested another thing in "Operation Landlord". I jumped into ongoing mission and moved to a position ~500 m away that I could see from the main base and then disconnected from the server.

    Waited a few minutes before rejoining again and did not spawn on the location I was when I exited (but camera zoom to the right area). Like before I spawned on main base (with correct load out and weapon state? If I get killed in combat and respawn I do not spawn with correct load out).

    Pulling up my binoc's and looking at the location I was when exiting I see my dead body on the correct position and with correct load out (but the quad bike I used wasn't there, don't know if they are saved?).

    Looks like you somehow getting killed when rejoining and that's the reason for spawning at the main base instead of the saved location. Tested this three times with same result.

    /KC

  12. Tupolov

    10 Apr 2016 Administrator

    Sounds like respawn is not configured correctly in that mission and is respawning you at mission start.

  13. Edited 7 years ago by SpyderBlack723

    set respawnOnStart in the description.ext to 0 (I believe it's 0)

  14. Edited 7 years ago by incontinenetia

    Just to confirm, the issue KeyCat is having isn't the issue I'm having (and presumably that goes for Furia too).

  15. last year

    @KeyCat Tried it but problem persists. Will try with another mission and see if it's related to Operation Landlord, great mission BTW and thanks for sharing!

    Edit: Just tried the "ALiVE | Getting Started" and it works fine in that mission so it must be related to Operation Landlord.

    I unpacked the Getting Started mission and compared with Operation Overlord and couldn't find any real difference. None of them had the "Player Multispawn" module.

    Any ideas?

    A (realy) minor thing I noticed is that the time for "Most Recent Operations" on the Your Group page is off with 24 hours. Just wanted to mention it ;)

    /KC

    I have this exact same.issue was there a solution?

 

or Sign Up to reply!