Switch Equip Help

09/26/2020 19:21 Makiebao#1
Goodday epvp flyff dev's. just new in here i got a little bugs after i put switch equip feature in my clean files.

1. The first bug was the accessories when i try to put both different set's on the switch tab the other 2 accessories which is earring and ring on the last two slots on the right "will not change".

2. The second bug i got is when i try to not equip the the head and suit part of the fashion it looks fine and run's normally. But when i try to put head and suit part of the fashion after several switch my character is run slowly until it stop!. Just wondering things why it happen's

~Can anyone help me about this bugs? i got a video sample uploaded on youtube for more information about the bug (video below)




EDIT: I Just Fixed the Slowing/Stuck Effect After Several Switching..
Last Bug:Still Can't Switch Right Earring and Ring
09/29/2020 03:34 Tweeney#2
MoverEquip.cpp

Code:
CMover::DoEquip
Code:
				if (bEquip && dwElem1 != NULL_ID && dwElem2 != NULL_ID)
				{
					if (dwElem1 == pItemProp->dwID)
						dwParts = pItemProp->dwPartsub;
				}
09/29/2020 15:42 Makiebao#3
Quote:
Originally Posted by Tweeney View Post
MoverEquip.cpp

Code:
CMover::DoEquip
Code:
				if (bEquip && dwElem1 != NULL_ID && dwElem2 != NULL_ID)
				{
					if (dwElem1 == pItemProp->dwID)
						dwParts = pItemProp->dwPartsub;
				}

Thanks but i try'd to replace this:
Code:
               if( pInventory )
			{
				pItemElemTemp = (CItemElem*)pInventory->GetEquip( dwParts );
				if( pItemElemTemp != pItemElem )
					dwParts = pItemProp->dwPartsub;
			}

with this:
Code:
                       if (bEquip && dwElem1 != NULL_ID && dwElem2 != NULL_ID)
				{
					if (dwElem1 == pItemProp->dwID)
						dwParts = pItemProp->dwPartsub;
				}
Still can't equip the other 2 ring and earring as well
Sorry i'm just a leecher