Jump to content
  • 0

Help! Custom Item not SHOWING


Gidz Cross

Question


  • Group:  Members
  • Topic Count:  124
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   83
  • Joined:  04/07/14
  • Last Seen:  

Quote

Hello rathena people! First im so sorry if i posted in the wrong section.

^ this is what i said here in https://rathena.org/board/topic/121639-help-custom-item-not-showing/ rathena general. Hehe!

 

Okay heres my problem. I am trying to create again a private server. And im in the phase where im putting custom items. So to test it out. Im trying to add 1 custom item which is a Wing. Btw, im using 2015-11-04aRagexe. Okay please look into the attached files.

 

  1. The first screenshot showing that im wearing the wing. But its not showing. (THIS IS MY PROBLEM)
  2. The second screenshot shows that i can drag the wing and it was showing its sprites.
  3. The third screenshot shows that i can drop it. So no problem regarding to sprites.

Here is my settings

accessoryid.lub = thats my view id

ACCESSORY_IDs = {
	.
	.
	.
	.
	.
	ACCESSORY_C_Luna_On_Shoulder = 1881,
	ACCESSORY_Devil_Wings = 1882
}

accname.lub 

AccNameTable = {
	.
	.
	.
	[ACCESSORY_IDs.ACCESSORY_C_Luna_On_Shoulder] = "_C_Luna_On_Shoulder",
	[ACCESSORY_IDs.ACCESSORY_Devil_Wings] = "Devil_Wings"
}
tbl = {
	[32165] = {
		unidentifiedDisplayName = "Wings",
		unidentifiedResourceName = "Devil_Wings",
		unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." },
		identifiedDisplayName = "Devil Wings",
		identifiedResourceName = "Devil_Wings",
		identifiedDescriptionName = { "Wings of Papa Josh" },
		slotCount = 0,
		ClassNum = 1882
	},
}

^ Well this is my iteminfo.lua

 

and finally this is my item.db

32165,Devil_Wings,Devil Wings,4,20,,100,,0,,0,0xFFFFFFFE,7,2,1,,0,0,1882,{},{},{}




Can you help me guys? Im desperate. Thanks in advance!

screenrAthena000.jpg

screenrAthena001.jpg

screenrAthena002.jpg

Link to comment
Share on other sites

16 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  124
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   83
  • Joined:  04/07/14
  • Last Seen:  

1 hour ago, Bringer said:

data.rar do you mind try this data

Oh so the real name of this is Baal Wings. Thank you so much for providing me the original files! ♥

 

But i already fixed the problem by changing the view id into 2000. Im not sure how it works but hey it works! Thank you!

Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   22
  • Joined:  11/23/11
  • Last Seen:  

I finally solved my issue.

I had correctly follow the custom item guides, but the problem seems to lie either between the client or Iteminfo.lub that cause the problem.

First, I was looking around at other server's Iteminfo.lub to compare it to mine to see what I was doing wrong, turns out that all the custom items ViewID are supposed to be 0? On contrary to guides online, I changed my ViewID to 0. That was the first fix. However, the custom item still did not appear. After that, I concluded that I'm going to re-patch my client with NEMO, nothing really different from my original patching and now. Desperately working on the fix, I login and the custom item appears and is working.

I had no idea what was really wrong, but all I did was retrace my steps and tweak a couple things, while learning the process between the client -> gtf -> server more in-depth. I hope this reply will help someone in the future when they get stuck like me.

Thank you to @OwnedGGWP for helping me over discord.

 

UPDATE:

So, looking into it deeper, it wasn't the client, I totally had my accname.lub / accessoryid.lub in the right folder, but wrong directory. I had it to put my files in data/luafiles514/lua files/datainfo instead of data/luafiles514/datainfo.

 

Edited by Katazui
  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   21
  • Joined:  07/05/18
  • Last Seen:  

@gidzdlcrz 

11 hours ago, gidzdlcrz said:

But i already fixed the problem by changing the view id into 2000. Im not sure how it works but hey it works! Thank you!

the client by default has item idview 2000, to implement more, it´s is recommended to increase that value to 5000 or 8000 on your Nemo patcher, and then make sure all the file and resource name are correctly added on your files.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  124
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   83
  • Joined:  04/07/14
  • Last Seen:  

On 11/15/2019 at 1:52 AM, OptimusM said:

@gidzdlcrz 

the client by default has item idview 2000, to implement more, it´s is recommended to increase that value to 5000 or 8000 on your Nemo patcher, and then make sure all the file and resource name are correctly added on your files.

Yes. I diffed my to 5000 views. But it was solved anyways. How to mark ths thread as solved?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   22
  • Joined:  11/23/11
  • Last Seen:  

