Player State\Persistence

  1. 8 years ago
    Edited 8 years ago by GetDreaded

    Good day all :)

    First of all great mod! (Like seriously the best)
    I have been learning it for a week now and been having crazy fun on my dedi.

    Now, my problem:
    Note: This did work when i first tried it.

    I will attach my server and client .rpt files.

    So my players state is not being saved or it looks like its being saved:

    10:27:29 ALiVE Exit - Saving Server
    10:27:29 ADMIN UID: 76561198054733184
    10:27:29 ADMIN: B Alpha 1-1:1 (Vincent) REMOTE
    10:27:29 "Saving shots fired: [[""rhs_m4a1_m203s_ACOG"",0,""rhs_m4a1_m203s_ACOG"",""M4A1 (M203)""],[""ChemlightGreenMuzzle"",1,""ChemlightGreenMuzzle"",""Chemlight""]]"
    10:27:31 ALiVE Pausing state of ALiVE_ALiVE_sys_profile instance set to true!
    10:27:31 ALiVE Pausing state of ALiVE_ALiVE_mil_command instance set to true!
    10:27:31 ALiVE Pausing state of ALiVE_ALiVE_fnc_analysis instance set to true!
    10:27:31 ALiVE Pausing state of ALiVE_ALiVE_amb_civ_command instance set to true!
    10:27:31 ALiVE Pausing state of ALiVE_ALiVE_mil_logistics instance set to true!
    10:27:31 ALiVE Pausing state of ALiVE_ALiVE_mil_OPCOM instance set to true!
    10:27:31 ALiVE Pausing state of ALiVE_ALiVE_mil_OPCOM instance set to true!
    10:27:31 ALiVE Pausing state of ALiVE_ALiVE_mil_logistics instance set to true!
    10:27:31 ALiVE Exit - Server Player OPD
    10:27:31 ALiVE SYS_PLAYER - DISCONNECT
    10:27:32 Warning: 1208 ms spent in callExtension calling name: "ALiVEPlugIn", function: "SendJSON ['POST','sys_player/_bulk_docs','{"docs":[{"lastSaveTime":0.478113,"puid":"76561198054733184","name":"Vincent","speaker":"ACE_NoVoice","nameSound":"","pitch":1,"face":"GreekHead_A3_09","class":"rhsusf_army_ocp_jfo","rating":0,"rank":"PRIVATE","group":"B Alpha 1-1","leader":"true","viewDistance":1500,"terrainGrid":25,"position":[2053.24,6657.2,0.389906],"dir":210.044,"anim":"Crouch","side":"WEST","vehicle":"NONE","seat":"NONE","damage":0,"lifestate":"HEALTHY","head_hit":0,"body":0,"hands":0,"legs":0,"fatigue":0,"bleeding":0,"oxygen":1,"score":0,"assignedItemMagazines":[],"primaryWeaponMagazine":[],"primaryweapon":"","primaryWeaponItems":["","","",""],"handgunWeaponMagazine":[],"handgunWeapon":"","handgunItems":["","","",""],"secondaryWeaponMagazine":[],"secondaryWeapon":"","secondaryWeaponItems":["","","",""],"uniform":"rhs_uniform_cu_ocp","uniformItems":["rhsusf_ANPVS_14","rhsusf_patrolcap_ocp","ACE_fieldDressing","ACE_f
    10:27:33 ALiVE SYS_PLAYER - SAVING PLAYER DATA: {"ok":true,"id":"SASF_Test3","rev":"2-7c42d910b53228533e44ee33a00592d2"}

    So all my modules are there and have been set to be persistent. Everything is persistent, ai profiles, items on the ground, except my players state.

    I get this on load (some extra info):

    10:16:17 ALIVE ML - Startup
    10:16:20 ALiVE [m_22|200] Module ALiVE_SYS_playeroptions INIT
    10:16:20 L Alpha 1-3:3 - Initialisation started...
    10:16:20 ALiVE [m_23|201] Module ALiVE_SYS_viewdistance INIT
    10:16:20 ALiVE [m_23|201] Module ALiVE_SYS_viewdistance INIT COMPLETE TIME: 0.00100708
    10:16:20 L Alpha 1-3:3 - Initialisation Completed...
    10:16:20 ALiVE [m_22|200] Module ALiVE_SYS_playeroptions INIT COMPLETE TIME: 0.19101
    10:16:20 ALiVE [m_24|202] Module ALiVE_sys_player INIT
    10:16:20 DATA: Loading player data for Test3
    10:16:22 ALiVE [m_25|204] Module ALiVE_sys_playertags INIT
    10:16:22 ALiVE [m_25|204] Module ALiVE_sys_playertags INIT COMPLETE TIME: 0
    10:16:22 ALiVE [m_26|203] Module ALiVE_sys_crewinfo INIT
    10:16:22 ALiVE SYS CREWINFO - Feature turned off! Exiting...
    10:16:22 ALiVE [m_26|203] Module ALiVE_sys_crewinfo INIT COMPLETE TIME: 0
    10:16:23 ALIVE ML - Startup completed

    I test by doing the following:

    I launch my dedi and join, i then run about 50m and drop my weapon. I then save and exit as admin from the alive save and exit option.
    I log off completely and close my dedi then start it up again and see if my player has moved and lost his weapon.

    I do login to the war room and see that my operation has started and that my player is participating.

    10:14:47 DATA: Loading ALiVE config from database.
    10:14:47 ALiVE-0 CONNECTED TO DATABASE OK
    10:14:47 ALiVE-0 CONNECTED TO DATABASE, BUT PERFDATA HAS BEEN TURNED OFF
    10:14:47 ALiVE-0 CONNECTED TO DATABASE, BUT AAR HAS BEEN TURNED OFF
    10:14:47 DATA: Loading data dictionary dictionary_SASF_Test3.

    Also i have recreated two of my missions from scratch and placed all modules manually.

    I dont think ACE will interfere as i do use it and it did work.

    I might be doing something stupid haha i always do maybe i forgot something small :) But i did look though all the obvious module persistent settings, like my player state is set to save to DB for server restarts.

    also my description.ext:

    author="Vince";
    OnLoadName = "Test3";

    briefing = 1;
    debriefing = 1;
    respawn = 3;
    respawnDelay = 10

    Thanks in advance, look forward to hear from anyone.
    I will do all testing you ask haha. (Realy need this to work im forming a unit)

    https://www.dropbox.com/s/v0dt5vwsqks0ffv/arma3_2016-09-25_10-11-55.rpt?dl=0
    https://www.dropbox.com/s/eg7kee8azr8nif9/arma3server_2016-09-25_10-09-53.rpt?dl=0

    EDIT: Actually it could be the map G.O.S Al Rayak.
    Player persistence worked on Altis i just copied the modules over. G.O.S Al Rayak is under supported maps for Alive.

  2. Think this could be a known bug: https://github.com/ALiVEOS/ALiVE.OS/issues/66

 

or Sign Up to reply!