DayZ
Trader
Showing 11-20 of 47 entries
< 1  2  3  4  5 >
Update: Feb 8, 2024 @ 10:04am

- Fixed grenades exploding in safezones
- Fixed trader notifications staying on screen after respawning
- Potentially fixed trader log files being generated on clients
- Changed NPCs and players to not be targetable by AI(animals and infected) while in safezone
- Changed NPC traders to not be targetable by AI (even if not in safezone)
- Changed so you can't melee in safezones anymore
- Changed so cars get no damage in safezones | attachments seem to still take damage
- Removed Check Pulse action from NPC traders
- Disabled contaminated area exposure when in safezone/godmode
- Changed so throwing chem gas grenade doesn't create local contaminated area in safezone (This applies if put in fireplace too)
- Contaminated local area will be deleted if it is created in any way in safezone
- Disabled M79 ammo explosion/gas when fired into safezone

Update: Feb 4, 2024 @ 4:32am

- Fixed traders closing and being out of whack when using config that was out of order

Update: Feb 4, 2024 @ 3:17am

- Changed how we recognise traders in the action to trade. In the previous version, the mod was checking distance to a trader for grabbing which trader we are interacting with. This is a very wrong method. This has been changed to assign the trader marker ID to the NPC or vending machines themselves(or other type of thing you use for trading). Now distance doesn't matter anymore. The new variable added is just purely for showing the prompt from closer or further away.
- Added new variable: <TradingDistance> 2.4 (1.0 to 3.0 allowed. Don't put higher than 3.0 as it won't work. Trading distance from a trader to get the prompt to trade.) This is for TraderVariables.txt file
- Changed some flags for spawning trader objects which might fix them despawning for some. This will cause "persistent items" like trash cans and barrels to respawn every restart.
- Fixed items not showing in trader list because they have Kit in the name
- Changed how we recognise the vehicle spawn blocking when buying a vehicle. It will now ignore any buildings that might be "in the way".

DO NOT USE TRADER OBJECTS TO SPAWN TRADING AREAS. Use the trader objects ONLY for traders or barrels. There's better ways of spawning custom trading areas like vanilla system or DayZ Editor. If you use TraderObjects to spawn these areas, you risk for stuff to fall through the floors.

Update: Feb 3, 2024 @ 6:31am

- Added m_Trader_IsInSafezone backwards compatibility fix. This will let servers start but it might not work as intended. The mods should update to use new function.

- Added showTraderMessage back in DayZPlayerImplement. Layout seems to still be complaining about this. Any more than this i can't do anything if this doesn't fix it.

Update: Feb 3, 2024 @ 4:55am

Fixed wrong link to experimental version

Update: Feb 3, 2024 @ 4:31am

Important things to know about this update:
1. Safezones have been changed drastically to improve performance. New variables have been added. Read the patch notes. If you don't put these variables in the mod will still run fine.
2. Barrels have been changed drastically as well to improve performance. Delete the old ones and let new ones to spawn.
3. There's been a lot of small QOL changes but no massive changes are needed for your configs. Again, please read patch notes.
4. REMOVE TRADER FIXES AND FEATURES BY HELKHIANA! This has been integrated in the mod now. Yes, you'll have search bar and tick box now by default.
5. Due to a lot of cleanup, some mods dependent on this might cause issues. I've tried my best to keep compatibility.



