Jump to content
  • 0

How to use itemInfo.lua?


Reisama

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  02/23/12
  • Last Seen:  

Recently, I decided to update my server's client to a recent, stable version. After some research, I noticed that the old files for custom items (namely the txt files that was used to define them) have been essentially merged into a single .lua file in the System folder of the RO Install directory.

I have added entries for all my custom items, but I have no idea how to make it work. If anyone knows how to make this new version of custom gears work, please help.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


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

if you want to not use iteminfo you can use 2012-04-10

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  87
  • Reputation:   13
  • Joined:  02/15/12
  • Last Seen:  

Just rename the iteminfo.lua to iteminfo.lub ~works like a charm.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  02/23/12
  • Last Seen:  

I tried renaming the file, and it did not work. I would rather not use a different client, as this new list in ItemInfo.lua is rather nice and cleaner to edit.

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:  

what works for me is dont use read data folder first or loa lua before lub and rename everything to lub

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:  

itemInfo.lub only handles item desc/resourcename/slots if those works in your custom items then it is not a problem in itemInfo.lub

if the problem happens when you equip the custom item then the problem is accname/accessoryid.lua/lub

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
Answer this question...

×   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...