Ok, there are a few small steps required to do this.
First
Decrypt the itemtype.dat (search DatCryptor on forum)
The best thing to do, is select an item of similar purpose to yours.
Example: You want to make a demonhorn, select darkhorn. Search it in the decrypted itemtype.dat, and copy the line.
Then, change specific info of the line to suite your tastes, I'll give an example.
Code:
790001 DarkHorn 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1000 0 0 0 0 QuestItem [Dis~City]~Give~it~to~SolarSaint.~Do~not~take~it~to~Dis~City.~Or~you~will~lose~it.
modifications
Code:
[COLOR="Red"]1100015[/COLOR] DemonHorn 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1000 0 0 0 0 [COLOR="Blue"]QuestItem [Mystic~Forest~Quest]~Give~To~CrazyOldMan~NewForest~301,475.[/COLOR]
Red is the ItemId, blue is what you want it to say when a person hovers there mouse over it, change to your liking, just make sure not to create an Id already in use.
Now recrypt the server.dat using the same tool, and replace in your client. Make sure to backup incase you screw up.
Now open MySql, and add the item, use the correct Id.
Next you'll have to decide on an image for the item... hell, let's just use the darkhorn image. Go into your data folder in the client, and find the texture in the MapItemIcon, and ItemMinIcon, record the name, which is most likely a number. If you don't have the textures in there, extract them from the ani files in the clients ani folder using a wdf batcher or extractor, can't remember which it's called atm.
Next, go into the ani folder in the client, and open the MapItemIcon in notepad. Just scroll to the very bottom and copy...
Code:
[722448]
FrameAmount=1
Frame0=data/MapItemIcon/1060101.dds
and paste below
Then change it to match your item.
Code:
[[COLOR="Red"]1100015[/COLOR]]
FrameAmount=1
Frame0=data/MapItemIcon/[COLOR="Blue"]2000031.dds[/COLOR]
Put your ItemId for the red, and the texture name for the blue.
Do the same with ItemMinIcon.ani
now if you want to be able to get it through a command, like /item Normal2 DemonHorn 0 0 0 0 0
go into your actual source folder, into the bin/debug section, and open ItemNamesToId.
Simply scroll to the bottom and add a line such as
And your done. Atleast I think you're done, I could be missing something, but I think that's all. You can also use custom textures if you want too, just make sure to get the alpha layering done properly, and name it the same as the ID you're going to use for the Item, so it's easy to keep track of.
Oh, on a side note, if others play your server, and you want them to be able to get the item, make sure to provide a patch to them with the editted ItemType.dat, MapItemIcon.ani, and the ItemMinIcon.ani aswell as textures if you created custom ones.
Hope that helps, and goodluck.