Register for your free account! | Forgot your password?

You last visited: Today at 08:43

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

Advertisement



BLESSING

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

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2014
Posts: 190
Received Thanks: 87
BLESSING

Hi Epvpvers regarding to blessing of fashion,. do i need to remove some code in sql to avoid database error to make run normally the fashion with blessing can be tradable??

i got this error

thanks
Zeljian is offline  
Thanks
1 User
Old 12/19/2017, 19:09   #2
 
elite*gold: 0
Join Date: Mar 2013
Posts: 200
Received Thanks: 38
I really dont get it.

What i Understand, if you want to become tradable the fashion with blessing and this is the fix:

Item.cpp

Code:
#if __VER >= 11 // __SYS_IDENTIFY
	if( g_xRandomOptionProperty->GetRandomOptionSize( GetRandomOptItemId() ) > 0
		&& ( 
		/* g_xRandomOptionProperty->GetRandomOptionKind( this ) == CRandomOptionProperty::eBlessing || */ 
		g_xRandomOptionProperty->GetRandomOptionKind( this ) == CRandomOptionProperty::eEatPet ) )
		return TRUE;
	if( GetLevelDown() < 0 )
		return TRUE;
#endif	// __SYS_IDENTIFY
Then remove the tooltip that says: you cannot trade, mail or vend with blessed fashions

here's the fix

WndManager.cpp
Code:
/*
	if( bBlessing )
	{
		str.Format( "\n%s", prj.GetText( TID_GAME_BLESSING_WARNING ) );
		pEdit->AddString( str, dwItemColor[g_Option.m_nToolTipText].dwBlessingWarning );
	}
*/
flyffdev is offline  
Old 12/20/2017, 14:41   #3
 
elite*gold: 0
Join Date: Mar 2008
Posts: 333
Received Thanks: 284
SQL has nothing to do with tradeable items
Nortix is offline  
Old 12/21/2017, 15:03   #4
 
elite*gold: 0
Join Date: Dec 2014
Posts: 190
Received Thanks: 87
Quote:
Originally Posted by flyffdev View Post
I really dont get it.

What i Understand, if you want to become tradable the fashion with blessing and this is the fix:

Item.cpp

Code:
#if __VER >= 11 // __SYS_IDENTIFY
	if( g_xRandomOptionProperty->GetRandomOptionSize( GetRandomOptItemId() ) > 0
		&& ( 
		/* g_xRandomOptionProperty->GetRandomOptionKind( this ) == CRandomOptionProperty::eBlessing || */ 
		g_xRandomOptionProperty->GetRandomOptionKind( this ) == CRandomOptionProperty::eEatPet ) )
		return TRUE;
	if( GetLevelDown() < 0 )
		return TRUE;
#endif	// __SYS_IDENTIFY
Then remove the tooltip that says: you cannot trade, mail or vend with blessed fashions

here's the fix

WndManager.cpp
Code:
/*
	if( bBlessing )
	{
		str.Format( "\n%s", prj.GetText( TID_GAME_BLESSING_WARNING ) );
		pEdit->AddString( str, dwItemColor[g_Option.m_nToolTipText].dwBlessingWarning );
	}
*/
before you comment this i already know were is the code can be tradable,
but my main problem is this,

after i trade the fashion with blessing awake i get sql error
Zeljian is offline  
Thanks
1 User
Old 12/22/2017, 18:13   #5
 
elite*gold: 0
Join Date: Dec 2014
Posts: 190
Received Thanks: 87
bump
Zeljian is offline  
Thanks
1 User
Old 12/29/2017, 20:11   #6
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
An arithmetic overflow is caused by a calculated column value that exceeds the column's specified size. When this error occurs, the calculation stops and the remainder of the results pane is not filled.

So it means that the data you are trying to insert is larger then the field.

either change the field to bigint or change the code so that it will not exceed the int value of -2147483647 to 2147483647 since your awakening id is (1387606559738305536)
raventh1984 is offline  
Thanks
1 User
Old 01/23/2018, 05:41   #7
 
elite*gold: 0
Join Date: Dec 2014
Posts: 190
Received Thanks: 87
Quote:
Originally Posted by raventh1984 View Post
An arithmetic overflow is caused by a calculated column value that exceeds the column's specified size. When this error occurs, the calculation stops and the remainder of the results pane is not filled.

So it means that the data you are trying to insert is larger then the field.

either change the field to bigint or change the code so that it will not exceed the int value of -2147483647 to 2147483647 since your awakening id is (1387606559738305536)
where i can change it?
Zeljian is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Proof: Offline TG = Heavens Blessing
09/21/2007 - Conquer Online 2 - 4 Replies
Well, after being a little board and finding myself looking thru the conquer files I found something interesting... In the StrRes.ini file in the ini folder in the conquer directory theres a wonderful little line that the messages are pulled from: "11001=OfflineTG is only available for the player with God'sBlessing." So yes this is another way TQ pushes thru an update that requires DB's Heavens blessing = $$ in game or CP's = DB's = Money in TQ's pocket
SV and Heavens blessing
08/25/2007 - Conquer Online 2 - 0 Replies
Anyone know how to make it auto-rev with heavens blessing on SV? Thanks
Heaven Blessing
08/17/2007 - Conquer Online 2 - 2 Replies
I recently tried a heaven blessing, and I found that the rez where you are button doesn't work for me. It tells me I don't have heaven blessing. Anyone else have that, or know how to solve it?
Blessing Of Queen on walker
04/29/2007 - Lineage 2 - 1 Replies
i have walker 10.7.4 but i cant get Blessing Of Queen working can anyone help me out pls, i tried everything btw: server i play is c4 official
Question about Heaven Blessing
03/30/2007 - Conquer Online 2 - 4 Replies
Does anyone know how to take the curse effect out so it does not lag no more?



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


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.