[Rebirth-System]Frage

07/14/2013 00:56 NativeGermany#1
hay,
wie mache ich das damit ich ein Icon neben meinem Name habe also Rebirth level 1 bekommt ein Grünes icon und so wie mache ich das :D ? habe das rebirth von Crowley ;D
Danke auch so

also anders mein Rebirth Icon ist unter dem Master icon sieht ein bissche fail aus xD

Code:
else if (m_nCampusPoint == 1)   
{
   strPath = MakePath( DIR_ICON, "icon_Expert5.dds");
   pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
   if(pTexture != NULL)
   {
    point.y -= pTexture->m_size.cy + 5;
    pTexture->Render( &g_Neuz.m_2DRender, point );
   }
}
07/14/2013 08:47 ThoughtfulDev#2
tipp:
Code:
point.x = pTexture->m_size.cx + 5; // 5 hier variabel
point.y = pTexture->m_size.cy - 5; // -5 damit das icon nach oben kommt.
und naja so ganz von Crowley ist es auch nicht aber was solls...
07/14/2013 12:21 NativeGermany#3
wie mache ich das dann damit das H wegkommt und nur mein Icon da ist : o ?

as mit den icons habe ich wo anderes gefunden xD
07/15/2013 13:13 NativeGermany#4
##push
07/15/2013 16:19 raventh1984#5
Did you solved it? with the auto icon?

Example. You are Max level and when you do an rebirth instead of the M icon the Rebirth icon must be there.
07/15/2013 19:10 NativeGermany#6
hat jemand nen code den er auch rausgibt wo das HEro icon weg geht wenn man Rebirth macht ? wäe ganz geil ;D
07/15/2013 19:18 Jopsi332#7
einfach in die if abfragen über master dein rebirth eintragen und den master hero und legend teil als else if eintragen
07/16/2013 07:20 raventh1984#8
I also have done that Jopsi

like this

PHP Code:
if( checkhero == LEGEND_CLASS_MASTER )
{
    if( 
m_nCampusPoint == )
        
pTexture g_Neuz.m_pRebirth[0];
    else if (
m_nLevel 70 )
        
pTexture g_Neuz.m_pMasterIcon[0];
    if(
pTexture != NULL)
    {
        
point.-= pTexture->m_size.cy 5;
        
pTexture->Render( &g_Neuz.m_2DRenderpoint );
    }

This is just the example of how i have it.

For some reasons when i hit legend level and i do an rebirth the icon is still now shown.
When i relog then its working. So its not auto fetcht like the m_nLevel.
Could it be that the worldserver doens send an PACKETTYPE to the client? like it does with the m_nLevel.
07/16/2013 17:18 Prototype®#9
Everything is clientsided. Have a look in your function , there are also some other icons which renders , if you put your code before them , they will delete your rendercache and it wont render
07/16/2013 20:16 raventh1984#10
It doesnt matter if i put the code before them or after them. It will only render on relog.

The master/hero/legend icon are instantly changed when the char has the correct conditions. It only doenst work with the m_nCampusPoint or m_nRebirthCount,