• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

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