Jump to content
RimBlock

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

Recommended Posts

That did the trick.

 

And sorry to say but another, a bit bigger problem: cant unlock safes, obviously dont know about locking them. Straight on I get "open locked safe" and on trying it the game complains about wrong code.

 

compiles.sqf

 

fn_selfactions.sqf

 

player_lockvault.sqf

 

player_unlockvault.sqf

 

As I use Zupa's there are few added lines.

 

Replaced lock/unlock sqf files with those that come with P4L 2.5, faffed a bit and now its working. As I have not played stock Epoch I must ask: is it normal to be able to open and lock safes without codes?

Share this post


Link to post
Share on other sites

That did the trick.

 

And sorry to say but another, a bit bigger problem: cant unlock safes, obviously dont know about locking them. Straight on I get "open locked safe" and on trying it the game complains about wrong code.

 

compiles.sqf

 

fn_selfactions.sqf

 

player_lockvault.sqf

 

player_unlockvault.sqf

 

As I use Zupa's there are few added lines.

 

Replaced lock/unlock sqf files with those that come with P4L 2.5, faffed a bit and now its working. As I have not played stock Epoch I must ask: is it normal to be able to open and lock safes without codes?

 

The ability for the safe or locks owner to be able to unlock a safe / lock without supplying a code is in Epoch vanilla but it could not be used as the owner is identified by the value in the characterID field which is used for the unlock code for these objects.  By moving the ownership details to another place, this is now working as it should. 

 

It is also quite easy to disable if people do not like it.

Share this post


Link to post
Share on other sites

some people even reported disappearing plotpoles...  This seems to be a bug whenever the server restarts... Cus they are still marked on the map?

RPT says this:
_object setdir _dir;
_object setposATL _pos;
_object se>
14:46:32   Error position: <_dir;
_object setposATL _pos;
_object se>
14:46:32   Error Undefined variable in expression: _dir
14:46:32 File z\addons\dayz_server\system\server_monitor.sqf, line 196
14:46:33 "MOVED OBJ: "21809" of class TentStorage to pos: [9590.77,8288.5,0]"
14:46:33 Error in expression <eCargoGlobal  _object;


Server_monitor.sqf:   http://pastebin.com/N9SWe7YX

Share this post


Link to post
Share on other sites

check last updated in the object_data table of the DB.  Sounds like it is not storing the cars location.

 

Pastebin the entire server log.  It is much more helpful than the server_monitor.sqf or other sqf files for initial investigation.

Share this post


Link to post
Share on other sites

check last updated in the object_data table of the DB.  Sounds like it is not storing the cars location.

 

Pastebin the entire server log.  It is much more helpful than the server_monitor.sqf or other sqf files for initial investigation.

Update: Anythign someone places down vanishes on restart too. Safes and plots disappeared if placed now that I installed P4L. I will paste the whole log here.

EDIT:

http://pastebin.com/B3CZVfiH

There you go, spams with undefined variables I think...

Share this post


Link to post
Share on other sites

UPDATE: Backed up my old files see if it would fix it, still get the same error in the RPT saying stuff about undefined variables in server_monitor.sqf.


Vehicles TP back where they were on restart, and safes and plotpoles placed down or anything new placed down will instantly vanish on restart (its pretty much not saving any vehicle)

Share this post


Link to post
Share on other sites

I will have a quick scan through to see if I can see an obvious point where the issue is starting.

 

Select some vehicles that are giving the undefined variable error and post up the records for those vehicles from the object_data DB table.  It sounds like the worldspace is not formatted as it should be in the DB.  The failure to update position etc sounds like a seperate 2nd issue.

Share this post


Link to post
Share on other sites

I will have a quick scan through to see if I can see an obvious point where the issue is starting.

 

Select some vehicles that are giving the undefined variable error and post up the records for those vehicles from the object_data DB table.  It sounds like the worldspace is not formatted as it should be in the DB.  The failure to update position etc sounds like a seperate 2nd issue.

I backed up my old files and it seems to work now... Had to rollback 3 days though :/

Once I give it a shot again ill do that, because yeah it is a pretty odd bug...

Share this post


Link to post
Share on other sites

