Jump to content
  • 0

Trader Items not appear...


GaspArt

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!

Link to comment
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"
};

Link to comment
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

Link to comment
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

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...