Regarding GM Authority in Adeilson Source

06/19/2013 07:53 Burdenz2007#1
I would like to ask if what letter is for GM, Developer, and Event GM?

Because i all i know is the Z and P? What is the other letters?

I'm using Adeilson Source Update 3.

Kindly Post it here. Thanks in Advance. :handsdown:
06/19/2013 08:17 ppputty#2
AUTH_OBSERVER 'D'
AUTH_GENERAL 'F'
AUTH_LOGCHATTING 'G'
AUTH_JOURNALIST 'H'
AUTH_HELPER 'J'
AUTH_GAMEMASTER 'L'
AUTH_GAMEMASTER2 'M'
AUTH_GAMEMASTER3 'N'
AUTH_OPERATOR 'O'
AUTH_ADMINISTRATOR 'P'
06/19/2013 08:22 Burdenz2007#3
@ppputty - Where can i find that in the Source?
06/19/2013 10:04 ppputty#4
_Common --> authorization.h
06/19/2013 11:45 Burdenz2007#5
@ppputty - I have this in my _Common/authorization.h


But when im going to Change the Letters in my SQL/Database none of them Works except for the "Admin".

When i looked at my MoverRender.cpp i think there's something missing.


There's only Admin and GM in the TAG. How can i edit or add some names like Developer, Event GM or what? Just give me an Example or a Little Tutorial, and i will try my best to make it work.

Thanks again in Advance.
06/19/2013 18:54 Deadline.#6
Quote:
Originally Posted by Burdenz2007 View Post
@ppputty - I have this in my _Common/authorization.h


But when im going to Change the Letters in my SQL/Database none of them Works except for the "Admin".

When i looked at my MoverRender.cpp i think there's something missing.


There's only Admin and GM in the TAG. How can i edit or add some names like Developer, Event GM or what? Just give me an Example or a Little Tutorial, and i will try my best to make it work.

Thanks again in Advance.
Code:
	if(m_dwAuthorization >= AUTH_GAMEMASTER)
	{
	CString strName;
	strName = szName;
		if(m_dwAuthorization == AUTH_ADMINISTRATOR)
		{
		strName += " [Admin]";
		}
		if(m_dwAuthorization == AUTH_DEVELOPER)
		{
		strName += " [Developer]";
		}
		if(m_dwAuthorization == AUTH_GAMEMASTER4)
		{
		strName += " [GM]";
		}
		if(m_dwAuthorization == AUTH_GAMEMASTER3)
		{
		strName += " [Designer]";
		}
		if(m_dwAuthorization == AUTH_GAMEMASTER2)
		{
		strName += " [Supporter]";
		}
		if(m_dwAuthorization == AUTH_GAMEMASTER)
		{
		strName += " [Mapper]";
		}
#ifdef __PREMIUM_TIT
		if(m_dwAuthorization == AUTH_PREMIUM)
		{
		strName += " [Premium]";
		}
#endif __PREMIUM_TIT
	strcpy( szName, (LPCTSTR)strName );
	}