Wiki Problem.

06/03/2018 23:53 nicksss03#1
Hi! Any idea where to start fixing the problem of Wiki option that when looking a set, the set effects are not showing up? Thanks!
06/04/2018 04:17 aoyamananami#2
wiki problem i thought at propitemetc xD
06/04/2018 10:04 Dr. Peacock#3
Quote:
Originally Posted by aoyamananami View Post
wiki problem i thought at propitemetc xD
He mean that the view of the 'Set Effect' is not avaiable at the Item-Wiki...
The propItemEtc are for the Set's not for the Display Effect option at Wiki.
Check at the Source from what Data Type's the Effect got Loaded, maybe you miss some Code or the avaiable code is not Optimated for your Files.
06/04/2018 16:11 Kiseku#4
Quote:
Originally Posted by nicksss03 View Post
Hi! Any idea where to start fixing the problem of Wiki option that when looking a set, the set effects are not showing up? Thanks!
[Only registered and activated users can see links. Click Here To Register...]" target="_blank">https://i.imgur.com/y163xuG.png

hf :)
06/04/2018 19:11 Tweeney#5
WndManager.cpp

on the function of

Code:
void CWndMgr::MakeToolTipText( CItemBase* pItemBase, CEditString& strEdit, int flag )
find this:
Code:
PutItemGold( pMover, pItemElem, &strEdit, flag );
and then put this below:
Code:
#ifdef __WIKI
	if( flag == APP_WIKI )
	{
		CString strTemp;
		CSetItem* pSetItem	= CSetItemFinder::GetInstance()->GetSetItemByItemId( pItemElem->m_dwItemId );
		if( pSetItem )
		{
			ITEMAVAIL itemAvail;
			memset( &itemAvail, 0, sizeof(itemAvail) );
			pSetItem->GetItemAvail( &itemAvail, pSetItem->m_nElemSize, TRUE );
			for( int i = 0; i < itemAvail.nSize; i++ )
			{
				int nDst = (int)itemAvail.anDstParam[i];
				int nAdj = (int)itemAvail.anAdjParam[i];
				
				if( IsDst_Rate(nDst) )
				{
					if( nDst == DST_ATTACKSPEED )
						strTemp.Format( "\n%s: %s% +d%%", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj / 2 / 10 );	
					else
						strTemp.Format( "\n%s: %s% +d%%", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj );	
				}
				else
				{
					strTemp.Format( "\n%s: %s +%d", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj );
				}
				strEdit.AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwSetEffect );
			}
		}
	}
	else
#endif
{
PutSetItemOpt( pMover, pItemElem, &strEdit );
}

it should look like this:

Code:
	PutCoolTime( pMover, pItemElem, &strEdit );			// 쿨타임
	PutEndurance( pItemElem, &strEdit, flag );			// 내구력
	PutKeepTime( pItemElem, &strEdit );					// 사용할수 있는 시간
	PutJob( pMover, pItemElem, &strEdit );
	PutLevel( pMover, pItemElem, &strEdit );	
	PutCommand( pItemElem, &strEdit );					// 용도 
	PutItemGold( pMover, pItemElem, &strEdit, flag );	// 가격
#ifdef __WIKI
	if( flag == APP_WIKI )
	{
		CString strTemp;
		CSetItem* pSetItem	= CSetItemFinder::GetInstance()->GetSetItemByItemId( pItemElem->m_dwItemId );
		if( pSetItem )
		{
			ITEMAVAIL itemAvail;
			memset( &itemAvail, 0, sizeof(itemAvail) );
			pSetItem->GetItemAvail( &itemAvail, pSetItem->m_nElemSize, TRUE );
			for( int i = 0; i < itemAvail.nSize; i++ )
			{
				int nDst = (int)itemAvail.anDstParam[i];
				int nAdj = (int)itemAvail.anAdjParam[i];
				
				if( IsDst_Rate(nDst) )
				{
					if( nDst == DST_ATTACKSPEED )
						strTemp.Format( "\n%s: %s% +d%%", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj / 2 / 10 );	
					else
						strTemp.Format( "\n%s: %s% +d%%", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj );	
				}
				else
				{
					strTemp.Format( "\n%s: %s +%d", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj );
				}
				strEdit.AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwSetEffect );
			}
		}
	}
	else
#endif
	{
	PutSetItemOpt( pMover, pItemElem, &strEdit );
	}
#if __VER >= 9 // __CSC_VER9_1
	if( pItemProp->dwItemKind3 == IK3_EGG && pItemElem->m_pPet )//&& pItemElem->m_pPet->GetLevel() != PL_EGG )
		PutPetInfo( pItemElem, &strEdit );
	if( pItemProp->dwID == II_SYS_SYS_SCR_PET_FEED_POCKET ) //먹이 주머니 툴팁
		PutPetFeedPocket( pItemElem, &strEdit );
