Jump to content
RimBlock

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

Recommended Posts

I've tried numerous times to merge these files as my server has many mods already installed, including an older version of P4L and snappro. 

 

Every time I get wait for host and the error that comes up is many:

 

3:38:04 Server error: Player without identity PLAERNAME (id 123456778)

 

 

Not sure where to look at next.

Share this post


Link to post
Share on other sites

Ok, so you have 3 undefined variables.

 

s_givemoney_dialog: No idea.

snap_build: This is a variable which holds the snap_build code that is run when building.  Check your compiles to make sure it is defined.  My mod does not change this from the original release version from Raymix.

_vector: Presumably used for Vector build.  No idea.

Sorry for the late reply I got it fixed and posted what I did on vectors thread.

Share this post


Link to post
Share on other sites

Hello, I'm new to all of this stuff. I have noticed that I'm supposed to put this line somewhere: DZE_PlotOwnership = true;

And I'm not too sure where it's supposed to go! If somebody could help me out, that would be great

Share this post


Link to post
Share on other sites

Hello, I'm new to all of this stuff. I have noticed that I'm supposed to put this line somewhere: DZE_PlotOwnership = true;

And I'm not too sure where it's supposed to go! If somebody could help me out, that would be great

 

In your init.sqf file mate, with the rest of the DZE_ variables.

Share this post


Link to post
Share on other sites

Hi RimBlock, 

 

I noticed with your older version of P4L (2.35) that I could walk up to a buildable and using the info key I have with infi**** it would tell me the name and GUID of the person that placed it. Using 2.4 this functionality no longer works. Is it something I have done wrong in the install or does this just not work with this version. Is there a way to make it work? 

Share this post


Link to post
Share on other sites

The information is stored in the same place in the game world (OwnerUID variable attached to the object for the owners SteamID).  This had not changed so it may be something with the way you have added the newer version of the mod.

Share this post


Link to post
Share on other sites

I've installed this and now my server says "Waiting for server to start authentication" when I try to connect to it. Any idea? 

 

Kinda hard with the very limited info provided.

 

You need to check the server RPT file as ther eis most likely an error in there somewhere.

 

Did you install this mod on a new clean Epoch vanilla server or were there other mods installed and if so what ?.

Share this post


Link to post
Share on other sites

For what it's worth. I was getting the "Waiting for server to start authentication" error on a clean install of Epoch. My problem was, in the init.sqf, this line

 

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

 

Had the wrong path in it. I had it sat in MPMission\mission\SYSTEM\custom\system\server_monitor.sqf". Something to do with how I copy pasted it, my brain just didn't change the text for some reason!! It did not complain about not finding the file, it just didn't authenticate full stop.

Share this post


Link to post
Share on other sites

Now A3 Epoch is in the last 10 the pressure is off a little for the Epoch team.  We will see if that actually translates in to a release at some point.

 

I spent quite a few days amending A Plot for Life to meet vbAwols requirements so it could be included in the Epoch main build just after Raymix had Snapbuild Pro and modular building included (around Aug last year).  I submitted the pull request and it just sat there for weeks untouched until I finally removed it.  I had no problem doing the work to get it included after getting the nod from vbAwol but having it ignored after doing it really makes me think twice about doing it again.

 

Having said that A Plot for Life v2.35 should be pretty much be ready to merge with Epoch.  It would then just need precise building added to it.

Share this post


Link to post
Share on other sites

Thats fine but some community or pull request feedback would have been courteous.

 

I have posted up on the GIt to see if they are willing to spend the time testing and merging.  If they are then I will make the changes.

Share this post


Link to post
Share on other sites

Ok, as you may have seen, someone has said they will test if I resubmit to the Git.  I will have a look at packaging it up over the next week or so.  Also if Mikeeeyy is in agreement then I will also include precise base building (credit to Mikeeeyy of course).

Share this post


Link to post
Share on other sites

Ok, as you may have seen, someone has said they will test if I resubmit to the Git.  I will have a look at packaging it up over the next week or so.  Also if Mikeeeyy is in agreement then I will also include precise base building (credit to Mikeeeyy of course).

Are you supposed to be able to remove things after death because someone let me know it was all working fine until they died. I got one of my admins to try it and it didn't work for him either. I got him to try using the take objects option on the plotpole, about 4 objects were deleted from that base and he was temp banned by infistar for nuking or something lol is that because the items needed maintaining do you think?

 

Sorry I'm running 2.35

Share this post


Link to post
Share on other sites

Yes you should be able to remove.

What other mods are you using as I believe one of them (Plot Management or Vector) has had issues reported with removal of objects.

 

