Register for your free account! | Forgot your password?

You last visited: Today at 20:43

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Wiki Problem.

Discussion on Wiki Problem. within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2017
Posts: 239
Received Thanks: 8
Wiki Problem.

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!
nicksss03 is offline  
Old 06/04/2018, 04:17   #2
 
aoyamananami's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 243
Received Thanks: 11
wiki problem i thought at propitemetc xD
aoyamananami is offline  
Old 06/04/2018, 10:04   #3
 
elite*gold: 60
Join Date: Sep 2017
Posts: 424
Received Thanks: 138
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.
Dr. Peacock is offline  
Old 06/04/2018, 16:11   #4

 
elite*gold: 353
Join Date: Jan 2013
Posts: 924
Received Thanks: 617
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!


hf
Kiseku is offline  
Thanks
1 User
Old 06/04/2018, 19:11   #5
 
elite*gold: 0
Join Date: Mar 2018
Posts: 155
Received Thanks: 54
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 );
Tweeney is offline  
Thanks
1 User
Old 06/05/2018, 09:30   #6
 
aoyamananami's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 243
Received Thanks: 11
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 .
aoyamananami is offline  
Old 06/05/2018, 16:01   #7
 
elite*gold: 0
Join Date: Jul 2017
Posts: 239
Received Thanks: 8
Quote:
Originally Posted by Kiseku View Post
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
nicksss03 is offline  
Reply


Similar Threads Similar Threads
[Private Wiki]Schnelles Wiki für alle
03/26/2015 - Metin2 PServer Advertising - 63 Replies
Heute stelle ich euch mein Projekt "Private Wiki Cloud" vor Für die, die nicht viel lesen wollen direkt einmal ein paar Beispiele: Metin2013 Private Wiki Cloud - Metin2013 Schwarzstahl-Panzer - Metin2013 Sensenmanntruhe - Metin2013 Sensenmann - Metin2013
Wiki: Bearbeitungen in der Wiki geöffnet!
11/27/2011 - Metin2 - 15 Replies
Liebe Spieler! Um euch die Benutzung der Wiki zu vereinfachen, haben wir heute die Bearbeitung für alle User geöffnet. Das heißt, ihr könnt nun die Wiki bearbeiten, ohne euch einen Account anzulegen - einfach nur auf "Bearbeiten" in der jeweiligen Seite klicken! Wir hoffen, dadurch wieder mehr User für die Wiki zu gewinnen und euch die Verwendung zu vereinfachen. :) Dazu sei aber noch gesagt: Wer glaubt, Unsinn treiben zu müssen, indem er Seiten verunstaltet oder falsche Informationen...



All times are GMT +1. The time now is 20:44.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.