Jump to content

[Release] - A Plot for life v2.5. Keep your buildables on death. Take plot ownership


Recommended Posts

Asking people to compare your files with theirs and make changes is not logical or productive for people who already have custom changes in those files. You need to make a list of the changes YOU made specifically, or how are we supposed to know which NEW lines are yours or which were there prior to our existing customisations. I compared your updateGUI with mine and I don't see anything in there which relates to your plot for life, so why is that in the archives?

The way you've asked people to install your scripts is messy and will lead to more issues than if you'd just written a step by step "Change ths in this file" , "Add this to this line" .. etc.. for each file you reference. 62 pages of issues and counting! i'd use this script but i cant afford the time and potential server downtime due to debugging .. 

A proper step by step for the noobs maybe :p The only reason I can see for you not wanting to do this is because you've lost track of your changes and wouldn't know where to start yourself :)

Link to comment
Share on other sites

  • 3 weeks later...
  On 1/1/2016 at 12:59 AM, MatthewK said:

Asking people to compare your files with theirs and make changes is not logical or productive for people who already have custom changes in those files. You need to make a list of the changes YOU made specifically, or how are we supposed to know which NEW lines are yours or which were there prior to our existing customisations. I compared your updateGUI with mine and I don't see anything in there which relates to your plot for life, so why is that in the archives?

The way you've asked people to install your scripts is messy and will lead to more issues than if you'd just written a step by step "Change ths in this file" , "Add this to this line" .. etc.. for each file you reference. 62 pages of issues and counting! i'd use this script but i cant afford the time and potential server downtime due to debugging .. 

A proper step by step for the noobs maybe :p The only reason I can see for you not wanting to do this is because you've lost track of your changes and wouldn't know where to start yourself :)

Expand  

Can only support that, great script but i won't install because i already have all these files custom, and in my opinion it's crazy that one of the most-clicked scripts has instructions, which are that bad

Link to comment
Share on other sites

I now use this script below. Does exactly what Plot4Life does if the owner adds themselves to the plotpole friend list and the whole thing takes less than half an hour to set up on your server if you're script savvy. The instructions are clear and there's nothing left to guess work or trial and error. I've even edited it to work with Origin buildings, so friends added to the plot pole can lock/unlock your origin buildings inside the plot radius for Epoch Origins, it's so well scripted that you can add to it with ease!.  

My respect goes out to all the coders on this forum (wish I had your talent for coding), you're all brilliant and I envy your talents.

I just wish plot4life installation wasn't so confusing, it really does look like a wicked script. 

 

 

 

 

 

Link to comment
Share on other sites

This does not work. Fresh install on a fresh server and you get this error:

 6:31:49 Error in expression < _countr)];
};
_countr = _countr + 1;
} count _objWpnTypes; 


_objWpnTypes = (_>
 6:31:49   Error position: <count _objWpnTypes; 


_objWpnTypes = (_>
 6:31:49   Error count: Type String, expected Array
 6:31:49 File mpmissions\__cur_mp.chernarus\custom\system\server_monitor.sqf, line 216
Link to comment
Share on other sites

  On 1/28/2016 at 2:34 PM, TheodoreCHill said:

This does not work. Fresh install on a fresh server and you get this error:

 6:31:49 Error in expression < _countr)];
};
_countr = _countr + 1;
} count _objWpnTypes; 


