Jump to content
  • 0

Custom Items problem


Scarlet Butterfly

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   0
  • Joined:  04/30/12
  • Last Seen:  

So I'm trying to implement a custom item called "Hollow Mask" from the Downloads section here in rAthena.

But when I go in game, it shows as an Unknown Item and when I try to wear it - it shows that I'm wearing it on the Equipment menu but not my actual character (please see images for reference). What could be wrong with my settings?

 

Preview:

 

2vhywbk.jpg

 

2cg0bb6.jpg

 

My files:

 

2luouvb.jpg - files

 

2lkqtqp.jpg - item file

 

ixcyo3.jpg - collection file
 

My settings:

 

File Location: data/...

 

idnum2itemdesctable

29000#
^008000[ Hollow Mask ]^000000
Item description coming soon~
Class :^777777 Headgear^000000
Defense :^777777 5^000000
Equipped On :^777777 Middle^000000
Weight :^777777 10^000000
Required Level :^777777 1^000000
Applicable Job :^777777 Every Job^000000
#

idnum2itemdisplaynametable

29000#Hollow Mask#

idnum2itemresnametable

29000#hollow_mask#

itemslotcounttable

29000#3#

luafiles514/luafiles/datainfo...

 

accessoryid.lub

ACCESSORY_IDs = {
  ACCESSORY_HOLLOW_MASK = 1082  
}

accname.lub

AccNameTable = {
  [ACCESSORY_IDs.ACCESSORY_HOLLOW_MASK] = "_hollow_mask"  
}

trunk/db/pre-re/item_db.txt

29000,hollow_mask,Hollow Mask,5,5,0,10,,5,,3,0xFFFFFFFF,7,2,512,,1,1,1082,{},{},{}

Please let me know if you require any more files.

Any help would be appreciated.

Thank you.

Link to comment
Share on other sites

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  657
  • Reputation:   662
  • Joined:  11/12/12
  • Last Seen:  

Oh, that's not the fox tail I used.

The item I have came from this link: https://rathena.org/board/files/file/3112-custom-collection-102-items/

 

Alright, the issue doesn't come from your settings, it was the drag files. Copy the files from the attached archive in this post in your ¾ÆÀÌÅÛ folder.

brown_fox_tail_drag.zip

Edited by Tokei
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  317
  • Reputation:   63
  • Joined:  11/13/11
  • Last Seen:  

Everything looks good to me. Seeing as how the client totally doesn't recognize the item (only the server does).

I would like to ask, are you using a client with date 2012-04-10 or earlier? If not, then your items' details must be on System\itemInfo.lub

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   0
  • Joined:  04/30/12
  • Last Seen:  

Oh really? And no, I'm using a 2013 client.

Is there any guide on how to go about implementing custom items with a 2013 client?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  12/06/14
  • Last Seen:  

	[29000] = {
		unidentifiedDisplayName = "Hollow Mask",
		unidentifiedResourceName = "hollow_mask",
		unidentifiedDescriptionName = {
			"Unknown Item, can be identified by [Magnifier]."
		},
		identifiedDisplayName = "Hollow Mask",
		identifiedResourceName = "hollow_mask",
		identifiedDescriptionName = {
			"<desc>",
			"<goes>",
			"<here>",
			"Class: ^777777Headgear^000000",
			"Defense: ^7777775^000000",
			"Location: ^777777Mid^000000",
			"Weight: ^77777710^000000",
			"Applicable Job: ^777777Every Job^000000"
		},
		slotCount = 3,
		ClassNum = 1082
	},

Something like that. Not sure on the resource name, since I've never had to bother with custom icons.

Slot it into roughly wherever item#29000 should be in your item.lub (or item.lua if your client is hexed that way). You can grab a decomplied item.lub/lua from https://github.com/ROClientSide/Translation if you don't have it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   0
  • Joined:  04/30/12
  • Last Seen:  

	[29000] = {
		unidentifiedDisplayName = "Hollow Mask",
		unidentifiedResourceName = "hollow_mask",
		unidentifiedDescriptionName = {
			"Unknown Item, can be identified by [Magnifier]."
		},
		identifiedDisplayName = "Hollow Mask",
		identifiedResourceName = "hollow_mask",
		identifiedDescriptionName = {
			"<desc>",
			"<goes>",
			"<here>",
			"Class: ^777777Headgear^000000",
			"Defense: ^7777775^000000",
			"Location: ^777777Mid^000000",
			"Weight: ^77777710^000000",
			"Applicable Job: ^777777Every Job^000000"
		},
		slotCount = 3,
		ClassNum = 1082
	},

