Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[FIX] Fashion Hat Hide Visual Correction

Newbie Spellweaver
Joined
Nov 7, 2020
Messages
10
Reaction score
5
ServerCommon.h
Code:
#define __HIDE_FASHION_FIX                           //| Fashion Hat Visual Correction

Project.cpp

under

Code:
#endif // __LOOKCHANGE           
 {               
    ItemProp* pItemProp = pItemElem->GetProp();                
    if( pItemProp && pItemProp->dwBasePartsIgnore != -1 )                
    {                    
    pElement = ((CModelObject*)m_pModel)->SetEffect(pItemProp->dwBasePartsIgnore, XE_HIDE);                
}            
}

OUTCOME:
https://imgur.com/pG2gm0D



this
Code:
if (!m_abHideCoat[0])            
{
#endif // __HIDE_FASHION_FIX




and under
Code:
#endif // __LOOKCHANGE                   
                       if( pItemPropOC && pItemPropOC->dwBasePartsIgnore != -1 )                                           {                       
                         if( pItemPropOC->dwBasePartsIgnore == PARTS_HEAD )                               ((CModelObject*)m_pModel)->SetEffect(PARTS_HAIR, XE_HIDE );                  ((CModelObject*)m_pModel)->SetEffect(pItemPropOC->dwBasePartsIgnore, XE_HIDE );                   
 }                   
 else                   
 {                        
if (pElement)                           
 pElement->m_nEffect &= ~XE_HIDE;                 
   }           
    }            
}



this

Code:
#ifdef __HIDE_FASHION_FIX       
 }
#endif // __HIDE_FASHION_FIX

 
Last edited:
Back
Top