Tommy
Founder
I recently created an Extendedcost and it isn't very hard at all.
I gave the ExtendedCost itemId the wrong Id, but no worries. XD
Let's get started:
.: DBC File(s) Needed :.
.: Chapter One - Editing in Taliis :.
You can look at: http://collab.kpsn.org/display/tc/ItemExtendedCost for more information about ItemExtendedCost.dbc.
Now, the only fields we're going to edit are:
Remove the other field values if you aren't going to use that field or if it doesn't effect anything.
The Unique ExtendedCost ID can be anything that hasn't been taken. I'm assuming you know what the rest is about. Required ItemID is the item entryID in item_template, items, item table (or another table if you're using another emulator) and the Required Item Count is how many items you want players to have before buying that item.
My row looks like this now:
Alright! You can continue to make as many rows and whatever you'd like to before continuing to the next chapter.
Don't forget to click save!
.: Chapter Two - Into an MPQ :.
.: Chapter Three - The database table :.
Everything should be done here, unless I forgot something. I don't remember editing anything else.. Well, enjoy
I gave the ExtendedCost itemId the wrong Id, but no worries. XD
Let's get started:
.: Programs Needed :.
.: DBC File(s) Needed :.
[*=1]ItemExtendedCost.dbc
.: Chapter One - Editing in Taliis :.
Okay, since you have everything (I assume) we can get started. Open up ItemExtendedCost.dbc in Taliis. After you have done that, right click another row and clone it, like so:
After you have cloned a row, here are the field names:
After you have cloned a row, here are the field names:
[*=2]#0 - Unique ExtendedCost ID
[*=2]#1 - Required Honor Points
[*=2]#2 - Required Arena Points
[*=2]#3 - Required Arena Slot
[*=2]#4 - Required ItemId 1
[*=2]#5 - Required ItemId 2
[*=2]#6 - Required ItemId 3
[*=2]#7 - Required ItemId 4
[*=2]#8 - Required ItemId 5
[*=2]#9 - Required Item Count 1
[*=2]#10 - Required Item Count 2
[*=2]#11 - Required Item Count 3
[*=2]#12 - Required Item Count 4
[*=2]#13 - Required Item Count 5
[*=2]#14 - Required Personal Arena Rating
You can look at: http://collab.kpsn.org/display/tc/ItemExtendedCost for more information about ItemExtendedCost.dbc.
Now, the only fields we're going to edit are:
[*=2]#0 - Unique ExtendedCost ID
[*=2]#4 - Required ItemId 1
[*=2]#9 - Required Item Count 1
Remove the other field values if you aren't going to use that field or if it doesn't effect anything.
The Unique ExtendedCost ID can be anything that hasn't been taken. I'm assuming you know what the rest is about. Required ItemID is the item entryID in item_template, items, item table (or another table if you're using another emulator) and the Required Item Count is how many items you want players to have before buying that item.
My row looks like this now:
Alright! You can continue to make as many rows and whatever you'd like to before continuing to the next chapter.
Don't forget to click save!
.: Chapter Two - Into an MPQ :.
After you're finished, we can put this into an MPQ file. Open up the MPQEditor you downloaded and go to File -> New MPQ Archive name it patch-7.MPQ or anything that hasn't been taken, or will be taken in the nearest future.
Click Next.
Bubble: Create an Empty MPQ archive
Click Next.
Leave everything as default.
Click Next.
Check the first option, I normally check the second, but it depends really on how you want everything.
Click Next.
Click Finish.
NOTE: You cannot open your MPQ file if it is being used by your WoW.exe program (or other). Close all program that can access this patch.
In your MPQEditor, right click "YOURPATCHNAME-WHATEVER.MPQ" and click on New Folder, like so:
Name your folder DBFilesClient. THE NAME MUST MATCH what I said to NAME IT.
Should look like:
Now, select the DBFilesClient folder, drag & drop ItemExtendedCost.dbc in it and close the MPQEditor. It automatically saves, don't worry. It should look like:
Only note the dbc file you're working with, ignore the others I have in the program.
Alright! Move the .MPQ file in World of Warcraft\Data.
Click Next.
Bubble: Create an Empty MPQ archive
Click Next.
Leave everything as default.
Click Next.
Check the first option, I normally check the second, but it depends really on how you want everything.
Click Next.
Click Finish.
NOTE: You cannot open your MPQ file if it is being used by your WoW.exe program (or other). Close all program that can access this patch.
In your MPQEditor, right click "YOURPATCHNAME-WHATEVER.MPQ" and click on New Folder, like so:
Name your folder DBFilesClient. THE NAME MUST MATCH what I said to NAME IT.
Should look like:
Now, select the DBFilesClient folder, drag & drop ItemExtendedCost.dbc in it and close the MPQEditor. It automatically saves, don't worry. It should look like:
Only note the dbc file you're working with, ignore the others I have in the program.
Alright! Move the .MPQ file in World of Warcraft\Data.
.: Chapter Three - The database table :.
Alright! We are almost done. I'm assuming you know how to handle the vendor table, right? Well, don't forget to do this!
Everything should be done here, unless I forgot something. I don't remember editing anything else.. Well, enjoy