Jump to content
Sign in to follow this  
Ynox

F.A.Q. - Vehicles - locking/unlocking dynamics - please contribute

Recommended Posts

Hello,

 

This post should help users that are looking for answers and have something unclear with the vehicle locking/unlocking dynamics.

 

I will edit the 1st post to keep the answers up to date. 

 

"This way" - Ill mention topics that could help specify what I mean by the question deeper and also show you I know now and am not 100% sure of

 

 

1.) What does it mean an vehicle is LOCKED?

- Only the original player that LOCKED can UNLOCK it back again? (TRUE/FALSE ?)

This is TRUE - for some time, after the LOCK timer counts off (different to each server) anyone can UNLOCK the vehicle.

 

- Server Restart clears the link between vehicle and player? (TRUE - everyone can unlock? / FALSE ?)

This is FALSE - server restarts do not affect this link - only LOCK timer (different from server to server) does.

 

- Group members can UNLOCK an vehicle that their group member locked? (TRUE/FALSE ?)

 

 

- Can be locked only when in state UNLOCKED and NOONE is sitting inside. (TRUE/FALSE ?)

This is TRUE, both must be true to LOCK a vehicle.

 

2.) What does it mean an vehicle  is UNLOCKED?

- If found UNLOCKED any player can LOCK? (TRUE/FALSE ?)

 

 

3.) Is there a way of stealing/changing ownership of an LOCKED vehicle?

- Killing the owner (he is standing next to it) - does that do anything? (TRUE / FALSE ?)

Killing the owner of an LOCKED vehicle does nothing, sorry :-(

 

- Anything else... ?

Nothing beside LOCK timer thicking off..

 

4.) LOOTING an vehicle can be done only when in UNLOCKED state, right?

True.

 

 

SCENARIOS:

 

1.) I see a guy driving a KART (obviously UNLOCKED since he is driving) and I shoot him I can take his KART and use it as if I have bought it. True/False?

This is a TRUE scenario.

 

2.) I see a LOCKED vehicle and I would really love to use it (I cant UNLOCK it - there was no restart since locking) what can I do to take ownership?

- hide and wait for the owner to come and kill him right after he unlocks

True.

 

- wait for server restart and return afterwards?

False. Server restart does not affect this. The lock timer does.

 

- anything else?

Nope. Sorry :( Lockpicks may come later

 

3.) It is 3AM and I see an empty base with a chopper on top. Obviously there has been an restart, If I come there with my friend and a chopper, am I able to steal it?

Half true half false. The restart is not important - the lock timer is, so if that is gone, you may come and steal it very much!

 

4.) If I see a chopper landing in the safezone, and I am able to hide myself, as soon as he land, and gets out, in the time of <him getting out> and <locking> am I able to LOCK his chopper?

- if all players should take care if landing going up to the safezone with players near

True. Yet, its a 'dick' move and if you do it, ur a dick. :P

 

 

Thank you

Share this post


Link to post
Share on other sites

 

SCENARIOS:

 

1.) I see a guy driving a KART (obviously UNLOCKED since he is driving) and I shoot him I can take his KART and use it as if I have bought it. True/False?

 

 

 

Yes thats True.

 

 

2.) I see a LOCKED vehicle and I would really love to use it (I cant UNLOCK it - there was no restart since locking) what can I do to take ownership?

- hide and wait for the owner to come and kill him right after he unlocks

- wait for server restart and return afterwards?

- anything else?

 

Hopefully the server runs AutoLockPicker by second_coming

 

 

 

3.) It is 3AM and I see an empty base with a chopper on top. Obviously there has been an restart, If I come there with my friend and a chopper, am I able to steal it?

 

most likely YES unless the server has changed its lock times on veh. 

 

 

4.) If I see a chopper landing in the safe-zone, and I am able to hide myself, as soon as he land, and gets out, in the time of <him getting out> and <locking> am I able to LOCK his chopper?

- if all players should take care if landing going up to the safe-zone with players near

 

i suppose so if your quick enough but personally that would be a bit of a dick move but that's just my opinion :-)

Share this post


Link to post
Share on other sites

i suppose so if your quick enough but personally that would be a bit of a dick move but that's just my opinion :-)

 

Totaly agree :D  but I was hovering my chopper over an safezone and people were gathering around and this came up to me ... :D so I flew off

Share this post


