Jump to content
  • 0

Not showing when equip.


Deviszh

Question


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   3
  • Joined:  09/04/16
  • Last Seen:  

please help me.

 

my viewID is same in itemInfo.lua and itemdb.txt, but still not showing. Please help, im using kRO Latest Client.

 

Untitled.jpg

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   3
  • Joined:  09/04/16
  • Last Seen:  

You could also post how you managed to fix it. It will hep the community more if you are interested.

 

I just recheck the following files if they are correct. I dont have accessoryid.lua and accname.lua, so i tried to decompile it with the Microsoft Visual Studio, so the korean letters will change into numbers or words and I refer to this guide. https://rathena.org/wiki/Custom_Items#Structure

 

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

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

 

so thank you for this @mrmagic

 

Have you define them in:

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

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

 

Just recheck, if the error gives you the sprites or textures, check the data/textures and data/sprite of your grf and put the following sprites in ur error like this. 

 

Untitled.jpg

 

 

Also recheck the following if you put the right name, view id of the following:

 

-  idnum2itemdesctable.txt 

This file contains the description of your item, when it is right-clicked. The syntax for an item is:

ItemID#
Item Description Line 1
Item Description Line 2
#

- idnum2itemresnametable.txt

This file sets the inventory and drop-sprite for an the item. Item is defined as follows:

ItemID#SpriteName#

- itemslotcounttable.txt

The SpriteName is the name of the files in collection and item folders inside texture and the ones inside sprite folder. If you want to use the look of an another item, search for it's id and copy the sprite name from there.

ItemID#NumberOfSlots#

Also put the custom item in /System/ItemInfo.lua

[<item id>] = {
   unidentifiedDisplayName = <item name to show when not magnified>,
   unidentifiedResourceName = <file name prefix used for all the images and drop sprite when not magnified>,
   unidentifiedDescriptionName = { <comma separated list of strings>,<to get multiple lines>,<in item description> },
   identifiedDisplayName = <item name to show when magnified>,
   identifiedResourceName = <file name prefix used for all the images and drop sprite when magnified>,
   identifiedDescriptionName = { <same format as unidentifiedDescriptionName but for magnified items> },
   slotCount = <number of slots>,
   ClassNum = <View ID - yes the same one that was there item_db>
 },

Dont forget these: 

 

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

eg: ACCESSORY_PINKBUNNY_HAIRBAND = 663,
    ACCESSORY_GREENBUNNY_HAIRBAND = 664,
    ACCESSORY_<ITEM NAME> = <665> //This should be in number order
	

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

eg: [ACCESSORY_IDs.ACCESSORY_PINKBUNNY_HAIRBAND] = "_ÇÎÅ©Åä³¢¸Ó¸®¶ì",
    [ACCESSORY_IDs.ACCESSORY_GREENBUNNY_HAIRBAND] = "_±×¸°Åä³¢¸Ó¸®¶ì",
    [ACCESSORY_IDs.ACCESSORY_ITEM NAME] = "add the sprite of the item"

/no1  /no1  /no1

Edited by Kinkkynipps
  • Upvote 2
Link to comment
Share on other sites

  • 0

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

Have you define them in:

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

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   3
  • Joined:  09/04/16
  • Last Seen:  

Have you define them in:

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

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

 

yes, please let me use teamviewer.

 

FIXED, please close this thread. Thanks! @rAthena! :)

Edited by Kinkkynipps
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  193
  • Reputation:   41
  • Joined:  07/21/16
  • Last Seen:  

You could also post how you managed to fix it. It will hep the community more if you are interested.

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