Jump to content
  • 0
Sign in to follow this  
GaspArt

Trader Items not appear...

Question

Heyho. Im using hpp version of trader items. And Idk why, but Items not appear in menu.. Sections appear, but not items.
Here are examples of my server_traders.sqf and 1 of hpp files.
http://pastebin.com/mYSwtVDr
http://pastebin.com/CkvsYEYG

Problem must be in Categories connections, but I dont see problems...Mb u can help?
Thx!

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Do you have another .hpp file which actually calls the traderprices?

(somewhat like this)

class CfgTraderCategory {

#include "Category\BanditAmmunition.hpp"
#include "Category\BanditClothing.hpp"
#include "Category\BanditHelicopterArmed.hpp"
#include "Category\BanditMilitaryArmed.hpp"
#include "Category\BanditTrucksArmed.hpp"
#include "Category\BanditWeapons.hpp"
#include "Category\HeroAmmunition.hpp"
#include "Category\HeroClothes.hpp"
#include "Category\HeroHelicopterArmed.hpp"
#include "Category\HeroMilitaryArmed.hpp"
#include "Category\HeroTrucksArmed.hpp"
#include "Category\HeroWeapons.hpp"
#include "Category\NeutralAirplanes.hpp"
#include "Category\NeutralAssaultRifle.hpp"
#include "Category\NeutralAssaultRifleAmmo.hpp"
#include "Category\NeutralBackpacks.hpp"
#include "Category\NeutralBikesandATV.hpp"
#include "Category\NeutralBlackMarketAmmo.hpp"
#include "Category\NeutralBlackMarketWeapons.hpp"
#include "Category\NeutralBoatsArmed.hpp"
#include "Category\NeutralBoatsUnarmed.hpp"
#include "Category\NeutralBuildingSupplies.hpp"
#include "Category\NeutralBusesandVans.hpp"
#include "Category\NeutralCargoTrucks.hpp"
#include "Category\NeutralChemlitesFlares.hpp"
#include "Category\NeutralClothes.hpp"
#include "Category\NeutralCookedMeats.hpp"
#include "Category\NeutralDrinks.hpp"
#include "Category\NeutralExplosives.hpp"
#include "Category\NeutralFuelTrucks.hpp"
#include "Category\NeutralHelicopterUnarmed.hpp"
#include "Category\NeutralLightMachineGun.hpp"
#include "Category\NeutralLightMachineGunAmmo.hpp"
#include "Category\NeutralMedicalSupplies.hpp"
#include "Category\NeutralMilitaryUnarmed.hpp"
#include "Category\NeutralPackagedFood.hpp"
#include "Category\NeutralPistolAmmo.hpp"
#include "Category\NeutralPistols.hpp"
#include "Category\NeutralShotgunsandSingleshot.hpp"
#include "Category\NeutralShotgunsandSingleshotAmmo.hpp"
#include "Category\NeutralSmokeGrenades.hpp"
#include "Category\NeutralSniperRifle.hpp"
#include "Category\NeutralSniperRifleAmmo.hpp"
#include "Category\NeutralSubmachineGunAmmo.hpp"
#include "Category\NeutralSubmachineGuns.hpp"
#include "Category\NeutralToolbeltItems.hpp"
#include "Category\NeutralTrucks.hpp"
#include "Category\NeutralUsedCars.hpp"
#include "Category\NeutralUtilityVehicles.hpp"
#include "Category\NeutralVehicleParts.hpp"
#include "Category\NeutralWholesale.hpp"
#include "Category\OWVilVariants.hpp"
#include "Category\OWAcrVariants.hpp"
#include "Category\OWCamels.hpp"
#include "Category\OWDMRVariants.hpp"
#include "Category\OWG3Variants.hpp"
#include "Category\OWGunAmmo.hpp"
#include "Category\OWHK416Variants.hpp"
#include "Category\OWHK417Variants.hpp"
#include "Category\OWMasVariants.hpp"
#include "Category\OWPistolAmmo.hpp"
#include "Category\OWPistols.hpp"
#include "Category\OWScarVariants.hpp"
#include "Category\OWSniperVariants.hpp"
#include "Category\OWSportsCars.hpp"
#include "Category\OWSuperCars.hpp"
#include "Category\OWTARVariants.hpp"
};

