BetterDeadThanZed Posted August 19, 2013 Report Share Posted August 19, 2013 Does anyone know the class names for the Lapua Magnum and it's ammo? Link to comment Share on other sites More sharing options...
Lanmanfm Posted August 20, 2013 Report Share Posted August 20, 2013 "BAF_LRR_scoped" "5Rnd_86x70_L115A1" Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted August 20, 2013 Author Report Share Posted August 20, 2013 Cool.. Thanks. I couldn't find that. Going to add it to the traders. Link to comment Share on other sites More sharing options...
wangtangnoodle Posted August 20, 2013 Report Share Posted August 20, 2013 Cool.. Thanks. I couldn't find that. Going to add it to the traders. It's already in at the hero & bandit traders. There's the woodland camo variant to add to it if you'd like, aswell. BAF_LRR_scoped_W Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted August 20, 2013 Author Report Share Posted August 20, 2013 It's already in at the hero & bandit traders. There's the woodland camo variant to add to it if you'd like, aswell. BAF_LRR_scoped_W Hmm.. I had someone telling me it's not in those traders. Link to comment Share on other sites More sharing options...
wangtangnoodle Posted August 20, 2013 Report Share Posted August 20, 2013 Hmm.. I had someone telling me it's not in those traders. By default it's there for 2 x 10oz gold to purchase and selling gets you 1 x 10oz gold back. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted August 20, 2013 Author Report Share Posted August 20, 2013 By default it's there for 2 x 10oz gold to purchase and selling gets you 1 x 10oz gold back. I searched my database and couldn't find the weapon or it's ammo. Link to comment Share on other sites More sharing options...
wangtangnoodle Posted August 20, 2013 Report Share Posted August 20, 2013 Strange. Was added in 1.0.1.3 in place of the M107. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted August 20, 2013 Author Report Share Posted August 20, 2013 Is there an SQL command I can use to add it to the hero trader? Link to comment Share on other sites More sharing options...
wangtangnoodle Posted August 21, 2013 Report Share Posted August 21, 2013 The 'Private Hive Tools' posted in the Resources section here is a great way of adding new items. Not done it directly via Navicat personally, I'm a noob with it. Once you have PHT installed under instance 11, change it to instance 17 within the 'Settings' tab and make any trader edits you wish. Link to comment Share on other sites More sharing options...
Lanmanfm Posted August 21, 2013 Report Share Posted August 21, 2013 this will add it to the Black market vendor at Stary (using this one as I am adding the M32 to this trader) INSERT INTO 'traders_data' ('item','qty','buy','sell','order','tid','afile') VALUES ('["baf_lrr_scoped",3]',10,'[5,"ItemGoldBar10oz",1]','[4,"ItemGoldBar",1]',0,526,'trade_weapons') INSERT INTO 'traders_data' ('item','qty','buy','sell','order','tid','afile') VALUES ('["5Rnd_86x70_L115A1",1]',10,'[5,"ItemGoldBar",1]','[1,"ItemGoldBar",1]',0,527,'trade_items') I don't know if you need to add to the Trader Items table first, if so then... INSERT INTO `trader_items`(`classname`, `type`, `group`, `afile`) VALUES ("baf_lrr_scoped",3,"Rifle Sniper",'trade_weapons') INSERT INTO 'trader_items'('classname', 'type', 'group', 'afile') VALUES ("5Rnd_86x70_L115A1",1,"Ammo Rifle Sniper",'trade_items') BetterDeadThanZed 1 Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted August 24, 2013 Author Report Share Posted August 24, 2013 this will add it to the Black market vendor at Stary (using this one as I am adding the M32 to this trader) INSERT INTO 'traders_data' ('item','qty','buy','sell','order','tid','afile') VALUES ('["baf_lrr_scoped",3]',10,'[5,"ItemGoldBar10oz",1]','[4,"ItemGoldBar",1]',0,526,'trade_weapons') INSERT INTO 'traders_data' ('item','qty','buy','sell','order','tid','afile') VALUES ('["5Rnd_86x70_L115A1",1]',10,'[5,"ItemGoldBar",1]','[1,"ItemGoldBar",1]',0,527,'trade_items') I don't know if you need to add to the Trader Items table first, if so then... INSERT INTO `trader_items`(`classname`, `type`, `group`, `afile`) VALUES ("baf_lrr_scoped",3,"Rifle Sniper",'trade_weapons') INSERT INTO 'trader_items'('classname', 'type', 'group', 'afile') VALUES ("5Rnd_86x70_L115A1",1,"Ammo Rifle Sniper",'trade_items') What would I need to change to add this to the Hero traders too? Link to comment Share on other sites More sharing options...
Lanmanfm Posted August 24, 2013 Report Share Posted August 24, 2013 change 526 to 477 for the rifle and 527 for 478 on the ammo Link to comment Share on other sites More sharing options...
Firefly Posted August 29, 2013 Report Share Posted August 29, 2013 Lapua Magnum is the type of ammunition by the way, the actual rifle is an AWM. If you ever player Counterstrike it is the same rifle. You can add the standard version with green furniture as above, BAF_LRR_scoped_W Check it out using Navicat, traders_data table, sort tid and scroll to the trader identifier used on you instance. Identifiers found in the mission server_trader.sqf. If you updated to 1.0.1.4 you should have it. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted August 29, 2013 Author Report Share Posted August 29, 2013 Why do people feel the need to keep repeating what others already said. Thanks for the replies. Answer has been provided, a week ago. Link to comment Share on other sites More sharing options...
Firefly Posted August 30, 2013 Report Share Posted August 30, 2013 Yeah my bad next time I won't bother. Perhaps next time you will also spend a little time to answer your own question, by the looks of it you didn't even check the trader on your server to confirm what your player said. Or check your db, or even simply google to find the weapon class name. But as myself, and others have said learn to use Navicat, it is super easy to use and will allow you to check exactly what your traders have. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted August 30, 2013 Author Report Share Posted August 30, 2013 Actually, I use the provided phpmyadmin that comes with my server, but thanks for that tip, although I've worked with game servers and databases for the last 11 years or so so I know about the external programs available. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted August 31, 2013 Author Report Share Posted August 31, 2013 Just did another search and found both the weapon and the ammo in the database tables afterall. Not sure what I searched for previously. wangtangnoodle 1 Link to comment Share on other sites More sharing options...
(AOW)Recon Posted February 27, 2015 Report Share Posted February 27, 2015 It's already in at the hero & bandit traders. There's the woodland camo variant to add to it if you'd like, aswell. BAF_LRR_scoped_W the BAF LRR scoped W is a green lupia :) 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