You need to either change the setting for detecting nukes in Infinistar or you could try changing the uisleep number in plot_take_ownership.sqf (lines 37 and 42) but this will make the take ownership process slower.  A uisleep of 1 will pause for 1 second.  try searching this thread for nuke and you may find the posts where people have mentioned the setting in ISAH to avoid the nuke kick. 

Share this post


Link to post
Share on other sites

Yes you should be able to remove.

What other mods are you using as I believe one of them (Plot Management or Vector) has had issues reported with removal of objects.

 

You need to either change the setting for detecting nukes in Infinistar or you could try changing the uisleep number in plot_take_ownership.sqf (lines 37 and 42) but this will make the take ownership process slower.  A uisleep of 1 will pause for 1 second.  try searching this thread for nuke and you may find the posts where people have mentioned the setting in ISAH to avoid the nuke kick. 

Ok will look for that, I white listed the action and its ok for me but will see if it worked for the other guy.

 

Yeah I think it may have something to do with Plot Management as I couldn't remove anything until I removed and reverted step 5C of the installation, since doing that I'm able to remove stuff I built until I die. I'm not sure what to look for at this point and I'm using your version of the remove file.

 

 

P4L 2.35

Vector

Snap

Precise Base Building

I have others but I don't think they effect the building side of things as its just the service points and things like that

 

 

Edit: alright found the nuke fix will try it when I finish work tonight...

 

I fixed the issue of being banned for taking ownership.  

 

Open your AH.sqf, and search for limit = 5.  Change 5 to whatever number you want (I have mine at 200).  

 

Yes it means a person could delete 200 items on your server; but you can take over bases.  I have vigilant admins, so I am not worried.

 

Share this post


Link to post
Share on other sites

What does the chunk of code in the fn_selfactions.sqf look like that handles deletebuild.  The code from my fn_selfactions looks like the following (to give you a reference).

		//Allow player to delete objects
		if(_isDestructable || _isWreck || _isRemovable || _isWreckBuilding) then {
			if(_hasToolbox && "ItemCrowbar" in _itemsPlayer) then {
				_player_deleteBuild = true;
			};
		};
		
		//Allow owners to delete modulars
  		
	if(_isModular && (_playerUID == _ownerID)) then {
            if(_hasToolbox && "ItemCrowbar" in _itemsPlayer) then {
				// diag_log text "fn_selfactions remove: [can remove modular item]";
                _player_deleteBuild = true;
            };
         };
		//Allow owners to delete modular doors without locks
		
	if(_isModularDoor && (_playerUID == _ownerID)) then {
            if(_hasToolbox && "ItemCrowbar" in _itemsPlayer) then {
				_player_deleteBuild = true;
            };		
	};	

Share this post


Link to post
Share on other sites

 

What does the chunk of code in the fn_selfactions.sqf look like that handles deletebuild.  The code from my fn_selfactions looks like the following (to give you a reference).

		//Allow player to delete objects
		if(_isDestructable || _isWreck || _isRemovable || _isWreckBuilding) then {
			if(_hasToolbox && "ItemCrowbar" in _itemsPlayer) then {
				_player_deleteBuild = true;
			};
		};
		
		//Allow owners to delete modulars
  		
	if(_isModular && (_playerUID == _ownerID)) then {
            if(_hasToolbox && "ItemCrowbar" in _itemsPlayer) then {
				// diag_log text "fn_selfactions remove: [can remove modular item]";
                _player_deleteBuild = true;
            };
         };
		//Allow owners to delete modular doors without locks
		
	if(_isModularDoor && (_playerUID == _ownerID)) then {
            if(_hasToolbox && "ItemCrowbar" in _itemsPlayer) then {
				_player_deleteBuild = true;
            };		
	};	

Ok just got home. Mine says this so I'll try your one that's properly were I'm going wrong.

      if(_isModular && (dayz_characterID == _ownerID)) then {
            if(_hasToolbox && "ItemCrowbar" in _itemsPlayer) then {
                _player_deleteBuild = true;
            };
        };
				
		if(_isModularDoor && (dayz_characterID == _ownerID)) then {
            if(_hasToolbox && "ItemCrowbar" in _itemsPlayer) then {
               _player_deleteBuild = true;
            };		
		};

