Jump to content
  • 0

Custom Traders Not Working?


lippy89

Question

Hello.

I've been setting up a custom private server hosted by Nitrado. I managed to install several scripts without issue. However, when i tried adding base parts for my trader to sell none of them would appear. While the trader i added to the map would be present, the trade menu would be empty.

To help better explain this have some screen shots:

The Trader is visible

http://imgur.com/QxzNcuk

But the menu is empty

http://imgur.com/ZIxUZOX

Here is the code in the dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf

http://imgur.com/j8l57TK

Here is the code from my mission.sqm from the mission file (building supply guy at bottom + I added black market weopons to the menu and it worked?)

http://imgur.com/Gd1reHb

And some screen shots from my database

https://imgur.com/a/WqSzu

So please tell me why the plot pole and fuel cannister isn't appearing in the traders. I am new to running severs and some help would be appreciated. Thank you in advanced!

 

Edited by lippy89
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

If using custom skins, don't forget to add them to traders sqf file in a new array, too.

System looks for skin as a trader unit that will give ability to spawn trading menu, then it looks at traders sqf file for category setup, each trader can have multiple categories that represent either database or config entries to populate dialog.

Link to comment
Share on other sites

  • 0

You can get the config files pre-made from scripts like Zupa single currency and you have place this line

 DZE_ConfigTrader = true;  at your intt.sqf &

place #include "your folder \config\cfgServerTrader.hpp" at description.ext

other details you can find in ZSC script in case of doubt revert back 

make sure to do  what @raymix has said at trader sqf 

 

Edited by Akku14
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...