Server save and exit not working

  1. 7 years ago

    Hey guys,

    I've attached my RPTs and the modline is listed below. We've been running for about 2 weeks now but I can't seem to figure out why the server save and exit button does not work. Successfully linked to War Room and I see the DB connects successfully. However our server restarts everyday and we noticed that the persistence has not gone through. Been trying to figure it out for the better part of a week but still haven't found anything.

    Tried updating server alive version
    Tried reuploading aliveserver to the dedicated server on ArmaHosts
    Tried a different mission (Clafghan) from our current mission on Malden still no joy. Even rebuilt the mission from scratch to see if that would work.

    Any help would be greatly appreciated.

    client mods:
    @=ATM=Altimeter;@ace;@ACE_Comp_RHS_AFRF;@ACE_Comp_RHS_USAF;@acex;@ADV-ACE_CPR;@BoxLoader;@cba;@CUP_Terrains_Core;@CUP_Terrains_Maps;@Enhanced_Movement;@ILBE;@ILBE-Fix;@RHS_AFRF;@RHS_USAF;@ShackTac_UI;@Task_Force_radio;@VIS;@VSM_Accessories;@VSM_Uniforms;@VSM_VestsnHelmets;@NIArms_AIO;@Ctab;@CUP_Terrains_CWA;@Ares_Achilles;@Chestpack;@Cigs;@Nimitz;@USSOC_LITE_mas;@FIR_AWS;@F-15;@22nd_Maps;@Project_OPFOR;@Alive

    server mods:
    @Advanced_Rappelling;@Advanced_Sling_Loading;@Advanced_Towing;@Advanced_Urban_Rapelling;@aliveserver

    latest rpt:
    https://www.dropbox.com/s/8hziuzugtobt9en/arma3server_x64_2018-02-11_21-49-04.rpt?dl=0

    It should also be noted that we do have a headless client that we turn on from time to time, not sure if this affects anything.

    Thanks!
    - Shifty

  2. Gotcha, thanks for the reply man. I didn't see the announcement, will move to local db saving. Will we still be able to have MSOs with local saving? From my understanding (please correct me if I'm wrong) war room was required for persistence across server restarts?

  3. Tried updating, server persistence still not working locally. Verified ALiVE version and everything, can post rpts at request, just unsure which one to post now.

  4. Edited 7 years ago by marceldev89

    I believe @aliveserver is only required for a connection to the War Room so I guess you can run without it. It shouldn't affect anything if you keep it loaded though.

    There have been some reports that advanced marker persistence didn't work but I don't think it has been reproduced as of yet (https://github.com/ALiVEOS/ALiVE.OS/issues/439 ). If you can verify that persistence is working for all the other systems (i.e. profiles, objectives, tasks perhaps) then it should be all good and the advanced markers would then be a separate issue. The RPT doesn't seem to be showing any problems.

  5. Edited 7 years ago by HeroesandvillainsOS

    Sorry, proper PBO link is on this page: http://steamcommunity.com/sharedfiles/filedetails/?id=965794580

    Not sure if the showcases have persistence enabled. Some probably do; some probably dont. Just try mine because it definitely does and if it doesn’t work we’ll know for sure it’s not the mission.

  6. Confirmed not working, yep the main thing we were looking for was the player persistence (position saving, gear etc.)

    https://www.dropbox.com/s/yovgu5htud7wtww/arma3server_x64_2018-02-15_18-32-31.rpt?dl=0

    Latest RPT using your mission

  7. So I went back tried it and confirmed, the profiles for the player are not saving when using the mission template from Heroes and Villains.

    It seems like the persistence is working somewhat since the time change saved correctly and is persistent across reloads. I was also doing testing with my units modpack and it produced the same result as when I tested with just alive spyder and cba. Should note that with both tests I did remove the aliveserver. Ill post the

    In the RPT, the profiles don't show up in the profiles per side area despite the player having already used the player exit. Not too sure what could be causing this, I'm working on getting one of the spare computers around the house setup into a dedicated server to see if the issue is host side. Will update once that's complete. Thanks!

    RPT incase you guys wanted to see it:
    https://www.dropbox.com/s/6n3xe2rnd15p562/arma3server_x64_2018-02-19_10-12-47.rpt?dl=0

  8. I've got no clue, the RPT indicates that everything is working fine. :(

    Maybe try resetting all the persistence stuff (and make sure @aliveserver isn't loaded once you've done this) using one of these:

    Manually clear data from the ProfileNameSpace when running Local persistence using the following commands. Be sure to use Server Exec if running on a dedicated server.

    call ALiVE_fnc_ProfileNameSpaceClear  //removes current mission data only
    call ALiVE_fnc_ProfileNameSpaceWipe  //removes all mission data completely
  9. @HeroesandvillainsOS yep so my method is to hit player exit first so it saves the player. Then I go back in and hit server save and exit

    @marceldev I attempted to run it on another dedicated server (hosted on another pc in my house). The location of placed vehicles and time of day save properly, but the player position and loadout does not. I went through the mission that Heroes made and the player options looked all correct. The RPT is below but yeah the RPT indicates everything is saving find except player profiles but even that I'm not sure.

    It seems like everything is working but when we go back and test it the player persistence didn't work at all.

    Test Environment RPT
    https://www.dropbox.com/s/hwm7902t3mg7i20/arma3server_x64_2018-02-19_18-12-51.rpt?dl=0

  10. ontop of that, how do I run those commands? I tried throwing it in the debug console but it didnt seem to do anything.

    I'm also not sure how to reset the persistence using those commands on the armahosts server either

  11. @M.Shifty @marceldev I attempted to run it on another dedicated server (hosted on another pc in my house). The location of placed vehicles and time of day save properly, but the player position and loadout does not. I went through the mission that Heroes made and the player options looked all correct. The RPT is below but yeah the RPT indicates everything is saving find except player profiles but even that I'm not sure.

    It seems like everything is working but when we go back and test it the player persistence didn't work at all.

    Test Environment RPT
    https://www.dropbox.com/s/hwm7902t3mg7i20/arma3server_x64_2018-02-19_18-12-51.rpt?dl=0

    The RPT is showing that player data is being saved and loaded. I really have no clue if there's something failing and if so, what would be failing. It's been quite a while since sys_player had meaningful changes and so far you're the only one reporting this issue.

    @M.Shifty ontop of that, how do I run those commands? I tried throwing it in the debug console but it didnt seem to do anything.

    I'm also not sure how to reset the persistence using those commands on the armahosts server either

    You put 1 of those commands in the debug console and hit the "server exec" button. I don't think those scripts give any feedback but if you don't get an error it probably worked. ^^

    @HeroesandvillainsOS a perpetual mission doesn't do any ALiVE persistence by default, you need to hit that button. You can call the saving function manually to save, I think.

  12. Update:
    @HeroesandvillainsOS I found your By the sword mission on Clafghan for RHS. Confirmed its working with persistence and all. I'll look into the other missions and see what could potentially be going. I have been using your method of just hitting server save and exit, it works perfectly. Do you think the autosave feature would work? If so how would I go about implementing that.

    Thanks again for the support guys.

  13. Check http://alivemod.com/wiki/index.php?title=Persistence and search for autosave. Glad it finally started working. :)

  14. Edited 7 years ago by M.Shifty

    Yeah for some reason it's specifically the Malden mission that I made and the Tanoa version you linked me to. I found that when the nato faction was rhs_usarmy_d (not sure if thats the exact name) but either way US army from RHS, the server save and exit (persistence) does not work.

    I tried to modify the by the sword to isolate the problem and thats where I ended up hitting a brick wall. Also @HeroesandvillainsOS when I go into your mission the logistics module is greyed out for me? Is that intended? I was looking for a fix for it. Only way I ended up getting it working was changing the faction and playable units to the RHS US army faction but in doing so seemed to break the persistence. I'll keep you updated if I find anything else, currently in the process of upgrading our server so it might take a little bit.

  15. Edited 7 years ago by HeroesandvillainsOS

    @M.Shifty Awesome thanks man! I've been trouble shooting this server save and exit thing, it seems to be related to rhs_usarmy_d

    When I tried changing the factions by placing new modules it broke the server save and exit. However when I used those same modules with rhs_usmc_d the same issue of logistics and opcom presented itself. Strange, might be a bug?

    Maybe. Though that still doesn’t explain your overall persistence issue with my Tanoa showcase, because that uses vanilla factions and requires no outside mods aside from Spyder Addons.

    I think at this stage it would best to make your own mission from scratch. ALiVE and CBA only. See if it works (if not, post the missionhere). If it does, then and only then add your modded factions of choice. If it breaks then, post that modded mission here instead and I’ll take a look-see.

    Either way, make something. If it doesn’t work I’ll take peek (start with vanilla first).