Share this post


Link to post
Share on other sites
  • 0

 

Do you have another .hpp file which actually calls the traderprices?

(somewhat like this)

class CfgTraderCategory {

#include "Category\BanditAmmunition.hpp"
#include "Category\BanditClothing.hpp"
#include "Category\BanditHelicopterArmed.hpp"
#include "Category\BanditMilitaryArmed.hpp"
#include "Category\BanditTrucksArmed.hpp"
#include "Category\BanditWeapons.hpp"
#include "Category\HeroAmmunition.hpp"
#include "Category\HeroClothes.hpp"
#include "Category\HeroHelicopterArmed.hpp"
#include "Category\HeroMilitaryArmed.hpp"
#include "Category\HeroTrucksArmed.hpp"
#include "Category\HeroWeapons.hpp"
#include "Category\NeutralAirplanes.hpp"
#include "Category\NeutralAssaultRifle.hpp"
#include "Category\NeutralAssaultRifleAmmo.hpp"
#include "Category\NeutralBackpacks.hpp"
#include "Category\NeutralBikesandATV.hpp"
#include "Category\NeutralBlackMarketAmmo.hpp"
#include "Category\NeutralBlackMarketWeapons.hpp"
#include "Category\NeutralBoatsArmed.hpp"
#include "Category\NeutralBoatsUnarmed.hpp"
#include "Category\NeutralBuildingSupplies.hpp"
#include "Category\NeutralBusesandVans.hpp"
#include "Category\NeutralCargoTrucks.hpp"
#include "Category\NeutralChemlitesFlares.hpp"
#include "Category\NeutralClothes.hpp"
#include "Category\NeutralCookedMeats.hpp"
#include "Category\NeutralDrinks.hpp"
#include "Category\NeutralExplosives.hpp"
#include "Category\NeutralFuelTrucks.hpp"
#include "Category\NeutralHelicopterUnarmed.hpp"
#include "Category\NeutralLightMachineGun.hpp"
#include "Category\NeutralLightMachineGunAmmo.hpp"
#include "Category\NeutralMedicalSupplies.hpp"
#include "Category\NeutralMilitaryUnarmed.hpp"
#include "Category\NeutralPackagedFood.hpp"
#include "Category\NeutralPistolAmmo.hpp"
#include "Category\NeutralPistols.hpp"
#include "Category\NeutralShotgunsandSingleshot.hpp"
#include "Category\NeutralShotgunsandSingleshotAmmo.hpp"
#include "Category\NeutralSmokeGrenades.hpp"
#include "Category\NeutralSniperRifle.hpp"
#include "Category\NeutralSniperRifleAmmo.hpp"
#include "Category\NeutralSubmachineGunAmmo.hpp"
#include "Category\NeutralSubmachineGuns.hpp"
#include "Category\NeutralToolbeltItems.hpp"
#include "Category\NeutralTrucks.hpp"
#include "Category\NeutralUsedCars.hpp"
#include "Category\NeutralUtilityVehicles.hpp"
#include "Category\NeutralVehicleParts.hpp"
#include "Category\NeutralWholesale.hpp"
#include "Category\OWVilVariants.hpp"
#include "Category\OWAcrVariants.hpp"
#include "Category\OWCamels.hpp"
#include "Category\OWDMRVariants.hpp"
#include "Category\OWG3Variants.hpp"
#include "Category\OWGunAmmo.hpp"
#include "Category\OWHK416Variants.hpp"
#include "Category\OWHK417Variants.hpp"
#include "Category\OWMasVariants.hpp"
#include "Category\OWPistolAmmo.hpp"
#include "Category\OWPistols.hpp"
#include "Category\OWScarVariants.hpp"
#include "Category\OWSniperVariants.hpp"
#include "Category\OWSportsCars.hpp"
#include "Category\OWSuperCars.hpp"
#include "Category\OWTARVariants.hpp"
};

 

http://pastebin.com/YYiPaYMw

 

and how it looks like

http://puu.sh/dQF6h/183d5b29c1.png

Share this post


Link to post
Share on other sites
  • 0

Also got it enables in your init.sqf with

DZE_ConfigTrader = true;

and you're calling the the file from your description.ext?

Just asking because I can't make out an actual error :D

