Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

hellsguard

Member
  • Content Count

    5
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About hellsguard

  • Rank
    Rookie
  1. Ya, see, I don't put my actions into the init, I execute a specific script for adding and removing the actions so what I suggested is more tailored to my system. lol sorry about that. EDIT: Not sure if it will help or not, depends what type of mission you have in my opinion. I run a Takistan Life, Island Life, and Wasteland, and they all save perfectly fine with just setting the options and things to save and executing the script in the init.sqf that executes per player, on a loop while the player is connected. if (isServer) then { while {true} do { sleep 30; _Profile = format["%1", getPlayerUID player]; //============ Save Stats [_Profile, "playerData", "Location", position player] call iniDB_write; [_Profile, "playerData", "Weapons", weapons player] call iniDB_write; [_Profile, "playerData", "Ammo", magazines player] call iniDB_write; [_Profile, "playerData", "Money", player getVariable "cmoney"] call iniDB_write; [_Profile, "playerData", "Food", player getVariable "canfood"] call iniDB_write; [_Profile, "playerData", "Water", player getVariable "water"] call iniDB_write; [_Profile, "playerData", "MedKits", player getVariable "medkits"] call iniDB_write; [_Profile, "playerData", "Fuel", player getVariable "fuel"] call iniDB_write; [_Profile, "playerData", "RepairKits", player getVariable "repairkits"] call iniDB_write; [_Profile, "playerData", "FullFuel", player getVariable "fuelFull"] call iniDB_write; [_Profile, "playerData", "EmptyFuel", player getVariable "fuelEmpty"] call iniDB_write; [_Profile, "playerData", "SpawnBeacons", player getVariable "spawnBeacon"] call iniDB_write; [_Profile, "playerData", "CamoNets", player getVariable "camonet"] call iniDB_write; [_Profile, "playerData", "Hunger", hungerLevel] call iniDB_write; [_Profile, "playerData", "Thirst", thirstLevel] call iniDB_write; sleep 1; player groupChat "Player Stats Saved"; }; }; sleep 30; is obviously so it saves every 30 seconds.
  2. If you're adding an action to the player in-game, something for them to scroll and select, then you should be using "player addAction"
  3. Try changing [_unitFileName, _sectionTitle, "pos", position _unit] call iniDB_write; To [_unitFileName, _sectionTitle, "pos", position player] call iniDB_write; I use it on mine and it works perfectly fine server-wide, for everyone. I also noticed you dont have "_this" defined? Atleast not in that code bit.
  4. First, this is a great system, works very well, but I have 1 problem and hopefully someone can help me out with it. This makes no sense to me as to why this doesn't work, and is regarding weapons & magazines loading, everything else loads perfectly fine and has no issue. First My Save variable _Profile = format["%1", getPlayerUID player]; [_Profile, "playerData", "Weapons", weapons player] call iniDB_write; [_Profile, "playerData", "Ammo", magazines player] call iniDB_write; Then my loading info which executes in the same file, same time, as all the other variables which load perfectly fine. _Weps = [_Profile, "playerdata", "Weapons", "ARRAY"] call iniDB_read; _Mags = [_Profile, "playerdata", "Ammo", "ARRAY"] call iniDB_read; And currently I have it as player addWeapon _Weps; I've tried (_Weps); , this addWeapon _Weps; , (_Weps); , I've literally tried everything I know, and it just will not give the weapons or mags, if anyone has gotten it to load the mags and weapons without issues... please share :(
  5. hellsguard

    Resolution and Multi-monitor issue

    Dunno if you fixed this or not, but after about 7 hours of screwing around with the EXACT same problem, I finally got it fixed. -Open Documents\Arma 3 Alpha -Delete the Arma3Alpha.cfg -Launch Arma 3 in Window Mode -Drag the windowed Arma 3 to the primary monitor (If it opened on primary then obviously this don't matter) -Go into the Options -> Video and hit AutoDetect, once it asks you to restart DO NOT HIT RESTART NOW, press OK and Restart it yourself. -Launch it again back into Window mode and adjust your settings in this order, and remember NOT to use the "Restart Now" -Ratio (If its incorrect) -Restart it manually -Resolution (It will probably be incorrect) -Restart it manually -Select Full Screen -Restart it manually -Now launch Arma 3 normally (the "Play Arma 3 Alpha" option on Steam) To ultimately see if it will launch on your primary monitor, open the Arma3Alpha.cfg and on line 3 it should say "detectedAdapterId=0;" If you have your monitor as "1". Hope this works for you as well and helps you solve the problem if you haven't already. -Hells
×