Register for your free account! | Forgot your password?

Go Back   elitepvpers > Flyff (Fly For Fun) > Flyff PServer - Discussions / Questions
You last visited: Today at 18:36

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

 

About Lord Commands without beeing lord

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 947
Received Thanks: 153
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   #2
 
elite*gold: 0
Join Date: Jan 2008
Posts: 181
Received Thanks: 23
dont use m_chAuthority


420twisted1 is offline  
Thanks
1 User
Old   #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   #4
 
elite*gold: 0
Join Date: Oct 2012
Posts: 947
Received Thanks: 153
Thanks for your answer Zoeybird.

its working now.

Even the skills i have managed to get it to work correctly.


raventh1984 is offline  
Old   #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



« Previous Thread | Next Thread »

Similar Threads
[ Lord-Co ] the Real Legend. the best you ever seen - WWW.Lord-Co.COM
---------------------------------------------------------------------- بسم الله الرحمن الرحيم in the name of allah...
10 Replies - CO2 PServer Archive
PALADIN Scarab Lord-Spectral Tiger-Ashes of Al'ar-Raven Lord-Invincible-11k+ Achiv P.
Account Has Many Intersted and Rare Things Alt's : Warrior LvL 85 Hunter LvL 85 Rogue LvL 85 Mage LvL 81 Warlock LvL 80
5 Replies - World of Warcraft Trading



All times are GMT +2. The time now is 18:36.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.