iniDB Arma 3 wasteland server.

Discussion in 'Scripting/Addon Discussion' started by Ashleigh, Dec 27, 2013.

  1. STENCHOVDETH

    STENCHOVDETH Member

    Joined:
    Mar 3, 2013
    Messages:
    75
    Likes Received:
    12
    Yes I got it working! both Base/Player Saving.Just got really frustrated towards the endgame but some of the files that were default from host were outdated so deleted them and downloaded new ones from github.I even tried to bribe Gagi2 for help but got it working before he could reply. Most of the errors were in the absence of the A3Wasteland_Settings folder that just was not there in default server files.
     
  2. STENCHOVDETH

    STENCHOVDETH Member

    Joined:
    Mar 3, 2013
    Messages:
    75
    Likes Received:
    12
    Hello All,
    I have a few questions for members who know more about A3 than me.
    1. Does anyone have saving money working on A3Wasteland_v0.9f.Altis?
    I have Base/Player Inventory saving just not the "Money".Money is saving to the db/uid but when I respawn just the default amount is there.I have tested these additions to:
    ___________________________________________________________________________
    c_savePlayerToServer.sqf

    [_uid, _uid, "MagazinesWithAmmoCount", magsWithAmmoCounts] call fn_SaveToServer;
    //[_uid, _uid, "Weapons", Weapons player] call fn_SaveToServer;

    moneyLevel = player getVariable "cmoney";
    [_uid, _uid, "Money", moneyLevel] call fn_SaveToServer;
    _________________________________________________________________________
    c_playerDBSetup.sqf

    if(_varName == 'PrimaryWeapon') then{player addWeapon _varValue; primaryLoaded = 1;};
    if(_varName == 'HandgunWeapon') then{player addWeapon _varValue; handgunLoaded = 1;};
    if(_varName == 'SecondaryWeapon') then {player addWeapon _varValue; secondaryLoaded = 1;};
    if(_varName == 'Money') then {
    moneyLevel = _varValue;
    player setVariable ["cmoney", _varValue, true];
    moneyLoaded = 1;
    };
    ______________________________________________________________________________
    Still not working on respawn. :(

    2. What are "Warchests" for and how do you use them?
    I can access them in game, in the form of a cash register on a desk and an input panel comes up.I think they are used for group money collection point just not sure how to Deposit/Withdraw money from them.
    Thnx
    STENCH
     
  3. jmuirhead

    jmuirhead New Member

    Joined:
    Jun 11, 2013
    Messages:
    6
    Likes Received:
    0
    Hey will you help me set up a database for my server i looked everywhere and i cant figure it out.
     
  4. Vilemouse

    Vilemouse Well-Known Member

    Joined:
    Jan 15, 2013
    Messages:
    137
    Likes Received:
    6
    What part exactly are you stuck on? need more info
     
  5. jmuirhead

    jmuirhead New Member

    Joined:
    Jun 11, 2013
    Messages:
    6
    Likes Received:
    0
    Just really the whole thing. I installed the iniDB but when i joined my server it said "script iniBD\inif.sqf not found"
     
  6. Vilemouse

    Vilemouse Well-Known Member

    Joined:
    Jan 15, 2013
    Messages:
    137
    Likes Received:
    6
    Did you have @iniDB in the launch parameters
     
  7. jmuirhead

    jmuirhead New Member

    Joined:
    Jun 11, 2013
    Messages:
    6
    Likes Received:
    0
    Yes im use the TADST it has a mods tab and i selected it.
     
  8. Vilemouse

    Vilemouse Well-Known Member

    Joined:
    Jan 15, 2013
    Messages:
    137
    Likes Received:
    6
    Hmm dunno why that would be.. did you add anything else/change anything?
     
  9. jmuirhead

    jmuirhead New Member

    Joined:
    Jun 11, 2013
    Messages:
    6
    Likes Received:
    0
    No. I put the @iniDB in the steam arma 3 folder. Then added
    call compile preProcessFile "\iniDB\init.sqf";
    at the bottom the init.sqf in my mission.pbo
     
  10. Vilemouse

    Vilemouse Well-Known Member

    Joined:
    Jan 15, 2013
    Messages:
    137
    Likes Received:
    6
    thats why, remove the

    call compile preProcessFile "\iniDB\init.sqf";

    its already built in
     
  11. jmuirhead

    jmuirhead New Member

    Joined:
    Jun 11, 2013
    Messages:
    6
    Likes Received:
    0
    I see the "Loading acount" when i join but it doesnt save the inventory
     
    Last edited: Apr 6, 2014
  12. jmuirhead

    jmuirhead New Member

    Joined:
    Jun 11, 2013
    Messages:
    6
    Likes Received:
    0
    Never mind i figured it out you have to go prone then select save. Thanks for the help!
     
  13. Vilemouse

    Vilemouse Well-Known Member

    Joined:
    Jan 15, 2013
    Messages:
    137
    Likes Received:
    6
    No problem :)
     
  14. Lee Smith

    Lee Smith New Member

    Joined:
    Dec 1, 2013
    Messages:
    18
    Likes Received:
    1
    can sombody help me with this. Am hosting vilayer
     
  15. STENCHOVDETH

    STENCHOVDETH Member

    Joined:
    Mar 3, 2013
    Messages:
    75
    Likes Received:
    12
    @Lee,
    Sure I'll give you a hand.
    Details:
    1. Are you running Wasteland?
    if yes what version?
     
  16. Lee Smith

    Lee Smith New Member

    Joined:
    Dec 1, 2013
    Messages:
    18
    Likes Received:
    1
    i got it all saving , just working on the money save now
     
  17. STENCHOVDETH

    STENCHOVDETH Member

    Joined:
    Mar 3, 2013
    Messages:
    75
    Likes Received:
    12
    Check your PM, I had huge problems getting this to work with Vilayer hosted server.I got it all working in the end but took me ages.
    I am using @inidbi v14 with Wasteland Altis 0.9g which has most persistence issues fixed in this version.
    Hope this helps.
    STENCH
     
  18. TheGovernor

    TheGovernor New Member

    Joined:
    Apr 3, 2014
    Messages:
    9
    Likes Received:
    0
    STENCHOVDEATH, i sent you a PM.... hope you can help.
     
  19. Zedmau5

    Zedmau5 New Member

    Joined:
    Nov 7, 2013
    Messages:
    26
    Likes Received:
    4
    Anyone get the money issue resolved?
     
  20. JoSchaap

    JoSchaap Well-Known Member

    Joined:
    Nov 1, 2012
    Messages:
    219
    Likes Received:
    17
    Zedmau5 likes this.

Share This Page