DutchDevil Posted December 12, 2014 Report Share Posted December 12, 2014 Im trying to use ruby's as a currency but it doesnt take out the ruby from its inventory or adds one ony one can help? Link to comment Share on other sites More sharing options...
0 Namindu Posted December 12, 2014 Report Share Posted December 12, 2014 We need more info. Link to comment Share on other sites More sharing options...
0 DutchDevil Posted December 12, 2014 Author Report Share Posted December 12, 2014 Well a ruby is a gem. I want to use it as a higher currency like 1 ruby = 12 briefcases. Atm my vehicles are listed to buy with ruby's but it does not take the ruby out of the inventory and also does not put one in the inventory when sold. How can i do this? Link to comment Share on other sites More sharing options...
0 fr1nk Posted December 12, 2014 Report Share Posted December 12, 2014 Need to adjust the 'afile' of trader items using gems as currency. e.g. trade_weapons -> trade_weapons_old Link to comment Share on other sites More sharing options...
0 daveslayerv1 Posted December 14, 2014 Report Share Posted December 14, 2014 can you expand on that please fr1nk?? ie: what file needs to be modified? i an trying to add a few unique items to the traders with a unique item so only detonators with a certain magazine can purchase them, :D Link to comment Share on other sites More sharing options...
0 Mr White Posted December 14, 2014 Report Share Posted December 14, 2014 can you expand on that please fr1nk?? ie: what file needs to be modified? i an trying to add a few unique items to the traders with a unique item so only detonators with a certain magazine can purchase them, :D It's not "a file", it is "afile" it is in the database under traders_data Link to comment Share on other sites More sharing options...
0 calamity Posted December 15, 2014 Report Share Posted December 15, 2014 what Fr1nk is saying is. you need to add _old to the trader insert like this.... INSERT INTO `Traders_DATA` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["ItemEmerald",1]', 100, '[10,"ItemBriefcase100oz",1]', '[10,"ItemBriefcase100oz",1]',0,702, 'trade_items_old') note the _old 'trade_items_old' 'trade_weapons_old' Link to comment Share on other sites More sharing options...
0 calamity Posted December 15, 2014 Report Share Posted December 15, 2014 It's not "a file", it is "afile" it is in the database under traders_data hey Mr White, tell Mr Pink 10th Calamity says hello. miss you guys on my old tavi server............ Link to comment Share on other sites More sharing options...
0 fr1nk Posted December 15, 2014 Report Share Posted December 15, 2014 what Fr1nk is saying is. you need to add _old to the trader insert like this.... INSERT INTO `Traders_DATA` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["ItemEmerald",1]', 100, '[10,"ItemBriefcase100oz",1]', '[10,"ItemBriefcase100oz",1]',0,702, 'trade_items_old') note the _old 'trade_items_old' 'trade_weapons_old' ^ what Calamity said Link to comment Share on other sites More sharing options...
0 ChickenPrism Posted December 22, 2014 Report Share Posted December 22, 2014 what Fr1nk is saying is. you need to add _old to the trader insert like this.... INSERT INTO `Traders_DATA` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["ItemEmerald",1]', 100, '[10,"ItemBriefcase100oz",1]', '[10,"ItemBriefcase100oz",1]',0,702, 'trade_items_old') note the _old 'trade_items_old' 'trade_weapons_old' This to me looks like you're selling the ItemEmerald for gold. I could be wrong I am VERY new to this. I am also looking for a way to use gems as a currency. For example: I would like to make the BRDM2_INS buy and sell for 2 Topaz gems. Is what you posted the correct way to do that as well? Sorry If this seems silly to you, but like I said I am very new. Would this work? class BRDM2_INS { type = "trade_any_vehicle_old"; buy[] = {2,"ItemTopaz"}; sell[] = {1,"ItemTopaz"}; }; Link to comment Share on other sites More sharing options...
0 DangerRuss Posted December 22, 2014 Report Share Posted December 22, 2014 yes ChickenPrism, on 22 Dec 2014 - 1:38 PM, said:This to me looks like you're selling the ItemEmerald for gold. I could be wrong I am VERY new to this. I am also looking for a way to use gems as a currency. For example: I would like to make the BRDM2_INS buy and sell for 2 Topaz gems. Is what you posted the correct way to do that as well? Sorry If this seems silly to you, but like I said I am very new. Would this work? class BRDM2_INS { type = "trade_any_vehicle_old"; buy[] = {2,"ItemTopaz"}; sell[] = {1,"ItemTopaz"}; }; Link to comment Share on other sites More sharing options...
0 ElDubya Posted December 22, 2014 Report Share Posted December 22, 2014 Here is my gem trader if anyone needs it. Prices may not be to your liking. class Category_770 { class Mi171Sh_rockets_CZ_EP1 { type = "trade_any_vehicle_old"; buy[] = {12,"ItemEmerald"}; sell[] = {6,"ItemEmerald"};}; class BAF_Apache_AH1_D { type = "trade_any_vehicle_old"; buy[] = {12,"ItemSapphire"}; sell[] = {6,"ItemSapphire"};}; class AH1Z { type = "trade_any_vehicle_old"; buy[] = {12,"ItemCitrine"}; sell[] = {6,"ItemCitrine"};}; class AH6J_EP1 { type = "trade_any_vehicle_old"; buy[] = {10,"ItemAmethyst"}; sell[] = {5,"ItemAmethyst"};}; class Mi24_D_TK_EP1 { type = "trade_any_vehicle_old"; buy[] = {10,"ItemCitrine"}; sell[] = {5,"ItemCitrine"};}; class T72_Gue { type = "trade_any_vehicle_old"; buy[] = {10,"ItemSapphire"}; sell[] = {5,"ItemSapphire"};}; class T90 { type = "trade_any_vehicle_old"; buy[] = {10,"ItemRuby"}; sell[] = {5,"ItemRuby"};}; class BTR90 { type = "trade_any_vehicle_old"; buy[] = {12,"ItemEmerald"}; sell[] = {6,"ItemEmerald"};}; class BAF_FV510_W { type = "trade_any_vehicle_old"; buy[] = {10,"ItemAmethyst"}; sell[] = {5,"ItemAmethyst"};}; class LAV25 { type = "trade_any_vehicle_old"; buy[] = {12,"ItemSapphire"}; sell[] = {6,"ItemSapphire"};}; class BAF_Jackal2_L2A1_W { type = "trade_any_vehicle_old"; buy[] = {8,"ItemTopaz"}; sell[] = {4,"ItemTopaz"};}; class BRDM2_ATGM_INS { type = "trade_any_vehicle_old"; buy[] = {8,"ItemCitrine"}; sell[] = {4,"ItemCitrine"};}; }; Link to comment Share on other sites More sharing options...
0 MG-Maximus Posted February 24, 2015 Report Share Posted February 24, 2015 Is it possible to items such as gems for items (trade_old) with config trader + single currency (gold coins) ? Link to comment Share on other sites More sharing options...
0 DangerRuss Posted February 24, 2015 Report Share Posted February 24, 2015 Is it possible to items such as gems for items (trade_old) with config trader + single currency (gold coins) ? if you're using the mission side config trader files with single currency, just add the gems to the traders, you dont need to do anything fancy at all. Add them like a regular item. Link to comment Share on other sites More sharing options...
0 Nekuan Posted February 25, 2015 Report Share Posted February 25, 2015 if you're using the mission side config trader files with single currency, just add the gems to the traders, you dont need to do anything fancy at all. Add them like a regular item. At least for Souls version that is not correct. It will simply ignore the gems and still ask for coins Link to comment Share on other sites More sharing options...
0 DangerRuss Posted February 26, 2015 Report Share Posted February 26, 2015 At least for Souls version that is not correct. It will simply ignore the gems and still ask for coins I am using souls, and it is completely correct, as my traders both buy and sell gems. class ItemTopaz{ type = "trade_items"; buy[] ={1000,"Coins"}; sell[] ={1000,"Coins"}; }; class ItemObsidian{ type = "trade_items"; buy[] ={1000,"Coins"}; sell[] ={1000,"Coins"}; }; class ItemSapphire{ type = "trade_items"; buy[] ={1000,"Coins"}; sell[] ={1000,"Coins"}; }; class ItemAmethyst{ type = "trade_items"; buy[] ={1000,"Coins"}; sell[] ={1000,"Coins"}; }; class ItemEmerald{ type = "trade_items"; buy[] ={1000,"Coins"}; sell[] ={1000,"Coins"}; }; class ItemCitrine{ type = "trade_items"; buy[] ={1000,"Coins"}; sell[] ={1000,"Coins"}; }; class ItemRuby{ type = "trade_items"; buy[] ={1000,"Coins"}; sell[] ={1000,"Coins"}; }; Link to comment Share on other sites More sharing options...
0 Nekuan Posted February 26, 2015 Report Share Posted February 26, 2015 Misunderstood as it seems. Was thinking about Buying/Selling using gems Link to comment Share on other sites More sharing options...
0 DangerRuss Posted February 26, 2015 Report Share Posted February 26, 2015 Misunderstood as it seems. Was thinking about Buying/Selling using gems oh yea Im not sure if that would be possible or not. Link to comment Share on other sites More sharing options...
0 Nekuan Posted February 26, 2015 Report Share Posted February 26, 2015 Title confused me a bit :D It propably is possible but not without changing the code Link to comment Share on other sites More sharing options...
Question
DutchDevil
Im trying to use ruby's as a currency but it doesnt take out the ruby from its inventory or adds one ony one can help?
Link to comment
Share on other sites
18 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now