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!
He mean that the view of the 'Set Effect' is not avaiable at the Item-Wiki...Quote:
wiki problem i thought at propitemetc xD
[Only registered and activated users can see links. Click Here To Register...]" target="_blank">https://i.imgur.com/y163xuG.pngQuote:
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!
void CWndMgr::MakeToolTipText( CItemBase* pItemBase, CEditString& strEdit, int flag )
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
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 );
that's why i edit my reply, sorry about that .Quote:
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.
Thank you for the tip!Quote:
[Only registered and activated users can see links. Click Here To Register...]" target="_blank">https://i.imgur.com/y163xuG.png
hf :)
I appreciate the codes you give thank you! More powerQuote:
WndManager.cpp
on the function of
find this:Code:void CWndMgr::MakeToolTipText( CItemBase* pItemBase, CEditString& strEdit, int flag )
and then put this below:Code:PutItemGold( pMover, pItemElem, &strEdit, flag );
{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 );