xazax

ItemConverter

Recommended Posts

index.php?app=downloads&module=display&section=screenshot&id=2448

File Name: ItemConverter

File Submitter: xazax

File Submitted: 03 Jul 2012

File Category: Client Tools

Content Author: Xazax

This tool intended to convert old txt files like idnum2itemdesctable, idnum2itemdisplaynametable, idnum2itemresnametable, itemslotcounttable, num2itemdesctable, num2itemdisplaynametable, num2itemresnametable to the new itemInfo.lua format. Although a conversion is available here: https://code.google....p/roclientside/, this tool can be usefull for those, who have translations or dozens of custom item.

Usage: browse to the folder, where your txt files are located ( using ... button ). Press the convert button, and chose the location where do you want to save the iteminfo.lua. Note: if you want classNum field to be filled, copy your item_db.txt to the same folder, where your client side files are located.

Click here to download this file

  • Upvote 4

Share this post


Link to post
Share on other sites

Omg awesome

Share this post


Link to post
Share on other sites

Newer 2012 clients use the ClassNum field because you have to indicate the view ID of the equipment that you're adding in. If it's for cards, usable, or etc. items, you don't need it. But for equipment and robes, you need to add the ID.

Share this post


Link to post
Share on other sites

so meaning tou need to parse in the accessoryid

Share this post


Link to post
Share on other sites

Newer 2012 clients use the ClassNum field because you have to indicate the view ID of the equipment that you're adding in. If it's for cards, usable, or etc. items, you don't need it. But for equipment and robes, you need to add the ID.

thats false

Share this post


Link to post
Share on other sites

Newer 2012 clients use the ClassNum field because you have to indicate the view ID of the equipment that you're adding in. If it's for cards, usable, or etc. items, you don't need it. But for equipment and robes, you need to add the ID.

thats false

please tell us the truth! xd

Share this post


Link to post
Share on other sites

I have suggest

function convert compare item_db.txt (ea and ra)

and

compare item_db default folder

data english

data kro

data other

thank you

Share this post


Link to post
Share on other sites

I have suggest

function convert compare item_db.txt (ea and ra)

and

compare item_db default folder

data english

data kro

data other

thank you

Seems like you don't know what is this program about, eh? I'd suggest you to try it!

Share this post


Link to post
Share on other sites

How is it false?

ClassNum = viewID if headgear/weapon/robes(garment) put 0 if not
   for headgear's viewID see accessoryid.lua
   for weapon's viewID see weapontable.lua
   for garment's viewID see spriterobeid.lua

I use the field for my custom helmets and they work fine when I get in-game. Because, thus it being said that ClassNum is used for the VIEW ID, I put the view ID of my helmets in there.

Share this post


Link to post
Share on other sites

viewids are still from serverside and using accesorryid/accname.luas

ClassNum was just a reference by kRO to easily identify which item is using this viewid since accesorryid doesnt list the items using it.

that also means ClassNum from iteminfo is optional you can always put 0 in it.

see my other structure of itemInfo.lub

http://svn6.assembla.com/svn/ClientSide/Translation_Project/Dev/System/itemInfo.lub

it doesnt have classnum

Share this post


Link to post
Share on other sites

viewids are still from serverside and using accesorryid/accname.luas

ClassNum was just a reference by kRO to easily identify which item is using this viewid since accesorryid doesnt list the items using it.

that also means ClassNum from iteminfo is optional you can always put 0 in it.

see my other structure of itemInfo.lub

http://svn6.assembla...em/itemInfo.lub

it doesnt have classnum

Oh, alright then.

Share this post


Link to post
Share on other sites

ClassNum was just a reference by kRO to easily identify which item is using this viewid since accesorryid doesnt list the items using it.

that also means ClassNum from iteminfo is optional you can always put 0 in it.

nice to hear

Share this post


Link to post
Share on other sites

great!

Share this post


Link to post
Share on other sites

ClassNum is needed.. because the client shows no sword, bows, shields sprite when equipped in the character.

Edited by Ziu

Share this post


Link to post
Share on other sites

Please fix class num is needed,

Share this post


Link to post
Share on other sites

Oh lol thx for letting me know

Share this post


Link to post
Share on other sites

@xazax

found problem with some item in resnametable

ex.

idnum2itemresnametable.txt

1141#นซวฐห#

Iteminfo.lua

 identifiedDisplayName = "Immaterial Sword",
 identifiedResourceName = "นซวฐห",
 identifiedDescriptionName = {

some word Disappear '' in Iteminfo.lua

when convert file.

please fix this thank you sir

Edited by Napster

Share this post


Link to post
Share on other sites

From which 2012 client version onwards does the client make use of iteminfo.lua ? /hmm right now im using 2012-04-10 and it doesnt seem to need this one or am I looking at this all wrong /panic

Share this post


Link to post
Share on other sites

date higher than 2012-04-10, mostly 2012-05 and up I guess

Share this post


Link to post
Share on other sites

I'm still having the classNum issue when converting my old text files, everything is just reported as zero in the outputted lua file. Is there something I am doing wrong (like a post file command that needs to be run or something ) or is it a bug?

Share this post


Link to post
Share on other sites

make sure you add your item_db.txt to the same folder

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...