Register for your free account! | Forgot your password?


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

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

Advertisement



About Lord Commands without beeing lord

Discussion on About Lord Commands without beeing lord 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: 156
About Lord Commands without beeing lord

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
I have changed this line
if(!CCLord::Instance()->IsLord(g_pPlayer->m_idPlayer))
To
if(!CCLord::Instance()->IsLord(g_pPlayer->m_idPlayer) && g_pPlayer->m_chAuthority == 'Z')

But it tells me that m_chAuthority is not an part of Cmover.
So i looked true the .h files but it seems i am not in an state just yet to do it like that.

Now i wonder how to create an command for it.
Thats something that should not be all to hard.

If someone can point me in the right direction on how to do it.
I can take an look into it to see if i can set it up correctly.

With kind regards,
Raventh
raventh1984 is offline  
Old 01/20/2013, 23:20   #2
 
elite*gold: 0
Join Date: Jan 2008
Posts: 181
Received Thanks: 23
dont use m_chAuthority
420twisted1 is offline  
Thanks
1 User
Old 01/21/2013, 02:45   #3
 
elite*gold: 1
Join Date: Jun 2011
Posts: 344
Received Thanks: 326
WndLord.cpp:
if(!CCLord::Instance()->IsLord(g_pPlayer->m_idPlayer) && m_dwAuthorization == AUTH_ADMINISTRATOR )
WndLord.h:
under
CWndLordSkill();
~CWndLordSkill();
this:
DWORD m_dwAuthorization;

Result:
If the player is Lord and Admin, he can open this window.
When you want that, Admin can open the Window without be Lord, pm me.
Zoeybird is offline  
Thanks
1 User
Old 01/21/2013, 09:12   #4
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 156
Thanks for your answer Zoeybird.

its working now.

Even the skills i have managed to get it to work correctly.
raventh1984 is offline  
Old 07/16/2017, 20:27   #5
 
elite*gold: 0
Join Date: Aug 2013
Posts: 10
Received Thanks: 0
Can you help me for this?

Quote:
Originally Posted by Zoeybird View Post
WndLord.cpp:
if(!CCLord::Instance()->IsLord(g_pPlayer->m_idPlayer) && m_dwAuthorization == AUTH_ADMINISTRATOR )
WndLord.h:
under
CWndLordSkill();
~CWndLordSkill();
this:
DWORD m_dwAuthorization;

Result:
If the player is Lord and Admin, he can open this window.
When you want that, Admin can open the Window without be Lord, pm me.
mrsimple143 is offline  
Reply


Similar Threads Similar Threads
[ 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 +2. The time now is 15:08.


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