Hey @gidzdlcrz, I actually am having a similar problem. Everything checks out to be working, however, whenever I put on the item, it seems to not appear. I was wondering the ViewID, I also happened to have my ViewID at 1882, and changed it to 2000. With the 2000, I had a error and the client crashes. 

On a side note, how are you able to change the idview number to increase over 2000?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  124
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   83
  • Joined:  04/07/14
  • Last Seen:  

9 hours ago, Katazui said:

Hey @gidzdlcrz, I actually am having a similar problem. Everything checks out to be working, however, whenever I put on the item, it seems to not appear. I was wondering the ViewID, I also happened to have my ViewID at 1882, and changed it to 2000. With the 2000, I had a error and the client crashes. 

On a side note, how are you able to change the idview number to increase over 2000?

You have to diff your client. I have mastered this method again after a long time. Anyways, you need to use nemo (thats a client differ) Increase the viewid from there. Then a your grf look for the file accessoryid.lub and accname.lub

From there you will need to add the custom headgear that you added.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   22
  • Joined:  11/23/11
  • Last Seen:  

1 hour ago, gidzdlcrz said:

You have to diff your client. I have mastered this method again after a long time. Anyways, you need to use nemo (thats a client differ) Increase the viewid from there. Then a your grf look for the file accessoryid.lub and accname.lub

From there you will need to add the custom headgear that you added.

Hey, thank you for your reply. I was able to diff my client and increase my ViewID to 5000. However, I'm still encountering the same problem where the custom items are wearable, the drop spr/act, works, and so does the desc, but the actual item on my character does not appear? I tried adjusting the viewID to 2000 you, @gidzdlcrz. But, no luck. Any ideas what's happening?

Edited by Katazui
Grammar
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  124
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   83
  • Joined:  04/07/14
  • Last Seen:  

4 hours ago, Katazui said:

Hey, thank you for your reply. I was able to diff my client and increase my ViewID to 5000. However, I'm still encountering the same problem where the custom items are wearable, the drop spr/act, works, and so does the desc, but the actual item on my character does not appear? I tried adjusting the viewID to 2000 you, @gidzdlcrz. But, no luck. Any ideas what's happening?

Please check your item_db.txt

whats on accessoryid.lub and accname.lub

For instance
 

//5134,Pumpkin_Hat,Pumpkin-Head,4,20,,200,,2,,0,0xFFFFFFFF,63,2,256,,0,1,206,{ bonus2 bSubRace,RC_Demon,5; },{},{}

the 206 is the view id.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   22
  • Joined:  11/23/11
  • Last Seen:  

On 4/16/2020 at 5:22 PM, gidzdlcrz said:

Please check your item_db.txt

whats on accessoryid.lub and accname.lub

For instance
 


//5134,Pumpkin_Hat,Pumpkin-Head,4,20,,200,,2,,0,0xFFFFFFFF,63,2,256,,0,1,206,{ bonus2 bSubRace,RC_Demon,5; },{},{}

the 206 is the view id.

@gidzdlcrz

I'm still having the same problem where the items aren't appearing not matter what ViewID I change it too.

 

Server Side:

db/import/item_db.txt

32500,Black_Elfs_Aura,Black_Elfs_Aura,4,20,,0,,1,,1,0xFFFFFFFF,63,2,512,,1,0,2000,{},{},{}

 

Client Side:

System/itemInfo.lua

tbl = {
	[32500] = {
		unidentifiedDisplayName = "Black Aura",
		unidentifiedResourceName = "Black_Elfs_Aura",
		unidentifiedDescriptionName = { "" },
		identifiedDisplayName = "Black Aura",
		identifiedResourceName = "Black_Elfs_Aura",
		identifiedDescriptionName = {
			"The dark consumes you."
		},
		slotCount = 1,
		ClassNum = 2000
	}
}

 

data/luafiles514/datainfo/accessoryid.lub

ACCESSORY_IDs = {
	ACCESSORY_GOGGLES = 1,
	ACCESSORY_CATTYHAIRBAND = 2,
	...
	ACCESSORY_C_Luna_On_Shoulder = 1881,
	ACCESSORY_Black_Elfs_Aura = 2000
}

 

data/luafiles514/datainfo/accname.lub

AccNameTable = {
	[ACCESSORY_IDs.ACCESSORY_GOGGLES] = "_고글",
	[ACCESSORY_IDs.ACCESSORY_CATTYHAIRBAND] = "_고양이머리띠",
	...
	[ACCESSORY_IDs.ACCESSORY_C_Luna_On_Shoulder] = "_C_Luna_On_Shoulder",
	[ACCESSORY_IDs.ACCESSORY_Black_Elfs_Aura] = "_Black_Elfs_Aura"
}

 

Here's all my files. I'm not sure I'm missing anything. Could it be a simple syntax error? I would also put the same files into .grf format, still the same result.

screenAnnandale002.jpg

