Jump to content
RimBlock

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

Recommended Posts

On 28.5.2016 at 6:07 AM, Daddy Kropp said:

So I have that issue where people can build but not upgrade. Mind sharing what steps you took to fix that?

My problem was that I had more than one fn_selfActions.sqf so looked for the differences in the //upgrade category and changed every difference, so that it looked exactly like the selfAction.sqf from the plot for life folder

Hope that could help you with your problem

Share this post


Link to post
Share on other sites

I wanted to uninstall this, so i completely reset both dayz_server.pbo and my mission file, to the ones i had before i installed this. I also deleted the folders in the root server folder.

My server is now stuck at "Waiting for server to start authentication"

Anybody know how to fix this? Do i need to do more to uninstall it?

Share this post


Link to post
Share on other sites
41 minutes ago, TheCobra said:

I wanted to uninstall this, so i completely reset both dayz_server.pbo and my mission file, to the ones i had before i installed this. I also deleted the folders in the root server folder.

My server is now stuck at "Waiting for server to start authentication"

Anybody know how to fix this? Do i need to do more to uninstall it?

If u install it manually u can uninstall it getting back step by step, but if u copy and paste on a vanilla server, its not so easy.

see in your arma2oaserver.RPT  the errors.

Share this post


Link to post
Share on other sites
4 hours ago, juandayz said:

If u install it manually u can uninstall it getting back step by step, but if u copy and paste on a vanilla server, its not so easy.

see in your arma2oaserver.RPT  the errors.

I did uninstall it by undoing everything i had done. The only thing that worked was wiping my entire database. It works now!

Share this post


Link to post
Share on other sites

Hi community!!

 

I have a  small error and I cant seem to nip it in the butt. I am able to build items within my plot pole area. However upgrading them isn't allowed. I get the message, "plot pole nearby". Thanks any help would be great!

Share this post


Link to post
Share on other sites
On 29/07/2015 at 5:59 PM, SmokeyBR said:

found an error on client RPT

if player in combat mode and tries to build something this happens

Spoiler

Error in expression < player_build_getConfig;
 
 
_classname = _itemConfig select 0; 
_classnametmp = _>
  Error position: <_itemConfig select 0; 
_classnametmp = _>
  Error Undefined variable in expression: _itemconfig
File mpmissions\__CUR_MP.Chernarus\dayz_code\actions\modular_build.sqf, line 48

 

 

I had the same problem.  The bug is in player_build_states.sqf.  The script is checking the variable _isFine and expecting Boolean (true or false) but it's returning "Strings".

@RimBlock - The way I saw the true error was to wrap the the "[] call player_build_states;" with a waitUntil control structure.  This brought out the proper error in my RPT as to _isFine should be boolean and not strings.  Please double check because I am admitedly using a modified version of P4L but I'm fairly certain this is a bug in your release.  Correct me if I'm wrong.

To fix it open player_build_states.sqf and change the _isFine variables to Boolean like this:

Spoiler
if(!DZE_ActionInProgress) exitWith {};
//disallow building if these conditions are not met
private ["_isFine","_onLadder","_vehicle","_inVehicle"];

