armedmonkey
24.07.2006, 14:27
The admin of my server asked me to make an items db like pmfun or onlinewelten that worked for our server. He gave me the NPCData file.
I wrote a program that parses it into a database, but unfortunately the NPCData file only lists the item_ids instead of the Friendly Names. I tried looking in ItemData-e.dat, but I could not figure out any way to link them up.
Could someone give me a tip on how to get this working?
I basically need a way to go from avadon_circlet to "Avadon Circlet" (if only all items were simular like this)
edit:
after some more work I decoded etcitemgrp.dat, armorgrp, and weapongrp, as well at itemgrp, but those don't really help me in the end because they don't contain the weapon id's.. I can't find a programatic way to link them to the drops defineed in npcdata.txt
I wrote a program that parses it into a database, but unfortunately the NPCData file only lists the item_ids instead of the Friendly Names. I tried looking in ItemData-e.dat, but I could not figure out any way to link them up.
Could someone give me a tip on how to get this working?
I basically need a way to go from avadon_circlet to "Avadon Circlet" (if only all items were simular like this)
edit:
after some more work I decoded etcitemgrp.dat, armorgrp, and weapongrp, as well at itemgrp, but those don't really help me in the end because they don't contain the weapon id's.. I can't find a programatic way to link them to the drops defineed in npcdata.txt