Christmas Posted February 16, 2017 Report Share Posted February 16, 2017 Im trying to add things to my epoch config files and when i do it leaves me on a wait for host screen. Ive changed the prices of existing items and that works fine but when i want to add something like the camo offroad its wait for host. Is there anything i need to change to be able to add items? Link to comment Share on other sites More sharing options...
salival Posted February 16, 2017 Report Share Posted February 16, 2017 3 hours ago, Christmas said: Im trying to add things to my epoch config files and when i do it leaves me on a wait for host screen. Ive changed the prices of existing items and that works fine but when i want to add something like the camo offroad its wait for host. Is there anything i need to change to be able to add items? if you can post an example file that is causing it we can help diagnose it, I'm guessing you have a syntax error. Link to comment Share on other sites More sharing options...
juandayz Posted February 16, 2017 Report Share Posted February 16, 2017 8 hours ago, Christmas said: Im trying to add things to my epoch config files and when i do it leaves me on a wait for host screen. Ive changed the prices of existing items and that works fine but when i want to add something like the camo offroad its wait for host. Is there anything i need to change to be able to add items? if u gonna add vehicles that not exist as default on epoch you need add them in : \@DayZ_Epoch_Server\addons\dayz_server\system\dynamic_vehicle.sqf also you need to be sure your using a vehicle class (trade_any_vehicle) on a hpp file: example: class Category_4000 { class LandRover_MG_TK_EP1_DZE { type = "trade_any_vehicle"; buy[] = {6,"ItemGoldBar10oz"}; sell[] = {3,"ItemGoldBar10oz"}; }; }; but all of this not cause a stuck on loading screen.. so as salival said... can you paste the files that youre changing =? Link to comment Share on other sites More sharing options...
Christmas Posted February 18, 2017 Author Report Share Posted February 18, 2017 class Category_491 { class LandRover_CZ_EP1 { type = "trade_any_vehicle"; buy[] = {2,"ItemGoldBar10oz"}; sell[] = {1,"ItemGoldBar10oz"}; }; class LandRover_TK_CIV_EP1 { type = "trade_any_vehicle"; buy[] = {2,"ItemGoldBar10oz"}; sell[] = {1,"ItemGoldBar10oz"}; }; class HMMWV_M1035_DES_EP1 { type = "trade_any_vehicle"; buy[] = {4,"ItemGoldBar10oz"}; sell[] = {2,"ItemGoldBar10oz"}; }; class HMMWV_Ambulance { type = "trade_any_vehicle"; buy[] = {4,"ItemGoldBar10oz"}; sell[] = {2,"ItemGoldBar10oz"}; }; class HMMWV_Ambulance_CZ_DES_EP1 { type = "trade_any_vehicle"; buy[] = {4,"ItemGoldBar10oz"}; sell[] = {2,"ItemGoldBar10oz"}; }; class HMMWV_DES_EP1 { type = "trade_any_vehicle"; buy[] = {4,"ItemGoldBar10oz"}; sell[] = {2,"ItemGoldBar10oz"}; }; class HMMWV_DZ { type = "trade_any_vehicle"; buy[] = {4,"ItemGoldBar10oz"}; sell[] = {2,"ItemGoldBar10oz"}; }; class GAZ_Vodnik_MedEvac { type = "trade_any_vehicle"; buy[] = {1,"ItemBriefcase100oz"}; sell[] = {5,"ItemGoldBar10oz"}; }; class BAF_Offroad_W { type = "trade_any_vehicle"; buy[] = {2,"ItemGoldBar10oz"}; sell[] = {1,"ItemGoldBar10oz"}; }; class Category_599 { duplicate = 491; }; Thats all i added thats not normally in the game. I added the m107,as50 and anzio that way and they work correctly. its just this file. Link to comment Share on other sites More sharing options...
Christmas Posted February 18, 2017 Author Report Share Posted February 18, 2017 heres the error message ErrorMessage: File mpmissions\DayZ_Epoch_11.Chernarus\description.ext, line 36: /CfgTraderCategory/: Missing '}' but its there all ive done is swap the folder for a edited one with the same name Link to comment Share on other sites More sharing options...
icomrade Posted February 18, 2017 Report Share Posted February 18, 2017 28 minutes ago, Christmas said: heres the error message ErrorMessage: File mpmissions\DayZ_Epoch_11.Chernarus\description.ext, line 36: /CfgTraderCategory/: Missing '}' but its there all ive done is swap the folder for a edited one with the same name you need 2 close brackets since it's the end of Category_491. use some kind of SQF syntax highlighter it makes this kind of thing much easier to prevent. I use NotePad++ and http://www.armaholic.com/page.php?id=8680 Link to comment Share on other sites More sharing options...
Christmas Posted February 18, 2017 Author Report Share Posted February 18, 2017 ahh i did not realise thank you :D Link to comment Share on other sites More sharing options...
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 accountSign in
Already have an account? Sign in here.
Sign In Now