Petite Posted March 31, 2017 Report Share Posted March 31, 2017 I replaced all SUV in the trader by SUV_THECOLOR_DZE4, also spawn on the map instead regular. We can buy it without any problem but not sell it. I always had that on my servers before and was working fine. I have no error in the RTP. When you look the trader list (buy) you can see it in green, so trader know its there near him but when you click sell its not there, no option to sell. BTW all my DZE4 vehicles cannot be sell, UAZ, pickup...... I had my server hosting guy coming to look and he has no clue why. Is there any reason why? Anything changed in the new update for that? I'm using Epoch 1.0.6.1 Thanks Link to comment Share on other sites More sharing options...
kingpapawawa Posted March 31, 2017 Report Share Posted March 31, 2017 hello Petite good to see you around again. I just added ArmoredSUV_PMC_DZE1 ArmoredSUV_PMC_DZE2 ArmoredSUV_PMC_DZE3 ArmoredSUV_PMC_DZE4 and have no issues buying or selling any of them. class ArmoredSUV_PMC_DZE4 { type = "trade_any_vehicle"; buy[] = {500000,"worth"}; sell[] = {50000,"worth"}; }; Link to comment Share on other sites More sharing options...
kingpapawawa Posted March 31, 2017 Report Share Posted March 31, 2017 ok... so try this.. Just go in trader menu and click sell. Dont browse to the vehicle and select it. If you just open trader and select sell it does not show up in green. click sell, select the suv and move it with the arrow to the sell list then try. Link to comment Share on other sites More sharing options...
Petite Posted March 31, 2017 Author Report Share Posted March 31, 2017 Ok, first didnt even know the armored suv can be DZE4 or maybe its new, what about if you try with regular SUV? Is it working? This is hat I have Spoiler class Category_565 { class SUV_TK_CIV_EP1_DZE4 { type = "trade_any_vehicle"; buy[] = {20000,"worth"}; sell[] = {10000,"worth"}; }; class SUV_Blue_DZE4 { type = "trade_any_vehicle"; buy[] = {20000,"worth"}; sell[] = {10000,"worth"}; }; class SUV_Charcoal_DZE4 { type = "trade_any_vehicle"; buy[] = {20000,"worth"}; sell[] = {10000,"worth"}; }; class SUV_Green_DZE4 { type = "trade_any_vehicle"; buy[] = {20000,"worth"}; sell[] = {10000,"worth"}; }; class SUV_Orange_DZE4 { type = "trade_any_vehicle"; buy[] = {20000,"worth"}; sell[] = {10000,"worth"}; }; class SUV_Pink_DZE4 { type = "trade_any_vehicle"; buy[] = {20000,"worth"}; sell[] = {10000,"worth"}; }; class SUV_Red_DZE4 { type = "trade_any_vehicle"; buy[] = {20000,"worth"}; sell[] = {10000,"worth"}; }; class SUV_Silver_DZE4 { type = "trade_any_vehicle"; buy[] = {20000,"worth"}; sell[] = {10000,"worth"}; }; class SUV_White_DZE4 { type = "trade_any_vehicle"; buy[] = {20000,"worth"}; sell[] = {10000,"worth"}; }; class SUV_Yellow_DZE4 { type = "trade_any_vehicle"; buy[] = {20000,"worth"}; sell[] = {10000,"worth"}; }; class SUV_Camo_DZE4 { type = "trade_any_vehicle"; buy[] = {40000,"worth"}; sell[] = {20000,"worth"}; }; class UAZ_CDF_DZE4 { type = "trade_any_vehicle"; buy[] = {8000,"worth"}; sell[] = {4000,"worth"}; }; class UAZ_INS { type = "trade_any_vehicle"; buy[] = {8000,"worth"}; sell[] = {4000,"worth"}; }; class UAZ_RU { type = "trade_any_vehicle"; buy[] = {8000,"worth"}; sell[] = {4000,"worth"}; }; class UAZ_Unarmed_TK_CIV_EP1_DZE4 { type = "trade_any_vehicle"; buy[] = {8000,"worth"}; sell[] = {4000,"worth"}; }; class UAZ_Unarmed_TK_EP1_DZE4 { type = "trade_any_vehicle"; buy[] = {8000,"worth"}; sell[] = {4000,"worth"}; }; class UAZ_Unarmed_UN_EP1_DZE4 { type = "trade_any_vehicle"; buy[] = {8000,"worth"}; sell[] = {4000,"worth"}; }; }; Link to comment Share on other sites More sharing options...
kingpapawawa Posted March 31, 2017 Report Share Posted March 31, 2017 I just tested this with the vehicles you have here. The only DZE4 i can sell is the ArmoredSUV_PMC_DZE4. all of the others i can buy but not sell. Wonder if @salival @icomrade or @ebayShopper have tried this and have any ideas. Might need to post this to the github? Link to comment Share on other sites More sharing options...
Petite Posted March 31, 2017 Author Report Share Posted March 31, 2017 Thanks for trying, I'll post on gtihub when I'm back from work. Link to comment Share on other sites More sharing options...
salival Posted March 31, 2017 Report Share Posted March 31, 2017 Hello, @Petite @kingpapawawa I implemented a while ago a feature in Advanced Trading where you can sell upgraded vehicles without having them on the traders (so you didnt need 5 different Armored SUVS) (https://github.com/EpochModTeam/DayZ-Epoch/commit/d987fb290cacf8204aec3a00e3a6fb45c218472e) I justed tested on my server and I can sell all ArmoredSUV_PMC_DZE(x) vehicles no problem, so it's definitely working. You need to not have them in your trader configs, just the base vehicle ArmoredSUV_PMC_DZE and the children will be able to be sold from that. You can see from this code here in the vehicle configs that ArmoredSUV_PMC_DZE1 is a child of ArmoredSUV_PMC_DZE: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/Configs/CfgVehicles/Car/ArmoredSUV.hpp#L430 The next upgraded classnames will inherit this child structure also. This is the same for all DZE1-4 vehicles in the mod. Link to comment Share on other sites More sharing options...
kingpapawawa Posted March 31, 2017 Report Share Posted March 31, 2017 @salival I think the issue is she wants to add the upgraded suv to trader to sell so that weenies don't have to upgrade them. when you do this you cant sell it. I've tried this and found i can still sell the armored suv but not the other upgraded vehicles. Link to comment Share on other sites More sharing options...
salival Posted March 31, 2017 Report Share Posted March 31, 2017 I guess I never really thought people would do that. I did find one bug while testing selling them so I can add that to the list to check. Link to comment Share on other sites More sharing options...
Petite Posted March 31, 2017 Author Report Share Posted March 31, 2017 Yeah I always added them to the trader everything was fine to sell it. I will remove them to the trader and see if I can sell the DZE4 like you said without adding them to the file. Thanks for your reply. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now