Newbie Spellweaver
- Joined
- Jul 27, 2018
- Messages
- 72
- Reaction score
- 5
Hi thanks for respodnig, yeah i know the quality of the photo is bad sorry for that..what files did you use?
double check your propItemEtc.inc
i think you double the set
next time better picture. very bad quality!
Can you tell me please what i should look for in WndManager.cpp?Look at the tooltip code where it makes the tooltip text in WndManager.cpp it's probably double placed or placed in one of the functions
Can you tell me please what i should look for in WndManager.cpp?
I was taking a look at it ,I didn't find anything that can point out the problem .. :\
My question was what exactly i shoulde look for?He already told you where lol.
In the tooltip section of WndManager.cpp
Take another look and try to make an effort.
My question was what exactly i shoulde look for?
Whats define the full sets option? TID_TOOLTIP_SET?
Anyway , i'll try to work this out , thanks.
Thanks bro .. I know it's annoying, sorry for the ignorance.He literally gave you the answer lol, but here it is spoonfed.
CWndMgr::PutToolTip_Item
Thanks bro .. I know it's annoying, sorry for the ignorance.
Upload your WndManager.cpp
You must be registered to see links
#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 );
}
PutSetItemOpt( pMover, pItemElem, &strEdit );
#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 );
}
Fixed! thank youu !Issue is in the tooltip and it's due to the wiki system.
PutSetItemOpt( pMover, pItemElem, &strEdit );
^ is added twice, so you need to remove the second one.
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 ); } PutSetItemOpt( pMover, pItemElem, &strEdit );
to
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 ); }