Jump to content
  • 0

Proper way of editing Iteminfo.lub 2015 Client?


Question

Posted

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!

9 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted (edited)

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
  • 0
Posted
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?

  • 0
Posted
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.

  • 0
Posted
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

  • 0
Posted
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?

  • 0
Posted
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.

  • 0
Posted

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 

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...