My category is called class CfgTraderCategory no idea if that matters though

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 calinova22
      How would I go about adding custom vehicles to my server? I want to have an F35B with no weapons. I know how to remove the weapons, just cant find the file for the jet itself to edit.
    • By Cyrus
      I have placed a fuel pump in starry using a custom script. The fuel pump is there and accessible but i would like to know how i can make it work with out the need of having to place a generator or a running fuel ural. by default it acts the same way a placeable fuel pump works picked up in the world. 
      Here is the code that use to spawn the fuel pump. 
      _vehicle_344 = objNull; if (true) then { _this = createVehicle ["Land_A_FuelStation_Feed", [6325.166, 7715.0869, 0.15837258], [], 0, "CAN_COLLIDE"]; _vehicle_344 = _this; _this setDir -52.000465; _this setPos [6325.166, 7715.0869, 0.15837258]; }; Any help will be appreciated.
    • By Cyrus
      Hi,
      I have successfully set up an Arma 3 Epoch altis server (private for now) with a bunch of server side mods running. One of them is the Black Market Trader found elsewhere in the forums. My question is how do i add weapons and gear from the DLC expansions (MARK, HELI) etc. more specifically gear and weapons. I have seen on the BMS server they have gear specific to APEX and helis specific to HELI DLC. My black market trader does not have any of the DLC gear and weapons but only some of the heli's like the Huron and Taru. I own all of the DLC's and they are all present on the server folder structure. I cannot spawn them either using the builtin Anti Hack admin menu as they aren't present.
       
      I there any way that i can make them visible th AH menu and black market trader?
       
      Thanks in advance
    • By Mart123
      Hey, i have a question.
       
      How, and where do i change the prices for my traders in my Dayz Epoch server?
       
       
    • By ViktorReznov
      This here is a modification to Zupas Advanced Trading. It did not sit well with me that on a Post-Zombie Apocalyptic that there were traders that would never run out of stock and with enough cash, you would want for nothing. No bueno, this is my first attempt to remedy this crisis. With every server startup, the economy will be set with a random variable that will modify the buy sell prices simultaneously. On startup you could be selling your gear for up to 2x its normal price and buying for half of the cost!  The prices now change every 30 minutes (configurable) and with a more balanced range. This is release one, designed to put the idea out there with an example of the code. THIS IS NOT BALANCED IN ANY WAY SHAPE OR FORM AND IS HIGHLY EXPLOITABLE.  Code is currently sound and not exploitable as is.BUT STILL COULD BE IF YOU CONFIGURE WRONG!
      This is only compatible with Zupa's single currency, although it could be modified i suppose to fit old currency system thanks to zupas built in function
      Still ToDo:
      Rebalance Trader Prices Completed, now with stock config you cant exploit the system
      Prices change over time Completed, thanks to this amazing community!
      Actual trader stock determines per trader/per item prices
      Additional variables that modify prices further (but in smaller and more dynamic ways (ie trader boons for expert zombie hunting)
      STILL THINKING
      Install Instructions 
      Download https://github.com/Arstan13/AdvancedTradingEconomy
      For Right now this is usable and not exploatable as is and just adds a little bit of flavor to traders. Open to suggestions and teaching! This was the first script I attempted to modify that was a bit more indepth than some of the other things ive tried.
      ALL SOURCE CODE IS NOT MY WORK, ADVANCED TRADING IS THE GENIUS OF ZUPA AND THE TRADER CONFIGS ARE ALSO COURTESY OF ZUPA! IVE MERELY MODIFIED THEM TO ENJOY A NEW FUNCTION!
      Straight from epoch 106 updates thread. https://epochmod.com/forum/topic/42887-arma-2-dayz-epoch-106/
      [NEW] Optional variable to prevent stealing from backpacks by non-friendlies at traders. Set DZE_BackpackAntiTheft = true; in init.sqf @ebayShopper 29 [NEW] A much improved version of Zupa's Advanced Trading 2.1+ is now the default config trader menu, NOT COMPATIBLE WITH DATABASE TRADERS @icomrade @Windmolders … 37 [NEW] Door Management v3.0+ by Zupa is now included and enabled by default with variable DZE_doorManagement, see configVariables.sqf @DevZupa @Bruce-LXXVI @ebayShopper  
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...