[Help] Rebirth System

04/22/2020 20:26 VicetoN#1
Hey guys :)
I have a rebirth system in my files and when i do rebirth the rebirths count at the Stats window doesn't update and the rebirth icon in the character name won't show up until i'm relogging, which file should i take a look?
04/23/2020 00:18 Hyellow#2
Quote:
Originally Posted by VicetoN View Post
Hey guys :)
I have a rebirth system in my files and when i do rebirth the rebirths count at the Stats window doesn't update and the rebirth icon in the character name won't show up until i'm relogging, which file should i take a look?
Rebirth should be stored in your database, and its your filesss you should know how did you add it before.
04/23/2020 11:17 VicetoN#3
Quote:
Originally Posted by Hyellow View Post
Rebirth should be stored in your database, and its your filesss you should know how did you add it before.
It is stored in the DB, my problem is that the rebirth icon and count is not updating in real time. which file is managing that?
04/24/2020 13:57 VicetoN#4
*BUMP*
I really need your help guys please :)
04/24/2020 15:49 Ecrypter#5
Quote:
Originally Posted by VicetoN View Post
It is stored in the DB, my problem is that the rebirth icon and count is not updating in real time. which file is managing that?
]
rebirth system is need to loging out as far as i know. hmm
04/24/2020 18:41 VicetoN#6
Quote:
Originally Posted by Ecrypter View Post
]
rebirth system is need to loging out as far as i know. hmm
There is no way to make the icon of the rebirth to show up right after the rebirth? just like the master and hero icons
04/27/2020 03:39 Ecrypter#7
Quote:
Originally Posted by VicetoN View Post
There is no way to make the icon of the rebirth to show up right after the rebirth? just like the master and hero icons
add a code in the hero icon part for the rebirth system

i you want new icon for rebirth i have release in this forum

[Only registered and activated users can see links. Click Here To Register...]
04/29/2020 23:22 VicetoN#8
Quote:
Originally Posted by Ecrypter View Post
add a code in the hero icon part for the rebirth system

i you want new icon for rebirth i have release in this forum

[Only registered and activated users can see links. Click Here To Register...]
Iv'e added it there, still not solved
04/30/2020 08:55 Tweeney#9
Moverrender.cpp

Code:
		}
#ifdef __3RD_LEGEND16
		else if(checkhero == LEGEND_CLASS_LEGENDHERO) //영웅일 경우.
		{
			pTexture = g_Neuz.m_pHeroIcon;
			if(pTexture != NULL)
			{
				point.y -= pTexture->m_size.cy + 5;
				pTexture->Render( &g_Neuz.m_2DRender, point );
			}
		}
#endif // __3RD_LEGEND16
	}
	//pd3dDevice->SetRenderState(D3DRS_DESTBLEND,D3DBLEND_INVSRCALPHA);
#endif //__CSC_VER9_1

#ifdef __REBIRTH
		CString strPath;
		CTexture* pTexture;
		if( m_nReb > NULL )
		{
			if( m_nReb < 3 )
				strPath = MakePath( DIR_ICON, "Icon_Platin1.png" );
			else
			if( m_nReb > 2 && m_nReb < 5 )
				strPath = MakePath( DIR_ICON, "Icon_Platin2.png" );
			else
			if( m_nReb > 4 && m_nReb < 7 )
				strPath = MakePath( DIR_ICON, "Icon_Platin3.png" );
			else
			if( m_nReb > 6 && m_nReb < 9 )
				strPath = MakePath( DIR_ICON, "Icon_Platin4.png" );
			else
			if( m_nReb > 8 && m_nReb < 11 )
				strPath = MakePath( DIR_ICON, "Icon_Platin5.png" );
			else
			if( m_nReb > 10 && m_nReb < 13 )
				strPath = MakePath( DIR_ICON, "Icon_Platin6.png" );
			else
			if( m_nReb > 12 && m_nReb < 15 )
				strPath = MakePath( DIR_ICON, "Icon_Platin7.png" );
			else
			if( m_nReb > 14 && m_nReb < 17 )
				strPath = MakePath( DIR_ICON, "Icon_Platin8.png" );
			else
			if( m_nReb > 16 && m_nReb < 19 )
				strPath = MakePath( DIR_ICON, "Icon_Platin9.png" );
			else
			if( m_nReb > 18 && m_nReb < 21 )
				strPath = MakePath( DIR_ICON, "Icon_Platin10.png" );
			else
			if( m_nReb > 20 && m_nReb < 23 )
				strPath = MakePath( DIR_ICON, "Icon_Platin11.png" );
			else
			if( m_nReb > 22 && m_nReb < 25 )
				strPath = MakePath( DIR_ICON, "Icon_Platin12.png" );
			else
			if( m_nReb > 24 && m_nReb < 27 )
				strPath = MakePath( DIR_ICON, "Icon_Platin13.png" );
			else
			if( m_nReb > 26 && m_nReb < 30 )
				strPath = MakePath( DIR_ICON, "Icon_Platin14.png" );
			else
			if( m_nReb >= 30 )
				strPath = MakePath( DIR_ICON, "Icon_Platin15.png" );
	
	
			pTexture = CWndBase::m_textureMng.AddTexture( D3DDEVICE, strPath, 0xffff00ff );
			if( pTexture != NULL )
			{
				point.y -= pTexture->m_size.cy + 5;
				pTexture->Render( &g_Neuz.m_2DRender, point );
			}
		}