_objWpnTypes = (_>
 6:31:49   Error position: <count _objWpnTypes; 


_objWpnTypes = (_>
 6:31:49   Error count: Type String, expected Array
 6:31:49 File mpmissions\__cur_mp.chernarus\custom\system\server_monitor.sqf, line 216
Expand  

 

Try this script , if the user adds themself as a friend to the plotpole it works exactly like Plot4life .. It's easier to set up too :p

 

 

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

I've been trying to get Plot 4 Life working for the past few days but I've been struggling.This is what has been happening: I spawn in near a trader and can initially use the scroll wheel and trade etc, I then alt-click (using infistar admin tools) to my test base and I can use the scroll wheel to unlock the door, but then when i go to access the safe or plot pole inside I can no longer scroll wheel on safe to unlock it or on the plot pole to remove it. Then, when I alt-click back to a trader I no longer have the options to scroll wheel and trade. Also, please note I've been working with plot 4 life 2.35 - I forget the specific reason, but I think I read in the forum here that 2.35 is better if using vectors. Any help would be greatly appreciated.

The mods I'm using are infistar, Enhanced Spawn Selection v2, Advanced Trading 2.1, Community AGN, Bike Deploy, Snap Build Pro 1.4, Vector Build, Single Currency 3.0

The edits I made to the given plot4life files was to fn_selfactions.sqf, variables.sqf, server_monitor.sqf (quite a lot of changes, see my edited file below), and server_functions.sqf (Added 2 lines to include and execute AH.sqf)

 

I've read a few posts here (but no resolutions) that it could be an issue with the fn_selfactions.sqf, so heres the file below:

  Reveal hidden contents

 

Here's my arma2oaserver.rpt:

  Reveal hidden contents

 

Changed server_monitor.sqf file:

  Reveal hidden contents

 

Link to comment
Share on other sites

My point was, both Plot For Life and Zupa's Single Currency use a fn_selfActions.sqf. Make sure you are now and have only ever been using and editing the same one, and not overwriting one with the other. Seeing as you are losing mousewheel options, the issue sort of points towards this file.

Link to comment
Share on other sites

yes check what eldubya said, also make sure that you merged the files.  Best program ive used to merge was beyond compare. Right click on each file and compare them, it shows in red whats different.  If it wasnt for that i would not have plot for life.

Also 2.35 is the version to go if you want vectors..

on the plus side, you've only spent a few days, i spent a month or more lol (on and off). so you're doing great

Link to comment
Share on other sites

Hey guys, thanks for the replies. I went back and checked the initial log line by line (I'm still new to this so I may have missed a few things).

 

So for the error below, I did a search of the forums and saw that I need to go through server_monitor.sqf and change all the instances of "intentory" to "inventory".

  Quote

if ((count _intentory > 0) && !(typeOf( _object) ==>
 1:39:19   Error position: <_intentory > 0) && !(typeOf( _object) ==>
 1:39:19   Error Undefined variable in expression: _intentory
 1:39:19 File z\addons\dayz_server\system\server_monitor.sqf, line 201
 1:39:19 Error in expression <["OEMPos", _pos, true];

Expand  

 

For the second error below, I went to line 921 and removed what appears to be an extra "};" in fn_selfactions.sqf. I'm using the fn_selfactions in my custom folder rather than the one in plot4life.

  Quote

6:22:37   Error Missing {
 6:22:37 File mpmissions\DayZ_Overpoch_1.Chernarus\custom\fn_selfActions.sqf, line 921
 6:22:37 Error in expression <lowdog;
s_player_followdog = -1;
};
};

} else {

{dayz_myCursorTarget removeAct>

Expand  

 

For this error  below I was a bit confused as it says a missing "]" but i believe it was actually a comma at the end of the line, so I added a comma to server_updateobject.sqf

  Quote

6:57:17   Error Missing ]
 6:57:17 File z\addons\dayz_server\compile\server_updateObject.sqf, line 71
 6:57:17 Error in expression <argo _object,
getBackpackCargo _object

_object getVariable["bankMoney",0]

];
_>

Expand  

 

So, at this stage those errors in my log appear to have disappeared. When I log in I'm still having issues with the scroll wheel somewhat. Now, everytime I try and scroll wheel it constantly has plot management available for me to click (even when I'm not at a plot pole). I've included my log below but it doesn't seem to have any errors related to my issue. I've compared the fn_selfactions.sqf to my original one that works and the one that plot4life provides and I've merged them but clearly if the issue is here I can't figure out the problem. As I said, I'm still a bit new to all of this so I'm trying to figure it out but any help is greatly appreciated.

  Reveal hidden contents

 

Link to comment
Share on other sites

  • 4 weeks later...

Hey :) 

So i am having a really weird problem when trying to install this on my fresh server with only zupa coins 999 hive script..

For some reason i dont have to put a code in to unlock my safe :-\ Is it checking my player id now or something so i dont need a code anymore.. Or am i doing something wrong...

Everything else seems to work fine.. There is sometimes when i change skins my coins get wiped but if i log out and then back in again they are back so that aint really a issue.. But this safe thing is bothering me... 

Link to comment
Share on other sites

  On 3/5/2016 at 6:03 PM, *SMOKEY* said:

Hey :) 

So i am having a really weird problem when trying to install this on my fresh server with only zupa coins 999 hive script..

For some reason i dont have to put a code in to unlock my safe :-\ Is it checking my player id now or something so i dont need a code anymore.. Or am i doing something wrong...

Everything else seems to work fine.. There is sometimes when i change skins my coins get wiped but if i log out and then back in again they are back so that aint really a issue.. But this safe thing is bothering me... 

Expand  

thats plot for life, you dont need to remember your own code. But if you want to give it to a friend you need to know it.  Probly still a good idea to write them down. But you dont need to enter the code for your own safes within your plot pole.  

As for wiping your coins when changing skins it does that sometimes. You could look at zupas script for changing skins. and theres also a few fixes for the single currency you will need like the one for the negative money and the one for the First time you log in a server, it doesnt save your money.

 

 

 

 

 