Patch notes:
- Integrated “Trader fixes and improvements” mod by Helkhiana. You don’t need to run this anymore.
- Added player trades log. This is a separate file created in your profiles folder e.g. `TM_TradesLog_2024-01-13_13-41-00.log`
- Changed all trader logs to it’s own file e.g. `TM_GeneralLogs_2024-01-13_13-41-00.log`
- Changed some of the log entries when reading the config to make it more clear what we just read from config
- Changed safe zones to a new system. These use zone triggers and are more efficient. The new safezones have a height of 50m positive and 50m negative.
- Added 2 new variables for TraderVariables.txt
* `<SafezoneRemoveAnimals> yes`
* `<SafezoneRemoveInfected> yes`
* If these variables are not added in TraderVariables config, it will default to no. So it will not remove the animals and infected in safe zones
* These variables will only recognize Yes or yes . Any other value will result in a no.
* `<ZombieCleanupTimer>` is not required anymore
- Fixed spawning of persistent trader objects. If the trader object is a persistent item( Barrel, Trash can) and it finds one of the same type in position, it will not spawn again.
This will be logged in log file: `13:12:59 | TraderObject: BarrelHoles_Red was found already at <6353.000000, 301.019989, 7678.000000>. Persistent item won't be spawned again.`
- Changed Fire barrels forever burning logic to a more efficient way. `<FireBarrelUpdateTimer>` in TraderVariables.txt is not required anymore
* You will have to delete your current barrels and let the system spawn new ones at restart for these to work.
- Changed so vehicle parts will spawn in inventory if they cannot be attached. This means you can add custom keys or other items to spawn with your vehicles when you sell them
- Fixed a bug where vehicle classname wasn’t matching due to casing
- Changed the spawning of vehicles to be more performant
- Added Cargo Size to the trading menu for items with cargo (including vehicles)
- Changed so in safezones voice level is whisper (lowest level)
- Changed how checking vehicle spawn position block works. This should now allow raised platforms.
- Changed so weapon/hands raising is allowed in safezones
- Changed dummy traders(objects) to be compared using lowercase for edge case scenarios where people don't use the right casing
- Added a new optional TraderVariables `<SafezoneShowDebugShape> yes` . This is used in DIAG exe only. Put it in your config only if you wish to show debug cylinders around your safezones. This will help server owners to determine where the zones overlap and where they end. This is meant only for testing purposes.
- Fixed an error for ActionDetach when using it on non car targets
- Removed `<StatUpdateTimer>` as it's not used anymore. You can remove it from your config
- Optimized the trader notifications
* Entering a safezone will now show a green message
* Exiting a safezone will show a red message
- Fixed some missing ; and bad downcastings warnings
- Added TireRepairKit to the kit ignore array (this missing was causing it to be considered a kit item)
- Changed trade distance from NPC/Item to 3 meters (you cannot do more than this)
* Added a static function TR_Helper.GetTraderAllowedTradeDistance() which you can override if you want to change the trade distance through a mod
- Updated example configs in the mod folder to the latest version (Thanks Scalespeeder)
- Added types example for rubles in the mod folder
* Both of these are now in a folder called extras
* These will be kept more up to date on github: https://github.com/helkhiana/DrJ0nes-Trader-Config

There may be some other small changes that I forgot to write down. This is a pretty big update but it has been tested on experimental and there has been positive feedback.
If you encounter any issues please report them on Discord https://discord.gg/AgRSUVmFga.

~Helkhiana

Update: Feb 15, 2021 @ 1:34pm

ADDED FEATURES:
- Added compatibility for DayZ Version 1.11.
- Added the Possibility to add a Key to an Vehicle if the Key got lost or the Vehicle did not had an Key before. Thanks to 'inkihh'!
- Added improved Brazilian Portuguese. Thanks to 'TH' and 'Avallanche'!
- Added some Items in the default Trader Config Files.

FIXES:
- Fixed some small Errors.

NEEDED CHANGES FOR SERVER OWNERS:
- Redo Step 1 - 8 on the Server Installation Instructions
- Redo Step 15 - 18 on the Server Installation Instructions or follow the next Instrcutions
- The TraderConfig.txt and TraderVehicleParts.txt Files have changed! If you already made some changes to this Files please change the following lines inside the Files:

# TraderConfig.txt:

Below this line:
"SledgeHammer, *, 12, 6"
add the following line:
"PipeWrench, W, 15, 7"

Below this line:
"<Category> Sidearms"
add the following line:
"Flaregun, W, 80, 40"

Below this line:
"Ammo_762x39Tracer, 1, 10, 5"
add the following lines:
"Ammo_Flare, 1, 15, 7
Ammo_FlareBlue, 1, 15, 7
Ammo_FlareGreen, 1, 15, 7
Ammo_FlareRed, 1, 15, 7"

Below this line:
"CivilianSedan_Black, V, 20000, 11000"
add the following lines:
"Truck_01_Covered, V, 50000, 30000
Truck_01_Covered_Blue, V, 50000, 30000
Truck_01_Covered_Orange,V, 50000, 30000"

