Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 12:55

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

Advertisement



Wedding ring don't work

Discussion on Wedding ring don't work within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 26
Join Date: Aug 2011
Posts: 45
Received Thanks: 1
Wedding ring don't work

In the game there are engagement rings . They should teleport character. But for some reason they do not work. Please tell me which file to climb to fix it.
HTML Code:
#ifdef __WORLDSERVER
BOOL CMover::DoUseItemWarp( ItemProp* pItemProp, CItemElem* pItemElem )
{
switch( pItemProp->dwID )
{
case II_GEN_WARP_COUPLERING:
case II_GEN_WARP_WEDDING_BAND:
#if __VER >= 8 // __S_COUPLERING01
case II_GEN_WARP_COUPLERING01:
#endif // __VER >= 8
{
if( IsFly() )
{
return FALSE;
}
// if( pItemElem->IsFlag( CItemElem::expired ) )
// {
// ( (CUser*)this )->AddDefinedText( TID_GAME_ITEM_EXPIRED );
// return FALSE;
// }
u_long idCouple = (u_long)( pItemElem->GetRandomOptItemId() );
if( idCouple == m_idPlayer )
{
( (CUser*)this )->AddDefinedText( TID_GAME_COUPLERING_ERR01, "%s", GetName() );
return FALSE;
}


if( idCouple > 0 )
{
// teleport
#if __VER >= 11 // __SYS_PLAYER_DATA
const char* lpszPlayer = CPlayerDataCenter::GetInstance()->GetPlayerString( idCouple );
#else // __SYS_PLAYER_DATA
LPCSTR lpszPlayer = prj.GetPlayerString( idCouple );
#endif // __SYS_PLAYER_DATA
if( lpszPlayer )
{
CUser* pUser = (CUser*)prj.GetUserByID( idCouple );
if( IsValidObj( (CObj*)pUser ) )
{
if( pUser->IsFly() )
{
( (CUser*)this )->AddDefinedText( TID_GAME_COUPLERING_ERR03 );
return FALSE;
}

What is wrong in this code? Couple Ring did not work (
romzik is offline  
Reply


Similar Threads Similar Threads
Selling UnID Bul-Kathos's Wedding Band - Legendary Ring
06/22/2012 - Diablo 3 Trading - 1 Replies
Found it yesterday, kept it Unid in order to sell it here on Epvp vs igg or paypal, feel free to offer in this thread or pm me. http://desmond.imageshack.us/Himg24/scaled.php?se rver=24&filename=20120621232806.png&res=la nding Bul-Kathos's Wedding Band Legendary Ring Each Hit Adds +95-151 Life +4% Life Critical Hit Damage Increased by 23-25% One of 2 Magic Properties (varies)
How to block teleport and wedding ring on a map?
07/06/2011 - Metin2 Private Server - 0 Replies
How to block teleport and wedding ring on a map? Same as Orc's map of Atlantis Please help me!



All times are GMT +1. The time now is 12:55.


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.