Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 13:15

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

Advertisement



About Lord Skills

Discussion on About Lord Skills within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
About Lord Skills

Hi elitepvpers,

I am working atm on the lord skills not the events but the skills that you see when you press L.

What i want to accomplish is that when the user is an GM of rank 2
Lets say AUTH_GAMEMASTER2
The tick wont update.

I have done this

inside tLord.cpp
BOOL CLController::UpdateLordSkillTick( CLordSkillComponent* pSkill, int nTick )
{ // ±ºÁÖ ½ºÅ³ Àç»ç¿ë ´ë±â ½Ã°£ ÀúÀå
if(m_pLord->m_dwAuthorization != AUTH_GAMEMASTER2)
{
return GetQueryObject()->Execute( "uspLordSkillTick %d, %d, %d", g_appInfo.dwSys, pSkill->GetId(), nTick );
}
}

As i read it but i could be wrong if your not an GameMaster2 the Tick will be updated.

However the tick is still beeing updated and i am still not aible to launch an new Skill. I still must wait for 60 mins.

I also have tryd to do it with pUser and g_pPlayer buth both of them gives an Class error.

Any one could explain on what to do?

With kind regards,
Loky.
raventh1984 is offline  
Old 06/11/2013, 06:49   #2
 
elite*gold: 120
Join Date: Jun 2012
Posts: 455
Received Thanks: 141
Hay.

inside the "slord.cpp"

u search this:
namespace lordevent

than u change it to:
Quote:
////////////////////////////////////////////////////////////////////////////////
namespace lordevent
{
int CreateRequirements( CUser* pUser, int iEEvent, int iIEvent )
{
ILordEvent* pEvent = CSLord::Instance()->GetEvent();
if(!pUser->IsAuthHigher(AUTH_GAMEMASTER2))
{
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;
}
};

////////////////////////////////////////////////////////////////////////////////
#endif // __LORD
mfg. Kevin
xI3ubbLex3 is offline  
Old 06/11/2013, 07:30   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
That i already have and its for the Events like the Exp and Drop rate.
I dont need that. I am talking abou the Skills.
raventh1984 is offline  
Reply


Similar Threads Similar Threads
About Lord Commands without beeing lord
07/16/2017 - Flyff Private Server - 4 Replies
Hi Epvpers, I am having an little question about the lord skills. I am looking trough the source to allow GM's to use the Lord Skills true out the server. But it seems i am unaible to do it or to see it. What i did was looking for the error if you press the L button. Now i come up to WndLord.cpp
[ Lord-Co ] the Real Legend. the best you ever seen - WWW.Lord-Co.COM
07/06/2012 - CO2 PServer Archive - 10 Replies
-------------------------------------------------- -------------------- بسم الله الرحمن الرحيم in the name of allah ------------------------------------------------- ------------- i came today with an awesome conquer private Server or like some pple say "zero unique features" :D it's LORD-CO
PALADIN Scarab Lord-Spectral Tiger-Ashes of Al'ar-Raven Lord-Invincible-11k+ Achiv P.
04/06/2011 - World of Warcraft Trading - 5 Replies
Account Has Many Intersted and Rare Things Alt's : Warrior LvL 85 Hunter LvL 85 Rogue LvL 85 Mage LvL 81 Warlock LvL 80



All times are GMT +1. The time now is 13:16.


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