Jump to content

[Release] 2.1 Plot Management - UPDATED Object Counter


Zupa

Recommended Posts

If you pulled the latest server files from Github, intentory has been changed correctly to inventory. It was a typo. It really doesn't matter which you use as long as it is consistent.

 

well, thats the fixes for 5.2. I just use the official rar release files for my server to avoid these isssues ^^

Link to comment
Share on other sites

ok soo I should change it back to _inventory again. I had changed it to _inventory but then you said _intentory is correct so I changed it back to _intentory  post #222

 

where can I find the "official rar release files"  

all I see is 

https://github.com/DevZupa/PlotManagement

README.md initial commits 25 days ago

 

ims sorry if I seem annoying here but I see no updated release instructions..

Link to comment
Share on other sites

 

Use this code for all players for the people who use Infistar

private ["_close"];
lbClear 7001;
_players = [];
{
	_y = _x;
	if (isPlayer _y) then
	{
		{_players = _players + [_x];} forEach (crew _y);
	};
} forEach ([0,0,0] nearEntities ['AllVehicles', 10000000]);
_allUnits = {isPlayer _x} _players;
Humans = [];
{
	if (_x isKindOf "Man" and !(_x isKindOf "zZombie_base") and (isPlayer _x)) then {
		_friendUID = getPlayerUID _x;
		_friendName = name  _x;
		Humans  =  Humans + [[_friendUID,_friendName]] ;	
		lbAdd [7001, _friendName];
	};
} forEach _allUnits;


 

BTW this just makes noone show for players and admins

Link to comment
Share on other sites

After checking guides for installing other mods i did following 

transfered needed file from dayz_code to MPMissions\DayZ_Epoch_11.Chernarus\plotManagement

 

added following lines to custome compiles.sqf:

player_upgrade = compile preprocessFileLineNumbers "plotManagement\player_upgrade.sqf";
player_buildingDowngrade = compile preprocessFileLineNumbers "plotManagement\player_buildingDowngrade.sqf";
player_build = compile preprocessFileLineNumbers "plotManagement\player_build.sqf";
remove = compile preprocessFileLineNumbers "plotManagement\remove.sqf";
fn_selfActions = compile preprocessFileLineNumbers "plotManagement\fn_selfActions.sqf";

 

menu is opening but there is no player name inside ? tried it with and without infistar 

Link to comment
Share on other sites

 

After checking guides for installing other mods i did following 

transfered needed file from dayz_code to MPMissions\DayZ_Epoch_11.Chernarus\plotManagement

 

added following lines to custome compiles.sqf:

player_upgrade = compile preprocessFileLineNumbers "plotManagement\player_upgrade.sqf";
player_buildingDowngrade = compile preprocessFileLineNumbers "plotManagement\player_buildingDowngrade.sqf";
player_build = compile preprocessFileLineNumbers "plotManagement\player_build.sqf";
remove = compile preprocessFileLineNumbers "plotManagement\remove.sqf";
fn_selfActions = compile preprocessFileLineNumbers "plotManagement\fn_selfActions.sqf";

 

menu is opening but there is no player name inside ? tried it with and without infistar 

 

 

RPT logs?

Link to comment
Share on other sites

Hello People,

Can someone help me with my problems After i've installed this mod? (V2.33)

 

After i did everything the tutorial has told me to do, My server won't start. It keeps remaining stuck on Mission starting and game starting. It does not load all those files. And ingame keeps stuck on "Waiting for server Authentication" on the black screen

Like this :

post-22865-0-87672900-1411641675_thumb.p

 

I host the server on my Virtual W8.1 Workstation. Everything works fine before i installed this plot management.

I Copied the Custom folder in my ''MPmissions/chen...../custom'' like it says me to do and i replaced files in the Dayz_Server.bpo and repacked it

 

The only part i don't understand was Part 5E :

 

 

5 E Remember to change the paths to any files you've moved to your mission folder!

player_upgrade.sqf
player_buildingDowngrade.sqf
player_upgrade.sqf"

 

 

Every path i copied in the init.sqf are correct so i dont know if i made a mistake or something in my server isn't right. 

 

Can someone help me or help me remotely or something like that?

 

 

Fixed it. used the newest version and tried againe and it works now. Thanks anyway

Link to comment
Share on other sites

Does this new version require any more code edits?

 

As i ahave replaced the files with the new ones and maintaining doesn't seem to work

 

And get some erros

 

 

File mpmissions\__CUR_MP.Chernarus\plotManagement\initPlotManagement.sqf, line 4

Error in expression <;
call PlotGetFriends;
["preview"] call MaintainPlot;
>
  Error position: <MaintainPlot;
>
  Error Undefined variable in expression: maintainplot
Link to comment
Share on other sites

That sorted it.

 

One thing i preffered the old maintain area file where it was like this:

 

requirements = [];
switch true do {
case (_count <= 10):  {_requirements = [[CurrencyName,1000]]};
case (_count <= 20):  {_requirements = [[CurrencyName,3000]]};
case (_count <= 35):  {_requirements = [[CurrencyName,4000]]};
case (_count <= 50):  {_requirements = [[CurrencyName,5000]]};
case (_count <= 75):  {_requirements = [[CurrencyName,9000]]};
case (_count <= 100): {_requirements = [[CurrencyName,10000]]};
case (_count <= 175): {_requirements = [[CurrencyName,20000]]};
case (_count <= 250): {_requirements = [[CurrencyName,30000]]};
case (_count <= 325): {_requirements = [[CurrencyName,40000]]};
case (_count <= 400): {_requirements = [[CurrencyName,50000]]};
case (_count <= 475): {_requirements = [[CurrencyName,60000]]};
case (_count <= 550): {_requirements = [[CurrencyName,70000]]};
case (_count <= 625): {_requirements = [[CurrencyName,80000]]};
case (_count > 625):  {_requirements = [[CurrencyName,100000]]};
};
 
For example
 
How would i get a similar system like this , as i think 2 coins for 2 objects is a bit cheap considering when someone has hundreds
 
Thanks
Link to comment
Share on other sites

Whenever I add someone to plotfriends they can't build. I have to tag them as friendly as well, but that's vanilla, isn't it? I also have P4L, but that shouldn't have anything do to with that...? Anyone have any ideas what it can be? :) I'm using the "maintain" version.  

 

(EDIT:)  Thought I found the error as the guide has the word "inventory" spelled "intentory", which I assume is wrong? Didn't work regardsless.

Link to comment
Share on other sites

Did you follow the instruction on the github? Sounds like you did not eddit your build.sqf ( and the others prob also not)

 

 

Whenever I add someone to plotfriends they can't build. I have to tag them as friendly as well, but that's vanilla, isn't it? I also have P4L, but that shouldn't have anything do to with that...? Anyone have any ideas what it can be? :) I'm using the "maintain" version. 

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...