Jump to content

[Release] 2.1 Plot Management - UPDATED Object Counter


Zupa

Recommended Posts

They are in the client files @DayZ_Epoch\addons\dayz_code\actions

Ok i found them in the end.

 

Having this problem now though

 

ErrorMessage: File mpmissions\DayZ_Epoch_11.Chernarus\plotManagement\defines.hpp, line 45: .RscButton: Member already defined.

Link to comment
Share on other sites

question....redid one of my servers...database wipe - NO other mods,,,plot4life works til server restart - then the plot needs to be uprooted and placed again - cycle starts over...no rpt errors

once laid down player can die 10 times and plot4life works....server restarts then have to start over ? any ideas .... never had this issue in the past  THANKS

 

 

 

hmmm wrong plot thread

Link to comment
Share on other sites

BUMP for support. I need to know where to call these files and whats the call lines please.

 Those paths are in your FN_selfactions.sqf

 

Line 650:    s_player_downgrade_build = player addAction [format[localize "STR_EPOCH_ACTIONS_REMLOCK",_text], "\z\addons\dayz_code\actions\player_buildingDowngrade.sqf",_cursorTarget, -2, false, true, "","];

 

Line 632:    s_player_upgrade_build = player addAction [format[localize "STR_EPOCH_ACTIONS_UPGRADE",_text], "\z\addons\dayz_code\actions\player_upgrade.sqf",_cursorTarget, -1, false, true, "","];

 

 change the path to where you put your custom selfactions

 

MegaZ

Link to comment
Share on other sites

Guys My files are diferent than whats posted

No7 STEP 7 (Modifying player_build.sqf, player_upgrade.sqf, and player_buildingDowngrade.sqf)
ALL THREE OF THESE FILES NEED THE SAME EDIT, MAKE SURE YOU DO ALL FILES!!!!
Find

_friendlies     = player getVariable ["friendlyTo",[]];
// check if friendly to owner
if(_ownerID in _friendlies) then {
    _canBuildOnPlot = true;
};

Replace that with

_friendlies = _nearestPole getVariable ["plotfriends",[]];
_fuid  = [];
{
      _friendUID = _x select 0;
      _fuid  =  _fuid  + [_friendUID];
} forEach _friendlies;
_builder  = getPlayerUID player;
// check if friendly to owner
if(_builder in _fuid) then {
    _canBuildOnPlot = true;
};

 

but mine is from SC and it like this:

// Allow building of plotpole or items not requiring a plot pole
if(!(_requireplot) || _isLandFireDZ) then {
  _canBuildOnPlot = true;
};

} else {
// Since there are plot poles nearby we need to check ownership && friend status

// check nearest pole only
_nearestPole = _findNearestPole select 0;

_buildcheck = [player, _nearestPole] call FNC_check_owner;
_isowner = _buildcheck select 0;
_isfriendly = _buildcheck select 1;
if ((_isowner) || (_isfriendly)) then {
  _canBuildOnPlot = true;
};
}; 

 

what do i change  ??

any help would be appreciated

 

MegaZ

Link to comment
Share on other sites

New issue: 

 

File mpmissions\__cur_mp.Chernarus\plotManagement\plotManagement.hpp, line 14: /PlotManagement/Controls.RscListbox_7001: Undefined base class 'RscListbox'

 

Bottom of my description.ext:

 

#include "custom\snap_pro\snappoints.hpp"
 
#include "dzgm\defines.hpp"
class RscTitles
{
#include "dzgm\icons.hpp"
};
#include "dzgm\groupManagement.hpp"
#include "Paint\defines.hpp"
#include "Paint\vehiclecolour.hpp"
#include "spawn\class.hpp"
#include "spawn\spawn.hpp"
#include "plotManagement\plotManagement.hpp"
#include "plotManagement\defines.hpp"
Link to comment
Share on other sites

BUMP for support please.

 

In your description.ext try putting:

#include "plotManagement\defines.hpp"

before

#include "plotManagement\plotManagement.hpp"

So it looks like this

#include "custom\snap_pro\snappoints.hpp"
 
#include "dzgm\defines.hpp"
class RscTitles
{
#include "dzgm\icons.hpp"
};
#include "dzgm\groupManagement.hpp"
#include "Paint\defines.hpp"
#include "Paint\vehiclecolour.hpp"
#include "spawn\class.hpp"
#include "spawn\spawn.hpp"
#include "plotManagement\defines.hpp"
#include "plotManagement\plotManagement.hpp"
Link to comment
Share on other sites

Hi, i have tried to install this lots of times but i am obviously doing something wrong.

 

 

Here are some of the errors in the RPT

 

Error in expression <"plotManagement\plotRemoveFriend.sqf";
 
};
 
initialized = true;>
 0:40:38   Error position: <};
 
initialized = true;>
 0:40:38   Error Missing {
 0:40:38 File mpmissions\DayZ_Epoch_11.Chernarus\custom\compiles.sqf, line 630
 0:40:38 Error in expression <"plotManagement\plotRemoveFriend.sqf";
 
};
 
initialized = true;>
 0:40:38   Error position: <};
 
initialized = true;>
 0:40:38   Error Missing {
 0:40:38 File mpmissions\DayZ_Epoch_11.Chernarus\custom\compiles.sqf, line 630
 
 
 Error position: <_intentory, true];
};
 
_lockable = 0;
if>
 0:40:54   Error Undefined variable in expression: _intentory
 
 
Any help would be much appreciated.
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
×
×
  • Create New...