screenAnnandale001.jpg

screenAnnandale000.jpg

 

Untitled.png

Edited by Katazui
Added data folder image.
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  124
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   83
  • Joined:  04/07/14
  • Last Seen:  

1 hour ago, Katazui said:

@gidzdlcrz

I'm still having the same problem where the items aren't appearing not matter what ViewID I change it too.

 

Server Side:

db/import/item_db.txt


32500,Black_Elfs_Aura,Black_Elfs_Aura,4,20,,0,,1,,1,0xFFFFFFFF,63,2,512,,1,0,2000,{},{},{}

 

Client Side:

System/itemInfo.lua


tbl = {
	[32500] = {
		unidentifiedDisplayName = "Black Aura",
		unidentifiedResourceName = "Black_Elfs_Aura",
		unidentifiedDescriptionName = { "" },
		identifiedDisplayName = "Black Aura",
		identifiedResourceName = "Black_Elfs_Aura",
		identifiedDescriptionName = {
			"The dark consumes you."
		},
		slotCount = 1,
		ClassNum = 2000
	}
}

 

data/luafiles514/datainfo/accessoryid.lub


ACCESSORY_IDs = {
	ACCESSORY_GOGGLES = 1,
	ACCESSORY_CATTYHAIRBAND = 2,
	...
	ACCESSORY_C_Luna_On_Shoulder = 1881,
	ACCESSORY_Black_Elfs_Aura = 2000
}

 

data/luafiles514/datainfo/accname.lub


AccNameTable = {
	[ACCESSORY_IDs.ACCESSORY_GOGGLES] = "_고글",
	[ACCESSORY_IDs.ACCESSORY_CATTYHAIRBAND] = "_고양이머리띠",
	...
	[ACCESSORY_IDs.ACCESSORY_C_Luna_On_Shoulder] = "_C_Luna_On_Shoulder",
	[ACCESSORY_IDs.ACCESSORY_Black_Elfs_Aura] = "_Black_Elfs_Aura"
}

 

Here's all my files. I'm not sure I'm missing anything. Could it be a simple syntax error? I would also put the same files into .grf format, still the same result.

screenAnnandale002.jpg

screenAnnandale001.jpg

screenAnnandale000.jpg

 

Untitled.png

You got teamviewer? Dm me.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   22
  • Joined:  11/23/11
  • Last Seen:  

bump

EDIT:

If this helps, whenever I @changelook 32500, (item id) my client crashes. Whenever I @changelook 2000 my view id, nothing shows up, but my game still works. I'm not sure if something is missing. I also have my idnum... text files correctly filled out in my data/ folder. I'm also using renewal.

EDIT2:

I changed my viewID to 3000, I have already NEMO patched my client ViewID to 5000 already. I still get the same results.

I also try adding a different custom item to see if the item is faulty, seems like it's happening with every custom item I try to add, I get the same results as above.

Edited by Katazui
more information
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  11/24/19
  • Last Seen:  

you have a error

[ACCESSORY_IDs.ACCESORY_Devil_Wings] = "(here)Devil_Wings"

i think if u add "_" before Devil that item work ok... so this is a corred code:

[ACCESSORY_IDs.ACCESORY_Devil_Wings] = "_Devil_Wings"

"hi by GriimStrike" ^^

Edited by OwnedGGWP
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  81
  • Reputation:   17
  • Joined:  07/18/16
  • Last Seen:  

are you sure that you edited the top .grf ( I mean no.1 grf in DATA.INI )
because if there's other .grf above your edited grf
and it has accname.lub and accid.lub
it wont read your edited grf but the above one

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   22
  • Joined:  11/23/11
  • Last Seen:  

19 hours ago, kodkodkub said:

are you sure that you edited the top .grf ( I mean no.1 grf in DATA.INI )
because if there's other .grf above your edited grf
and it has accname.lub and accid.lub
it wont read your edited grf but the above one

 

20 hours ago, OwnedGGWP said:

you have a error

[ACCESSORY_IDs.ACCESORY_Devil_Wings] = "(here)Devil_Wings"

i think if u add "_" before Devil that item work ok... so this is a corred code:

[ACCESSORY_IDs.ACCESORY_Devil_Wings] = "_Devil_Wings"

"hi by GriimStrike" ^^

So, I was reading the wiki on how to add custom items, and I think I missed a step where you're supposed decompile lub to lua, then back to lub, after adding your custom items. I am totally lost on this part. On some topics, I read that you can just change the extension of the file and that works? So far, doing that hasn't been beneficial. 

My question is, how do you decompile lub to lua properly? This is a crucial step? Could this be the reason?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  81
  • Reputation:   17
  • Joined:  07/18/16
  • Last Seen:  

GRF Editor

image.png.e183ae5d7088b81960a075ad2a0a2a1e.png

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