Something like that. Not sure on the resource name, since I've never had to bother with custom icons.

Slot it into roughly wherever item#29000 should be in your item.lub (or item.lua if your client is hexed that way). You can grab a decomplied item.lub/lua from https://github.com/ROClientSide/Translation if you don't have it.

 

 

Just a couple questions here:

  • Do I put the itemInfo.lub file back to the RO/System folder?
  • Is there any guide to implementing custom items for 2013 Clients?

 

Thank you so much for all your help.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  12/06/14
  • Last Seen:  

Yep, just put the file in there once you've added the entry.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

 

	[29000] = {
		unidentifiedDisplayName = "Hollow Mask",
		unidentifiedResourceName = "hollow_mask",
		unidentifiedDescriptionName = {
			"Unknown Item, can be identified by [Magnifier]."
		},
		identifiedDisplayName = "Hollow Mask",
		identifiedResourceName = "hollow_mask",
		identifiedDescriptionName = {
			"<desc>",
			"<goes>",
			"<here>",
			"Class: ^777777Headgear^000000",
			"Defense: ^7777775^000000",
			"Location: ^777777Mid^000000",
			"Weight: ^77777710^000000",
			"Applicable Job: ^777777Every Job^000000"
		},
		slotCount = 3,
		ClassNum = 1082
	},

Something like that. Not sure on the resource name, since I've never had to bother with custom icons.

Slot it into roughly wherever item#29000 should be in your item.lub (or item.lua if your client is hexed that way). You can grab a decomplied item.lub/lua from https://github.com/ROClientSide/Translation if you don't have it.

 

 

Just a couple questions here:

  • Do I put the itemInfo.lub file back to the RO/System folder?
  • Is there any guide to implementing custom items for 2013 Clients?

 

Thank you so much for all your help.

 

 

It's almost the same method . the only different thing is you use iteminfo.lua/lub instead of those idnum / resname blah blah.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   0
  • Joined:  04/30/12
  • Last Seen:  

Ohhh I see. Though what I'm wondering about now is that whether the itemInfo.lub file goes back to RO/System folder? Or does it go to my data folder to create patch.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

Ohhh I see. Though what I'm wondering about now is that whether the itemInfo.lub file goes back to RO/System folder? Or does it go to my data folder to create patch.

 

It should be inside the System folder not inside the data files. 

 

It's easy to patch/update your iteminfo. if you use thor patcher you can choose file instead of RO - GRF.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   0
  • Joined:  04/30/12
  • Last Seen:  

Ohhhh, okay.

 

So just to double check:

  • Output: C:\Users\xxx\...\patchname.thor
  • [File]
  • Directory: C:\Users\xxx\...\System\itemInfo.lub (updated itemInfo.lub)
  • Directory: Root? (A little pop up window appeared after clicking generate)

 

Sorry for asking too much questions.

I just want to make sure it's correct.

Thank you so much for all your help!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  317
  • Reputation:   63
  • Joined:  11/13/11
  • Last Seen:  

On Directory (the pop-up that appears). You can choose Other and then type /System, then click Okay.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   0
  • Joined:  04/30/12
  • Last Seen:  

On Directory (the pop-up that appears). You can choose Other and then type /System, then click Okay.

 

Thank you !! It almost worked though !!

One more little problem - it doesn't show it in my character's face. But at least it shows the item in my equipment menu (please see image below).

 

v4xd0m.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

 

On Directory (the pop-up that appears). You can choose Other and then type /System, then click Okay.

 

Thank you !! It almost worked though !!

One more little problem - it doesn't show it in my character's face. But at least it shows the item in my equipment menu (please see image below).

 

v4xd0m.jpg

 

check the view id in your database.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   0
  • Joined:  04/30/12
  • Last Seen:  

This is what I have...

 

itemInfo.lub

		[29000] = {
		unidentifiedDisplayName = "Hollow Mask",
		unidentifiedResourceName = "hollow_mask",
		unidentifiedDescriptionName = {
			"Unknown Item, can be identified by [Magnifier]."
		},
		identifiedDisplayName = "Hollow Mask",
		identifiedResourceName = "hollow_mask",
		identifiedDescriptionName = {
			"<desc>",
			"<goes>",
			"<here>",
			"Class: ^777777Headgear^000000",
			"Defense: ^7777775^000000",
			"Location: ^777777Mid^000000",
			"Weight: ^77777710^000000",
			"Applicable Job: ^777777Every Job^000000"
		},
		slotCount = 3,
		ClassNum = 1082
	},

Item_db.txt

29000,hollow_mask,Hollow Mask,5,5,0,10,,5,,3,0xFFFFFFFF,7,2,512,,1,1,1082,{},{},{}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

 

