Jump to content

ItemConverter


xazax

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  427
  • Reputation:   123
  • Joined:  11/17/11
  • Last Seen:  

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
  • Love 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

Omg awesome

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  90
  • Reputation:   2
  • Joined:  11/14/11
  • Last Seen:  

i dont understand it..

but i think it awesome..

/no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

so meaning tou need to parse in the accessoryid

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  187
  • Reputation:   35
  • Joined:  01/01/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

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!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  187
  • Reputation:   35
  • Joined:  01/01/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

great!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  99
  • Reputation:   10
  • Joined:  11/21/11
  • Last Seen:  

reallly nice share <3

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  177
  • Topics Per Day:  0.04
  • Content Count:  909
  • Reputation:   247
  • Joined:  11/08/11
  • Last Seen:  

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

Edited by Ziu
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

Please fix class num is needed,

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   8
  • Joined:  02/08/12
  • Last Seen:  

What's New in Version 0.8 (See full changelog)

  • 0.8:
  • ClassNum support.
  • Improved error reporting.

classnum support already

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

Please fix class num is needed,

it is working already

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

Oh lol thx for letting me know

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

@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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  806
  • Reputation:   220
  • Joined:  03/13/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

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

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

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

Link to comment
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.

×
×
  • Create New...