hogscraper Posted December 3, 2014 Author Report Share Posted December 3, 2014 Been a long time since I used it but this might help. Link to comment Share on other sites More sharing options...
General Lee Posted December 4, 2014 Report Share Posted December 4, 2014 I've looked at that and for some reason on part b, it just wont let me buy the lav but when i change it from buying with a ruby to briefcase's, it lets me buy them. any idea's ????? Link to comment Share on other sites More sharing options...
Snakeyes Posted January 26, 2015 Report Share Posted January 26, 2015 Greetings, I'm using the Custom Gem Trader now on my A2 Epoch Napf server and we are enjoying being able to utilize mining. Also, there is a chance to recover gems from the roaming AI when they are killed and looted. A quick question. How did you get the 1337 number for the RU_Villager1 trader? Is it derived by the editor? Because whenever I place a man (NPC) in the editor, that number is always 0 (zero). Here is a snippet from your Gem_Trader.sqf code. Thanks for the mod. :) _unit_1337 = objNull; if (true) then { _this = createAgent ["RU_Villager1", [6054.33,7704.25,0.1], [], 0, "CAN_COLLIDE"]; _unit_1337 = _this; _this setDir 29; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false; }; Link to comment Share on other sites More sharing options...
KillKillKill Posted February 7, 2015 Report Share Posted February 7, 2015 Can I install this on an Cherno Epoch server? Link to comment Share on other sites More sharing options...
Snakeyes Posted February 9, 2015 Report Share Posted February 9, 2015 You should be able to use it on any map. However, the worldspace coordinates will be different depending on where you set up the trader. Link to comment Share on other sites More sharing options...
deicide Posted July 5, 2015 Report Share Posted July 5, 2015 This is the way you want to add the items to the database. it will allow for an auto id. If you have any custom items already. The previously posted ways will not work. Make sure to change the tid number to match yours. 695 is mine. INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["ItemAmethyst",1]',10,'[8,"ItemGoldBar10oz",1]','[4,"ItemGoldBar10oz",1]',0,695,'trade_items'); INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["ItemCitrine",1]',10,'[8,"ItemGoldBar10oz",1]','[4,"ItemGoldBar10oz",1]',0,695,'trade_items'); INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["ItemEmerald",1]',10,'[12,"ItemBriefcase100oz",1]','[6,"ItemGoldBar10oz",1]',0,695,'trade_items'); INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["ItemObsidian",1]',10,'[8,"ItemGoldBar10oz",1]','[4,"ItemGoldBar10oz",1]',0,695,'trade_items'); INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["ItemRuby",1]',10,'[4,"ItemBriefcase100oz",1]','[2,"ItemGoldBar10oz",1]',0,695,'trade_items'); INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["ItemSapphire",1]',10,'[8,"ItemGoldBar10oz",1]','[4,"ItemGoldBar10oz",1]',0,695,'trade_items'); INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["ItemTopaz",1]',10,'[8,"ItemGoldBar10oz",1]','[4,"ItemGoldBar10oz",1]',0,695,'trade_items'); 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