Jump to content
  • 0
Sign in to follow this  
shote

Trader Vehicle

Question

Hello all,

Im here to share one problem i have. At my custom trader for example I buy one random vehicle. Then the vehicle still be at the first spawn position, then one random player buy another vehicle and it spawn inside the first car i buyed. Then I jump in for move and all get explote, like big bomb...

 

So someone understand me? I search a lot of time for that mistake and i get not answer. I hope someone can help me please...

Thanks

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

afaik this is a common issue when buying vehicles cuz they spawn always at the same position.

one thing you can do is - will not solve your problem - use a script that teleports your vehicles out of the safe/buyzone" after restart.
another idea is to check the responsible script that will spawn bought vehicles and add a random offset.
sry, cant help you more, its above my level of coding.

Good luck,
Z.

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
Answer this question...

×   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 draco-nobilis
      Can anyone help with changing the trader scenery map items.
      I believe that the trader map items are set in  dayz_code/system/mission/"***whatever map***.sqf
      I have made changes to coordinates and item class name but when I check on server nothing has altered 
      I even deleted all but one item and still all was same 
      When i removed the init call for this file every thing vanished  this i think seems to suggest it is correct file
      i am a bit confused . I could  remove all and make complete new map additions with editor but would like to use existing method.
      I can add and moved the actual traders   but not their suroundings
    • By salival
      Locate Vehicle is part of Epoch 1.0.7.1 now.
       
      Tested as working on a blank Epoch 1.0.7
      This adds support for multiple vehicles per key (https://github.com/oiad/vkc)
      Designed to be light weight and optimized.
      REPORTING ERRORS/PROBLEMS
      Please, if you report issues can you please attach (on pastebin or similar) your CLIENT rpt log file as this helps find out the errors very quickly. To find this logfile:
      C:\users\<YOUR WINDOWS USERNAME>\AppData\Local\Arma 2 OA\ArmA2OA.RPT Install:
      This uses Click Actions by Mudzereli as a dependancy: https://github.com/mudzereli/DayZEpochDeployableBike/tree/master/overwrites/click_actions LocateVehicle GitHub Repo
      >> Download <<
       
       
      **** For Epoch 1.0.6.2 only **** >> Download <<
      Visit this link: https://github.com/oiad/locateVehicle/tree/locateVehicle-Epoch-1.0.6.2
    • By Harkness
      Please consider joining our custom Epoch | DayZ | Expansion | Namalsk or Takistan servers, we have 2 long term Admins on both UK/US continents and run our servers completely for charity and from 100% clean and renewable energy too!
      Click here to join our Discord for more information
      DayZSA Expansion Namalsk     |     DayZSA Expansion Takistan     |     A2 DayZ Epoch Namalsk
      86.10.6.13:2402            |     86.10.6.13:2602             |          86.10.6.13:2302
      Custom Content:

      - Armed Roaming / Dynamic AI Bandit Patrols
      - Custom Land and Air Trader Camps
      - Banking and Wallets
      - Customization Land Rovers
      - Advanced Weaponry
      - No Vehicle Crash Damage & Fix Vehicle Positions
      - More weapons packs, loot+, vehicles+, custom clothing & backpacks
      - Bounty Hunting
      - Unlimited Stamina
      - PvP & Raiding
      - Modular Vests
      - Igloo Crafting
      Thanks we hope to see you there!
      CPU: Xeon-X5690 @ 3.46GHz
      RAM: 16GB
      Storage: SSD
      Additional Features:
      ATM Banking | More Weapons | More Cars | More Loot | Namalsk Igloo | Light Saber Mod | No-Vehicle-Crash-Damage | Trader Wallet - Money/Item Storage | Custom Namalsk Spawn Selection | Custom Trader Cities | All items added to traders |Namalsk Airdrops | | Notification System | Territories System | Auto-run System | No Stamina System | Safezone System | Mission System | Skin System | Map UI and 2D/3D Markers System | KillFeed System | Towing System | Player Attachment | Custom lighting | Custom interiors | Custom ocean | Working Street lights | Builderitems | Gravecross | KillFeed | Notifications | Gravecross | Horn | Autorun | No stamina | MoreGuns | Street lights | Car Keys | CodeLock | Map UI and 2D/3D Markers | Global/Transport/Party Chat | Book (Server Info, Rules, player stats | party management | territory management) System
    • By AntZ
      Hey there! I just set up an Overpoch Chernarus server on a server provider but the vehicle traders aren't spawning the vehicles when you buy them. The trader takes your gold bars, gives you a key, then a red arrow appears over where the vehicle Should spawn, but nothing appears. After restarting the server all the vehicles that were bought appear right on top of the spot where they were Suppose to show up.
      -I Do Not have infistar installed
      -I'm using worldwidesorrow's admin tools from here: https://github.com/worldwidesorrow/Epoch-Admin-Tools/tree/TestBranch
      -But just in case I removed the admin tool and tested the vehicle traders again but still no luck.
      Here is my server RPT: 
       
      Can someone please look into this. This is the exact issue discussed in this post but the solution doesn't apply in my case.
       
    • By Brian Soanes
      To unlock vehicles left in your traders over a server restart, open your epoch_server.pbo

      In epoch_server\compile\epoch_vehicle\EPOCH_load_vehicles.sqf
      Find
      if (_allowDamage) then { Just above that, add this
      A3E_SafeZonePosArray = [ [[18451.9,14278.1,0]], //Altis East trader [[13333.5,14494.3,0]], //Altis Central trader [[6192.46,16834,0]] //Altis West trader ]; { if (_vehicle distance (_x select 0) < 200) then { _vehicle lock false; diag_log format["Vehicle %1 left in trader unlocked @ %2", _class, mapGridPosition _vehicle]; }; } forEach A3E_SafeZonePosArray; Pack pbo and you're good to go
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...