Link to post
Share on other sites
1.) What does it mean an vehicle is LOCKED?
- Only the original player that LOCKED can UNLOCK it back again? (FALSE)
- Server Restart clears the link between vehicle and player? (FALSE)
- Group members can UNLOCK an vehicle that their group member locked? (TRUE)
- Can be locked only when in state UNLOCKED and NOONE is sitting inside. (FALSE?)
 

 

 

- Server restart used to reset the link. Now it is all depending on the lock time, as specified by Server Admin. THe Time remaining until unlock is tracked and saved in the DB and thus will persist through restart. 
- I believe you are able to lock someone into the car, although I have never tried. 
 
 

2.) What does it mean an vehicle  is UNLOCKED?
- If found UNLOCKED any player can LOCK? (TRUE)
 

 

 


3.) Is there a way of stealing/changing ownership of an LOCKED vehicle?
- Killing the owner (he is standing next to it) - does that do anything? (FALSE)
- Anything else... ?

 

 

- Killing the owner after he locked it will only give the satisfaction of killing him (and looting his body/crypto).
 
4.) LOOTING an vehicle can be done only when in UNLOCKED state, right?
 
 - Yes, only when unlocked. If it is locked and you still can take things out of the vehicle, then you are either finding an exploit (report to server Admin) or having super severe lag. 
 
 
SCENARIOS:
 

2.) I see a LOCKED vehicle and I would really love to use it (I cant UNLOCK it - there was no restart since locking) what can I do to take ownership?
- hide and wait for the owner to come and kill him right after he unlocks
- wait for server restart and return afterwards?
- anything else?

 

 

By default, you cant unlock it until unlock timer have run out - camp the shit out of the vehicle and kill anyone that comes near. 
Alternatively (if not a supersized vehicle), call in a friend with a lifting Heli, hook it and fly it to a remote location you control and wait for unlock time to arrive. 
 

3.) It is 3AM and I see an empty base with a chopper on top. Obviously there has been an restart, If I come there with my friend and a chopper, am I able to steal it?

 

 

Depends on the Unlock time for vehicles - as it persists through restarts now, it all depends on Timer and how loch ago it was locked. 

Share this post


Link to post
Share on other sites

 

 

i suppose so if your quick enough but personally that would be a bit of a dick move but that's just my opinion :-)

 

It is a banable offense on most servers. No trolling in safe zones, which are usually three and with limited distance - black traders (no offense to white people). Otherwise I could just camp spawn point and jump into other people's vehicles once they buy them and fly away or even worse, kill them while they take off or drive off.

 

This rule is here for a reason.

Share this post


Link to post
Share on other sites

 

 

 
- I believe you are able to lock someone into the car, although I have never tried. 
 
 

 

I tried. I locked myself in a car once (a car that was damaged so could not drive), was scared shitless until realized I can just log out and log in and will be outside of the car. It is a glitch, I think, which happens when you lock the vehicle too quickly without getting out completely.

 

 - Yes, only when unlocked. If it is locked and you still can take things out of the vehicle, then you are either finding an exploit (report to server Admin) or having super severe lag.

 

 

Pretty much all big trucks and helicopters can be looted even if they are locked. Done it many times (to my own, of course). Another glitch (which happens only once though) when you run up to ANY vehicle and press inventory key. And are able to loot it. Also tested many times. Actually it is one of the first bugs I found out since started playing Epoch..

Share this post


Link to post
Share on other sites

Pretty much all big trucks and helicopters can be looted even if they are locked. Done it many times (to my own, of course). Another glitch (which happens only once though) when you run up to ANY vehicle and press inventory key. And are able to loot it. Also tested many times. Actually it is one of the first bugs I found out since started playing Epoch..

 

Mind reproducing a few of the situations and post an issue about it in the Epoch Issue Tracker on Github? The more people that post issues (In a way that clearly states the ISSUE, provides reproduction steps and inform about what the server is running besides just Epoch). 

(Emphasis and Bold is what I deem important in any issue reporting, be it for Epoch or professionally. So if you do enter something, please make sure anyone reading it will get all teh info - that way developers can better troubleshoot and fix things.)  :) 

Share this post


Link to post
Share on other sites

That locking myself in a car glitch I couldn't reproduce, it happens accidentally, not sure maybe it relates (probably it does) to server or client lag etc.

 

