Jump to content
  1. iben

    iben

  • Similar Content

    • By EditedSnowHD
      Hey,
       
      Im looking for a way to automaticly restart my Dayz Epoch server after a few hours.
      I already looked at some tutorials/scripts and stuff.
      But there all talking about this scheduler.xml file, but i dont have that.
      Do i need to create it myself? or can some one link me to an updated BEC restarts tutorial?
       
      Thank you for your time
      Greets
      -EditedSnowHD
    • By EditedSnowHD
      Hy,
       
      I have downloaded some custom bases, and 'installed' them on my server.
      But i have no idea why there not spawning. Because only the first custom base i installed is spawning.
      And when i try to add another custom map additions, there just not spawning. 
      Does someone have an idea what im doing wrong here?
       
      In my server.pbo, i have a "buildings" folder, with all the Custom bases .sqf files. Except from the NorthWestAirfield.sqf i got that in a diffirent folder called "mapaddons", but i dont understand why that one is spawning but the otherones aren't?
      In my server_functions all the way in the bottom i got the usual:
      //MapAddons execVM "\z\addons\dayz_server\mapaddons\NorthWestAirfield.sqf"; execVM "\z\addons\dayz_server\buildings\NEAF_S4M.sqf"; execVM "\z\addons\dayz_server\buildings\traderstary.sqf"; execVM "\z\addons\dayz_server\buildings\novy.sqf"; execVM "\z\addons\dayz_server\buildings\dichina.sqf"; execVM "\z\addons\dayz_server\buildings\bor.sqf"; My server RTP: https://www.dropbox.com/s/1v6eqk9r1fowrsq/arma2oaserver.RPT?dl=0
       
      Thank you very much for you time!
      (PS, im still a bit noobish)
       
       
    • By EditedSnowHD
      Hy,
      Maybe a stupid question but:
      Can i use (legacy) 1.0.5.1 custom bases on my 1.0.6 server?
       
      Greets!
    • By EditedSnowHD
      Hey,
      Thank you for checking out my post.
      I purchased a server a few days ago and if i got it up and running, i would love to make my own Dayz Epoch server. (1.0.6)
      But i have no idea where to start, and if there are pacific files i need to download.
      I hope you guys could help me out!
       
      Thank you for your time.
      With kind regards,
      - EditedSnowHD
       
       
    • By chargedlight1
      https://epochmod.com/forum/topic/43153-released-custom-spawn-loadout-dependend-on-humanity/#comment-285478

      -- OLD THREAT -- SOLVED!

      Hello guys,

      I have a question about spawning my gear on login. I want my default gear dependend on the amount of humanity. i'm currently working in the file: z\dayz_server\compile\server_playerLogin.sqf
      But i cant get a reach on how to get that variable in the server. I dont know how to atleast. I've tried alot of variables like:
      player getVariable['humanity',0]; which gives me <NULL>
      and trying to debug _playerObj and_primary without luck.. server just crashes without any notification.
      Here was my line of code to debug that:
      diag_log format["object _playerObj: %1",_playerObj]; diag_log format["object _primary: %1",_primary]; does anyone know how to get that humanity variable ? i want to make a switch statement in the if statement here:

       
      if (!_isNew) then { //RETURNING CHARACTER _inventory = _primary select 4; _backpack = _primary select 5; _survival = _primary select 6; _CharacterCoins = _primary select 7; _model = _primary select 8; _group = _primary select 9; _playerCoins = _primary select 10; _BankCoins = _primary select 11; _hiveVer = _primary select 12; if !(_model in AllPlayers) then {_model = "Survivor2_DZ";}; } else { _isInfected = if (DZE_PlayerZed) then {_primary select 3} else {0}; _model = _primary select 4; _group = _primary select 5; _playerCoins = _primary select 6; _BankCoins = _primary select 7; _hiveVer = _primary select 8; if (isNil "_model") then { _model = "Survivor2_DZ"; } else { if (_model == "") then {_model = "Survivor2_DZ";}; }; //Record initial inventory only if not player zombie if (_isInfected != 1) then { _config = configFile >> "CfgSurvival" >> "Inventory" >> "Default"; _mags = getArray (_config >> "magazines"); _wpns = getArray (_config >> "weapons"); _bcpk = getText (_config >> "backpack"); // Switch statement right here if (!isNil "DefaultMagazines") then {_mags = DefaultMagazines;}; if (!isNil "DefaultWeapons") then {_wpns = DefaultWeapons;}; if (!isNil "DefaultBackpack") then {_bcpk = DefaultBackpack;}; //Wait for HIVE to be free _key = format["CHILD:203:%1:%2:%3:",_charID,[_wpns,_mags],[_bcpk,[],[]]]; _key call server_hiveWrite; }; Something like:
       
      if (!_isNew) then { //RETURNING CHARACTER _inventory = _primary select 4; _backpack = _primary select 5; _survival = _primary select 6; _CharacterCoins = _primary select 7; _model = _primary select 8; _group = _primary select 9; _playerCoins = _primary select 10; _BankCoins = _primary select 11; _hiveVer = _primary select 12; if !(_model in AllPlayers) then {_model = "Survivor2_DZ";}; } else { _isInfected = if (DZE_PlayerZed) then {_primary select 3} else {0}; _model = _primary select 4; _group = _primary select 5; _playerCoins = _primary select 6; _BankCoins = _primary select 7; _hiveVer = _primary select 8; if (isNil "_model") then { _model = "Survivor2_DZ"; } else { if (_model == "") then {_model = "Survivor2_DZ";}; }; //Record initial inventory only if not player zombie if (_isInfected != 1) then { _config = configFile >> "CfgSurvival" >> "Inventory" >> "Default"; _mags = getArray (_config >> "magazines"); _wpns = getArray (_config >> "weapons"); _bcpk = getText (_config >> "backpack"); // * CUSTOM LOADOUT SWITCHCASE! * switch (true) do { case(_humanity >= 5000): { DefaultMagazines = ["itemMap" //etc...]; }; }; if (!isNil "DefaultMagazines") then {_mags = DefaultMagazines;}; if (!isNil "DefaultWeapons") then {_wpns = DefaultWeapons;}; if (!isNil "DefaultBackpack") then {_bcpk = DefaultBackpack;}; //Wait for HIVE to be free _key = format["CHILD:203:%1:%2:%3:",_charID,[_wpns,_mags],[_bcpk,[],[]]]; _key call server_hiveWrite; }; };
       
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...