Jump to content
  • 0

wrong ClassNum


teknical

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   0
  • Joined:  11/13/15
  • Last Seen:  

Could someone shed some light on this?

 

I downloaded files from here : https://github.com/ROClientSide/Translation

 

Now i was inspecting the classnum portion of the items and i noticed they were wrong for many of the weapons.  for instance this here:

[1505] = {
        unidentifiedDisplayName = "Mace",
        unidentifiedResourceName = "클럽",
        unidentifiedDescriptionName = {
            "Unknown Item, can be identified by ^6A5ACDMagnifier^000000.",
        },
        identifiedDisplayName = "Mace",
        identifiedResourceName = "메이스",
        identifiedDescriptionName = {
            "A flanged, solid club that is effective for simple smashing.",
            "Class: ^777777Mace^000000",
            "Attack: ^77777737^000000",
            "Weight: ^77777780^000000",
            "Weapon Level: ^7777771^000000",
            "Required Level: ^7777772^000000",
            "Jobs: ^777777Novice, Swordman, Acolyte, and Merchant Classes^000000",
        },
        slotCount = 4,
        ClassNum = 62   <--------------should be 8 according to my itemdb.

It's saying classnum = 62 when it should be 8. im glad i caught this fast and reverted to my original which is outdated because clients were crashing. 

 

now its like this throughout the weapons so im just curious is there something im missing?

Edited by Emistry
codebox
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  156
  • Reputation:   62
  • Joined:  11/24/14
  • Last Seen:  

That's the correct view number for that weapon's sprite.

Server can't use that number for database, so they use 8 instead.

 

See:

\data\luafiles514\lua files\datainfo\weapontable.lub

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   0
  • Joined:  11/13/15
  • Last Seen:  

That's the correct view number for that weapon's sprite.

Server can't use that number for database, so they use 8 instead.

 

See:

\data\luafiles514\lua files\datainfo\weapontable.lub

so with that said, what do you think would be causing the client to crash with the updated Iteminfo.lub i downloaded from that site because my weapontable.lub is the same as the one on that same site. 

 

also that same snippet i pasted up top, my original file had classnum = 8 while the new one has classnum = 62

Edited by teknical
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  156
  • Reputation:   62
  • Joined:  11/24/14
  • Last Seen:  

Are you sure the classnum was the real issue of your crashed client?

Letme see the screenshot of your crashed client

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   0
  • Joined:  11/13/15
  • Last Seen:  

hi zack,

yes the classnum is crashing the client.  i tested it by replacing the weapon numbers to the corrisponding sprite id's in my item_db and they are working now.  but im wondering why the updated file is crashing my clients. 

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