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!

How to show ID

Status
Not open for further replies.
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
 
Inactive
Joined
Jan 20, 2009
Messages
1,014
Reaction score
1,830
I see some server when they put the curser on the item the ID will show

Code:
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
 
Upvote 0
Status
Not open for further replies.
Back
Top