On version 2.35 me and my players started noticing that when a player dies he does't have the ability to build anymore on the plot pole. Also with the snap build pro the F function has stopped working, I am not sure why these things are happening, I installed everything correctly, could there be any reason why these things are happening?

Share this post


Link to post
Share on other sites

After all my attempts to get this working, I am willing to donate some money to a good scripter that can install this for me please.


I will provide my actual working files, and I want this mod installed... Please.... HELP ME. Weird errors that make no sense keep poping up...

Share this post


Link to post
Share on other sites

I will have a quick scan through to see if I can see an obvious point where the issue is starting.

 

Select some vehicles that are giving the undefined variable error and post up the records for those vehicles from the object_data DB table.  It sounds like the worldspace is not formatted as it should be in the DB.  The failure to update position etc sounds like a seperate 2nd issue.

It started doing it again even though I reverted to old files... no idea on whats going on...

Here are some vehicles from the object_data table you asked for:

(21878, 13959312202049235, 11, 'WoodFloorQuarter_DZ', '2015-02-11 17:29:29', '2015-02-11 22:29:29', 6984, '[any,any,"76561198098327802"]', '[]', '[]', 0.00000, 0.00000),

(21769, 735259251115, 11, 'CinderWallHalf_DZ', '2015-02-11 00:06:16', '2015-02-11 05:06:16', 6822, '[any,any,"76561198002866664"]', '[]', '[]', 0.00000, 0.00000),

etc... It says any any in the database coords.

Share this post


Link to post
Share on other sites

The ability for the safe or locks owner to be able to unlock a safe / lock without supplying a code is in Epoch vanilla but it could not be used as the owner is identified by the value in the characterID field which is used for the unlock code for these objects.  By moving the ownership details to another place, this is now working as it should. 

 

It is also quite easy to disable if people do not like it.

 

Do tell. Just in case I get whined at enough.

Share this post


Link to post
Share on other sites

It started doing it again even though I reverted to old files... no idea on whats going on...

Here are some vehicles from the object_data table you asked for:

(21878, 13959312202049235, 11, 'WoodFloorQuarter_DZ', '2015-02-11 17:29:29', '2015-02-11 22:29:29', 6984, '[any,any,"76561198098327802"]', '[]', '[]', 0.00000, 0.00000),

(21769, 735259251115, 11, 'CinderWallHalf_DZ', '2015-02-11 00:06:16', '2015-02-11 05:06:16', 6822, '[any,any,"76561198002866664"]', '[]', '[]', 0.00000, 0.00000),

etc... It says any any in the database coords.

 

 

Search for KK_functions in your log file.  I saw the message that it cannot find them. 

 

These functions are used by Precise Base Building to allow the saving of accurate item coords.  If the function cannot be found then that would explain why the worldspace values in the DB are messed up.  It would also explain why the server_monitor is complaining on server startup as the data it is being provided is incorrect.   The problem is saving the objects and not loading them (well this problem anyway).

 

Link it is correctly and see what happens. 

Share this post


Link to post
Share on other sites

Do tell. Just in case I get whined at enough.

 

Open fn_selfactions

 

Search for the following in the sections that deal with vaults (search the file for "vault").

if(_characterID == dayz_combination || _ownerID == _playerUID) then {

and change to

if(_characterID == dayz_combination) then {

Share this post


Link to post
Share on other sites

Hi guys! I've got following problem - after death you still need to replace plot pole and you can't upgrade walls nor doors.

 

Here is video - http://youtu.be/IMoce4S7fes

 

Which files do you want me to upload or maybe you already know where the problem is? I'm running Overpoch Origins from GTX, so I couldn't just change my fn_selseActions and etc and I had to manually merge them, so probably some file isn't being called correctly or maybe some variables are fucked...

 

RPT - https://www.dropbox.com/s/8py12b8gb9o4egd/8822.RPT?dl=0

Share this post


Link to post
Share on other sites

Propably a stupid question but I never used this before: 

Is it possible to also save PlayerID for things placed BEFORE P4L was installed? Maybe with taking over ownership or sth?

 

The Take Ownership option was designed for this purpose :) .

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