_isFine = true; //define variable to avoid RPT errors
_onLadder =	(getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
_vehicle = vehicle player;
_inVehicle = (_vehicle != player);

if (dayz_isSwimming) exitWith { //end script if player is swimming
	DZE_ActionInProgress = false;
	cutText [localize "str_player_26", "PLAIN DOWN"];
	_isFine = false;
	_isFine
};

if (_inVehicle) exitWith { //end script if player is in vehicle
	DZE_ActionInProgress = false;
	cutText [(localize "str_epoch_player_42"), "PLAIN DOWN"];
	_isFine = false;
	_isFine
};

if (_onLadder) exitWith { //end script if player is climbing on ladder
	DZE_ActionInProgress = false;
	cutText [localize "str_player_21", "PLAIN DOWN"];
	_isFine = false;
	_isFine
};

if (player getVariable["combattimeout", 0] >= time) exitWith { //end script if player is in combat
	DZE_ActionInProgress = false;
	cutText [(localize "str_epoch_player_43"), "PLAIN DOWN"];
	_isFine = false;
	_isFine
};

_isFine //returns string to caller, default is "ok" if conditions were not met

 

Also, however, while debugging this I also found some other nasty, and related, bugs...  

If you pass the player_build_states.sqf  (ie. you aren't swimming or in a vehicle or on a ladder) it gives you the ghost preview of the object you are about to build.  The problem is that once you have the ghost preview, you can mount a vehicle (or go swimming, or climb on a ladder) and the build doesn't get interupted.  It will infact try to build the object and although it wont actually publish the object (it sort of gets frozen during the build) this is a problem if your server supports static weapons (like mine does) because it will not stop you from mounting an unpublished weapon (or vehicle).  So for me this is not good.

So I'm sure there's a better way to fix this but my solution so far is to modify the player_build_publish.sqf to essentially recheck the player's "state".  Like so: (don't forget to ADD the extra variables to the private ["..."]  (variables array).

Spoiler
private ["_passArray","_cancel","_position","_reason","_classnametmp","_classname","_tmpbuilt","_dir","_location","_text","_limit","_isOk","_proceed","_counter","_dis","_sfx","_started","_finished","_animState","_isMedic","_num_removed","_lockable","_combinationDisplay","_combination_1","_combination_2","_combination_3","_combination_4","_combination","_combination_1_Display","_playerUID","_OwnerUID","_toohigh","_isWater","_vehicle","_inVehicle","_onLadder"];

//defines
_cancel = _this select 0;
_position = _this select 1;
_classnametmp = _this select 2;
_isAllowedUnderGround = _this select 3;
_text = _this select 4;
_isPole = _this select 5;
_lockable = _this select 6;
_dir = _this select 7;
_reason = _this select 8;
_requireplot = _this select 9;

_playerUID = [player] call FNC_GetPlayerUID;

_passArray = [];

_isOk = true;
_proceed = false;
_counter = 0;
_location = [0,0,0];

_isWater = dayz_isSwimming;
_vehicle = vehicle player;
_inVehicle = (_vehicle != player);
_onLadder =		(getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
if (_isWater) exitWith {DZE_ActionInProgress = false; cutText [localize "str_player_26", "PLAIN DOWN"];};
if (_inVehicle) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_42"), "PLAIN DOWN"];};
if (_onLadder) exitWith {DZE_ActionInProgress = false; cutText [localize "str_player_21", "PLAIN DOWN"];};

//No building on roads unless toggled
if (!DZE_BuildOnRoads) then {
	if (isOnRoad _position) then {
		_cancel = true;
		_reason = "Cannot build on a road.";
	};
};

 

If anyone knows a better way to interupt the build when the player goes swimming, gets on a ladder, or jumps in a vehicle, please let me know! 

Lastly.. OP please try to condense this mod back into player_build.sqf because this is a bit of a mess as many have already commented.  Also as an opinion I think safes, lockboxes, combos etc should not have been changed.. please change it back to normal or give people the option to keep it normal.  Nonetheless great work.  Keep it up =)

Share this post


Link to post
Share on other sites
On 2015/03/03 at 3:34 PM, RimBlock said:

They are all undefined variable errors.

 

Find out in the original files where they should be defined and make sure their initial definitions have been merged.

 

These ones are causing your issues with A Plot for Life

 

Error Undefined variable in expression: dze_aplotforlife

Error Undefined variable in expression: _playeruid

Can you explain how to fix the problem in a bit more depth?

Share this post


Link to post
Share on other sites

Hey :)

I seem to have this mod working fine.. But when i restart my server my plot and the things i build are not getting saved to the database :\ 

Any suggestions ??? 

 

Nevermind got it working fine :) 

 

Great script and fairly easy :)

Share this post


Link to post
Share on other sites
33 minutes ago, EagerBeaver said:

Hey guys :) Me again :P 

Umm how can i shorten the building time..

@ the moment it takes 3 actions to complete building something i would like it shortened to just 1 action.. ( NOT INSTANT BUILD ) 

open your init.sqf and add lines in blue:


MaxVehicleLimit = 1; // Default = 50
MaxDynamicDebris = 50; // Default = 100
dayz_MapArea = 14000; // Default = 10000
dayz_maxLocalZombies = 3; // Default = 30

dayz_paraSpawn = false;

dayz_minpos = -1;
dayz_maxpos = 16000;

DZE_SelfTransfuse = true; // default value
DZE_StaticConstructionCount = 1;

DZE_PlayerZed = false;
DZE_MissionLootTable = true;

dayz_sellDistance_vehicle = 20;
dayz_sellDistance_boat = 30;
dayz_sellDistance_air = 40;

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 xtrmsnpr
      Hello to all.

      So, the old company from {grof communty} is back,this time away from that clan.We are operating by ourselves and we have opened a new dayz mod epoch server!
      https://steamcommunity.com/groups/kirterpos

      And we want you to join us and have fun!
      It runs 24/7

      Server IP:
      144.76.99.158:2600

      Name:
      Kir Terpos Playground Epoch|DAY/NIGHT|Startkit|Custom events

      Map: Chernarus

      Slots:
      30

      Location:
      Germany


      --------

      In order to join the server, you need to download through DZlauncher these files:

      dayz Epoch 1.0.6.2

      and of course ARMA 2OA beta patch (obsolete) through STEAM.
      and arma2oa beta version from steam options!

      ---------------

      Server will restart every 6hours (no notification yet).
      Server will backup database every 8hours.

      Server has custom random events.
      Server has day/night circle (UTC+6)
      You start with custom gear,ready for PVP with a shiny m9SD and some surprises as well.

      @Sandbird is an extra feature to this server
      ---
      Discord for you:
      https://discord.gg/684KQH

      Welcome all,and we hope you like it.

      kir terpos aka kir menios aka xtrmsnpr
    • 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 UGRexie
      Dayz epoch server 
      Name: Dayz Epoch Tavi -missions-Hardcore-unitedgamers   Connection Info: 193.111.186.225:2302 Map  - Taviana
      List of mods in sever , 
      -Single Coin Currency
      Plot For Life
      Plot Management
      Group Management
      Lift & Tow
      Service points
      Custom start gear
      No weight limit
      Slow zombies
      1 Step build
      Andre Convoys
      Para Spawn
      DZAI 
      Wai Missions
      DZMS Missions
       
      -Our Server is Hardcore ,
      -if you has a idea for a mod ask a admin , 
       
       
      -Server Restart every 4 hours 
      -Admin Teamspeak support, 
        ts- ts3.unitedgamers.eu
      Server Admin - Ask in ts for them if needed,
       [UG]Chieff,[UG]Rexie
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...