Jump to content
  • 0

Storage - Weapon, Armor tabs inverted.


Question

Posted (edited)

Storage_Arms.jpgStorage_Weaps.jpg

 

Ice Pick is in 'Armor', but Helms are in 'Weapon'.. I tried swapping the two tabs in my msgstringtable, but that didn't accomplish anything.

 

CLIENT - 2012-04-10aRagexeRE_J

 

I found this code from Google search into src/map/clif.c, however the items would go into the same tabs, but if I closed and re opened storage they'd be in the correct tabs.

Just trying to be a perfectionist here.. I'd rather a complete fix rather than this partial, having to reopen storage, fix.

static inline int itemtype(int type) {

	
	switch (type) {
	case IT_ARMOR: return IT_WEAPON;
	case IT_WEAPON: return IT_ARMOR;
	case IT_PETEGG: return IT_WEAPON;
	default: return type;
	}

	//return ( type == IT_PETEGG ) ? IT_WEAPON : type;
}

If anything is needed to help completely fix this issue, please let me know and I'll be glad to try and help.

 

~ Thank you!  /thx

 

/Edit : My itemtypes are all set correctly. Weapons = 5, Armor = 4..

Edited by Screwdriver

2 answers to this question

Recommended Posts

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