Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 22:59

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

Advertisement



Buff by Fame point

Discussion on Buff by Fame point within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 108
Received Thanks: 29
Buff by Fame point

Hello

I want to make buff depending on the number of points Fame
Is that my code is correct?

In DPDatabaseClient.cpp

After :

Code:
#if __VER >= 15 // __CAMPUS
		u_long idCampus = pUser->GetCampusId();
		if( idCampus )
		{
			CCampus* pCampus = CCampusHelper::GetInstance()->GetCampus( idCampus );
			if( pCampus && pCampus->IsMember( pUser->m_idPlayer ) )
				pUser->AddUpdateCampus( pCampus );
			else
				pUser->SetCampusId( 0 );
		}
#endif // __CAMPUS
This :

Code:
#ifdef __FAME_BUFF
			DWORD SKILL;
			switch( m_nFame )
			{ 
				case 50:
				{
					SKILL = SI_RIN_DUEL_50;
				}
				break;
				case 100:
				{
					SKILL = SI_RIN_DUEL_100;
				}
				break;
				case 200:
				{
					SKILL = SI_RIN_DUEL_200;
				}
				break;
				case 300:
				{
					SKILL = SI_RIN_DUEL_300;
				}
				break;
			}
                ItemProp* pSkillProp = prj.GetSkillProp( SKILL );
                AddSkillProp* pAddSkillProp = prj.GetAddSkillProp( pSkillProp->dwSubDefine, 1 );
                if( pAddSkillProp )
                {
					DWORD dwReferTarget1Backup = pSkillProp->dwReferTarget1;
					pSkillProp->dwReferTarget1 = NULL_ID;
					DWORD dwReferTarget2Backup = pSkillProp->dwReferTarget2;
					pSkillProp->dwReferTarget2 = NULL_ID;
					DWORD dwSkillTimeBackup = pAddSkillProp->dwSkillTime;
					pAddSkillProp->dwSkillTime = 3600000;
 
					pUser->DoApplySkill( pUser, pSkillProp, pAddSkillProp );
					g_UserMng.AddDoApplySkill( pUser, pUser->GetId(), SKILL, 1 );
				}
#endif //__FAME_BUFF
Thx, help me

And the buff is activated when you connect if you have the required number of points


SourceShop
SourceShop is offline  
Old 04/28/2013, 14:09   #2
 
elite*gold: 0
Join Date: Oct 2012
Posts: 108
Received Thanks: 29
Help plz :s
SourceShop is offline  
Old 04/30/2013, 10:23   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 108
Received Thanks: 29
...... No idea?
SourceShop is offline  
Old 04/30/2013, 10:45   #4
 
Mognakor's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 598
Received Thanks: 465
The switch is obviously wrong, as you only get a buff if you have exactly 50,100 etc. Fame Points. Better use if with >= or <=
Mognakor is offline  
Old 04/30/2013, 12:52   #5
 
elite*gold: 0
Join Date: Oct 2012
Posts: 108
Received Thanks: 29
Ok thank you but I can code it in any file? : o
SourceShop is offline  
Reply


Similar Threads Similar Threads
[FS] FREESTYLE street Basketball 3 Point, Rebound, and 2 point Hack
06/11/2012 - General Gaming Discussion - 133 Replies
My cousin was just hired as product manager for levelup philippines, he says the team for freestyle philippines knows all the available hacks and cheats, including the: 1. 3 point hack 2. rebound hack 3. and he even told me theres a 2 point hack they need to know these hacks for them to solve it. i will share these hacks and cheats in a little while.
Sell MAJ4 | Rare* | SnD Account FAME FAME
04/10/2012 - Combat Arms Trading - 3 Replies
Hey Community, ich möchte meinen Combat Arms EU Account verkaufen. Er ist CPT3 KD ~ Der Rest ist auf dem Screen zu sehen.
WTB Fame 2k Each Point
08/12/2010 - Guild Wars Trading - 3 Replies
halli hallo ich suche jemanden der mir den r3 macht von r1 aus ich zahle 2k pro fame Vorgehen Ihr macht nen team auf ca r8-9+ nehmt mich mit an ne einfache posi dh sh ele oder ähnliches nach jedem run zahle ich die fame die gemacht wurden bei interresse Pn me PS: der preis pro fame ist verhandelbar



All times are GMT +2. The time now is 22:59.


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.