06/05/2018 09:30 aoyamananami#6
Quote:
Originally Posted by Dr. Peacock View Post
He mean that the view of the 'Set Effect' is not avaiable at the Item-Wiki...
The propItemEtc are for the Set's not for the Display Effect option at Wiki.
Check at the Source from what Data Type's the Effect got Loaded, maybe you miss some Code or the avaiable code is not Optimated for your Files.
that's why i edit my reply, sorry about that .
06/05/2018 16:01 nicksss03#7
Quote:
Originally Posted by Kiseku View Post
[Only registered and activated users can see links. Click Here To Register...]" target="_blank">https://i.imgur.com/y163xuG.png

hf :)
Thank you for the tip!

Quote:
Originally Posted by Tweeney View Post
WndManager.cpp

on the function of

Code:
void CWndMgr::MakeToolTipText( CItemBase* pItemBase, CEditString& strEdit, int flag )
find this:
Code:
PutItemGold( pMover, pItemElem, &strEdit, flag );
and then put this below:
Code:
#ifdef __WIKI
	if( flag == APP_WIKI )
	{
		CString strTemp;
		CSetItem* pSetItem	= CSetItemFinder::GetInstance()->GetSetItemByItemId( pItemElem->m_dwItemId );
		if( pSetItem )
		{
			ITEMAVAIL itemAvail;
			memset( &itemAvail, 0, sizeof(itemAvail) );
			pSetItem->GetItemAvail( &itemAvail, pSetItem->m_nElemSize, TRUE );
			for( int i = 0; i < itemAvail.nSize; i++ )
			{
				int nDst = (int)itemAvail.anDstParam[i];
				int nAdj = (int)itemAvail.anAdjParam[i];
				
				if( IsDst_Rate(nDst) )
				{
					if( nDst == DST_ATTACKSPEED )
						strTemp.Format( "\n%s: %s% +d%%", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj / 2 / 10 );	
					else
						strTemp.Format( "\n%s: %s% +d%%", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj );	
				}
				else
				{
					strTemp.Format( "\n%s: %s +%d", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj );
				}
				strEdit.AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwSetEffect );
			}
		}
	}
	else
#endif
{
PutSetItemOpt( pMover, pItemElem, &strEdit );
}

it should look like this:

Code:
	PutCoolTime( pMover, pItemElem, &strEdit );			// 쿨타임
	PutEndurance( pItemElem, &strEdit, flag );			// 내구력
	PutKeepTime( pItemElem, &strEdit );					// 사용할수 있는 시간
	PutJob( pMover, pItemElem, &strEdit );
	PutLevel( pMover, pItemElem, &strEdit );	
	PutCommand( pItemElem, &strEdit );					// 용도 
	PutItemGold( pMover, pItemElem, &strEdit, flag );	// 가격
#ifdef __WIKI
	if( flag == APP_WIKI )
	{
		CString strTemp;
		CSetItem* pSetItem	= CSetItemFinder::GetInstance()->GetSetItemByItemId( pItemElem->m_dwItemId );
		if( pSetItem )
		{
			ITEMAVAIL itemAvail;
			memset( &itemAvail, 0, sizeof(itemAvail) );
			pSetItem->GetItemAvail( &itemAvail, pSetItem->m_nElemSize, TRUE );
			for( int i = 0; i < itemAvail.nSize; i++ )
			{
				int nDst = (int)itemAvail.anDstParam[i];
				int nAdj = (int)itemAvail.anAdjParam[i];
				
				if( IsDst_Rate(nDst) )
				{
					if( nDst == DST_ATTACKSPEED )
						strTemp.Format( "\n%s: %s% +d%%", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj / 2 / 10 );	
					else
						strTemp.Format( "\n%s: %s% +d%%", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj );	
				}
				else
				{
					strTemp.Format( "\n%s: %s +%d", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj );
				}
				strEdit.AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwSetEffect );
			}
		}
	}
	else
#endif
	{
	PutSetItemOpt( pMover, pItemElem, &strEdit );
	}
#if __VER >= 9 // __CSC_VER9_1
	if( pItemProp->dwItemKind3 == IK3_EGG && pItemElem->m_pPet )//&& pItemElem->m_pPet->GetLevel() != PL_EGG )
		PutPetInfo( pItemElem, &strEdit );
	if( pItemProp->dwID == II_SYS_SYS_SCR_PET_FEED_POCKET ) //먹이 주머니 툴팁
		PutPetFeedPocket( pItemElem, &strEdit );
I appreciate the codes you give thank you! More power