I posted this because someone kinda posted a youtube thingy about it :O.
Find this in DPSrv.cpp @ worldserver
Code:
void CDPSrvr::OnDoEquip( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize ) { DWORD nId; int nPart; ar >> nId; ar >> nPart; if( nPart >= MAX_HUMAN_PARTS ) return; CUser* pUser = g_UserMng.GetUser( dpidCache, dpidUser );
Code:
#ifdef __QUGET_SWAP_FIX if( pUser->GetHitPoint() > pUser->GetMaxHitPoint() ) pUser->SetHitPoint( pUser->GetMaxHitPoint()); if( pUser->GetManaPoint() > pUser->GetMaxManaPoint() ) pUser->SetManaPoint( pUser->GetMaxManaPoint() ); if( pUser->GetFatiguePoint() > pUser->GetMaxFatiguePoint() ) pUser->SetFatiguePoint( pUser->GetMaxFatiguePoint() ); #endif
and add under
Code:
if( g_WndMng.m_pWndBeautyShop && g_WndMng.m_pWndBeautyShop->m_pModel ) { CMover::UpdateParts( pPlayer->GetSex(), pPlayer->m_dwSkinSet, pPlayer->m_dwFace, pPlayer->m_dwHairMesh, pPlayer->m_dwHeadMesh, pPlayer->m_aEquipInfo, g_WndMng.m_pWndBeautyShop->m_pModel, &pPlayer->m_Inventory ); }
Code:
#ifdef __QUGET_SWAP_FIX if( pPlayer->GetHitPoint() > pPlayer->GetMaxHitPoint() ) pPlayer->SetHitPoint( pPlayer->GetMaxHitPoint()); if( pPlayer->GetManaPoint() > pPlayer->GetMaxManaPoint() ) pPlayer->SetManaPoint( pPlayer->GetMaxManaPoint() ); if( pPlayer->GetFatiguePoint() > pPlayer->GetMaxFatiguePoint() ) pPlayer->SetFatiguePoint( pPlayer->GetMaxFatiguePoint() ); #endif