Jump to content
  • 0

Proper way of editing Iteminfo.lub 2015 Client?


Malice

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   1
  • Joined:  02/02/17
  • Last Seen:  

Hi everyone,

So I managed to add custom items and edit my iteminfo.lub without any system errors. However the problem is that I dont see other players weapon when they attack. So I tried a trial and error and figured out it was my iteminfo.lub thats causing the issue. Is there any proper way to edit my iteminfo.lub? 

What I've tried:
Open to notepad -> save as lua -> edit -> save as lub
changing extension as lua
changing extension as lub

Thanks in Advance!

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  182
  • Reputation:   32
  • Joined:  10/26/12
  • Last Seen:  

ClassNum affect the view of weapon sprite.

The correct id for each weapon can be found in weapontable.lub

example if you want a sword, then you need to set

ClassNum = 2

As you see 0 mean None, no weapon sprite will be used.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   1
  • Joined:  02/02/17
  • Last Seen:  

But I edited the same iteminfo.lub and just type the custom item and saved it back.

All clasnum in my original iteminfo.lub is 0 is working fine.

But when I edit it and save it I dont see other peoples weapon sprite when they attack.

Edited by Malice
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  120
  • Reputation:   48
  • Joined:  07/23/13
  • Last Seen:  

In my experience, you should put the view id in 'view' column of 'item_db_re' table which in your sql database

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   1
  • Joined:  02/02/17
  • Last Seen:  

3 hours ago, yuchinin said:

In my experience, you should put the view id in 'view' column of 'item_db_re' table which in your sql database

But I still have to edit the Iteminfo.lub to show the item information and so that it show as uknown item right?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  120
  • Reputation:   48
  • Joined:  07/23/13
  • Last Seen:  

4 hours ago, Malice said:

But I still have to edit the Iteminfo.lub to show the item information and so that it show as uknown item right?

Yup that's right. You need to add your item name and description into Iteminfo.lub so it will show it's name and description in-game.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   1
  • Joined:  02/02/17
  • Last Seen:  

On 7/29/2017 at 9:18 AM, yuchinin said:

Yup that's right. You need to add your item name and description into Iteminfo.lub so it will show it's name and description in-game.

So thats my question is how to edit it properly without messing up the callviews

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  120
  • Reputation:   48
  • Joined:  07/23/13
  • Last Seen:  

57 minutes ago, Malice said:

So thats my question is how to edit it properly without messing up the callviews

If you worry you will mess it up when you adding the custom item info, you can always copy any premade official item info and modify it to suit your need.

I use notepad++ to add new item info and save it as usual and never had any problem before.
Anyway what is that "callviews" you mean?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   1
  • Joined:  02/02/17
  • Last Seen:  

On 8/1/2017 at 1:47 AM, yuchinin said:

If you worry you will mess it up when you adding the custom item info, you can always copy any premade official item info and modify it to suit your need.

I use notepad++ to add new item info and save it as usual and never had any problem before.
Anyway what is that "callviews" you mean?

Im not worried about it since I always have a backup of it. Anyway going back to my point I have edited iteminfo with notepad++ but like I said after saving thats when  the problem show up.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   1
  • Joined:  06/07/17
  • Last Seen:  

If you found this post and need an answer for this problem you gotta edit it using wordpad , that easy . that way it won't be messed up. but make sure you got your backup 

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