Newbie Spellweaver
- Joined
- Sep 18, 2015
- Messages
- 20
- Reaction score
- 0
I see some server when they put the curser on the item the ID will show
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!I see some server when they put the curser on the item the ID will show
void CWndMgr::PutItemAbilityPiercing( CItemElem* pItemElem, CEditString* pEdit, DWORD dwColorBuf )
{
CString strTemp;
if( pItemElem->GetAbilityOption() )
{
strTemp.Format( " %+d", pItemElem->GetAbilityOption() );
pEdit->AddString( strTemp, dwColorBuf, ESSTY_BOLD );
}
int nCount = 0;
for( int j = 0; j < pItemElem->GetPiercingSize(); j++ )
{
if( pItemElem->GetPiercingItem( j ) != 0 )
nCount++;
}
#if __VER >= 11 // __MA_VER11_05 // Äɸ¯ÅÍ ºÀÀÎ °Å·¡ ±â´É world,database,neuz
if( pItemElem->GetPiercingSize() > 0 && pItemElem->m_dwItemId != II_SYS_SYS_SCR_SEALCHARACTER )
#else // __MA_VER11_05 // Äɸ¯ÅÍ ºÀÀÎ °Å·¡ ±â´É world,database,neuz
if( pItemElem->GetPiercingSize() > 0 )
#endif // __MA_VER11_05 // Äɸ¯ÅÍ ºÀÀÎ °Å·¡ ±â´É world,database,neuz
{
strTemp.Format( " (%d/%d)", nCount, pItemElem->GetPiercingSize() );
pEdit->AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwPiercing );
}
#ifdef __STAFF_ITEM_ID_TOOLTIP
if (g_pPlayer->IsAuthHigher(AUTH_GAMEMASTER))
{
CString tmp;
ItemProp* pProp = pItemElem->GetProp();
tmp.Format("\nItem-ID: %d", pProp->dwID);
pEdit->AddString(tmp, dwColorBuf);
}
#endif
thanks where should i put it