#endif // __REBIRTH
	if( pGuild && bSkip == FALSE )
	{
		point.x = (LONG)( vOut.x );
		point.y = (LONG)( vOut.y );
		MakeEven( point.x );	
		point.x -= pFont->GetTextExtent( pGuild->m_szGuild ).cx / 2;
		point.y -= 32;
		point.x -= 3;

#if __VER < 8 // __S8_PK
		KarmaProp* pKarmaProp = prj.GetKarmaProp(m_nSlaughter);
		if( pKarmaProp )
			dwColor = pKarmaProp->dwColor;
#endif // __VER < 8 // __S8_PK
05/02/2020 12:23 VicetoN#10
Quote:
Originally Posted by Tweeney View Post
Moverrender.cpp

Code:
		}
#ifdef __3RD_LEGEND16
		else if(checkhero == LEGEND_CLASS_LEGENDHERO) //영웅일 경우.
		{
			pTexture = g_Neuz.m_pHeroIcon;
			if(pTexture != NULL)
			{
				point.y -= pTexture->m_size.cy + 5;
				pTexture->Render( &g_Neuz.m_2DRender, point );
			}
		}
#endif // __3RD_LEGEND16
	}
	//pd3dDevice->SetRenderState(D3DRS_DESTBLEND,D3DBLEND_INVSRCALPHA);
#endif //__CSC_VER9_1

#ifdef __REBIRTH
		CString strPath;
		CTexture* pTexture;
		if( m_nReb > NULL )
		{
			if( m_nReb < 3 )
				strPath = MakePath( DIR_ICON, "Icon_Platin1.png" );
			else
			if( m_nReb > 2 && m_nReb < 5 )
				strPath = MakePath( DIR_ICON, "Icon_Platin2.png" );
			else
			if( m_nReb > 4 && m_nReb < 7 )
				strPath = MakePath( DIR_ICON, "Icon_Platin3.png" );
			else
			if( m_nReb > 6 && m_nReb < 9 )
				strPath = MakePath( DIR_ICON, "Icon_Platin4.png" );
			else
			if( m_nReb > 8 && m_nReb < 11 )
				strPath = MakePath( DIR_ICON, "Icon_Platin5.png" );
			else
			if( m_nReb > 10 && m_nReb < 13 )
				strPath = MakePath( DIR_ICON, "Icon_Platin6.png" );
			else
			if( m_nReb > 12 && m_nReb < 15 )
				strPath = MakePath( DIR_ICON, "Icon_Platin7.png" );
			else
			if( m_nReb > 14 && m_nReb < 17 )
				strPath = MakePath( DIR_ICON, "Icon_Platin8.png" );
			else
			if( m_nReb > 16 && m_nReb < 19 )
				strPath = MakePath( DIR_ICON, "Icon_Platin9.png" );
			else
			if( m_nReb > 18 && m_nReb < 21 )
				strPath = MakePath( DIR_ICON, "Icon_Platin10.png" );
			else
			if( m_nReb > 20 && m_nReb < 23 )
				strPath = MakePath( DIR_ICON, "Icon_Platin11.png" );
			else
			if( m_nReb > 22 && m_nReb < 25 )
				strPath = MakePath( DIR_ICON, "Icon_Platin12.png" );
			else
			if( m_nReb > 24 && m_nReb < 27 )
				strPath = MakePath( DIR_ICON, "Icon_Platin13.png" );
			else
			if( m_nReb > 26 && m_nReb < 30 )
				strPath = MakePath( DIR_ICON, "Icon_Platin14.png" );
			else
			if( m_nReb >= 30 )
				strPath = MakePath( DIR_ICON, "Icon_Platin15.png" );
	
	
			pTexture = CWndBase::m_textureMng.AddTexture( D3DDEVICE, strPath, 0xffff00ff );
			if( pTexture != NULL )
			{
				point.y -= pTexture->m_size.cy + 5;
				pTexture->Render( &g_Neuz.m_2DRender, point );
			}
		}
#endif // __REBIRTH
	if( pGuild && bSkip == FALSE )
	{
		point.x = (LONG)( vOut.x );
		point.y = (LONG)( vOut.y );
		MakeEven( point.x );	
		point.x -= pFont->GetTextExtent( pGuild->m_szGuild ).cx / 2;
		point.y -= 32;
		point.x -= 3;

#if __VER < 8 // __S8_PK
		KarmaProp* pKarmaProp = prj.GetKarmaProp(m_nSlaughter);
		if( pKarmaProp )
			dwColor = pKarmaProp->dwColor;
#endif // __VER < 8 // __S8_PK
still not working :D
05/02/2020 12:42 Tweeney#11
If you are using the flyff royals files. it should work without any problems
05/02/2020 23:36 VicetoN#12
Quote:
Originally Posted by Tweeney View Post
If you are using the flyff royals files. it should work without any problems
The icon is show only if I logout and login back or teleport to another world id