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!

Gamemaster - staff text colors

Newbie Spellweaver
Joined
Nov 14, 2013
Messages
33
Reaction score
2
Hello,

iv'e been searching around for a day or two now looking for an answer to my above question, but to no avail.

So is it possible to change the colors of staff text in normal, shout,whisper etc but to leave players chat the same?

Iv'e looked in Wndmanager.cpp but can't find anything relating to it.

I have also checked where the lords text gets changed when shouting but I am unsure on if I would need to dupe the code and change it to my needs or if there is somewhere already holding the code that I could change.

Any help would be great as I am running out of ideas big time.

Many thanks

Tench
 
Newbie Spellweaver
Joined
Nov 14, 2013
Messages
33
Reaction score
2
Thanks for pointing me in the right direction caja, Would I need to insert my own code into this location or is there something I can edit?

thanks
 
Newbie Spellweaver
Joined
Nov 14, 2013
Messages
33
Reaction score
2
Bump, I could really do with a hand here guys :(
 
Inactive
Joined
Jan 20, 2009
Messages
1,014
Reaction score
1,830

FuncTextCmd.cpp - BOOL TextCmd_shout( CScanner& scanner )
Code:
	if ( pUser->m_dwAuthorization == AUTH_HELPER || pUser->m_dwAuthorization == AUTH_GAMEMASTER || pUser->m_dwAuthorization == AUTH_GAMEMASTER2 || pUser->m_dwAuthorization == AUTH_GAMEMASTER3 || pUser->m_dwAuthorization == AUTH_OPERATOR || pUser->m_dwAuthorization == AUTH_ADMINISTRATOR )
		dwColor		= 0xffffff00;
 
Newbie Spellweaver
Joined
Nov 14, 2013
Messages
33
Reaction score
2
Thank you so much dude! I really appreciate it! :D
 
Back
Top