Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 16:28

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

Advertisement



[Help]How to change awaking time

Discussion on [Help]How to change awaking time within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
banktakung's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
[Help]How to change awaking time

How to change awaking time ? please
banktakung is offline  
Old 04/16/2015, 16:08   #2
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Do you mean the time it takes to awake an item?
xTwiLightx is offline  
Old 04/16/2015, 17:31   #3
 
banktakung's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
Quote:
Originally Posted by xTwiLightx View Post
Do you mean the time it takes to awake an item?
yes
banktakung is offline  
Old 04/16/2015, 17:49   #4
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
I think that you should take a long in this code:

WndAwakening.cpp
Code:
const static DWORD AWAKE_KEEP_TIME = 60000;	//60ÃÊ

BOOL CWndSelectAwakeCase::process()
{
	return TRUE;
}

void CWndSelectAwakeCase::OnDraw( C2DRender* p2DRender ) 
{ 
	if( !g_pPlayer )
		return;

	CItemElem* pItemElem = (CItemElem*)g_pPlayer->GetItemId( m_byObjID );
	if( !pItemElem )
	{
		assert( 0 );
		return;
	}

	m_dwDeltaTime += (g_tmCurrent - m_dwOldTime);
	m_dwOldTime = g_tmCurrent;

	if( m_dwDeltaTime > AWAKE_KEEP_TIME )
	{
		//Á¦Çѽð£ÀÌ Áö³ª¸é ÇöÀç¿É¼ÇÀ¸·Î ¿äû 
		g_DPlay.SendSelectedAwakeningValue( m_byObjID, m_dwSerialNum, _AWAKE_OLD_VALUE );

		g_WndMng.PutString( GETTEXT( TID_GAME_REGARDLESS_USE02 ) );	//¼±Åýð£ Ãʰú
		
		m_dwDeltaTime = 0;
		Destroy();
	}

	//old
	OutputOptionString( p2DRender, pItemElem );

	//new
	OutputOptionString( p2DRender, pItemElem, TRUE );


	CRect rect = GetWindowRect();
	rect.left += 14;
	rect.top += 174;

	// ½Ã°£ / 100 * 360(ÃѱæÀÌ) / 600 (Ãѽð£)
	rect.right = LONG(( rect.left + (AWAKE_KEEP_TIME - m_dwDeltaTime) / 100 ) * 0.6f) ;		//±ÍÂúÀ¸´Ï °Á ¹ÙÀÇ ±æÀ̸¦ ÃÖ´ëÃÊ·Î...
	rect.bottom = rect.top + 20;

//	if( m_pTexGuage )
//		p2DRender->RenderFillRect( rect, 0xffff0000, m_pTexGuage->m_pTexture  );

	m_pTheme->RenderGauge(p2DRender, &rect, 0xffffffff, m_pVertexBufferGauge, m_pTexGuage);

	// draw icon
	LPWNDCTRL wndCtrl = GetWndCtrl( WIDC_STATIC1 );
	assert( wndCtrl );
			
	if(m_pTexture)
		m_pTexture->Render( p2DRender, CPoint( wndCtrl->rect.left, wndCtrl->rect.top ) );
}
xTwiLightx is offline  
Thanks
1 User
Old 04/17/2015, 11:19   #5
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 230
CWndInventory::RunUpgrade

else if( IsNeedTarget( pItemProp ) )
alfredico is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
how to change time of change bonus
11/19/2012 - Metin2 Private Server - 1 Replies
how to change time of change bonus in game_rev_2089 (from infi) to 1minute?
Change time for FW
10/21/2011 - SRO Private Server - 0 Replies
hello all i stuck in the easy part of this XD i open the FW and gates in DB but i dont konw how to add time in SMC i see what i need to change but i dont konw how -_-" if any 1 can tell me thet will be great(with pohtos ^^) :handsdown::handsdown::handsdown::handsdown::hand sdown::handsdown:
[Q] ¿How to Change the Time?
03/25/2010 - Kal Online - 9 Replies
hello everybody, there is any way to change the time? because since "set time" is not working, im playing in the dark night all the time xD THX PD: i already try with /time and freeze or change it but nothing happens.



All times are GMT +2. The time now is 16:29.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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