Jump to content
  • 0

Storage - Weapon, Armor tabs inverted.


Screwdriver

Question


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   0
  • Joined:  01/05/13
  • Last Seen:  

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
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   0
  • Joined:  01/05/13
  • Last Seen:  

 

 

Well, I decided to change my itemtypes again.. I set my armors to 5, weapons to 4. This fixed my problem, thanks.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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