Register for your free account! | Forgot your password?

You last visited: Today at 17:30

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

Advertisement



Bead Stack!

Discussion on Bead Stack! within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
Serenity-.'s Avatar
 
elite*gold: 20
Join Date: Jun 2013
Posts: 445
Received Thanks: 76
Bead Stack!

Weiß einer wie man den Bead stack durch Card sockel entfernen fixt ...?
Serenity-. is offline  
Old 02/01/2015, 23:36   #2

 
マリブ's Avatar
 
elite*gold: 12
The Black Market: 117/0/0
Join Date: Jun 2011
Posts: 2,512
Received Thanks: 1,062
ItemUpgrade.cpp
void CItemUpgrade::OnPiercingRemove( CUser* pUser, DWORD objId )
マリブ is offline  
Old 02/01/2015, 23:43   #3
 
Serenity-.'s Avatar
 
elite*gold: 20
Join Date: Jun 2013
Posts: 445
Received Thanks: 76
Genauer , etwas zum Copy & Pasten ? xD
Serenity-. is offline  
Old 02/01/2015, 23:44   #4
 
elite*gold: 0
Join Date: Jun 2013
Posts: 166
Received Thanks: 259
Code:
void CItemUpgrade::OnPiercingRemove( CUser* pUser, DWORD objId )
{
	CItemElem* pItemElem = pUser->m_Inventory.GetAtId( objId );
	if( !IsUsableItem( pItemElem ) || !pItemElem->IsPierceAble() )
		return;

	if( pUser->m_Inventory.IsEquip( objId ) )
		return;

	// ÇǾî½Ì ¿É¼ÇÀÌ ¾ø´Â °æ¿ì
	if( pItemElem->GetPiercingSize() == 0 || pItemElem->GetPiercingItem( 0 ) == 0 )
	{
		pUser->AddDefinedText( TID_GAME_REMOVE_PIERCING_ERROR );
		return;
	}

	int nPayPenya = 1000000; // ÁöºÒÇÒ Æä³Ä
	if( pUser->GetGold() < nPayPenya )	// Æä³Ä°¡ ºÎÁ·ÇÏ´Ù.
	{
		pUser->AddDefinedText( TID_GAME_LACKMONEY );
		return;
	}

	for( int i=pItemElem->GetPiercingSize()-1; i>=0; i-- )
	{
		if( pItemElem->GetPiercingItem( i ) != 0 )
		{
			pUser->AddGold( -nPayPenya );	// Æä³Ä ÁöºÒ
			pUser->AddDefinedText(TID_GAME_REMOVE_PIERCING_SUCCESS);

			pUser->UpdateItem( (BYTE)( pItemElem->m_dwObjId ), UI_PIERCING, MAKELONG( i, 0 ) );

			LogItemInfo aLogItem;
			aLogItem.Action = "$";
			aLogItem.SendName = pUser->GetName();
			aLogItem.RecvName = "PIERCING_REMOVE";
			aLogItem.WorldId = pUser->GetWorld()->GetID();
			aLogItem.Gold = pUser->GetGold() + nPayPenya;
			aLogItem.Gold2 = pUser->GetGold();
			aLogItem.Gold_1 = -nPayPenya;
			g_DPSrvr.OnLogItem( aLogItem, pItemElem, 1 );


			break;
		}
	}
}
WurstbrotQT is offline  
Old 02/01/2015, 23:51   #5
 
Serenity-.'s Avatar
 
elite*gold: 20
Join Date: Jun 2013
Posts: 445
Received Thanks: 76
Das hab ich ja gefunden aber was genau soll ich da eintragen xD (Wo bleibt malibus post )
Serenity-. is offline  
Old 02/01/2015, 23:54   #6

 
マリブ's Avatar
 
elite*gold: 12
The Black Market: 117/0/0
Join Date: Jun 2011
Posts: 2,512
Received Thanks: 1,062
Code:
	if( pItemElem->GetPiercingSize() == 0 || pItemElem->GetPiercingItem( 0 ) == 0 )
	{
		pUser->AddDefinedText( TID_GAME_REMOVE_PIERCING_ERROR );
		return;
	}
#ifdef __WBQT_BEAD_STACK_FIX
	if (pUser->HasActivatedVisPet() )
	{
		pUser->AddText("Fixxed by WurstbrotQT. Was ein Gott!");
		return;
	}
#endif // __WBQT_BEAD_STACK_FIX
マリブ is offline  
Thanks
3 Users
Reply


Similar Threads Similar Threads
[WBT] Ectos 3,5€/stack | Zkeys 2€/stack | Arms 0,50@/ea |Rare Pets | Trims!
01/10/2015 - Guild Wars Trading - 0 Replies
Heyho Community I wanna BUY! Ectos 3,5€/stack Zaishenkeys 2€/stack Arms 0,50€/ea Unded/ded Rare Pets And Trimmed guilds Cheers
Koopa's Discount-Offer:Ectos 13,99€/stack! Lpicks 3,99/stack!
04/04/2012 - Guild Wars Trading - 0 Replies
Hey ;) My special offer until monday or sold-out. Enjoy :) Ectos in stock: 10 Stacks http://gwah.onlinewelten.com/images/Ektoplasmakuge l.png 8 stacks sold 1 Stack = 13,99€
Koopas Special -> Ektos für 15/€ Stack -- Dietriche 4,99€/Stack
04/03/2012 - Guild Wars Trading - 1 Replies
Servus ;) Ich biete euch hier die einmalige Gelegenheit, Ektos und Dietriche zu einem sehr günstigen Preis zu kaufen. Ektos auf Lager: 15 Stacks http://gwah.onlinewelten.com/images/Ektoplasmakuge l.png 1 Stack = 15,00€



All times are GMT +2. The time now is 17:30.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.