That looting locked vehicles, though, isn't very hard to reproduce, but again, it happens only once per restart (at least in my case). Let's say vehicle is locked, I get closer open my inventory and can loot the vehicle. I close inventory tried to perform same steps again - failure. So it would be pretty hard to explain. But I heard one person said that Arma 3 is just all triangles and shapes (regarding interaction) so you have to usually be very specific where you aim and yada yada (which is true) and basically it is Arma 3 thing and I don't think Epoch devs are to blame here.

Share this post


Link to post
Share on other sites

Mind reproducing a few of the situations and post an issue about it in the Epoch Issue Tracker on Github? The more people that post issues (In a way that clearly states the ISSUE, provides reproduction steps and inform about what the server is running besides just Epoch). 

(Emphasis and Bold is what I deem important in any issue reporting, be it for Epoch or professionally. So if you do enter something, please make sure anyone reading it will get all teh info - that way developers can better troubleshoot and fix things.)   :)

i think most people are aware of this and should hopefully be being looked at already

Share this post


Link to post
Share on other sites

That locking myself in a car glitch I couldn't reproduce, it happens accidentally, not sure maybe it relates (probably it does) to server or client lag etc.

 

That looting locked vehicles, though, isn't very hard to reproduce, but again, it happens only once per restart (at least in my case). Let's say vehicle is locked, I get closer open my inventory and can loot the vehicle. I close inventory tried to perform same steps again - failure. So it would be pretty hard to explain. But I heard one person said that Arma 3 is just all triangles and shapes (regarding interaction) so you have to usually be very specific where you aim and yada yada (which is true) and basically it is Arma 3 thing and I don't think Epoch devs are to blame here.

