Jump to content

evilosmosis

Member
  • Posts

    35
  • Joined

  • Last visited

Posts posted by evilosmosis

  1. Hi RimBlock,

    I did not follow this step:

    Search for

    _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";

    Replace with (you may need to change this depending on where you put the server files).

    _serverMonitor = [] execVM "custom\system\server_monitor.sqf";

     

    If this file is not being modified, is this still required?

     

     

    This looks like the problem, and may very well be the problem others have.

     

    Maybe we can clarify the install docs a little just to note that custom\system\ is in the plot for life folder :), I assumed I should of added that line for my own custom server_monitor.sqf file.

     

    Will be testing shortly!

  2. Check server_monitor.sqf.

     

    Sounds like the ownerUID is being applied on object build but is not being applied on object load when the server restarts.  That is the sqf that handles the object load.

    Hi RimBlock,

    I did not follow this step:

    Search for

    _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";

    Replace with (you may need to change this depending on where you put the server files).

    _serverMonitor = [] execVM "custom\system\server_monitor.sqf";

     

    If this file is not being modified, is this still required?

  3. HI Rimblock,

     

    First off, could this potentially be a fix for the plot ownership being displayed even if disabled...

    diff --git a/server/custom/fn_selfActions.sqf b/server/custom/fn_selfActions.sqf

    index c09c764..f477880 100755

    --- a/server/custom/fn_selfActions.sqf

    +++ b/server/custom/fn_selfActions.sqf

    @@ -250,7 +250,7 @@ if (!isNull cursorTarget && !_inVehicle && !_isPZombie && (player distance curso

    };

    };

    if (s_player_plot_take_ownership < 0) then {

    - if (DZE_APlotforLife) then {

    + if (DZE_APlotforLife && DZE_PlotOwnership) then {

    _isowner = [player, _cursorTarget] call FNC_check_owner;

    If (( _isowner select 0 )) then{

    s_player_plot_take_ownership = player addAction ["Take plot items ownership", "custom\A_Plot_for_Life\Action\plot_take_ownership.sqf", "", 1, false];

     

     

    On the ownership note...

    * I logged in, placed a plot pole, built a metal floor

    * Logged out, logged in, all ok

    * Got eaten by a zom

    * Logged back in, all ok, built another metal floor

    * Server restarted, not ok

     

     

    Here is the DB contents ... (looks good to me, did not change while testing)

    (1570, 371901450676358, 11, 'MetalFloor_DZ', '2014-10-01 08:03:03', '2014-10-01 08:03:03', 583, '[358.275,[3718.97,14506.7,0.624],"76561198020199247"]', '[]', '[]', 0.00000, 0.00000),

    (1571, 372391450678360, 11, 'MetalFloor_DZ', '2014-10-01 08:40:19', '2014-10-01 08:40:19', 608, '[359.583,[3723.94,14506.7,0.783],"76561198020199247"]', '[]', '[]', 0.00000, 0.00000),

    (1743, 37204145011094, 11, 'Plastic_Pole_EP1_DZ', '2014-10-04 07:07:56', '2014-10-04 07:07:56', 626, '[94.16,[3720.37,14501.1,0],"76561198020199247"]', '[]', '[]', 0.00000, 0.00000);

     

     

    I added this debugging...

    diff --git a/server/custom/fn_selfActions.sqf b/server/custom/fn_selfActions.sqf

    index 68a6855..3fba64d 100755

    --- a/server/custom/fn_selfActions.sqf

    +++ b/server/custom/fn_selfActions.sqf

    @@ -223,7 +227,7 @@ if (!isNull cursorTarget && !_inVehicle && !_isPZombie && (player distance curso

                    } count dayz_fuelsources;

            };

     

    -       // diag_log ("OWNERID = " + _ownerID + " CHARID = " + dayz_characterID + " " + str(_ownerID == dayz_characterID));

    +       diag_log ("OWNERID = " + _ownerID + "; CHARID = " + dayz_characterID + "; PLAYERID = " + _playerUID);

            

            // logic vars

            _player_flipveh = false;

     

    Here is the client-side log...

    "OWNERID = 76561198020199247; CHARID = 626; PLAYERID = 76561198020199247"

    "OWNERID = 76561198020199247; CHARID = 626; PLAYERID = 76561198020199247"

    "OWNERID = 76561198020199247; CHARID = 626; PLAYERID = 76561198020199247"

    ...

     

    After server restart however, check this ...

    "OWNERID = 0; CHARID = 626; PLAYERID = 76561198020199247"

    "OWNERID = 0; CHARID = 626; PLAYERID = 76561198020199247"

    "OWNERID = 0; CHARID = 626; PLAYERID = 76561198020199247"

    ...

     

    I am going to dig deeper.

     

    As for mods run, it works fine on vanilla epoch, but not with the codebase we're running. Including modified versions of infistar, wai, dzms, sar_ai, mf-tow, self-blood-bag and vehicle-repair. Infistar is the only one which appears to contain code that mucks around with the players ID.

×
×
  • Create New...