Jump to content

Question

Posted

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.

Recommended Posts

Posted

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

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

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

Posted

 

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

Posted

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.

Posted

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!

Posted

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

Posted

 

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.

Posted

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,{},{},{}
Posted

 

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.

Posted

 

 

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

Posted

 

 

 

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.

Posted

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,{},{},{}
Posted

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?

Posted

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

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