Jump to content
  • 0

[HELP] OverPoch time bases stay ?


Dutch Vertigo

Question

5 answers to this question

Recommended Posts

  • 0

server functions remove Line starting "server_maintainArea..."

variables Replace DZE_maintainClasses with this "DZE_maintainClasses = ["FireBarrel_DZ"];"

fn_selfactions remove

     if (_canDo && (speed player <= 1) && (_cursorTarget isKindOf "Plastic_Pole_EP1_DZ")) then {


         if (s_player_maintain_area < 0) then {
              s_player_maintain_area = player addAction [format["<t color=#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_MAINTAREA], "\z\addons\dayz_code\actions\maintain_area.sqf", "maintain", 5, false];
             s_player_maintain_area_preview = player addAction [format["<t color=#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_MAINTPREV], "\z\addons\dayz_code\actions\maintain_area.sqf", "preview", 5, false];
         };
     } else {
            player removeAction s_player_maintain_area;
            s_player_maintain_area = -1;
            player removeAction s_player_maintain_area_preview;
            s_player_maintain_area_preview = -1;
     };

and

    // inplace maintenance tool
    if((_cursorTarget isKindOf "ModularItems" || _cursorTarget isKindOf "DZE_Housebase" || _typeOfCursorTarget == "LightPole_DZ") && (damage _cursorTarget >= DZE_DamageBeforeMaint)) then {
        if ((s_player_lastTarget select 2) != _cursorTarget) then {
            if (s_player_maint_build > 0) then {    
                player removeAction s_player_maint_build;
                s_player_maint_build = -1;
            };
        };

        if (s_player_maint_build < 0) then {
            s_player_lastTarget set [2,_cursorTarget];
            s_player_maint_build = player addAction [format[localize "STR_EPOCH_ACTIONS_MAINTAIN",_text], "\z\addons\dayz_code\actions\player_buildingMaint.sqf",_cursorTarget, -2, false, true, "",""];
        };
    } else {
        player removeAction s_player_maint_build;
        s_player_maint_build = -1;
    };

also hive.exe change "CleanupPlacedAfterDays = 999"

will make maintain free bases

 

Did the job for me  never decaying bases :)

Link to comment
Share on other sites

  • 0

He's under the server provider FastPointGaming I assume, you need to edit HiveExt.ini and put in CleanupPlacedAfterDays = -1 this should make the bases never decay, if you want it to clean up after a certain amount of days put for example CleanupPlacedAfterDays = 90

If you have problems contact customer support on www.fastpointgaming.com, ricky should be online :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...