Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Help please

Newbie Spellweaver
Joined
Nov 25, 2018
Messages
19
Reaction score
0
Hey, can anyone tell me or link me how to add admin or gm title to my character? Its seems like normal name, the character is admin.
 
Initiate Mage
Joined
Dec 28, 2018
Messages
2
Reaction score
0
You can change your name at SQL Server Management Studio (I'm guessing you used it for your server).

Go to Databases then click CHARACTER_01_DBF then go to Tables, look for a file called "dbo.CHARACTER_TBL, right click it and press Edit top 200 rows, then look for your character's name, in your case the GM, click the name of it and change it to whatever you want to name it.

If you're logged to your server while doing it you will have to relog in order to see your name changed.
 
Skilled Illusionist
Joined
May 11, 2011
Messages
316
Reaction score
28
check your authorization.h for the right letter
and do it on your sql server like this:

USE [CHARACTER_01_DBF]
UPDATE CHARACTER_TBL SET m_chAuthority='Z'
WHERE m_szName='YourCharacterNameHere' and serverindex='01'

or

USE [ACCOUNT_DBF]
UPDATE ACCOUNT_TBL_DETAIL SET m_chLoginAuthority='Z'
WHERE account='YourAccount ID here' and gamecode='A000'

and for the ingame title edit your MoverRender.cpp
#if __VER >= 13 // __HONORABLE_TITLE
if( IsChaotic() )
dwColor = prj.m_PKSetting.dwChaoColor;
else if( IsPKPink() )
dwColor = prj.m_PKSetting.dwReadyColor;
else if( m_dwAuthorization >= AUTH_OWNER ) // GM / Admin colors
dwColor = 0xFFFFFFFF;
else if( m_dwAuthorization >= AUTH_COMMUNITYMANAGER )
dwColor = 0xFFFFFFFF;
else if( m_dwAuthorization >= AUTH_HEADGAMEMASTER )
dwColor = 0xFFFFFFFF;
else if( m_dwAuthorization >= AUTH_DEVELOPER )
dwColor = 0xFFFFFFFF;
else if( m_dwAuthorization >= AUTH_ADMINISTRATOR )
dwColor = 0xFFFFFFFF;
else if( m_dwAuthorization >= AUTH_GAMEMASTER3 )
dwColor = 0xFFFFFFFF;

else
dwColor = prj.m_PKSetting.dwGeneralColor;

CString strFameName = GetTitle();
if( strFameName.IsEmpty() == FALSE )
{
CString strName;
strName = "[";
strName += strFameName;
strName += "] ";
strName += m_szName;
strcpy( szName, (LPCTSTR)strName );
}

// GM / Admin tag
if(m_dwAuthorization >= AUTH_GAMEMASTER3)
{
CString strName;
strName = szName;
if(m_dwAuthorization >= AUTH_OWNER)
{
strName += " [Owner]";
}
else
if(m_dwAuthorization >= AUTH_COMMUNITYMANAGER)
{
strName += " [Community Manager]";
}
else
if(m_dwAuthorization >= AUTH_HEADGAMEMASTER)
{
strName += " [Head Game-Master]";
}
else
if(m_dwAuthorization >= AUTH_DEVELOPER)
{
strName += " [Developer]";
}
else
if(m_dwAuthorization >= AUTH_ADMINISTRATOR)
{
strName += " [Administrator]";
}
else
{
strName += " [Game Master]";
}

strcpy( szName, (LPCTSTR)strName );
}
#else

its easy....
next time a little more searching by yourself...
 
Last edited:
Back
Top