Jump to content
  • 0

Config based trader set up 1.0.4.1


BetterDeadThanZed

Question

I haven't looked at the 1.0.4.1 files yet, so I'm wondering if someone could explain this "Config Based Trader set up" I saw in the change log.

 

[NEW] Config based trader setup option that is more performant, however does not track inventory. DZE_ConfigTrader = true; and #include "\dayz_epoch_b\CfgServerTrader\cfgServerTrader.hpp" in description.ext @Fank @Skaronator @vbawol
Link to comment
Share on other sites

Recommended Posts

  • 0

Just wanna make sure if anyone is sharing it with community. before i get my hands dirty on it

I have some hpps set up for overwatch stuff the pricing is all up to you tho I just added some custom prices in but not many, everything else seem to be aok however if you want them.

Link to comment
Share on other sites

  • 0

I have some hpps set up for overwatch stuff the pricing is all up to you tho I just added some custom prices in but not many, everything else seem to be aok however if you want them.

 

Are they divided in varients or just all rifles in one category, I would love to get them. Would save alot of my time :) thanks

Link to comment
Share on other sites

  • 0
  • 0
  • 0

Yes, you need to give different numbers to each category. Just like trader ID (TID)

Not true at all, traders can use repeating skins for each type (i.e. 4 doctors all using the same skin) and they can all pull from the same Category ID.

Link to comment
Share on other sites

  • 0

Not true at all, traders can use repeating skins for each type (i.e. 4 doctors all using the same skin) and they can all pull from the same Category ID.

 

I am sorry, i guess i didnt seem to undertand the question right.

Link to comment
Share on other sites

  • 0

Nothing, just the old prices when i get into the trader_menu on Airplane dealer.

Did this ever get fixed? I am having the exact same issue.

Moved the folder CfgServerTrader into Dayz_Epoch_11.Chernarus

Added to my description.ext #include "CfgServerTrader\cfgServerTrader.hpp"

Added to my init.sqf DZE_ConfigTrader = true;

Went into CfgServerTrader/Category/NeutralBuildingSupplies.hpp

and added:

 

class ItemComboLock {
type = "trade_items";
buy[] = {4,"ItemGoldBar10oz"};
sell[] = {1,"ItemGoldBar10oz"};
};

under both class Category_508 AND class Category_662

Saved it all, restarted server, and no new items, still looking at SQL and not config.

Any ideas? I've searched the issue and every time it seems to be unresolved and no one posts followups.

Cheers,

**EDIT**

I'm not sure, but I have a hunch this could be something to do with it:

It seems this calls "player_traderMenuHive.sqf" while I believe config traders uses "player_traderMenuConfig"

I've switched the files and will test later. Could be way off so any other help is appreciated.

**EDIT 2**

The problem mentioned in the previous edit was the culprit. Working fine now.

Link to comment
Share on other sites

  • 0

You need to point them to new versions in your mission.pbo.

 

I believe cfgServerTrader.hpp still points to the pbo instead of your files unless you change the lines in it.

 

Im new, I understood how to put everything in but the prices remain unchanged. Can you explain to me (like im 5) what point them to the new versions means and how it should look? Thanks!!

Link to comment
Share on other sites

  • 0

It uses static configs for pricing and items on traders instead of the database. It is very fast because of this but does not track inventory. 

Faster yes, but one question:  Does the .HPP files only load into memory when access by the player? and then releases back?

Link to comment
Share on other sites

  • 0

Hey guys, wondering if anyone could help me figure out something. I recently installed Dynamic Traders and Config traders. but now none of my traders work. they dont have their scroll menu any more for any of them... nothing in the rpt seems to point to an issue...

any help would be awesome. i been stuck on this all day.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...