Register for your free account! | Forgot your password?

You last visited: Today at 00:57

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

Advertisement



TAB Select

Discussion on TAB Select within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2011
Posts: 156
Received Thanks: 28
TAB Select

hallo,
ich suche schon die ganze zeit wo die funktion im source ist, die das auswählen von spielern durch die Taste TAB ermöglicht, könnte mir wer nen tip geben?
Eragøn is offline  
Old 10/19/2012, 19:17   #2
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Such doch mal nach VK_TAB
xTwiLightx is offline  
Thanks
1 User
Old 10/20/2012, 01:09   #3
 
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
Code:
CObj* CWndWorld::SelectObj( POINT point )
{
	CWorld* pWorld = g_WorldMng();

	BOOL bOnlyNPC = FALSE;
	if( GetAsyncKeyState( VK_TAB ) & 0x8000 )	// ÅÇ۸¦ ´©¸£°í ÀÖÀ¸¸é NPC¸¸ ¼¿·ºÆ® µÈ´Ù.
		bOnlyNPC = TRUE;
	
	CObj* pObj = PickObj( point, bOnlyNPC );
	if( pObj )
	{
		if( pObj->GetType() == OT_MOVER )
		{
			// ±æµåÄĹîÁß¿¡´Â Á×ÀºÄɸ¯À» ÇÇÅ· ±ÝÁö
			if( pWorld->GetID() == WI_WORLD_GUILDWAR )
			{
				if( ((CMover*)pObj)->IsDie() )
					return NULL;
			}
			if( ((CMover*)pObj)->IsMode( TRANSPARENT_MODE )	) // ´ë»óÀÌ Åõ¸í¸ðµåÀ϶© Ÿ°Ù ¾ÈµÊ.
			{
				return NULL;
			}			
		}

#if __VER >= 11 // __CSC_VER11_2
		if(!m_bAutoAttack)
			pWorld->SetObjFocus( pObj );
#else //__CSC_VER11_2
		pWorld->SetObjFocus( pObj );
#endif //__CSC_VER11_2
	}
	return pObj;
}
Jopsi332 is offline  
Old 10/20/2012, 02:18   #4
 
Мentus's Avatar
 
elite*gold: 30
Join Date: Sep 2012
Posts: 426
Received Thanks: 1,021
Quote:
Originally Posted by Jopsi332 View Post
Code:
CObj* CWndWorld::SelectObj( POINT point )
{
	CWorld* pWorld = g_WorldMng();

	BOOL bOnlyNPC = FALSE;
	if( GetAsyncKeyState( VK_TAB ) & 0x8000 )	// ÅÇ۸¦ ´©¸£°í ÀÖÀ¸¸é NPC¸¸ ¼¿·ºÆ® µÈ´Ù.
		bOnlyNPC = TRUE;
	
	CObj* pObj = PickObj( point, bOnlyNPC );
	if( pObj )
	{
		if( pObj->GetType() == OT_MOVER )
		{
			// ±æµåÄĹîÁß¿¡´Â Á×ÀºÄɸ¯À» ÇÇÅ· ±ÝÁö
			if( pWorld->GetID() == WI_WORLD_GUILDWAR )
			{
				if( ((CMover*)pObj)->IsDie() )
					return NULL;
			}
			if( ((CMover*)pObj)->IsMode( TRANSPARENT_MODE )	) // ´ë»óÀÌ Åõ¸í¸ðµåÀ϶© Ÿ°Ù ¾ÈµÊ.
			{
				return NULL;
			}			
		}

#if __VER >= 11 // __CSC_VER11_2
		if(!m_bAutoAttack)
			pWorld->SetObjFocus( pObj );
#else //__CSC_VER11_2
		pWorld->SetObjFocus( pObj );
#endif //__CSC_VER11_2
	}
	return pObj;
}
Du bist da ganz falsch.
PHP Code:
CWndWorld::OnKeyUp 
Wäre richtig gewesen.

Suche:
PHP Code:
void CWorld::RenderObjectCD3DFontpFont 
Finde:

PHP Code:
    if( GetID() == WI_WORLD_GUILDWAR )
    {
        
bScan TRUE;
    } 
Hier wird der bScan auf TRUE gesetzt, ( für den GW ).
Klatsch deine Welt rein die du haben möchtest. z.B:
PHP Code:
    if( GetID() == WI_WORLD_GUILDWAR || GetID() == WI_WORLD_MADRIGAL )
    {
        
bScan TRUE;
    } 
PHP Code:
if( !pObj->IsActiveObj() ) 
Darunter steht
PHP Code:
if( bScan 
Hier wird bScan abgefragt.
PHP Code:
if( bScan 
Ist das gleiche wie
PHP Code:
if( bScan == TRUE 
Nun kommen wir zum wichtigen Teil.

PHP Code:
                                CMoverpMover = (CMover*)pObj;
                                if( 
pMover->IsPlayer() && !pMover->IsDie() && !pMover->IsModeTRANSPARENT_MODE ) )
                                {
                                    
CGuildpGuild1 g_pPlayer->GetGuild();
                                    
CGuildpGuild2 pMover->GetGuild();

                                    if( 
pGuild1 && pGuild2 )
                                    {
                                        
// ´Ù¸¥±æµåµé¸¸ Å¸°ÙÆÃ¸®½ºÆ®¿¡ ³ÖÀÚ
                                        
if( pGuild1->GetGuildId() != pGuild2->GetGuildId() )
                                        {
                                            if( 
pObj->IsRangeObjg_pPlayer->GetPos(), 20.0f ) )
                                            {
                                                
CWorld::m_amvrSelect[nCount++] = pMover;
                                            }
                                        }
                                    }
                                } 

So und jetzt dürft ihr denken.
Мentus is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
How select upgrade
07/27/2011 - Metin2 Private Server - 0 Replies
What i need to change on the one item to select where upbrade her ? If i want with bless what i need to change or on sura ?
Metin 2 Select Character select error
02/26/2011 - Metin2 Private Server - 1 Replies
Dabei-ist das spiel Charakter-Auswahl Error help Log Files 0225 23:37:16227 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/hit/percent_damage1.mse) Error 0225 23:37:16227 :: CInstanceBase::RegisterEffect(eEftType=264, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage1.mse, isCache=1) - Error 0225 23:37:16227 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/hit/percent_damage2.mse) Error 0225 23:37:16227 ::...
auto select for 1.689
02/10/2011 - SRO Private Server - 10 Replies
Hi all! Can anyone tell me how to make it work autoselect for the new pach 1.689 version? May not work with the old client.We can not change somehow AntiBot and new client out to enjoy the autoselec? is too difficult to do farm hand raised at least when you 500k sp. Please post news! Thanks!



All times are GMT +1. The time now is 00:58.


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.