Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 22:51

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

Advertisement



Announce system and Color ingame

Discussion on Announce system and Color ingame within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
matonskie23's Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 261
Received Thanks: 16
Announce system and Color ingame

Hello guys i know this is noob asking but i need to know
how can i move to top the announce system and make it small its too big in height so i want to minimize it
second how can i change the font color ingame i cant find any tut for this
matonskie23 is offline  
Old 04/21/2019, 15:56   #2
 
elite*gold: 0
Join Date: Jul 2018
Posts: 93
Received Thanks: 59
#2 = Mover.h -> #define COLOR_NPC
-Valor is offline  
Old 04/22/2019, 00:49   #3
 
elite*gold: 0
Join Date: Nov 2016
Posts: 31
Received Thanks: 9
# 1 = WndWorld.cpp -> OnEraseBkgnd
yasukomoonflyff is offline  
Old 05/02/2019, 12:38   #4
 
matonskie23's Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 261
Received Thanks: 16
Quote:
Originally Posted by yasukomoonflyff View Post
# 1 = WndWorld.cpp -> OnEraseBkgnd

i want to move my announce system like this thanks ,


matonskie23 is offline  
Old 05/02/2019, 15:42   #5
 
elite*gold: 0
Join Date: Jul 2018
Posts: 93
Received Thanks: 59
BOOL CWndWorld::OnEraseBkgnd

Code:
#ifdef __MESSAGE_SYSTEM
	if (lpMessage.GetLength())
	{
		CRect rect(CPoint(0, 0), CPoint(g_Option.m_nResWidth, 25));
		p2DRender->RenderFillRect(rect, 0xAA2E2E2E);
		p2DRender->TextOut(nxPos--, 5, lpMessage, 0xFFFFFFFF);
		if (nxPos <= 0)
		{
			CSize size = p2DRender->m_pFont->GetTextExtent(lpMessage);
			if (nxPos + size.cx <= 0)
				nxPos = g_Option.m_nResWidth;
		}
	}
#endif // __MESSAGE_SYSTEM
-Valor is offline  
Old 05/05/2019, 12:57   #6
 
matonskie23's Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 261
Received Thanks: 16
Quote:
Originally Posted by -Valor View Post
BOOL CWndWorld::OnEraseBkgnd

Code:
#ifdef __MESSAGE_SYSTEM
	if (lpMessage.GetLength())
	{
		CRect rect(CPoint(0, 0), CPoint(g_Option.m_nResWidth, 25));
		p2DRender->RenderFillRect(rect, 0xAA2E2E2E);
		p2DRender->TextOut(nxPos--, 5, lpMessage, 0xFFFFFFFF);
		if (nxPos <= 0)
		{
			CSize size = p2DRender->m_pFont->GetTextExtent(lpMessage);
			if (nxPos + size.cx <= 0)
				nxPos = g_Option.m_nResWidth;
		}
	}
#endif // __MESSAGE_SYSTEM
i got different code i try to edit to 25 Height every code but still not working sorry if im asking this another noob question
matonskie23 is offline  
Old 05/05/2019, 13:38   #7
 
elite*gold: 0
Join Date: Dec 2009
Posts: 51
Received Thanks: 22
Code:
CRect rect(CPoint(0, 0), CPoint(g_Option.m_nResWidth,20));
p2DRender->RenderFillRect(rect, 0xAA2E2E2E);
p2DRender->TextOut(nxPos--, 11, g_strGlobalMsg, 0xFFFFFFFF);
Crimal is offline  
Old 05/13/2019, 11:21   #8
 
matonskie23's Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 261
Received Thanks: 16
Quote:
Originally Posted by Crimal View Post
Code:
CRect rect(CPoint(0, 0), CPoint(g_Option.m_nResWidth,20));
p2DRender->RenderFillRect(rect, 0xAA2E2E2E);
p2DRender->TextOut(nxPos--, 11, g_strGlobalMsg, 0xFFFFFFFF);
after trying to add this code i got bug ingame
matonskie23 is offline  
Reply


Similar Threads Similar Threads
Perfection(PVP)☆120 PVP☆Silk/hour☆Plus Success Announce☆Mastery System&More
06/22/2013 - SRO PServer Advertising - 123 Replies
http://imageshack.us/a/img703/7395/logodhv.png • Welcome back to perfection, the longest lasting PvP server in silkroad history, season two of perfection has been launched, we will welcome back all our players, and we will always stay the #1 silkroad private server and server not closed again He new Team Likes to have fun . Warning: Thenew team is not responsible for the old game. Server Information: Starter LvL: 120 Cap: 120



All times are GMT +2. The time now is 22:51.


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