-
Posts
35 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by evilosmosis
-
-
All working 100%, the infistar delete was the only other thing I needed to tweak
-
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!
-
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?
-
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.
Excellent, I'm sure this is the same issue some others are having, I'll see what I can track down
-
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.
-
Secondly it sounds like the player_build.sqf is not setting the ownerUID variable on the newly build object (it will be set on the server start as the objects load hence it working after a restart).
Oddly enough, I"m having this problem too... I'm trying to figure it out
-
i read your post and i want to know where i can change that i can build more than 30 items at one point. Thank you ahead
Did you try the search above?
-
I kind of like the idea, but why is the currency in dollars?
[Release] - A Plot for life v2.5. Keep your buildables on death. Take plot ownership
in A2: Epoch Mods (1.0.5.1)
Posted
I run Infistar and P4L and have absolutely no problem