Hi,
i saw on webzen flyff the Item grade edge system and wanted that in my server.
i saw no releases of it so thats why im releasing it now
at WndItemCtrl.cpp
look up
#if __VER >= 9 // __CSC_VER9_1
if(pItemElem->m_dwItemId == II_SYS_SYS_SCR_PET_FEED_POCKET && pItemElem->m_dwKeepTime <= 0) //¸ÔÀÌ ÁÖ¸Ó´Ï ¾ÆÀÌÅÛÀÌ »ç¿ë¾ÈµÈ »óÅÂÀΰ¡?
RanderIcon( p2DRender, pItemElem, x * 35, y * 35, nParent, 100 );
else
RanderIcon( p2DRender, pItemElem, x * 35, y * 35, nParent );
#else //__CSC_VER9_1
RanderIcon( p2DRender, pItemElem, x * 35, y * 35, nParent );
#endif //__CSC_VER9_1
and place this there
#ifdef __ITEM_GRADE_EDGE
if( pItemElem->GetProp()->dwItemGrade == (DWORD)200 )//unique/rare
{
CTexture *EdgeTexture;
EdgeTexture = m_textureMng.AddTexture( D3DDEVICE, MakePath( DIR_ITEM, "Item_EdgeUnique.dds" ),0xffff00ff );
EdgeTexture->Render(p2DRender,CPoint(x * 35, (y * 35) + 4),255);
}
else if( pItemElem->GetProp()->dwItemGrade == (DWORD)300 )//ultimate
{
CTexture *EdgeTexture;
EdgeTexture = m_textureMng.AddTexture( D3DDEVICE, MakePath( DIR_ITEM, "Item_EdgeUltimate.dds" ),0xffff00ff );
EdgeTexture->Render(p2DRender,CPoint(x * 35, (y * 35) + 4),255);
}
else if( pItemElem->GetProp()->dwItemGrade == (DWORD)400 )//baruna
{
CTexture *EdgeTexture;
EdgeTexture = m_textureMng.AddTexture( D3DDEVICE, MakePath( DIR_ITEM, "Item_EdgeBaruna.dds" ),0xffff00ff );
EdgeTexture->Render(p2DRender,CPoint(x * 35, (y * 35) + 4),255);
}
#endif
place #define __ITEM_GRADE_EDGE in your versioncommon.h of your neuz
and of course place these DDS files in the Item folder of the client or compile it in your res file, They are in the Item Edge.zip