I can't seem to find anything about this and it suprises me so my friend asked for a guide.
Okay to clearly explain the purpose of this guide, This guide will tell you how to add for example a donation token requirement in order to buy an item.
This guide is made for Arcemu but I'm pretty sure its the same basics for any other emulator.
I'm assuming you already have a server with mysql and navicat
I'm assuming you already have a vendor creature and an item to add to the vendor
Okay lets get started.
1. Download Taliis (Make sure you have Java installed to open it)
Filebeam - Free Fast File Hosting
Extract and open it up
2. Click "File" on the top left and then "Open", Find your ArcEmu folder (Or whatever you have) Open it, Then open the folder DBC, Then find ItemExtendedCost.dbc.
In short, Open Arcemu\dbc\ItemExtendedCost.dbc
3. Doubleclick on ItemExtendedCost.dbc in the left, Then click on Table.
Scroll to the bottom and click on the lowest one. And then click on this button to add a new row
4. Now you added a new row, We're gonna edit it, So lets see what all the numbers do in order
#0 ID
#1 Honor Points
#2 Arena points
#3 Item ID 1
#4 Item ID 2
#5 Item ID 3
#6 Item ID 4
#7 Item ID 5
#8 Item Count 1
#9 Item Count 2
#10 Item Count 3
#11 Item Count 4
#12 Item Count 5
#13 Unknown
#14 Unknown
5. Okay if you have copied the row, First of all change the ID so it's not duplicated
Change the new row's #0 from 2589 (Can also be higher this is for patch 3.0.9) to the next following, In this case 2590
Remember this new ID.
Then set all the rest in the new row to 0 so it doesnt get buggy
6. Then you can choose,
If you want honor, Then you type in the amount of honor needed in #1
If you want arena points, You type in the amount in #2
If you want an item you type in the Item ID in #3 and the amount needed in #8.
If you want more item requirements (For example a Donation token and an event token) You type in the Item ID in #3 and the amount needed in #8.
And type in the Item ID2 in #4 and the amount needed in #9.
Well you get the idea :P
You can also do a combination of all of them.
7. When you are done, Select a different row, Then click "File" again, and "Save".
Make sure you click on a different row first else it doesn't save for some reason <<
Okay now we're gonna go into the database.
8. Go to the World database and open the table "vendors"
If you have created the vendor itself without the extended cost, skip to step 10
9. If you dont have the vendor created yet add a new row
In the first one you enter the Creature's ID,
In the second one the item ID
Make Just leave amount, maxamount and inctime to 0
10. In extended_cost you fill in the ID of the ItemExtendedCost you created, In my case 2590
11. Restart the server and test :P
I hope that was clear enough, This is my first real guide so :P
Feel free to post any questions.