Register for your free account! | Forgot your password?

You last visited: Today at 03:39

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

Advertisement



NPC Name Color

Discussion on NPC Name Color within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2011
Posts: 26
Received Thanks: 2
NPC Name Color



Alright so my question is where is the string format color being defined. I noticed this color is used on Penya Font as well. And I've look through the window it uses and it's not defined there. If anyone has any idea feel free to pitch in
Synchronicity is offline  
Old 06/19/2013, 07:57   #2
 
ppputty's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 15
Received Thanks: 2
Neuz / VersionCommon.h

add:
PHP Code:
#define __TARGET_INF_V19 
ITheme.cpp

Search:
PHP Code:
#ifdef __LANG_1013
    
PLANG_DATA pLangData    CLangMan::GetInstance()->GetLangData( ::GetLanguage() );
    
CD3DFontpFont
Under add:
PHP Code:
#ifdef __TARGET_INF_V19
    
pFont = new CD3DFont_T("Verdana"), 10D3DFONT_BOLD );
    
pFont->m_nOutLine  2;
    
pFont->m_dwColor   D3DCOLOR_ARGB255255236176 );
    
pFont->m_dwBgColor D3DCOLOR_ARGB255,   0,   0,   );
    
m_mapFont.SetAt_T"TitleINFV19"), pFont );
#endif// __TARGET_INF_V19 
ITheme.h

Search:
PHP Code:
    SetVersion( ::GetLanguage() ); 
Under add:
PHP Code:
#ifdef __TARGET_INF_V19
    
m_mapFont.Lookup_T("TitleINFV19"), (void*&)m_pFontWndTitleINFV19 );
#endif// __TARGET_INF_V19 
Search:
PHP Code:
    SetVersion( ::GetLanguage() ); 
Under add:
PHP Code:
#ifdef __TARGET_INF_V19
    
CD3DFontm_pFontWndTitleINFV19;
#endif//__TARGET_INF_V19 
WndWorld.cpp

Search:
PHP Code:
public:
    
void SetVersionint Lang ); 
Code:
PHP Code:
                        CD3DFontpOldFont p2DRender->GetFont();
                        
p2DRender->SetFontCWndBase::m_Theme.m_pFontWndTitleINFV19 );
                        
p2DRender->TextOutpoint.31 npoint.23szText0xffffdd66 );
                        
p2DRender->SetFontpOldFont ); 
Search:
PHP Code:
DWORD dwC COLOR_MONSTER
Code:
PHP Code:
                        CD3DFontpOldFont p2DRender->GetFont();
                        
p2DRender->SetFontCWndBase::m_Theme.m_pFontWndNewTitle );
                        
DWORD dwC 0xffffdd66;
                        
p2DRender->SetFontpOldFont ); 
Search:
PHP Code:
p2DRender->TextOutpoint.50point.18szTextdwC ); 
Code:
PHP Code:
                        p2DRender->SetFontCWndBase::m_Theme.m_pFontWndTitleINFV19 );
                        
p2DRender->TextOutpoint.31point.23szTextdwC ); 
ppputty is offline  
Old 06/19/2013, 18:07   #3
 
elite*gold: 0
Join Date: Jan 2011
Posts: 26
Received Thanks: 2
might need to edit that a little more since there's some inconsistencies from theme.h and wndworld.cpp

some parts of what you mentioned also for theme.h would be for theme.cpp

another thing is that the name is being rendered elsewhere and not exactly wndworld.cpp
so thats not usable either




the string format seems like a global color or a default or some sort.


its being used on player names too.
Synchronicity is offline  
Reply


Similar Threads Similar Threads
[Source] Move mouse to specific color on screen (color aimbot)
11/20/2012 - .NET Languages - 0 Replies
I was initially calling GetPixel in a loop to scan a screenshot for a specific RBG which caused a 2-3 delay before finding the color until I realized it's much faster to use LockBits and UnlockBits instead. Anyway, here's my source for finding a specific RBG color on your screen and then automatically moving the mouse to that color which is good for browser shooting games and what not. Compiled in vs2010. Imports System.Drawing.Imaging Imports System.Runtime.InteropServices
WoW Color Hack (Use color-codes in text)
09/23/2007 - WoW Exploits, Hacks, Tools & Macros - 31 Replies
WoWColorHack.flt -=Preamble=- I'm quite surprised that no one has released anything similar yet - the theory behind this dates back to the alpha days. Hell, I first used this filter on my own alpha sandbox. -=Theory=-



All times are GMT +2. The time now is 03:39.


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.