Jump to content
  • 0

How important is 'ClassNum' field in iteminfo.lub?


HristDead

Question


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  167
  • Reputation:   2
  • Joined:  08/01/12
  • Last Seen:  

Hi rAthena,

I noticed something interesting today when I was fixing up some costumes. I was obligated to change the view ID range of them because the range I choose (4500s) weren't working, so I went for 2600s instead. Right so I changed the view IDs in item_db.txt and in accessoryid.lub, then rebooted my server to see if that did the trick.

To my surprise, they show up fine now... I find it pretty weird because the (iteminfo.lub's) ClassNum of the costumes haven't been changed yet/are still in the 4500s range. Which makes me wonder... Actually how important is setting the ClassNum field for headgears/costumes? I was certain it needed to correspond with the view ID defined in the other files. Could someone shed some light? ? 

My client is 2016-12-28aRagexeRE

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

on the character selection , the view id come from the server

after that inside the game the view id come from the lua files

 

to put high view id in the client , you need to patch your client to allow that , use nemo for that 

image.thumb.png.89f31f0ce7ad0a26866a3090ce967219.png

Edited by sader1992
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  167
  • Reputation:   2
  • Joined:  08/01/12
  • Last Seen:  

9 hours ago, sader1992 said:

on the character selection , the view id come from the server

after that inside the game the view id come from the lua files

 

to put high view id in the client , you need to patch your client to allow that , use nemo for that 

image.thumb.png.89f31f0ce7ad0a26866a3090ce967219.png

Hi. Thanks Sader. I get that. However that still doesn't explain why my costumes work if the view ID in 'Classum' (iteminfo.lub) does not correspond with the view IDs i've set in the item_db.txt and accessoryid.lub.

Shouldn't they be blank if it doesn't correspond? ?

I'm asking because I have hundreds of costumes and prefer not editing the view IDs in iteminfo.lub as you might imagine, but I don't know if keeping the old (4500s) view IDs will screw anything up if I do.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

If I'm not wrong clients before 2018-01-24 don't need ClassNum field, as stated by Zackdreaver's translation project, doc/compatibility list.md.

 

Edited by llchrisll
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...