Below this line:
"CivSedanWheel, *, 600, 120"
add the following lines:
"Truck_01_Hood, *, 400, 140
Truck_01_Hood_Blue, *, 400, 140
Truck_01_Hood_Orange, *, 400, 140
Truck_01_Door_1_1, *, 500, 180
Truck_01_Door_1_1_Blue, *, 500, 180
Truck_01_Door_1_1_Orange, *, 500, 180
Truck_01_Door_2_1, *, 500, 180
Truck_01_Door_2_1_Blue, *, 500, 180
Truck_01_Door_2_1_Orange, *, 500, 180
Truck_01_Wheel, *, 600, 120
Truck_01_WheelDouble, *, 1000, 200"

Below this line:
"VehicleKeyDuplicate, K, 2000, -1 // The choosen Classname here only gets displayed in the UI (Name/Description); Make Sure SellValue is set to -1"
add the following line:
"VehicleKeyLost, KL, 5000, -1 // The choosen Classname here only gets displayed in the UI (Name/Description); Make Sure SellValue is set to -1"

# TraderVehicleParts.txt:

After this lines:
"<VehicleParts> Sedan_02_Grey
SparkPlug
CarBattery
CarRadiator
HeadlightH7
HeadlightH7
Sedan_02_Door_1_1_Grey
Sedan_02_Door_1_2_Grey
Sedan_02_Door_2_1_Grey
Sedan_02_Door_2_2_Grey
Sedan_02_Hood_Grey
Sedan_02_Trunk_Grey
Sedan_02_Wheel
Sedan_02_Wheel
Sedan_02_Wheel
Sedan_02_Wheel"
add the following lines:
"
<VehicleParts>Truck_01_Covered
TruckBattery
Truck_01_Door_1_1
Truck_01_Door_2_1
Truck_01_Hood
Truck_01_Wheel
Truck_01_WheelDouble
SparkPlug
HeadlightH7
HeadlightH7
CarRadiator
Truck_01_Wheel
Truck_01_WheelDouble
Truck_01_WheelDouble
Truck_01_WheelDouble

<VehicleParts>Truck_01_Covered_Blue
TruckBattery
Truck_01_Wheel
Truck_01_WheelDouble
Truck_01_Hood_Blue
Truck_01_Door_2_1_Blue
Truck_01_Door_1_1_Blue
SparkPlug
HeadlightH7
HeadlightH7
CarRadiator
Truck_01_Wheel
Truck_01_WheelDouble
Truck_01_WheelDouble
Truck_01_WheelDouble

<VehicleParts>Truck_01_Covered_Orange
TruckBattery
Truck_01_Wheel
Truck_01_WheelDouble
Truck_01_Hood_Orange
Truck_01_Door_2_1_Orange
Truck_01_Door_1_1_Orange
SparkPlug
HeadlightH7
HeadlightH7
CarRadiator
Truck_01_Wheel
Truck_01_WheelDouble
Truck_01_WheelDouble
Truck_01_WheelDouble"

Update: Nov 4, 2020 @ 12:59pm

ADDED FEATURES:
- Added compatibility for DayZ Version 1.10.
- Grenades and Smokes are now disabled in Safezones.
- Added Modding Support to identify if the Server uses the Trader mod ("#ifdef TRADER").

FIXES:
- Fixed some small Errors.

NEEDED CHANGES FOR SERVER OWNERS:
- Redo Step 1 - 8 on the Server Installation Instructions.
- No Config Files have been changed.

Update: Aug 13, 2020 @ 3:58pm

FIXES:
- Fixed Non-AI Trader that were not accessible since the last Update.

NEEDED CHANGES FOR SERVER OWNERS:
- Redo Step 1 - 8 on the Server Installation Instructions.
- No Config Files have been changed.

Update: Aug 13, 2020 @ 3:28pm

ADDED FEATURES:
- Added a Check that will report when an Itemclassname is wrong, when a Player trys to buy or sell that Item.

FIXES:
- Fixed Item and Currency Stacking.
- Fixed that Items were not spawned on Ground when Item did not fit in the Players Inventory.
- Fixed a Bug where a wrong Currency Entry could spam the Servers Log-File.
- Fixed a Bug which spammed the Clients Log-File.

NEEDED CHANGES FOR SERVER OWNERS:
- Redo Step 1 - 8 on the Server Installation Instructions.
- No Config Files have been changed.