Jump to content
  • 0

Can't get sprite to work.


Question

Posted

Hi rAthena,

I reach out to you because I've been breaking my head about this problem all day. Hopefully you can help.

First things first, I extracted the following sprite (cons_of_poison) from TaiwanRO grf:

cons_of_poison.gif.6820ca39880f9d04e06ed747dee33636.gif

 

In GRF Editor it looks perfect, however, as soon as I equip it in-game there is nothing to see.

Well, not exactly... in the equip window, I see the Scaraba Queen helmet, but according to GRF Editor that's right because it's a combined sprite headgear. 


image.png.de814bef2318a42a44499ce1ea3ed830.png
 

Either way so it doesn't actually show the poison aura.  I should add that all other con_of_water/wind/earth/fire/darkness sprites work just fine.

Lub info:

	[39087] = {
		unidentifiedDisplayName = "Hat",
		unidentifiedResourceName = "Èĵå",
		unidentifiedDescriptionName = {
			"Unidentified item, can be identified with [Magnifier]."
		},
		identifiedDisplayName = "Costume Cons of Poison",
		identifiedResourceName = "cons_of_poison",
		identifiedDescriptionName = {
			"Test",
			"^ffffff_^000000",
			"Class: ^777777Costume^000000",
			"Location: ^777777Mid^000000",
			"Weight: ^7777770^000000",
			"Jobs: ^777777All Jobs^000000",
		},
		slotCount = 0,
		ClassNum = 3024,
	},


Item db info (yes, I still use an old revision):
 

39087,Cons_of_Poison,Costume Con of Poison,4,20,,0,,0,,0,0xFFFFFFFF,63,2,2048,,0,0,3024,{},{},{}

 

Accessoryid:

ACCESSORY_Cons_Of_Poison = 3024,

Accname:

	[ACCESSORY_IDs.ACCESSORY_Cons_Of_Poison] = "_Cons_Of_Poison"

Sprites all present in the right directory:

image.png.8f76e5c0335dff76d9a5186f181fc5bc.png

 

Anyone got a clue what might be wrong?

12 answers to this question

Recommended Posts

  • 0
Posted
3 hours ago, Charelle said:

Hi rAthena,

I reach out to you because I've been breaking my head about this problem all day. Hopefully you can help.

First things first, I extracted the following sprite (cons_of_poison) from TaiwanRO grf:

cons_of_poison.gif.6820ca39880f9d04e06ed747dee33636.gif

 

In GRF Editor it looks perfect, however, as soon as I equip it in-game there is nothing to see.

Well, not exactly... in the equip window, I see the Scaraba Queen helmet, but according to GRF Editor that's right because it's a combined sprite headgear. 


image.png.de814bef2318a42a44499ce1ea3ed830.png
 

Either way so it doesn't actually show the poison aura.  I should add that all other con_of_water/wind/earth/fire/darkness sprites work just fine.

Lub info:

	[39087] = {
		unidentifiedDisplayName = "Hat",
		unidentifiedResourceName = "Èĵå",
		unidentifiedDescriptionName = {
			"Unidentified item, can be identified with [Magnifier]."
		},
		identifiedDisplayName = "Costume Cons of Poison",
		identifiedResourceName = "cons_of_poison",
		identifiedDescriptionName = {
			"Test",
			"^ffffff_^000000",
			"Class: ^777777Costume^000000",
			"Location: ^777777Mid^000000",
			"Weight: ^7777770^000000",
			"Jobs: ^777777All Jobs^000000",
		},
		slotCount = 0,
		ClassNum = 3024,
	},


Item db info (yes, I still use an old revision):
 

39087,Cons_of_Poison,Costume Con of Poison,4,20,,0,,0,,0,0xFFFFFFFF,63,2,2048,,0,0,3024,{},{},{}

 

Accessoryid:

ACCESSORY_Cons_Of_Poison = 3024,

Accname:

	[ACCESSORY_IDs.ACCESSORY_Cons_Of_Poison] = "_Cons_Of_Poison"

Sprites all present in the right directory:

image.png.8f76e5c0335dff76d9a5186f181fc5bc.png

 

Anyone got a clue what might be wrong?

You need add more views ID in you client... NEMO or WARP ( increase headgear viewID limit )
image.png.c0020e1b003dbb51aefe8fc6737870af.png

  • Like 1
  • 0
Posted (edited)
8 hours ago, M a p l e said:

You need add more views ID in you client... NEMO or WARP ( increase headgear viewID limit )
image.png.c0020e1b003dbb51aefe8fc6737870af.png

Hello! It's already 32k. All my other headgears work, it's just this one. :-l

I should also add I tried to switch the viewID to a lower free one., but the same issue persist. Maybe something is just wrong with the sprite?

Edited by Charelle
  • 0
Posted
3 hours ago, sader1992 said:

I feel like you messed up the lue files in the grf , make sure you have only one file where everything is correctly read

Hello! I used the sprites directly extracted from TaiwanRO's GRF, also in exactly the same directory. Something seems off about it though if I compare it to the other cons_of_(element) sprites, an animation seems missing, and it has the headgear of Scaraba in one of them. Maybe I'm trying to implement something that's simply not working as intended officially?

If anyone wants to test, here are the sprites:

cons_of_poison.rar

  • 0
Posted
9 hours ago, Charelle said:

Hello! I used the sprites directly extracted from TaiwanRO's GRF, also in exactly the same directory. Something seems off about it though if I compare it to the other cons_of_(element) sprites, an animation seems missing, and it has the headgear of Scaraba in one of them. Maybe I'm trying to implement something that's simply not working as intended officially?

If anyone wants to test, here are the sprites:

cons_of_poison.rar 204.47 kB · 0 downloads

 the equip sprite is not correct for male and female.

image.png.1929716439c12809e08c8c0eea484288.png

  • 0
Posted
17 hours ago, sader1992 said:

 the equip sprite is not correct for male and female.

image.png.1929716439c12809e08c8c0eea484288.png

That's what I thought. I tried to replace it with the other (animated) sprite but that doesn't work either. When I do that, the sprite becomes static and only shows at front view. :-l 

  • 0
Posted
On 2/2/2022 at 3:19 AM, sader1992 said:

Thank you! I'll try it after work! Will report back later. ? 

Reporting back, the sprite is the same as what I did in my earlier attempt, it's static and only shows from the front angle. If I rotate my camera, or change position (side facing for example), the sprite disappears.

Below a screenshot of the only angle I can see the non-animated sprite:
image.png.63f21052e6ba359364185dac73b9d676.png

Any other suggestions? ? 

  • 0
Posted
1 hour ago, Charelle said:

Reporting back, the sprite is the same as what I did in my earlier attempt, it's static and only shows from the front angle. If I rotate my camera, or change position (side facing for example), the sprite disappears.

Below a screenshot of the only angle I can see the non-animated sprite:
image.png.63f21052e6ba359364185dac73b9d676.png

Any other suggestions? ? 

if this not the result that you have seen in the official server , then the files have a problem/not correct

or the sprite is intended to be empty (so you don't see it when you wear it) however it give a effect something like how Costume Dancing Fallen Sakura (Item ID# 20285) works

 

  • 0
Posted (edited)

This is not a normal headgear sprite, this headgear works the same way the "Digital Space" headgear works, it is a client effect (hence why it is has sprite files located in the effects folder) that is then used as a hat effect. You need a client version that has this client effect, or you can message @Haziel as I believe he made a version that works as a traditional headgear.

Edited by Panic
  • Like 1

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