I see mine has dayz_characterID and yours has _playerUID will let you know how it goes the first part that you have is the same as mine though

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By vbawol
      Open world survival mod set just two years after the mass extinction of billions of people. Those that remain are left with remnants of a once technological society. Try to survive, build, or explore your way through the harsh dynamic environment.
      Features
      Powerful persistence framework for Arma 3 with native Windows and Linux dedicated server support. Fully configurable script based security checks. Base Building re-envisioned for Arma 3 PhysX. Persistent secure and insecure storage devices. Upgradeable locking doors. Barter based economy and trading systems backed a single currency ¤ called "Krypto". Hostile Environment with several different types of antagonists, Air and Water temperature extremes, and Earthquakes. Hunting, Fishing, Tame Dogs, Explore & Loot: Wrecked ships, Abandoned vehicles and buildings, Perform task based missions and more! Open source APL-SA Epoch Survival MP gamemode. Open source APL-SA Modders resource configs and Class List. Assets can be used as a mod dependency on Steam workshop.
    • By McLovin
      NOTICE: Duplicate of another question posted in the wrong section.
       
      So I've been playing this server that has a number of mods installed. I've been playing it for quite a while with the only errors I've been getting are regarding a 45 round RPK mag being missing, but other than that I've had no errors or any issues loading. Upon trying to place a plot pole, nothing happens; absolutely nothing, like no preview shows up, no prompt saying "starting construction" or anything like that, just blankness. When I try to do it again it says "building already in progress" and I can't do anything, not even lock my vehicle. Is there anything that can be done, or that can explain this phenomenon? To further the understanding of how this came to be, I bought a plot pole from the trader in Trader City Stary and tried placing it near Stary, but not too near it (near a thicket of bushes in the distance). Upon right clicking and hitting the build option, that's when I face my issue.
    • By victorks
      my first work in editin :) https://uploaddeimagens.com.br/imagens/20180307202515_1-jpg https://uploaddeimagens.com.br/imagens/20180307202245_1-jpg DOWNLOAD: https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0 AI M2 NEED WAI: https://pastebin.com/GJMnPvZP ON THE MAP: https://pastebin.com/cyqH9rNV  
       
      https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0
       
       
       
       
       
       
       
       
       
    • By totis
      Hi
      This is a restriction to vehicle seat according to humanity.
      It may be handy to PVE servers out there.
      Special thanks to Juandayz with his fantastic skills and salival. Both sometimes working unseen for the benefit of this community.
      Step 1.
      Make a new file, Name it veh_hum.sqf with the below contents and put into dayz_epoch/addons folder. If you dont have addons just create one.
      In this example we have a hero superhero and agenthero traders with 20k/40k/60k humanity respectively. Adjust according to your needs.
       
      private ["_vehicle","_inVehicle","_driver","_humanity","_txt"]; while {true} do { _vehicle = vehicle player; _inVehicle = (_vehicle != player); if (_inVehicle) then { _driver = driver (vehicle player); if (({(isPlayer _driver) && (alive _driver)} count (crew _vehicle) > 0)) then { _humanity = _driver getVariable["humanity",0]; if (typeOf _vehicle in DZE_heroHumanity && _humanity <= 20000 || (typeOf _vehicle in DZE_superHeroHumanity && _humanity <= 40000) || (typeOf _vehicle in DZE_agentHumanity && _humanity <= 60000)) then { player action ["getOut", (vehicle player)]; titleText ["","WHITE IN"]; _txt = "<img image='addons\vehicon.paa' /><br/><t size='0.7' color='#ea2828' align='center'>prohibited vehicle</t>"; [_txt, [safezoneX, safezoneW], [0.20 * safezoneH + safezoneY, 0.3 * safezoneH], 2, 0.5] spawn BIS_fnc_dynamicText; }; }; }; sleep 3; };  Step 2: Download this file http://www.mediafire.com/file/bdpt5d96o5cttk3/vehicon.rar
      Unzip and put paa file into addons folder.
      Step 3: Edit your custom variables file    dayz_code/init/variables.sqf
      Put the vehicles you want to restrict below call dayz_resetselfactions; ike this:
      // Custom below s_givemoney_dialog = -1; s_bank_dialog = -1; s_player_checkWallet = -1; s_bank_dialog1 = -1; s_bank_dialog2 = -1; s_player_copyToKey = -1; s_player_claimVehicle = -1; s_collect_heli = -1; }; call dayz_resetSelfActions; DZE_heroHumanity = ["Mi17_rockets_RU","Mi24_D","UH1Y_DZE"]; DZE_superHeroHumanity = ["Mi24_V","Mi24_P","Ka52"]; DZE_agentHumanity = ["AV8B2","AV8B","A10","F35B"]; DZE_safeVehicle = DZE_heroHumanity + DZE_superHeroHumanity + DZE_agentHumanity +["ParachuteWest","ParachuteC"]; Step 4: Edit your init file to exec the script. Above the   (false,12)execVm.... like below
          [] execVM "addons\veh_hum.sqf";
          //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
      Thats it. Enjoy!
        Hide contents
    • By Kovicson
      Hi Folks!
      I was wondering if theres a way to stop players from removing plot poles that aren't theres?
      Using a toolbox, crowbar and Etool players can remove Plot poles that dont belong to them, anyway to fix and remove that option?
       
      Thanks :)
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...