Quote:
Originally Posted by Dr. Peacock
Mover / MoverRender
I Currently don't know what Files you're using and maybe its just Invisible as Color?
|
Sorry, I didn't mention it. I am using Illumine Files.... And I check the moverrender hmmmm... I cannot find a clue. Maybe Imma try to use clean codes.
Quote:
Originally Posted by pDestroyer
../_Common/MoverRender.cpp function CMover::RenderName
|
Thank you for the tip!
This is the code that I saw in illumine files.
void CMover::RenderName( LPDIRECT3DDEVICE9 pd3dDevice, CD3DFont* pFont, DWORD dwColor )
{
if( !IsVisible() )
return;
if( g_Option.m_nPlayerName == FALSE && IsActiveMover() )
return;
if( g_Option.m_nOtherPlayerName == FALSE && !IsActiveMover() && IsPlayer() )
return;
char szName[ 256 ];
strcpy( szName, m_szName );
BOOL bOtherColor = FALSE;
DWORD dwNewColor;
if( IsPlayer() )
{
if( GetWorld()->GetID() == WI_WORLD_GUILDWAR && g_pPlayer->GetGuild() && GetGuild() )
{
bOtherColor = TRUE;
if( g_pPlayer->GetGuild()->GetGuildId() == GetGuild()->GetGuildId() )
dwNewColor = COLOR_GUILDCOMBAT;
else
dwNewColor = COLOR_PLAYER;
}
// ??? ?? ???.
And this is in the clean source
void CMover::RenderName( LPDIRECT3DDEVICE9 pd3dDevice, CD3DFont* pFont, DWORD dwColor )
{
if( !IsVisible() )
return;
What do you think is the cause?
FIX. THANK YOUGUYS!