@"
voidCWndMessengerEx::OnDraw( C2DRender*p2DRender )
Change the textout x to 49 & 48
Code:
#if __VER >=19
CString pszName = g_pPlayer->GetName( TRUE );
int nMaxSize = 12;
if( pszName.GetLength() > nMaxSize )
{
int nReduceCount = 0;
while( nReduceCount < nMaxSize )
{
nReduceCount += (IsDBCSLeadByte( pszName[ nReduceCount ] ))? 2 : 1;
}
pszName = pszName.Left( nReduceCount );
pszName += "...";
}
p2DRender->TextOut( 49, 7, 1, 1, pszName, 0xFF606060 ); //here
p2DRender->TextOut( 48, 6, 1, 1, pszName, 0xFFFFFFFF );
p2DRender->TextOut( 48, 20, 1, 1, strState, 0xff36E052 );
#else // __VER >= 19
also change the x on all appearances of this to 175 :
before:
Code:
p2DRender->TextOut( 158, 12, 1, 1, strServerName, 0xffF6CC4D );
p2DRender->TextOut( 158, 24, 1, 1, strServerName, 0xffF6CC4D );
after:
Code:
p2DRender->TextOut( 175, 12, 1, 1, strServerName, 0xffF6CC4D );
p2DRender->TextOut( 175, 24, 1, 1, strServerName, 0xffF6CC4D );