Jump to content
  • 0

What's wrong with this trader config?


BetterDeadThanZed

Question

I am setting up a new server. I use config based traders on my other two servers so I know what I am doing, but this has me baffled. Whenever I have this .hpp in my trader configs, I get this error:

ErrorMessage: File mpmissions\dayz_epoch_1.Takistan\ZSC\config\Category\tier3sniper.hpp, line 14: '/CfgTraderCategory.': ':' encountered instead of '='

This is the .hpp config file in question:

class Category_505 {
class USSR_cheytacM200 {type = "trade_weapons";buy[] = {200000,"Coins"};sell[] = {80000,"Coins"};};
class USSR_cheytacM200_sd {type = "trade_weapons";buy[] = {300000,"Coins"};sell[] = {100000,"Coins"};};
class FHQ_MSR_DESERT {type = "trade_weapons";buy[] = {80000,"Coins"};sell[] = {30000,"Coins"};};
class FHQ_MSR_NV_DESERT {type = "trade_weapons";buy[] = {80000,"Coins"};sell[] = {30000,"Coins"};};
class FHQ_MSR_NV_SD_DESERT {type = "trade_weapons";buy[] = {80000,"Coins"};sell[] = {30000,"Coins"};};
class FHQ_MSR_SD_DESERT {type = "trade_weapons";buy[] = {80000,"Coins"};sell[] = {30000,"Coins"};};
class FHQ_RSASS_SD_TAN {type = "trade_weapons";buy[] = {80000,"Coins"};sell[] = {30000,"Coins"};};
class FHQ_RSASS_TAN {type = "trade_weapons";buy[] = {80000,"Coins"};sell[] = {30000,"Coins"};};
class FHQ_XM2010_DESERT {type = "trade_weapons";buy[] = {80000,"Coins"};sell[] = {30000,"Coins"};};
class FHQ_XM2010_NV_DESERT {type = "trade_weapons";buy[] = {80000,"Coins"};sell[] = {30000,"Coins"};};
class FHQ_XM2010_NV_SD_DESERT {type = "trade_weapons";buy[] = {80000,"Coins"};sell[] = {30000,"Coins"};};
class FHQ_XM2010_SD_DESERT {type = "trade_weapons";buy[] = {80000,"Coins"};sell[] = {30000,"Coins"};};
class vil_SR25SD {type = "trade_weapons";buy[] = {70000,"Coins"};sell[] = {15000,"Coins"};};
class vil_M110sd {type = "trade_weapons";buy[] = {70000,"Coins"};sell[] = {15000,"Coins"};};
class VSS_vintorez {type = "trade_weapons";buy[] = {5000,"Coins"};sell[] = {2500,"Coins"};};
class vil_SKS {type = "trade_weapons";buy[] = {4000,"Coins"};sell[] = {2000,"Coins"};};
class vil_SVU {type = "trade_weapons";buy[] = {15000,"Coins"};sell[] = {7500,"Coins"};};
class vil_SVU_A {type = "trade_weapons";buy[] = {15000,"Coins"};sell[] = {7500,"Coins"};};
class vil_VSS_N {type = "trade_weapons";buy[] = {7000,"Coins"};sell[] = {3500,"Coins"};};
class vil_VSS_PSO {type = "trade_weapons";buy[] = {7000,"Coins"};sell[] = {3500,"Coins"};};
class vil_m40a3 {type = "trade_weapons";buy[] = {70000,"Coins"};sell[] = {20000,"Coins"};};
}:

As far as I can tell, everything is formatted correctly. If I remove the line it says is causing the error, then it says the new last line is causing the error. I can remove half the entries and it still gives me the same error, saying that the last line in that file is wrong. Any ideas about this?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

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
  • Advertisement
  • Discord

×
×
  • Create New...