Thanks everyone. I just tried other sprites and it works for the same view id. I think the problem is the sprite which I got from iRO.
EDIT: I got it fixed by replacing the .act file with a similar type of headgear. Thanks again!
What seems to be the problem here? The headgear sprite appears in the equip window (ALT+Q), but not in the character itself. I checked accname and accessoryid, as well as item_db.txt having the correct view ID. Need help please? Thanks!