Jump to content
  • 0

Adding a DMR to the trader? / Vehicle max limit ?


Infinity

Question

After having my server up for a few days I noticed that DMR's are pretty much .. non existent on Epoch,

so could anyone please assist/help me with adding a DMR at the Stary / NW AF ?

 

I'd like a buy price of 2 10oz gold and sell 1 10oz gold.

 

And one other question; if you sell vehicles to the trader; will those vehicles still count as a vehicle in the servers vehicle max limit?

 

Thanks in advanced, assistance is very much appreciated :D

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

Hey Infinity, Here is the SQL information you will need for the DMR and AMMO

 

Stary - Black Market Dealer / Weapons

Stary (DMR)



'["DMR",3]', 14, '[2,"ItemGoldBar10oz",1]', '[6,"ItemGoldBar",1]', 0, 526, 'trade_weapons');

 

 

Stary - Black Market Dealer / Ammo

Stary (DMR AMMO)



'["20Rnd_762x51_DMR",1]', 28, '[2,"ItemSilverBar10oz",1]', '[1,"ItemSilverBar10oz",1]', 0, 527, 'trade_items'),

 

The Same code for Bash but use 605 for the DMR and 614 for the ammo.

 

Also, the vehicles that get sold are reduced from the server max limit. If a vehicle is not in play it is not counted and selling a vehicle is removed from play.

Link to comment
Share on other sites

  • 0

Adds them to the black market trader, hero trader and bandit trader :)

INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["DMR",3]', '10', '[1,"ItemGoldBar10oz",1]', '[1,"ItemGoldBar10oz",1]', '0', '477', 'trade_weapons');
INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["DMR",3]', '10', '[1,"ItemGoldBar10oz",1]', '[1,"ItemGoldBar10oz",1]', '0', '627', 'trade_weapons');
INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["DMR",3]', '10', '[1,"ItemGoldBar10oz",1]', '[1,"ItemGoldBar10oz",1]', '0', '526', 'trade_weapons');
Selling any item to a trader increases the traders stock by 1 of that item.
Link to comment
Share on other sites

  • 0

No, stock is good, and yes they were working before the new patches.

They still work on my locked test server.

 

Whats really weird is I can put an Apache in at hero trader and you can buy and sell it, but no new guns or ammo.

I did add M240 nest and they worked fine. 

Link to comment
Share on other sites

  • 0

No, stock is good, and yes they were working before the new patches.

They still work on my locked test server.

 

Whats really weird is I can put an Apache in at hero trader and you can buy and sell it, but no new guns or ammo.

I did add M240 nest and they worked fine. 

Do you get any RPT errors?

Link to comment
Share on other sites

  • 0

I just watch the RPT as I bought a 20rnd_762x51_BSCAR clip and this is what it gave me. Took my money and no clip, but my database show 1 came out of inventory.

 

0:39:44 "EPOCH SERVERTRADE: Player: FrenzyFire000 bought a 20rnd_762x51_B_SCAR in/at Hero Vendor for 1x ItemGoldBar"

0:39:45 No owner
0:39:45 No owner

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...