Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 00:23

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

Advertisement



How to prevent lord buff stacking

Discussion on How to prevent lord buff stacking within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
jeromerz's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 244
Received Thanks: 12
How to prevent lord buff stacking

Hello guys, can u help me a little bit on lord system i made the lord event requirement as normal players but they are able to stack a lot of lord buffs any tips where can i prevent it or disable it?

Thanks in advance
jeromerz is offline  
Old 08/13/2016, 14:53   #2
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 230
What about a checking if lord's event is running...?
alfredico is offline  
Thanks
1 User
Old 08/13/2016, 17:52   #3
 
jeromerz's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 244
Received Thanks: 12
Code:
namespace	lordevent
{
	int	CreateRequirements( CUser* pUser, int iEEvent, int iIEvent )
	{
		ILordEvent* pEvent		= CSLord::Instance()->GetEvent();
		if(!pUser->IsAuthHigher(AUTH_GAMEMASTER))
		{
			if( !CSLord::Instance()->IsLord( pUser->m_idPlayer ) )
			{
				return TID_GAME_L_EVENT_CREATE_E001;
			}
		}
		if( pEvent->GetComponent( pUser->m_idPlayer ) )		// is there no event?
			return TID_GAME_L_EVENT_CREATE_E002;
		if( pUser->IsQuerying() )
			return TID_GAME_LORD_IS_QUERYING;
		__int64 iCost	= pEvent->GetCost( iEEvent, iIEvent );
		if( iCost == 0 )
			return TID_GAME_L_EVENT_CREATE_E004;
		if( iCost > pUser->GetTotalGold() )
			return TID_GAME_L_EVENT_CREATE_E003;

		pUser->SetQuerying( TRUE );
		return 0;
	}
};
i don't know how to do that =(
Code:
if( pEvent->GetComponent( pUser->m_idPlayer ) )		// is there no event?
			return TID_GAME_L_EVENT_CREATE_E002;
this check the id of the player who used the event but i know how to put the check for the lord event not the player who host it but when the event is active
jeromerz is offline  
Old 08/13/2016, 18:56   #4
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 230
Player different from NULL_ID
CLEComponent::CLEComponent()
:
nTick( 0 ),
idPlayer( NULL_ID ),
fEFactor( 1.0F ),
#ifdef __CLIENT
m_pTexture( NULL ),
#endif // __CLIENT
fIFactor( 1.0F )
{
}
alfredico is offline  
Thanks
1 User
Old 08/14/2016, 01:59   #5
 
jeromerz's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 244
Received Thanks: 12
sorry i dont know what to do with that.

is this right?

Added it on the requirement for lord
Code:
		if( CLEComponent::CLEComponent() )
		{
			return TID_GAME_L_EVENT_CREATE_E001;
		}
jeromerz is offline  
Reply


Similar Threads Similar Threads
stacking Size Buff (horde)
04/07/2010 - WoW Exploits, Hacks, Tools & Macros - 12 Replies
Go to Bom'Bay in Sen'Jin Village (Durotar). He has a quest for around level 5, not sure exactly though. Complete this quest then return to him. When you talk to him again you can click several various chat links. It doesnt matter which one you click it gives a completely random result. The random buffs are: Turn into a snake for 15sec Drunk affect for 5min Grow very large for 5min Turn into a chicken for 15sec Turn into Ghost for 1min Thrown into air Ok so here is the exploit, keep...
Buff stacking? How to do it?
02/11/2010 - Lineage 2 - 2 Replies
Hello guys, I never buff stacked, but i guess it could be useful for me, to use on my farming char and instead of one empower maybe have 2 or 3 empower buffs :handsdown: Any1 mind sharing with me what i need to know about buff stacking ? I am playing interlude.
Bugged ITEMS ! buff stacking & no disappearing
11/04/2009 - WoW PServer Exploits, Hacks & Tools - 5 Replies
For arcemu some of these may work on Hearthstone, mangos and trinity or some other core talisman of ascendance-Talisman of Ascendance - Item - World of Warcraft the item gives on the fifth stack 200 SP the buff is suppose to fade after 20 sec but on arcemu it stays until u die Jom Gabbar-Jom Gabbar - Item - World of Warcraft same bug as talisman of ascendance but here it just give 65 AP Mind Quickening Gem-Mind Quickening Gem - Item - World of Warcraft
Buff Stacking
10/20/2009 - Cabal Online - 0 Replies
anyone?
Buff Stacking
01/10/2008 - Flyff - 3 Replies
War überflüssig sry.



All times are GMT +1. The time now is 00:23.


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