Small system shout problem

07/28/2018 14:06 Ecrypter#1
Hi Epvpers Any problem with small system shout the shout is not center like normal system shout.
PHP Code:
#ifdef __SMALL_SYSTEM_SHOUT
            
if(lpCaption->m_bSmall)//Hier drunter Farbe vom neuen Shout
                
CWndBase::m_Theme.m_pFontSRGiuld->DrawText(point.xpoint.yfXScalefYScale,
                    
D3DCOLOR_ARGB((int)(lpCaption->m_fXScale 255) - (255 lpCaption->m_nAlpha), 228206126),
                    
lpCaption->m_szCaption);
                    
                
 
#endif // __SMALL_SYSTEM_SHOUT 
thanks in advance can help my problem
07/28/2018 15:57 elitemember21#2
Show us a screenshot.
07/28/2018 16:00 Professor Linebeck#3
Quote:
Originally Posted by Ecrypter View Post
Hi Epvpers Any problem with small system shout the shout is not center like normal system shout.
PHP Code:
#ifdef __SMALL_SYSTEM_SHOUT
            
if(lpCaption->m_bSmall)//Hier drunter Farbe vom neuen Shout
                
CWndBase::m_Theme.m_pFontSRGiuld->DrawText(point.xpoint.yfXScalefYScale,
                    
D3DCOLOR_ARGB((int)(lpCaption->m_fXScale 255) - (255 lpCaption->m_nAlpha), 228206126),
                    
lpCaption->m_szCaption);
                    
                
 
#endif // __SMALL_SYSTEM_SHOUT 
thanks in advance can help my problem
This happens if you try to copy things from a leaked testing source with unfinished snippets. It was not supposed to work since it was replaced on newer versions of HK.
Calculate the middle yourself or simply copy the part of the original system shout.
07/28/2018 16:23 Ecrypter#4
i try to copy the orignal. but when i try to shout. it will appear the small system shout not center and the normal system shout and it cetered in windows
07/31/2018 03:25 yazuka21#5
PHP Code:
#ifdef __SMALL_SYSTEM_SHOUT
    
void AddCaption(LPCTSTR lpszCaptionCD3DFontAPIpFontBOOL bChatLog TRUEDWORD dwColor D3DCOLOR_ARGB(255255255255), bool bSmall true);
#else // __SMALL_SYSTEM_SHOUT
    
void AddCaptionLPCTSTR lpszCaptionCD3DFontAPIpFontBOOL bChatLog TRUEDWORD dwColor D3DCOLOR_ARGB(  255255255255 ) );
#endif // __SMALL_SYSTEM_SHOUT 
...
08/01/2018 09:02 Ecrypter#6
Quote:
Originally Posted by yazuka21 View Post
PHP Code:
#ifdef __SMALL_SYSTEM_SHOUT
    
void AddCaption(LPCTSTR lpszCaptionCD3DFontAPIpFontBOOL bChatLog TRUEDWORD dwColor D3DCOLOR_ARGB(255255255255), bool bSmall true);
#else // __SMALL_SYSTEM_SHOUT
    
void AddCaptionLPCTSTR lpszCaptionCD3DFontAPIpFontBOOL bChatLog TRUEDWORD dwColor D3DCOLOR_ARGB(  255255255255 ) );
#endif // __SMALL_SYSTEM_SHOUT 
...
I already add this before im posting