Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 20:16

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

Advertisement



How to add custom chat color for GM's

Discussion on How to add custom chat color for GM's within the Flyff Private Server forum part of the Flyff category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2010
Posts: 291
Received Thanks: 17
How to add custom chat color for GM's

Is there any way to change the chat text color from GM's?

Like:

Code:
if($player >= AUTH_GAMEMASTER) {
//the $player write in red color
}
I tried in WndManager.cpp but actually there is only defines for general colors.
So I'm actually confused.
blacksystem1990 is offline  
Old 07/25/2015, 23:58   #2
 
elite*gold: 0
Join Date: Jul 2015
Posts: 181
Received Thanks: 199
BOOL TextCmd_shout( CScanner& scanner )

Find...
Code:
#if __VER >= 12 // __LORD
	DWORD dwColor	= 0xffff99cc;
	if( pUser->HasBuff(  BUFF_ITEM, II_SYS_SYS_LS_SHOUT ) )
		dwColor		= 0xff00ff00;
	arBlock << dwColor;
#endif	// __LORD
Edit away..
KetchupSamurai is offline  
Old 07/26/2015, 02:18   #3
 
elite*gold: 0
Join Date: Mar 2010
Posts: 291
Received Thanks: 17
Quote:
Originally Posted by KetchupSamurai View Post
BOOL TextCmd_shout( CScanner& scanner )

Find...
Code:
#if __VER >= 12 // __LORD
	DWORD dwColor	= 0xffff99cc;
	if( pUser->HasBuff(  BUFF_ITEM, II_SYS_SYS_LS_SHOUT ) )
		dwColor		= 0xff00ff00;
	arBlock << dwColor;
#endif	// __LORD
Edit away..
Uhm, this will only change /shout messages, I wanted to change ALL chats color for GMs, like, general chat, /say chat, shout, etc etc
blacksystem1990 is offline  
Old 07/26/2015, 21:25   #4
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Here Inside this function
void CDPSrvr::OnChat

You could have found that with this code II_SYS_SYS_SCR_FONTEDIT

Cause that scroll will change the font color and font style.

Also FuncText for the /say/whisper/shout/guildchat etc.
raventh1984 is offline  
Thanks
1 User
Closed Thread


Similar Threads Similar Threads
[FlyFF] Fly For Glory | V18 Ready | New Rates: x95 x75 x50 | Custom Glow Color System
06/10/2012 - Flyff PServer Advertising - 25 Replies
http://img191.imageshack.us/img191/5021/ffglogo.pn g Home Page Thank You for your interest in Fly For Glory :) We are a new server with the intent of bringing a friendly community and Unique content by strenthening the games weaknesses and using our Great staff's ideas and putting them from mind to screen. As we are new, our content is only at its beginning stage and we are gradually improving and getting better day by day.
[FlyFF] Fly For Glory | V18 Ready | New Rates: x95 x75 x50 | Custom Glow Color System
08/16/2011 - Flyff PServer Advertising - 15 Replies
Edit by dani: new advertisement: http://www.elitepvpers.com/forum/flyff-pserver-adv ertising/1374302-flyff-fly-glory-v18-ready-new-rat es-x95-x75-x50-custom-glow-color-system.html http://img191.imageshack.us/img191/5021/ffglogo.p ng (First of all, Apologies to Daniii for forgetting the Backlink the first time we posted this.) Home Page



All times are GMT +1. The time now is 20:17.


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