This is what I have...

 

itemInfo.lub

		[29000] = {
		unidentifiedDisplayName = "Hollow Mask",
		unidentifiedResourceName = "hollow_mask",
		unidentifiedDescriptionName = {
			"Unknown Item, can be identified by [Magnifier]."
		},
		identifiedDisplayName = "Hollow Mask",
		identifiedResourceName = "hollow_mask",
		identifiedDescriptionName = {
			"<desc>",
			"<goes>",
			"<here>",
			"Class: ^777777Headgear^000000",
			"Defense: ^7777775^000000",
			"Location: ^777777Mid^000000",
			"Weight: ^77777710^000000",
			"Applicable Job: ^777777Every Job^000000"
		},
		slotCount = 3,
		ClassNum = 1082
	},

Item_db.txt

29000,hollow_mask,Hollow Mask,5,5,0,10,,5,,3,0xFFFFFFFF,7,2,512,,1,1,1082,{},{},{}

 

how about the sprite / act of that item is it already on the directory? I mean those drops / male / female sprites.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   0
  • Joined:  04/30/12
  • Last Seen:  

 

 

This is what I have...

 

itemInfo.lub

		[29000] = {
		unidentifiedDisplayName = "Hollow Mask",
		unidentifiedResourceName = "hollow_mask",
		unidentifiedDescriptionName = {
			"Unknown Item, can be identified by [Magnifier]."
		},
		identifiedDisplayName = "Hollow Mask",
		identifiedResourceName = "hollow_mask",
		identifiedDescriptionName = {
			"<desc>",
			"<goes>",
			"<here>",
			"Class: ^777777Headgear^000000",
			"Defense: ^7777775^000000",
			"Location: ^777777Mid^000000",
			"Weight: ^77777710^000000",
			"Applicable Job: ^777777Every Job^000000"
		},
		slotCount = 3,
		ClassNum = 1082
	},

Item_db.txt

29000,hollow_mask,Hollow Mask,5,5,0,10,,5,,3,0xFFFFFFFF,7,2,512,,1,1,1082,{},{},{}

 

how about the sprite / act of that item is it already on the directory? I mean those drops / male / female sprites.

 

 

 

Yes I believe I have the right folders and images in the right places. Please see screenshots below for reference.

 

 

Data Folder:

6yic6v.jpg

 

Item:

2lkqtqp.jpg

 

Collection:

ixcyo3.jpg

 

Sprite:

2iqcras.jpg

 

Female?

302bckk.jpg

 

Male?

2qbdtfk.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

 

 

 

This is what I have...

 

itemInfo.lub

		[29000] = {
		unidentifiedDisplayName = "Hollow Mask",
		unidentifiedResourceName = "hollow_mask",
		unidentifiedDescriptionName = {
			"Unknown Item, can be identified by [Magnifier]."
		},
		identifiedDisplayName = "Hollow Mask",
		identifiedResourceName = "hollow_mask",
		identifiedDescriptionName = {
			"<desc>",
			"<goes>",
			"<here>",
			"Class: ^777777Headgear^000000",
			"Defense: ^7777775^000000",
			"Location: ^777777Mid^000000",
			"Weight: ^77777710^000000",
			"Applicable Job: ^777777Every Job^000000"
		},
		slotCount = 3,
		ClassNum = 1082
	},

Item_db.txt

29000,hollow_mask,Hollow Mask,5,5,0,10,,5,,3,0xFFFFFFFF,7,2,512,,1,1,1082,{},{},{}

 

how about the sprite / act of that item is it already on the directory? I mean those drops / male / female sprites.

 

 

 

Yes I believe I have the right folders and images in the right places. Please see screenshots below for reference.

 

 

Data Folder:

6yic6v.jpg

 

Item:

2lkqtqp.jpg

 

Collection:

ixcyo3.jpg

 

Sprite:

2iqcras.jpg

 

Female?

302bckk.jpg

 

Male?

2qbdtfk.jpg

 

 

You need to check the main grf and see if its on the right directories.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   0
  • Joined:  04/30/12
  • Last Seen:  

By 'Main GRF' - I assume you mean MyServer.GRF?

Here are screenshots of my files in my main grf using GRF Builder.

 

 

Item:

30tibr5.jpg

 

Collection:
2a8ndqo.jpg

 

Drop:
iwp646.jpg

 

Female?

35hebes.jpg

 

Male?
296i2c2.jpg
 


Now when I attempted to upload another custom item, and double clicked it to wear it - it errors and boots me off the game.

Why is that?

 

Screenshot:

1z5hwy0.jpg

 