But they made the interaction thats ment to override it in the first place. so they should be able to fix it

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...
Sign in to follow this  

  • Similar Content

    • By thegdog
      2:08:04 Error Type Any, expected String 2:08:04 File z\addons\dayz_server\compile\server_playerSync.sqf, line 41 2:08:12 Server: Object 3:54 not found (message 70) 2:08:12 "Server_PublishVehicle2 error: Wrong parameter format" 2:08:12 "Trader Menu: jeffdog (76561198147272349) purchased 1x BAF_Merlin_DZE into gear at Aircraft Trader for 1 ItemObsidian" 2:08:12 Error in expression <ceFoot = 0; trying to buy aircraft from the default aircraft trader.  never touched any of it and it giving this error.  no vehicle spawns.  it shows the arrow.  EDIT:  i tried other traders, all vehicles dont spawn when bought.
    • By webbie
      Hi all, Ive been looking for a while now for a vehicle flip script for a single player.
      Ive tried stuff ive used on previous servers but its not allowing the option so im guessing epoch has something that interferes with it.
      If anyone knows of a simple script to allow players to do this could you link it to me please,
      Thanks in advance.
      PS. Im aware the jacks flip vehicles but I actually  find this to be incredibly painstaking unless theirs a trick to it.
    • By Honey Bee
      Hallo zusammen,
      Die glorreiche Idee den Fahrzeugen das Volumen zu nehmen war jetzt nicht gerade der Bringer. Alle beschweren. Jetzt hab ich mal geschaut aber finde nix wo die Kapazität der Fahrzeuge drin steht. Jemand Erfahrung damit?
       
      Hi,
      how can i change the Vehicle capacity?
       
      THX
    • By randall421
      The loot spawning on my server will respawn or cycle right infrnt of you if you move more than 5m away or if someone else near you moves 5ft away. I check player_spawncheck.sqf and it looks fine. 
      player_spawncheck.sqf 
      //player_spawncheck.sqf private ["_isWreck","_maxControlledZombies","_looted","_zombied","_doNothing","_spawnZedRadius","_serverTime","_age","_nearbyBuildings","_position","_speed","_radius","_maxlocalspawned","_maxWeaponHolders","_currentWeaponHolders","_maxtoCreate","_inVehicle","_isAir","_isLand","_isSea","_Controlledzeddivided","_totalcrew","_nearby","_type","_config","_canSpawn","_dis","_checkLoot","_islocal","_bPos","_zombiesNum"]; _age = -1; //_nearbyBuildings = []; _position = [player] call fnc_getPos; _speed = speed (vehicle player); _radius = 200; //150*0.707; Pointless Processing (106.5) _spawnZedRadius = 20; /* //Tick Time PVDZ_getTickTime = player; publicVariableServer "PVDZ_getTickTime"; */ //Total Counts _maxlocalspawned = round(dayz_spawnZombies); _maxControlledZombies = round(dayz_maxLocalZombies); _maxWeaponHolders = round(dayz_maxMaxWeaponHolders); _currentWeaponHolders = round(dayz_currentWeaponHolders); //Limits (Land,Sea,Air) _inVehicle = (vehicle player != player); /* _isAir = vehicle player iskindof "Air"; _isLand = vehicle player iskindof "Land"; _isSea = vehicle player iskindof "Sea"; if (_isLand) then { } else { }; if (_isAir) then { } else { }; if (_isSea) then { } else { }; */ _doNothing = false; if (_inVehicle) then { _Controlledzeddivided = 0; //exit if too fast if (_speed > 25) exitwith {_doNothing = true;}; //Crew can spawn zeds. _totalcrew = count (crew (vehicle player)); if (_totalcrew > 1) then { _Controlledzeddivided = 2; //Dont allow driver to spawn if we have other crew members. if (player == driver (vehicle player)) exitwith {_doNothing = true;}; } else { _Controlledzeddivided = 4; }; if (_Controlledzeddivided > 0) then { _maxControlledZombies = round(_maxControlledZombies / _Controlledzeddivided); r_player_divideinvehicle = _Controlledzeddivided; }; }; if (_doNothing) exitwith {}; /*if ("ItemMap_Debug" in items player) then { deleteMarkerLocal "MaxZeds"; deleteMarkerLocal "Counter"; deleteMarkerLocal "Loot30"; deleteMarkerLocal "Loot120"; deleteMarkerLocal "Agro80"; _markerstr = createMarkerLocal ["MaxZeds", _position]; _markerstr setMarkerColorLocal "ColorYellow"; _markerstr setMarkerShapeLocal "ELLIPSE"; _markerstr setMarkerBrushLocal "Border"; _markerstr setMarkerSizeLocal [_radius, _radius]; _markerstr1 = createMarkerLocal ["Counter", _position]; _markerstr1 setMarkerColorLocal "ColorRed"; _markerstr1 setMarkerShapeLocal "ELLIPSE"; _markerstr1 setMarkerBrushLocal "Border"; _markerstr1 setMarkerSizeLocal [_radius+100, _radius+100]; _markerstr2 = createMarkerLocal ["Agro80", _position]; _markerstr2 setMarkerColorLocal "ColorRed"; _markerstr2 setMarkerShapeLocal "ELLIPSE"; _markerstr2 setMarkerBrushLocal "Border"; _markerstr2 setMarkerSizeLocal [80, 80]; _markerstr2 = createMarkerLocal ["Loot30", _position]; _markerstr2 setMarkerColorLocal "ColorRed"; _markerstr2 setMarkerShapeLocal "ELLIPSE"; _markerstr2 setMarkerBrushLocal "Border"; _markerstr2 setMarkerSizeLocal [30, 30]; _markerstr3 = createMarkerLocal ["Loot120", _position]; _markerstr3 setMarkerColorLocal "ColorBlue"; _markerstr3 setMarkerShapeLocal "ELLIPSE"; _markerstr3 setMarkerBrushLocal "Border"; _markerstr3 setMarkerSizeLocal [120, 120]; diag_log ("LocalZombies: " +str(dayz_spawnZombies) + "/" +str(dayz_maxLocalZombies)); //Logging diag_log (format["%1 Local.Agents: %2/%3, NearBy.Agents: %8/%9, Global.Agents: %6/%7, W.holders: %10/%11, (radius:%4m %5fps).","SpawnCheck", _maxlocalspawned, _maxControlledZombies, _radius, round diag_fpsmin,dayz_currentGlobalZombies, dayz_maxGlobalZeds, dayz_CurrentNearByZombies, dayz_maxNearByZombies, _currentWeaponHolders,_maxWeaponHolders]); };*/ // nearObjects is faster than nearestObjects when sorting by distance isn't needed // "Building" includes House and all of its child classes (Crashsite, IC_Fireplace1, IC_Tent, etc.) _nearby = _position nearObjects ["Building",_radius]; _maxlocalspawned = _maxlocalspawned max floor(_maxControlledZombies*.8); if (_maxlocalspawned > 0) then { _spawnZedRadius = _spawnZedRadius * 3; }; //Spawn Zeds & loot in buildings { _type = typeOf _x; _config = missionConfigFile >> "CfgLoot" >> "Buildings" >> _type; _canSpawn = isClass (_config); if (_canSpawn) then { _dis = _x distance player; _checkLoot = (count (getArray (_config >> "lootPos"))) > 0; _islocal = _x getVariable ["", false]; // object created locally via TownGenerator. //Make sure wrecks always spawn Zeds _isWreck = _x isKindOf "CrashSite"; //Loot if (getNumber(_config >> "lootChance") > 0) then { if (_currentWeaponHolders < _maxWeaponHolders) then { //Basic loot check if ((_dis < 125) and (_dis > 30) and !_inVehicle and _checkLoot) then { _serverTime = serverTime; _looted = (_x getVariable ["looted",_serverTime]); _age = _serverTime - _looted; //Building refresh rate if (_age == 0 or (_age > getNumber(_config >> "lootRefreshTimer"))) then { _x setVariable ["looted",_serverTime,!_islocal]; _x call building_spawnLoot; if (!(_x in dayz_buildingBubbleMonitor)) then { dayz_buildingBubbleMonitor set [count dayz_buildingBubbleMonitor, _x]; }; //diag_log [ diag_tickTime, "new loot at",_x,"age:", _age, "serverTime:", _serverTime]; }/* else { diag_log [ diag_tickTime, "won't spawn loot at",_x,"age:", _age, "serverTime:", _serverTime]; }*/; }; }; }; //Zeds if (getNumber(_config >> "zombieChance") > 0) then { if (_dis > _spawnZedRadius) then { _serverTime = serverTime; _zombied = (_x getVariable ["zombieSpawn",_serverTime]); _age = _serverTime - _zombied; if ((_age == 0) or (_age > 300)) then { if (!_isWreck) then { if ((dayz_spawnZombies < _maxControlledZombies) and (dayz_CurrentNearByZombies < dayz_maxNearByZombies) and (dayz_currentGlobalZombies < dayz_maxGlobalZeds)) then { _bPos = getPosATL _x; _zombiesNum = count (_bPos nearEntities ["zZombie_Base",(((sizeOf _type) * 2) + 10)]); if (_zombiesNum == 0) then { _x setVariable ["zombieSpawn",_serverTime,!_islocal]; if (!(_x in dayz_buildingBubbleMonitor)) then { //add active zed to var dayz_buildingBubbleMonitor set [count dayz_buildingBubbleMonitor, _x]; }; //start spawn [_x] call building_spawnZombies; }; //diag_log (format["%1 building. %2", __FILE__, _x]); }; } else { _bPos = getPosATL _x; _zombiesNum = count (_bPos nearEntities ["zZombie_Base",(((sizeOf _type) * 2) + 30)]); //Should be a wreck if (_zombiesNum == 0) then { [_x,_isWreck] call building_spawnZombies; }; }; }; }; }; }; } forEach _nearby; At first I thought it was a respawn timer issue or something like that but if you don't move the loot will stay, you have to back away from it or someone else has to get within range and its not like you have to run away for this to happen, you can just back up a few steps and watch the loot change right infront of you. I have been playing around with it just trying to see if i can figure it out but if anyone knows what i should do or can at least point me in the right direction it would be a huge help.
       
      Thanks
    • By unconditional
      Hi everybody,
      scuse me for intrusion :)
      If I did not make mistakes ... maybe I could create a script to unlock the doors through use of the hotwirekit...
      I did not understand how the system of credits on scripts works ... so I want to clarify that my work was based on a script of @salival to which I wrote in private before publishing this. I waited a week but not having received an answer...i think it is still right to make available to the community as much as I did...
      So all the credits go @salival because i am based on his garagedooropener...
      Now...this is my work:
      -1) custom variable.sqf:
      -2) custom fn_selfActions.sqf:
      -3) in custom script folder (under mission folder);
      red text in the script below is needed only if you want to log in .rpt when someone try a hotwiring. If you want this, you have to leave red text in the script and you also have to do step 4
       
      STEP 4 and 5 to do ONLY if you want to see log in .rpt
      -4) in inf.sqf (mission folder);
      -5) in custom script folder (under mission folder);
      - FINISH :-)
      Obviously i think it can be improved and for this reason i make it public, so that those who know more than me can suggest additions or modifications...

      For example ... I added a public variable to know via the .rpt file when a hotwire was used and whether it was successful or not.
      Maybe you can also add a routine to signal in the map or through text message for all the players that someone is trying to force a door...

      I tried it on my server and it seems to work fine.

      I await your observations and suggestions.

      I repeat: ALL CREDITS GO TO @SALIVAL

      Thanks for the attention.
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...