Link to comment
Share on other sites

  On 3/5/2016 at 6:26 PM, theduke said:

thats plot for life, you dont need to remember your own code. But if you want to give it to a friend you need to know it.  Probly still a good idea to write them down. But you dont need to enter the code for your own safes within your plot pole.  

As for wiping your coins when changing skins it does that sometimes. You could look at zupas script for changing skins. and theres also a few fixes for the single currency you will need like the one for the negative money and the one for the First time you log in a server, it doesnt save your money.


 

 

 

 

 

Expand  

Thank you so so much for the quick reply :)  

It really has been bugging me... So i just reset my server and logged back in and did not need the code for my safe :-\ I could just open it.. So you are saying that is part of this mod and no one else can open my safe without my code ? Only i can open it without the code ? 

Link to comment
Share on other sites

  On 3/5/2016 at 6:29 PM, *SMOKEY* said:

Thank you so so much for the quick reply :)  

It really has been bugging me... So i just reset my server and logged back in and did not need the code for my safe :-\ I could just open it.. So you are saying that is part of this mod and no one else can open my safe without my code ? Only i can open it without the code ? 

Expand  

yes thats true. only you can open it without the code...i just realized for the single currency you dont have the banking.  my instructions were for 2.0.  Not sure if it will apply to you. but as for the P4L, thats how it works.

Link to comment
Share on other sites

  On 3/5/2016 at 6:26 PM, theduke said:

thats plot for life, you dont need to remember your own code. But if you want to give it to a friend you need to know it.  Probly still a good idea to write them down. But you dont need to enter the code for your own safes within your plot pole.  

As for wiping your coins when changing skins it does that sometimes. You could look at zupas script for changing skins. and theres also a few fixes for the single currency you will need like the one for the negative money and the one for the First time you log in a server, it doesnt save your money.


 

 

 

 

 

Expand  

Awesome :D 

Now i am one happy chap..

Thats one pain in the rear script i can scrub of the list to install :P 

 

Link to comment
Share on other sites

Ok so after some more testing and playing with this script today i still think i am messing something up.. not only do i not need a code to enter safes on my plot i also dont need a code to unlock any of my safe's anywhere on the map :-\ 

So am i missing something or dont you need codes for safes at all now ?

If thats the case i feel its quite un-safe... So if i just direct my compiles back to the default player_unlockVault and default player_packVault and player_lockVault can i still have plot for life but with safes and codes staying the way its supoosed to be ?

Link to comment
Share on other sites

actually now i think about it, you can place safes all over the map without a plot and they still open when YOU try. they are tied to your playeruid.  Best way is to place a safe and have a friend try and open it. its supposed to ask for the code if you havnt dropped a safe. but i can assure you thats how the script works.

Link to comment
Share on other sites

  On 2/11/2016 at 1:37 AM, alienpop said:

For the second error below, I went to line 921 and removed what appears to be an extra "};" in fn_selfactions.sqf. I'm using the fn_selfactions in my custom folder rather than the one in plot4life.

Change that whole block for this and it should fix it : 

  Reveal hidden contents

For this error  below I was a bit confused as it says a missing "]" but i believe it was actually a comma at the end of the line, so I added a comma to server_updateobject.sqf

You need to add a comma, here : 

6:57:17   Error Missing ]
 6:57:17 File z\addons\dayz_server\compile\server_updateObject.sqf, line 71
 6:57:17 Error in expression <argo _object,
getBackpackCargo _object, <------ ADD COMMA HERE

_object getVariable["bankMoney",0]

];
_>

 

 

 

Expand  

 

Link to comment
Share on other sites

  On 3/6/2016 at 11:19 PM, g0dzstar said:

When installing the plot4life & snap pro v2.35, are you supposed to get the orange and white "epoch snapping" layout or do you get the blue and white "snap pro v1.4.1." when building a wooden wall for example?

Im kinda lost.

Expand  

When i use snap..

All i see is little gray dots that turn yellow :P lol

And when the two little dots connect or get close enough to each other and both turn yellow you just click build and it should snap in to place..

There is also a little menu that pops up with details and stuff when you place a buildable object ..

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Hey,

I have installed this with souls edit of ZUPA's single currency. But i cant get past loading character data. I'm pretty sure its because the variable i need to use is characterid instead of the playeruid. But i cant find where to change said variable :(

 

This is what i get in the RPT:

 3:33:01 "DISCONNECT: Josh (76561197996120339) Object: B 1-1-A:1 (Josh) REMOTE, _characterID: 0 at loc [-7244.94,19534.5,1.10846]"
 3:33:01 "ERROR: Cannot Sync Character Josh as no characterID"

 

Any help would be greatly appreciated :D

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...