itemInfo.lub:

		[29001] = {
		unidentifiedDisplayName = "Fox Tail",
		unidentifiedResourceName = "_brownfoxtail",
		unidentifiedDescriptionName = {
			"Unknown Item, can be identified by [Magnifier]."
		},
		identifiedDisplayName = "Fox Tail",
		identifiedResourceName = "_brownfoxtail",
		identifiedDescriptionName = {
			"The original fox tail.",
			"Class: ^777777Headgear^000000",
			"Defense: ^7777775^000000",
			"Location: ^777777Lower^000000",
			"Weight: ^77777710^000000",
			"Applicable Job: ^777777Every Job^000000"
		},
		slotCount = 2,
		ClassNum = 1083
	},

item_db.txt

29001,_brownfoxtail,Fox Tail,5,5,0,10,,5,,3,0xFFFFFFFF,7,2,512,,1,1,1083,{},{},{}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

You need to check always the sprites and the ID's. maybe you miss something like item name _blahblah and blahblah. as you can see some items got " _ " before the letters, I think you get what I mean right?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  01/01/15
  • Last Seen:  

check your acessoryid.lub and accname.lub in the datainfo folder.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   0
  • Joined:  04/30/12
  • Last Seen:  

Thank you!

 

The Hollow Mask works (see image 1), but when I try to wear the Fox Tail, the client crashes (see image 2).

I thought I installed it the same way as the mask.

So I don't see why it errors.

 

Image 1

2ewo4yt.jpg

 

Image 2

25i3xqt.jpg

 

Item_db.txt

29000,hollow_mask,Hollow Mask,5,5,0,10,,5,,3,0xFFFFFFFF,7,2,512,,1,1,1082,{},{},{}
29001,brown_fox_tail,Fox Tail,5,5,0,10,,5,,3,0xFFFFFFFF,7,2,512,,1,1,1083,{},{},{}

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

  ACCESSORY_hollow_mask = 1082,
  ACCESSORY_brown_fox_tail = 1083,
}

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

  [ACCESSORY_IDs.ACCESSORY_hollow_mask] = "_hollow_mask",
  [ACCESSORY_IDs.ACCESSORY_brown_fox_tail] = "_brown_fox_tail",
}

itemInfo.lub

		[29000] = {
		unidentifiedDisplayName = "Natzu Mask",
		unidentifiedResourceName = "hollow_mask",
		unidentifiedDescriptionName = {
			"Unknown Item, can be identified by [Magnifier]."
		},
		identifiedDisplayName = "Natzu Mask",
		identifiedResourceName = "hollow_mask",
		identifiedDescriptionName = {
			"A mask exclusively for the administrator Natzu.",
			"Class: ^777777Headgear^000000",
			"Defense: ^7777775^000000",
			"Location: ^777777Mid^000000",
			"Weight: ^77777710^000000",
			"Applicable Job: ^777777Every Job^000000"
		},
		slotCount = 4,
		ClassNum = 1082
	},
	
		[29001] = {
		unidentifiedDisplayName = "Fox Tail",
		unidentifiedResourceName = "brown_fox_tail",
		unidentifiedDescriptionName = {
			"Unknown Item, can be identified by [Magnifier]."
		},
		identifiedDisplayName = "Fox Tail",
		identifiedResourceName = "brown_fox_tail",
		identifiedDescriptionName = {
			"The original fox tail.",
			"Class: ^777777Headgear^000000",
			"Defense: ^7777775^000000",
			"Location: ^777777Lower^000000",
			"Weight: ^77777710^000000",
			"Applicable Job: ^777777Every Job^000000"
		},
		slotCount = 2,
		ClassNum = 1083
	},

ITEMS:

 

Female:

29gbedc.jpg

 

Male:

mkiqmb.jpg

 

Item:

167l0xt.jpg

 

Collection:

ked6v6.jpg

 

Drop:

2nkktbk.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  01/01/15
  • Last Seen:  

I know this item, it causes errors too. Maybe the sprite or .act file is broken, try to open it with a sprite viewer or sth else.

Your entries are correct.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  02/11/12
  • Last Seen:  

Your client crash because u click on it? Open your drop item spr file with spr conview and look if there is something wrong.  Read this it can help you to understand the folder system for the sprites : https://rathena.org/wiki/Custom_Items

Edited by Karby
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  657
  • Reputation:   662
  • Joined:  11/12/12
  • Last Seen:  

Upload your files somewhere (or give us the link) for the Fox Tail. The file I found on rAthena ( https://rathena.org/board/files/file/2310-fox-tail/ ) is slightly different and it worked fine ingame. Everything appears to be set properly as well.

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