Guides by Sunrise. Thanks to everyone who help me to learn this about KO =)
Thanks to the PJKO team. Special thanks to Knightonline.cn for the new Template.
Visit our Homepage/Forum at:
http://www.knightonline.cn/bbs/forum-58-1.html

Back to index
BACK
4.Change/fix/add items

To change the items, you need to edit the file data\item_org.tbl and the Database table ITEM_BASIC.
First I want to explain the table.
1st column: the id of the item. As far as I know you can give the item additions like in the selling group of a vendor (remember the last 3 digits?) but I never tested it.
2nd column: the type of the item. What those numbers mean, you can look up in my list section or in 6. - uniques, bases, and extensions by Modchamp
3rd column: the name. The name in the .tbl will be shown in game, if it differs from DB.
4th column: Description shown in the itemwindow. See above.
5th & 6th column: I think 5th was for object file and 6th for the item icon.
7th & 8th column: They tell what soundeffect is played when using. I like to use the same as every other item of the same kind I'm making.
9th column: I think it also tells the class.
10th column: usually 0. If it's a magican robe, it's 1.
11th c.:Don't know exactly ^^
12th c.:Requirement of a specific class (warrior=1,Hunter=2,Priest=3,Magican=4, but I'm not sure...)
the next don't need an explaination, because you can guess it with the DB, but I'll write them down for you...
attack damage,
attack speed,
attack range,
weight,
Maximal Durability,
buy price,
sell price,
defense value,
If you can stack it or not,
specifies some effect,
specifies some effect,
needed rank,
needed title,
needed strengh,
needed HP,
needed Dexterety,
needed inteligence,
needed MP,
and the last as you well know the Sellinggroup =)
The .tbl and ITEM_BASIC need to be the exactly the same, otherwise bugs will occur.
Now you sure know enough to customize your items or to make new ones if you got the better editor.

There are some weapons (for example) which don't work and you want to fix them? No problem.
Check if the tbl file row is exactly the same as in the database. What to do if it is, but there are still bugs? (like not buyable)
Go through the row and check if all values are logical. (no weapon as quest item, pendant marked as robe and so on...)
If everything is fine, there shouldn't be bugs anymore.

NEXT GUIDE