Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 08:33

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

Advertisement



Accesories Upgrade Failed!!!

Discussion on Accesories Upgrade Failed!!! within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2015
Posts: 167
Received Thanks: 41
Accesories Upgrade Failed!!!

Anyone knows how to fix this? I Already search but I don't find any links to help me with this problem



itemupgrade.lua


s.txt
.HeyEyay. is offline  
Old 04/23/2016, 18:34   #2
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 227
I would start by debugging this function CItemUpgrade::SmeltSafetyAccessory and see why it points to fail.
alfredico is offline  
Old 04/23/2016, 18:36   #3

 
elite*gold: 28
Join Date: Feb 2010
Posts: 463
Received Thanks: 277
Give your accessory.inc
ZeroTwo02 is offline  
Old 04/24/2016, 03:18   #4
 
elite*gold: 0
Join Date: Jul 2015
Posts: 167
Received Thanks: 41
This is my accessory.inc


Quote:
Originally Posted by alfredico View Post
I would start by debugging this function CItemUpgrade::SmeltSafetyAccessory and see why it points to fail.
this is the funcion of mine


Code:
BYTE	CItemUpgrade::SmeltSafetyAccessory(CUser* pUser, CItemElem* pItemMain, CItemElem* pItemMaterial, CItemElem* pItemProtScr )
{
	// Àç·á°¡ ¹®½ºÅæÀΰ¡?
	if( pItemMaterial->GetProp()->dwID != II_GEN_MAT_MOONSTONE && pItemMaterial->GetProp()->dwID != II_GEN_MAT_MOONSTONE_1 )
	{
		//pUser->AddDefinedText( TID_GAME_NOTEQUALITEM );
		return 0;
	}
	//	¾Ç¼¼¼*¸® º¸È£ÀÇ µÎ·ç¸¶¸®°¡ ¾Æ´Ò°æ¿ì ¸®ÅÏ
	if( pItemProtScr->GetProp()->dwID != II_SYS_SYS_SCR_SMELPROT4 )
	{
		//pUser->AddDefinedText( TID_GAME_NOTEQUALITEM );
		return 0;
	}
	//	Á¦·Ã¼öÄ¡°¡ maxÄ¡¸¦ ³Ñ¾úÀ»¶§ ¸®ÅÏ
	if( pItemMain->GetAbilityOption() >= MAX_AAO )	// 20
	{
		//pUser->AddDefinedText( TID_GAME_ACCESSORY_MAX_AAO );
		return 3;
	}


	// log
	LogItemInfo aLogItem;
	aLogItem.SendName	= pUser->GetName();
	aLogItem.RecvName	= "UPGRADEITEM_SMELTSAFETY";
	aLogItem.WorldId	= pUser->GetWorld()->GetID();
	aLogItem.Gold	= pUser->GetGold();
	aLogItem.Gold2	= pUser->GetGold();


	aLogItem.Action	= "N";
	g_DPSrvr.OnLogItem( aLogItem, pItemMaterial, pItemMaterial->m_nItemNum );
	pUser->RemoveItem( (BYTE)( pItemMaterial->m_dwObjId ), 1 );
	// ¾×¼¼¼*¸® º¸È£ÀÇ µÎ·ç¸¶¸® ·Î±× ³²±æ°Í
	ItemProp* pItemProp = pItemProtScr->GetProp();
	if( pItemProp )
	{
		g_dpDBClient.SendLogSMItemUse( "1", pUser, pItemProtScr, pItemProp );
		g_dpDBClient.SendLogSMItemUse( "2", pUser, NULL, pItemProp );
	}
	pUser->RemoveItem( (BYTE)( pItemProtScr->m_dwObjId ), 1 );


	// Á¦·Ã È®·ü
	DWORD dwProbability = CAccessoryProperty::GetInstance()->GetProbability( pItemMain->GetAbilityOption() );


	if( xRandom( 10000 ) > dwProbability )	// ½ÇÆÐ
	{
		pUser->AddPlaySound( SND_INF_UPGRADEFAIL );
		if( pUser->IsMode( TRANSPARENT_MODE ) == 0 )
			g_UserMng.AddCreateSfxObj( (CMover *)pUser, XI_INT_FAIL, pUser->GetPos().x, pUser->GetPos().y, pUser->GetPos().z );


		aLogItem.Action	= "L";
		g_DPSrvr.OnLogItem( aLogItem, pItemMain, pItemMain->m_nItemNum );


		return 2;
	}
	else	// ¼º°ø
	{
		pUser->AddPlaySound( SND_INF_UPGRADESUCCESS );
			
		if( pUser->IsMode( TRANSPARENT_MODE ) == 0)
			g_UserMng.AddCreateSfxObj( (CMover *)pUser, XI_INT_SUCCESS, pUser->GetPos().x, pUser->GetPos().y, pUser->GetPos().z);


		pUser->UpdateItem( (BYTE)pItemMain->m_dwObjId, UI_AO,  pItemMain->GetAbilityOption()+1 );


		aLogItem.Action		= "H";
		g_DPSrvr.OnLogItem( aLogItem, pItemMain, pItemMain->m_nItemNum );


		return 1;
	}
	return 0;
}
.HeyEyay. is offline  
Old 04/28/2016, 03:01   #5
 
elite*gold: 0
Join Date: Jul 2015
Posts: 167
Received Thanks: 41
Bump
.HeyEyay. is offline  
Old 04/28/2016, 03:06   #6
 
elite*gold: 0
Join Date: Feb 2016
Posts: 312
Received Thanks: 31
come skype online
fastdxbuy is offline  
Reply


Similar Threads Similar Threads
I NEED HELP FOR NO UPGRADE FAILED
08/29/2017 - RFO Hacks, Bots, Cheats, Exploits & Guides - 2 Replies
PLS HELP ME FOR NO UPGRADE FAILED.. TNX
[Realease]Upgrade Items+Accesories Metin2 Beta
03/10/2013 - Metin2 PServer Guides & Strategies - 7 Replies
Screen: http://img248.imageshack.us/img248/6199/031011410 1.jpg Link: Zippyshare.com - Accesorii.rar Good Luck!:mofo:
'Failed to Connect to upgrade information server'
03/28/2012 - 9Dragons - 1 Replies
Well if anyone here plays GC 9dragons they might have run into this error where is fails to connect to upgrade server, I'm here because it seems that GC can't fix their own errors... and I have seen it someone where before where people have stopped a game from needing to connect to upgrade server at all anyone know a way to stop from connecting to upgrade server or a way to fix this error?
Failed to connect to an upgrade information sever
03/10/2012 - 9Dragons - 4 Replies
This is 9d thai I stuck at start screen and there 're a notice : Failed to connect to an upgrade information sever http://i762.photobucket.com/albums/xx264/hai1994/ d9.jpg How can i fix this or update my client ? until now i can enter the game through ninedragon.exe but i can't see any sever :((
Accesories.
08/27/2011 - CO2 Private Server - 3 Replies
Hello, i wanna know is someone know why i can't saw my accesories but other ppl can saw my. They can'T saw their accessories but i can saw them ?



All times are GMT +2. The time now is 08:33.


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.