Juver Source Code Features Merge or Recreate Your Own .

many developers have that update so just wait or hope that they will share it.


dont worry someone will share it someone i know who wants
attention and politics he will reveal soon. . .

for me i earned it that's why i don't share it but don't worry i pretty sure that someone will reveal soon.
 
@ramispo i know you want to share it on ragezone soon..but i want to have it first same like yours, so i can make some modification and to learn more about your source and help some aspiring newbie..
a kind of.aaahhhmmm..just a little bit of donation for your effort maybe :D
 
Last edited:
can you tell me.. what files that i nid to add this inventory/bikewindows/petwindows interface to old source ??
 
Last edited:
i will sell to you (sad)


@all
people always say something not good
even though they themselves only get whats being release and never come back

that's the reason seller exist , many of them out there
its starts on our greediness

so when so many people sell
i tend to release, to stop it
but people never understand whats the purpose

but its like a cancer
it keeps coming back

act same thing as before
search, look. get, leave

modify
Sell

you ask for tip/help
and yet
you act like stupid

Sir can u please share for free the source code that has a new interface please..... or if u dont want to share it for free i will buy it to you just name the priced :D

I HOPE IT'S FREE
:lol:
Talk to me on fb :)

i cant pm you :(
 
you must also know to understand some of errors for merging, coz you will get a lot of error's when you merge the source.....especially juver source and neo source different in coding... :)
 
c:\Users\Thirdy\Desktop\source code2\RanClientLib\G-Logic\GLCharClient.cpp(456): error C2679: binary '==' : no operator found which takes a right-hand operand of type 'EMCHARCLASS' (or there is no acceptable conversion)
c:\Users\Thirdy\Desktop\source code2\RanClientLib\G-Logic\GLCharacter.cpp(1011): error C2679: binary '==' : no operator found which takes a right-hand operand of type 'EMCHARCLASS' (or there is no acceptable conversion)
c:\Users\Thirdy\Desktop\source code2\RanClientLib\DxCharSham.cpp(251): error C2679: binary '==' : no operator found which takes a right-hand operand of type 'EMCHARCLASS' (or there is no acceptable conversion)



how to fix that ? itry the effect code from tobets and geger but i got error
 
c:\Users\Thirdy\Desktop\source code2\RanClientLib\G-Logic\GLCharClient.cpp(456): error C2679: binary '==' : no operator found which takes a right-hand operand of type 'EMCHARCLASS' (or there is no acceptable conversion)
c:\Users\Thirdy\Desktop\source code2\RanClientLib\G-Logic\GLCharacter.cpp(1011): error C2679: binary '==' : no operator found which takes a right-hand operand of type 'EMCHARCLASS' (or there is no acceptable conversion)
c:\Users\Thirdy\Desktop\source code2\RanClientLib\DxCharSham.cpp(251): error C2679: binary '==' : no operator found which takes a right-hand operand of type 'EMCHARCLASS' (or there is no acceptable conversion)



how to fix that ? itry the effect code from tobets and geger but i got error

maybe you putted it wrong.. :D
 
i'll keep my promises..
since most of you cant use common sense here the code for you :

GLCharacter.cpp :
Code:
HRESULT GLCharacter::UpdateSuit( BOOL bChangeHair, BOOL bChangeFace )
{
    GASSERT(m_pd3dDevice);

    EMCHARINDEX emIndex = CharClassToIndex(m_emClass);
    DxSkinCharData* pSkinChar = DxSkinCharDataContainer::GetInstance().FindData ( GLCONST_CHAR::szCharSkin[emIndex] );
    if ( !pSkinChar )    return E_FAIL;



    const GLCONST_CHARCLASS &sCONST = GLCONST_CHAR::cCONSTCLASS[emIndex];

    

    if ( bChangeFace )
    {
        // ¾ó±¼
        if ( sCONST.dwHEADNUM > m_wFace )
        {
            std::string strHEAD_CPS = sCONST.strHEAD_CPS[m_wFace];
        
            PDXCHARPART pCharPart = NULL;
            pCharPart = m_pSkinChar->GetPiece(PIECE_HEAD);        //    ÇöÀç ÀåÂø ½ºÅ².

            if ( pCharPart && strcmp(strHEAD_CPS.c_str(),pCharPart->m_szFileName) )
            {
                m_pSkinChar->SetPiece ( strHEAD_CPS.c_str(), m_pd3dDevice, 0x0, 0, TRUE );
            }
        }
    }
    // Çì¾î½ºÅ¸ÀÏ
    if( bChangeHair )
    {
        if ( sCONST.dwHAIRNUM > m_wHair )
        {
            std::string strHAIR_CPS = sCONST.strHAIR_CPS[m_wHair];
        
            PDXCHARPART pCharPart = NULL;
            pCharPart = m_pSkinChar->GetPiece(PIECE_HAIR);        //    ÇöÀç ÀåÂø ½ºÅ².

            if ( pCharPart && strcmp(strHAIR_CPS.c_str(),pCharPart->m_szFileName) )
            {
                m_pSkinChar->SetPiece ( strHAIR_CPS.c_str(), m_pd3dDevice, 0x0, 0, TRUE );
            }
        }
    }

    m_pSkinChar->SetHairColor( m_wHairColor );

    // ÀåÂøÇÑ ¾ÆÀÌÅÛ ¾÷µ¥ÀÌÆ®
    for ( int i=0; i<SLOT_NSIZE_S_2; i++ )
    {    
        // ÇöÀç ÀåÂøÁßÀÎ ¹«±â°¡ ¾Æ´Ï¸é ³Ñ¾î°£´Ù.
        if( !IsCurUseArm( EMSLOT(i) ) ) continue;

        const SITEMCUSTOM &ItemCustom = m_PutOnItems[i];

        // º¹Àå ¾ÆÀÌÅÛ
        SNATIVEID nidITEM = ItemCustom.nidDISGUISE;
        if ( nidITEM==SNATIVEID(false) )    nidITEM = ItemCustom.sNativeID;
        
        if ( !m_bVehicle && i == SLOT_VEHICLE  ) nidITEM = SNATIVEID(false);
        else if (  m_bVehicle && i == SLOT_VEHICLE )
        {
            nidITEM = m_sVehicle.GetSkinID();
            if ( nidITEM == SNATIVEID(false) )
            {
                m_sVehicle.m_sVehicleID = ItemCustom.sNativeID;
                nidITEM = ItemCustom.sNativeID;
            }
        }

        // À¯È¿ÇÏÁö ¾ÊÀ¸¸é
        if ( nidITEM == SNATIVEID(false) )
        {
            //    Note : ±âº» ½ºÅ²°ú Áö±Ý ÀåÂøµÈ ½ºÅ²ÀÌ Æ²¸± °æ¿ì.
            //    SLOT->PIECE.
            PDXSKINPIECE pSkinPiece = NULL;    //    ±âº» ½ºÅ².
            PDXCHARPART pCharPart = NULL;    //    ÇöÀç ÀåÂø ½ºÅ².

            EMPIECECHAR emPiece = SLOT_2_PIECE(EMSLOT(i));
            if ( emPiece!=PIECE_SIZE )
            {
                pSkinPiece = pSkinChar->GetPiece(emPiece);    //    ±âº» ½ºÅ².
                pCharPart = m_pSkinChar->GetPiece(emPiece);    //    ÇöÀç ÀåÂø ½ºÅ².
            }

            if ( pSkinPiece )
            {
                if ( pCharPart && strcmp(pSkinPiece->m_szFileName,pCharPart->m_szFileName) )
                    m_pSkinChar->SetPiece ( pSkinPiece->m_szFileName, m_pd3dDevice, 0X0, 0, TRUE );
            }
            else
            {
                if ( pCharPart )    
                {
                    [COLOR=#FF0000]/////EXTRA FIX TO ERASE THE EFFECT WHEN YOU UNEQUIPED ITEM
                    if ( ( emPiece == PIECE_UPBODY || emPiece == PIECE_LOBODY || emPiece == PIECE_GLOVE || emPiece == PIECE_FOOT ) )
                    {
                        switch (emPiece)
                        {
                            case PIECE_UPBODY: m_pSkinChar->ResetPiece(PIECE_ELE01); break;
                            case PIECE_LOBODY: m_pSkinChar->ResetPiece(PIECE_ELE02); break;
                            case PIECE_GLOVE: m_pSkinChar->ResetPiece(PIECE_ELE03); break;
                            case PIECE_FOOT: m_pSkinChar->ResetPiece(PIECE_ELE04); break;
                        };
                    }
                    /////////////////////[/COLOR]
                    
                    m_pSkinChar->ResetPiece(emPiece);
                }
            }
        }
        // À¯È¿Çϸé
        else
        {
            SITEM* pItem = GLItemMan::GetInstance().GetItem ( nidITEM );
            if ( pItem ) 
            {
                m_pSkinChar->SetPiece ( pItem->GetWearingFile(emIndex), m_pd3dDevice, NULL, ItemCustom.GETGRADE_EFFECT(), TRUE );
            }
            
            [COLOR=#FF0000]////////////THE EFFECT CODE SHOULD BE HERE
            EMPIECECHAR emPiece = SLOT_2_PIECE(EMSLOT(i));
            
            if ( ( emPiece == PIECE_UPBODY || emPiece == PIECE_LOBODY || emPiece == PIECE_GLOVE || emPiece == PIECE_FOOT ) )
            {
                switch (emPiece)
                {
                    case PIECE_UPBODY: m_pSkinChar->ResetPiece(PIECE_ELE01); break;
                    case PIECE_LOBODY: m_pSkinChar->ResetPiece(PIECE_ELE02); break;
                    case PIECE_GLOVE: m_pSkinChar->ResetPiece(PIECE_ELE03); break;
                    case PIECE_FOOT: m_pSkinChar->ResetPiece(PIECE_ELE04); break;
                };

                if ( ItemCustom.GETGRADE_EFFECT() > 5 )
                {
                    CString strEle, strSex, strPiece;

                    if( emSex == GLCC_MAN ) strSex = "m";
                    else strSex = "w";
                    switch (emPiece)
                    {
                        case PIECE_UPBODY: strPiece = "body"; break;
                        case PIECE_LOBODY: strPiece = "leg"; break;
                        case PIECE_GLOVE: strPiece = "hand"; break;
                        case PIECE_FOOT: strPiece = "foot"; break;
                    };
                    strEle.Format("%s_bs_%s_enchent+%d.cps", strSex, strPiece, ItemCustom.GETGRADE_EFFECT());
                    m_pSkinChar->SetPiece ( strEle, m_pd3dDevice, NULL, TRUE );
                }
            } 
            //////////////////////////////[/COLOR]
        }
    }

    //    Note : ½ºÅ³ ¹öÇÁ, »óÅÂÀÌ»ó È¿°ú »ý¼º.
    FACTEFF::ReNewEffect ( STARGETID(CROW_PC,m_dwGaeaID,m_vPos), m_pSkinChar, m_sSKILLFACT, m_sSTATEBLOWS, m_matTrans, m_vDir );

    if( GLCONST_CHAR::cCONSTCLASS[emIndex].strCLASS_EFFECT.size() != 0 )
    {
        DxEffcharDataMan::GetInstance().PutPassiveEffect ( m_pSkinChar, GLCONST_CHAR::cCONSTCLASS[emIndex].strCLASS_EFFECT.c_str(), &m_vDir );
    }

    if( m_dwTransfromSkill != SNATIVEID::ID_NULL )
    {
        PGLSKILL pSkill = GLSkillMan::GetInstance().GetData ( m_sSKILLFACT[m_dwTransfromSkill].sNATIVEID.wMainID, m_sSKILLFACT[m_dwTransfromSkill].sNATIVEID.wSubID );
        if( pSkill ) 
        {
            for( BYTE i = 0; i < SKILL::EMTRANSFORM_NSIZE; i++ )
            {
                if( m_wSex == 1 )
                {                
                    m_pSkinChar->SetPiece ( pSkill->m_sSPECIAL_SKILL.strTransform_Man[i].c_str(), m_pd3dDevice, 0X0, 0, TRUE );
                }else{
                    m_pSkinChar->SetPiece ( pSkill->m_sSPECIAL_SKILL.strTransform_Woman[i].c_str(), m_pd3dDevice, 0X0, 0, TRUE );
                }
            }
        }
    }

    return S_OK;
}

GLCharClient.cpp :
Code:
HRESULT GLCharClient::UpdateSuit ()
{
    GASSERT(m_pd3dDevice);

    EMCHARINDEX emIndex = CharClassToIndex(m_CharData.emClass);
    DxSkinCharData* pSkinChar = DxSkinCharDataContainer::GetInstance().FindData ( GLCONST_CHAR::szCharSkin[emIndex] );
    if ( !pSkinChar )    return E_FAIL;

    
    const GLCONST_CHARCLASS &sCONST = GLCONST_CHAR::cCONSTCLASS[emIndex];

    if ( sCONST.dwHEADNUM > m_CharData.wFace )
    {
        std::string strHEAD_CPS = sCONST.strHEAD_CPS[m_CharData.wFace];
    
        PDXCHARPART pCharPart = NULL;
        pCharPart = m_pSkinChar->GetPiece(PIECE_HEAD);        //    ÇöÁ¦ ÀåÂø ½ºÅ².

        if ( pCharPart && strcmp(strHEAD_CPS.c_str(),pCharPart->GetFileName()) )
        {
            m_pSkinChar->SetPiece ( strHEAD_CPS.c_str(), m_pd3dDevice, 0x0, 0, TRUE );
        }
    }

    if ( sCONST.dwHAIRNUM > m_CharData.wHair )
    {
        std::string strHAIR_CPS = sCONST.strHAIR_CPS[m_CharData.wHair];
    
        PDXCHARPART pCharPart = NULL;
        pCharPart = m_pSkinChar->GetPiece(PIECE_HAIR);        //    ÇöÁ¦ ÀåÂø ½ºÅ².

        if ( pCharPart && strcmp(strHAIR_CPS.c_str(),pCharPart->GetFileName()) )
        {
            m_pSkinChar->SetPiece ( strHAIR_CPS.c_str(), m_pd3dDevice, 0x0, 0, TRUE );
        }
    }

    m_pSkinChar->SetHairColor( m_CharData.wHairColor );

    for ( int i=0; i<SLOT_NSIZE_S_2; i++ )
    {
        // ÇöÀç ÀåÂøÁßÀÎ ¹«±â°¡ ¾Æ´Ï¸é ³Ñ¾î°£´Ù.
        if( !IsCurUseArm( EMSLOT(i) ) ) continue;

        SITEMCLIENT &ItemClient = m_CharData.m_PutOnItems[i];

        SNATIVEID nidITEM = ItemClient.nidDISGUISE;
        if ( nidITEM==SNATIVEID(false) )    nidITEM = ItemClient.sNativeID;

        if ( !m_bVehicle && i == SLOT_VEHICLE  ) nidITEM = SNATIVEID(false);
        else if ( i == SLOT_VEHICLE )
        {
            nidITEM = m_sVehicle.GetSkinID();
            if ( nidITEM == SNATIVEID(false) )
            {
                m_sVehicle.m_sVehicleID = ItemClient.sNativeID;
                nidITEM = ItemClient.sNativeID;
            }
        }

        if ( nidITEM == SNATIVEID(false) )
        {
            //    Note : ±âº» ½ºÅ²°ú Áö±Ý ÀåÂøµÈ ½ºÅ²ÀÌ Æ²¸± °æ¿ì.
            //    SLOT->PIECE.
            PDXSKINPIECE pSkinPiece = NULL;    //    ±âº» ½ºÅ².
            PDXCHARPART pCharPart = NULL;    //    ÇöÁ¦ ÀåÂø ½ºÅ².

            EMPIECECHAR emPiece = SLOT_2_PIECE(EMSLOT(i));
            if ( emPiece!=PIECE_SIZE )
            {
                pSkinPiece = pSkinChar->GetPiece(emPiece);    //    ±âº» ½ºÅ².
                pCharPart = m_pSkinChar->GetPiece(emPiece);    //    ÇöÁ¦ ÀåÂø ½ºÅ².
            }

            if ( pSkinPiece )
            {
                if ( pCharPart && strcmp(pSkinPiece->m_szFileName,pCharPart->GetFileName()) )
                    m_pSkinChar->SetPiece ( pSkinPiece->m_szFileName, m_pd3dDevice, 0x0, 0, TRUE );
            }
            else
            {
                if ( pCharPart )
                {
                    [COLOR=#FF0000]/////EXTRA FIX TO ERASE THE EFFECT WHEN YOU UNEQUIPED ITEM
                    if ( ( emPiece == PIECE_UPBODY || emPiece == PIECE_LOBODY || emPiece == PIECE_GLOVE || emPiece == PIECE_FOOT ) )
                    {
                        switch (emPiece)
                        {
                            case PIECE_UPBODY: m_pSkinChar->ResetPiece(PIECE_ELE01); break;
                            case PIECE_LOBODY: m_pSkinChar->ResetPiece(PIECE_ELE02); break;
                            case PIECE_GLOVE: m_pSkinChar->ResetPiece(PIECE_ELE03); break;
                            case PIECE_FOOT: m_pSkinChar->ResetPiece(PIECE_ELE04); break;
                        };
                    }
                    /////////////////////[/COLOR]
                    
                    m_pSkinChar->ResetPiece(emPiece);
                }
            }
        }
        else
        {
            SITEM* pItem = GLItemMan::GetInstance().GetItem ( nidITEM );
            if ( pItem )
            {
                m_pSkinChar->SetPiece ( pItem->GetWearingFile(emIndex), m_pd3dDevice, NULL, ItemClient.GETGRADE_EFFECT(), TRUE );
            }
            
            [COLOR=#FF0000]////////////THE EFFECT CODE SHOULD BE HERE
            EMPIECECHAR emPiece = SLOT_2_PIECE(EMSLOT(i));
            
            if ( ( emPiece == PIECE_UPBODY || emPiece == PIECE_LOBODY || emPiece == PIECE_GLOVE || emPiece == PIECE_FOOT ) )
            {
                switch (emPiece)
                {
                    case PIECE_UPBODY: m_pSkinChar->ResetPiece(PIECE_ELE01); break;
                    case PIECE_LOBODY: m_pSkinChar->ResetPiece(PIECE_ELE02); break;
                    case PIECE_GLOVE: m_pSkinChar->ResetPiece(PIECE_ELE03); break;
                    case PIECE_FOOT: m_pSkinChar->ResetPiece(PIECE_ELE04); break;
                };

                if ( ItemClient.GETGRADE_EFFECT() > 5 )
                {
                    CString strEle, strSex, strPiece;

                    if( emSex == GLCC_MAN ) strSex = "m";
                    else strSex = "w";
                    switch (emPiece)
                    {
                        case PIECE_UPBODY: strPiece = "body"; break;
                        case PIECE_LOBODY: strPiece = "leg"; break;
                        case PIECE_GLOVE: strPiece = "hand"; break;
                        case PIECE_FOOT: strPiece = "foot"; break;
                    };
                    strEle.Format("%s_bs_%s_enchent+%d.cps", strSex, strPiece, ItemClient.GETGRADE_EFFECT());
                    m_pSkinChar->SetPiece ( strEle, m_pd3dDevice, NULL, TRUE );
                }
            } 
            //////////////////////////////[/COLOR]
        }
    }

    if( m_dwTransfromSkill != SNATIVEID::ID_NULL )
    {
        PGLSKILL pSkill = GLSkillMan::GetInstance().GetData ( m_sSKILLFACT[m_dwTransfromSkill].sNATIVEID.wMainID, m_sSKILLFACT[m_dwTransfromSkill].sNATIVEID.wSubID );
        if( pSkill ) 
        {
            for( BYTE i = 0; i < SKILL::EMTRANSFORM_NSIZE; i++ )
            {
                if( m_CharData.wSex == 1 )
                {                
                    m_pSkinChar->SetPiece ( pSkill->m_sSPECIAL_SKILL.strTransform_Man[i].c_str(), m_pd3dDevice, 0X0, 0, TRUE );
                }else{
                    m_pSkinChar->SetPiece ( pSkill->m_sSPECIAL_SKILL.strTransform_Woman[i].c_str(), m_pd3dDevice, 0X0, 0, TRUE );
                }
            }
        }
    }


    //    Note : ½ºÅ³ ¹öÇÁ, »óÅÂÀÌ»ó È¿°ú »ý¼º.
    FACTEFF::ReNewEffect ( STARGETID(CROW_PC,m_dwGaeaID,m_vPos), m_pSkinChar, m_sSKILLFACT, m_sSTATEBLOWS, m_matTrans, m_vDir );

    if( GLCONST_CHAR::cCONSTCLASS[emIndex].strCLASS_EFFECT.size() != 0 )
    {
        DxEffcharDataMan::GetInstance().PutPassiveEffect ( m_pSkinChar, GLCONST_CHAR::cCONSTCLASS[emIndex].strCLASS_EFFECT.c_str(), &m_vDir );
    }

    return S_OK;
}

DxCharSham.cpp :
Code:
HRESULT DxCharSham::UpdateSuit ()
{
    GASSERT(m_pd3dDevice);

    if ( !m_pSkinChar )                                        
        return S_FALSE;

    EMCHARINDEX emIndex = CharClassToIndex(m_emClass);
    DxSkinCharData* pSkinChar = DxSkinCharDataContainer::GetInstance().FindData ( GLCONST_CHAR::szCharSkin[emIndex] );
    if ( !pSkinChar )    return E_FAIL;

    const GLCONST_CHARCLASS &sCONST = GLCONST_CHAR::cCONSTCLASS[emIndex];

    if ( sCONST.dwHEADNUM > m_wFace )
    {
        std::string strHEAD_CPS = sCONST.strHEAD_CPS[m_wFace];
    
        PDXCHARPART pCharPart = NULL;
        pCharPart = m_pSkinChar->GetPiece(PIECE_HEAD);        //    ÇöÁ¦ ÀåÂø ½ºÅ².

        if ( pCharPart && strcmp(strHEAD_CPS.c_str(),pCharPart->GetFileName()) )
        {
            m_pSkinChar->SetPiece( strHEAD_CPS.c_str(), m_pd3dDevice );
        }
    }

    if ( sCONST.dwHAIRNUM > m_wHair )
    {
        std::string strHAIR_CPS = sCONST.strHAIR_CPS[m_wHair];
    
        PDXCHARPART pCharPart = NULL;
        pCharPart = m_pSkinChar->GetPiece(PIECE_HAIR);        //    ÇöÁ¦ ÀåÂø ½ºÅ².

        if ( pCharPart && strcmp(strHAIR_CPS.c_str(),pCharPart->GetFileName()) )
        {
            m_pSkinChar->SetPiece( strHAIR_CPS.c_str(), m_pd3dDevice );
        }
    }

    // Çì¾îÄ÷¯ ¼¼ÆÃ
    m_pSkinChar->SetHairColor( m_wHairColor );

    for ( int i=0; i<SLOT_NSIZE_S_2; i++ )
    {
        // º¸Á¶¹«±â´Â ¼ÂÆÃÇÏÁö ¾Ê´Â´Ù.
        if( EMSLOT(i) == SLOT_RHAND_S || EMSLOT(i) == SLOT_LHAND_S ) continue;

        SITEMCUSTOM &ItemCustom = m_PutOnItems[i];

        SNATIVEID nidITEM = ItemCustom.nidDISGUISE;
        if ( nidITEM==SNATIVEID(false) )    nidITEM = ItemCustom.sNativeID;

        if ( !m_bVehicle && i == SLOT_VEHICLE  ) nidITEM = SNATIVEID(false);

        if ( nidITEM == SNATIVEID(false) )
        {
            //    Note : ±âº» ½ºÅ²°ú Áö±Ý ÀåÂøµÈ ½ºÅ²ÀÌ Æ²¸± °æ¿ì.
            //    SLOT->PIECE.
            PDXSKINPIECE pSkinPiece = NULL;    //    ±âº» ½ºÅ².
            PDXCHARPART pCharPart = NULL;    //    ÇöÁ¦ ÀåÂø ½ºÅ².

            EMPIECECHAR emPiece = SLOT_2_PIECE(EMSLOT(i));
            if ( emPiece!=PIECE_SIZE )
            {
                pSkinPiece = pSkinChar->GetPiece(emPiece);    //    ±âº» ½ºÅ².
                pCharPart = m_pSkinChar->GetPiece(emPiece);    //    ÇöÁ¦ ÀåÂø ½ºÅ².
            }

            if ( pSkinPiece )
            {
                if ( pCharPart && strcmp(pSkinPiece->m_szFileName,pCharPart->GetFileName()) )
                    m_pSkinChar->SetPiece( pSkinPiece->m_szFileName, m_pd3dDevice );
            }
            else
            {
                if ( pCharPart )
                {
                    [COLOR=#FF0000]/////EXTRA FIX TO ERASE THE EFFECT WHEN YOU UNEQUIPED ITEM
                    if ( ( emPiece == PIECE_UPBODY || emPiece == PIECE_LOBODY || emPiece == PIECE_GLOVE || emPiece == PIECE_FOOT ) )
                    {
                        switch (emPiece)
                        {
                            case PIECE_UPBODY: m_pSkinChar->ResetPiece(PIECE_ELE01); break;
                            case PIECE_LOBODY: m_pSkinChar->ResetPiece(PIECE_ELE02); break;
                            case PIECE_GLOVE: m_pSkinChar->ResetPiece(PIECE_ELE03); break;
                            case PIECE_FOOT: m_pSkinChar->ResetPiece(PIECE_ELE04); break;
                        };
                    }
                    /////////////////////[/COLOR]
                    
                    m_pSkinChar->ResetPiece(emPiece);
                }
            }
        }
        else
        {
            SITEM* pItem = GLItemMan::GetInstance().GetItem ( nidITEM );
            if ( pItem )
            {
                m_pSkinChar->SetPiece( pItem->GetWearingFile(emIndex), m_pd3dDevice, NULL, ItemCustom.GETGRADE_EFFECT() );
            }
            
            [COLOR=#FF0000]////////////THE EFFECT CODE SHOULD BE HERE
            EMPIECECHAR emPiece = SLOT_2_PIECE(EMSLOT(i));
            
            if ( ( emPiece == PIECE_UPBODY || emPiece == PIECE_LOBODY || emPiece == PIECE_GLOVE || emPiece == PIECE_FOOT ) )
            {
                switch (emPiece)
                {
                    case PIECE_UPBODY: m_pSkinChar->ResetPiece(PIECE_ELE01); break;
                    case PIECE_LOBODY: m_pSkinChar->ResetPiece(PIECE_ELE02); break;
                    case PIECE_GLOVE: m_pSkinChar->ResetPiece(PIECE_ELE03); break;
                    case PIECE_FOOT: m_pSkinChar->ResetPiece(PIECE_ELE04); break;
                };

                if ( ItemCustom.GETGRADE_EFFECT() > 5 )
                {
                    CString strEle, strSex, strPiece;

                    if( emSex == GLCC_MAN ) strSex = "m";
                    else strSex = "w";
                    switch (emPiece)
                    {
                        case PIECE_UPBODY: strPiece = "body"; break;
                        case PIECE_LOBODY: strPiece = "leg"; break;
                        case PIECE_GLOVE: strPiece = "hand"; break;
                        case PIECE_FOOT: strPiece = "foot"; break;
                    };
                    strEle.Format("%s_bs_%s_enchent+%d.cps", strSex, strPiece, ItemCustom.GETGRADE_EFFECT());
                    m_pSkinChar->SetPiece ( strEle, m_pd3dDevice, NULL, TRUE );
                }
            } 
            //////////////////////////////[/COLOR]
        }
    }

    return S_OK;
}

NOTE : I USE OLD SOURCE CODE THAT JOLIN SHARED SO IT MAYBE LOOKS LITTLE DIFFERENT WITH YOUR CURRENT CODE. I'M NOT RESPONSIBLE FOR ANY BUG OR EXTRA FILE THAT YOU NEED.
nc is that working sir? i mean the transform skill?
 
i'll keep my promises..
since most of you cant use common sense here the code for you :

GLCharacter.cpp :
Code:
HRESULT GLCharacter::UpdateSuit( BOOL bChangeHair, BOOL bChangeFace )
{
    GASSERT(m_pd3dDevice);

    EMCHARINDEX emIndex = CharClassToIndex(m_emClass);
    DxSkinCharData* pSkinChar = DxSkinCharDataContainer::GetInstance().FindData ( GLCONST_CHAR::szCharSkin[emIndex] );
    if ( !pSkinChar )    return E_FAIL;



    const GLCONST_CHARCLASS &sCONST = GLCONST_CHAR::cCONSTCLASS[emIndex];

    

    if ( bChangeFace )
    {
        // ¾ó±¼
        if ( sCONST.dwHEADNUM > m_wFace )
        {
            std::string strHEAD_CPS = sCONST.strHEAD_CPS[m_wFace];
        
            PDXCHARPART pCharPart = NULL;
            pCharPart = m_pSkinChar->GetPiece(PIECE_HEAD);        //    ÇöÀç ÀåÂø ½ºÅ².

            if ( pCharPart && strcmp(strHEAD_CPS.c_str(),pCharPart->m_szFileName) )
            {
                m_pSkinChar->SetPiece ( strHEAD_CPS.c_str(), m_pd3dDevice, 0x0, 0, TRUE );
            }
        }
    }
    // Çì¾î½ºÅ¸ÀÏ
    if( bChangeHair )
    {
        if ( sCONST.dwHAIRNUM > m_wHair )
        {
            std::string strHAIR_CPS = sCONST.strHAIR_CPS[m_wHair];
        
            PDXCHARPART pCharPart = NULL;
            pCharPart = m_pSkinChar->GetPiece(PIECE_HAIR);        //    ÇöÀç ÀåÂø ½ºÅ².

            if ( pCharPart && strcmp(strHAIR_CPS.c_str(),pCharPart->m_szFileName) )
            {
                m_pSkinChar->SetPiece ( strHAIR_CPS.c_str(), m_pd3dDevice, 0x0, 0, TRUE );
            }
        }
    }

    m_pSkinChar->SetHairColor( m_wHairColor );

    // ÀåÂøÇÑ ¾ÆÀÌÅÛ ¾÷µ¥ÀÌÆ®
    for ( int i=0; i<SLOT_NSIZE_S_2; i++ )
    {    
        // ÇöÀç ÀåÂøÁßÀÎ ¹«±â°¡ ¾Æ´Ï¸é ³Ñ¾î°£´Ù.
        if( !IsCurUseArm( EMSLOT(i) ) ) continue;

        const SITEMCUSTOM &ItemCustom = m_PutOnItems[i];

        // º¹Àå ¾ÆÀÌÅÛ
        SNATIVEID nidITEM = ItemCustom.nidDISGUISE;
        if ( nidITEM==SNATIVEID(false) )    nidITEM = ItemCustom.sNativeID;
        
        if ( !m_bVehicle && i == SLOT_VEHICLE  ) nidITEM = SNATIVEID(false);
        else if (  m_bVehicle && i == SLOT_VEHICLE )
        {
            nidITEM = m_sVehicle.GetSkinID();
            if ( nidITEM == SNATIVEID(false) )
            {
                m_sVehicle.m_sVehicleID = ItemCustom.sNativeID;
                nidITEM = ItemCustom.sNativeID;
            }
        }

        // À¯È¿ÇÏÁö ¾ÊÀ¸¸é
        if ( nidITEM == SNATIVEID(false) )
        {
            //    Note : ±âº» ½ºÅ²°ú Áö±Ý ÀåÂøµÈ ½ºÅ²ÀÌ Æ²¸± °æ¿ì.
            //    SLOT->PIECE.
            PDXSKINPIECE pSkinPiece = NULL;    //    ±âº» ½ºÅ².
            PDXCHARPART pCharPart = NULL;    //    ÇöÀç ÀåÂø ½ºÅ².

            EMPIECECHAR emPiece = SLOT_2_PIECE(EMSLOT(i));
            if ( emPiece!=PIECE_SIZE )
            {
                pSkinPiece = pSkinChar->GetPiece(emPiece);    //    ±âº» ½ºÅ².
                pCharPart = m_pSkinChar->GetPiece(emPiece);    //    ÇöÀç ÀåÂø ½ºÅ².
            }

            if ( pSkinPiece )
            {
                if ( pCharPart && strcmp(pSkinPiece->m_szFileName,pCharPart->m_szFileName) )
                    m_pSkinChar->SetPiece ( pSkinPiece->m_szFileName, m_pd3dDevice, 0X0, 0, TRUE );
            }
            else
            {
                if ( pCharPart )    
                {
                    [COLOR=#FF0000]/////EXTRA FIX TO ERASE THE EFFECT WHEN YOU UNEQUIPED ITEM
                    if ( ( emPiece == PIECE_UPBODY || emPiece == PIECE_LOBODY || emPiece == PIECE_GLOVE || emPiece == PIECE_FOOT ) )
                    {
                        switch (emPiece)
                        {
                            case PIECE_UPBODY: m_pSkinChar->ResetPiece(PIECE_ELE01); break;
                            case PIECE_LOBODY: m_pSkinChar->ResetPiece(PIECE_ELE02); break;
                            case PIECE_GLOVE: m_pSkinChar->ResetPiece(PIECE_ELE03); break;
                            case PIECE_FOOT: m_pSkinChar->ResetPiece(PIECE_ELE04); break;
                        };
                    }
                    /////////////////////[/COLOR]
                    
                    m_pSkinChar->ResetPiece(emPiece);
                }
            }
        }
        // À¯È¿Çϸé
        else
        {
            SITEM* pItem = GLItemMan::GetInstance().GetItem ( nidITEM );
            if ( pItem ) 
            {
                m_pSkinChar->SetPiece ( pItem->GetWearingFile(emIndex), m_pd3dDevice, NULL, ItemCustom.GETGRADE_EFFECT(), TRUE );
            }
            
            [COLOR=#FF0000]////////////THE EFFECT CODE SHOULD BE HERE
            EMPIECECHAR emPiece = SLOT_2_PIECE(EMSLOT(i));
            
            if ( ( emPiece == PIECE_UPBODY || emPiece == PIECE_LOBODY || emPiece == PIECE_GLOVE || emPiece == PIECE_FOOT ) )
            {
                switch (emPiece)
                {
                    case PIECE_UPBODY: m_pSkinChar->ResetPiece(PIECE_ELE01); break;
                    case PIECE_LOBODY: m_pSkinChar->ResetPiece(PIECE_ELE02); break;
                    case PIECE_GLOVE: m_pSkinChar->ResetPiece(PIECE_ELE03); break;
                    case PIECE_FOOT: m_pSkinChar->ResetPiece(PIECE_ELE04); break;
                };

                if ( ItemCustom.GETGRADE_EFFECT() > 5 )
                {
                    CString strEle, strSex, strPiece;

                    if( emSex == GLCC_MAN ) strSex = "m";
                    else strSex = "w";
                    switch (emPiece)
                    {
                        case PIECE_UPBODY: strPiece = "body"; break;
                        case PIECE_LOBODY: strPiece = "leg"; break;
                        case PIECE_GLOVE: strPiece = "hand"; break;
                        case PIECE_FOOT: strPiece = "foot"; break;
                    };
                    strEle.Format("%s_bs_%s_enchent+%d.cps", strSex, strPiece, ItemCustom.GETGRADE_EFFECT());
                    m_pSkinChar->SetPiece ( strEle, m_pd3dDevice, NULL, TRUE );
                }
            } 
            //////////////////////////////[/COLOR]
        }
    }

    //    Note : ½ºÅ³ ¹öÇÁ, »óÅÂÀÌ»ó È¿°ú »ý¼º.
    FACTEFF::ReNewEffect ( STARGETID(CROW_PC,m_dwGaeaID,m_vPos), m_pSkinChar, m_sSKILLFACT, m_sSTATEBLOWS, m_matTrans, m_vDir );

    if( GLCONST_CHAR::cCONSTCLASS[emIndex].strCLASS_EFFECT.size() != 0 )
    {
        DxEffcharDataMan::GetInstance().PutPassiveEffect ( m_pSkinChar, GLCONST_CHAR::cCONSTCLASS[emIndex].strCLASS_EFFECT.c_str(), &m_vDir );
    }

    if( m_dwTransfromSkill != SNATIVEID::ID_NULL )
    {
        PGLSKILL pSkill = GLSkillMan::GetInstance().GetData ( m_sSKILLFACT[m_dwTransfromSkill].sNATIVEID.wMainID, m_sSKILLFACT[m_dwTransfromSkill].sNATIVEID.wSubID );
        if( pSkill ) 
        {
            for( BYTE i = 0; i < SKILL::EMTRANSFORM_NSIZE; i++ )
            {
                if( m_wSex == 1 )
                {                
                    m_pSkinChar->SetPiece ( pSkill->m_sSPECIAL_SKILL.strTransform_Man[i].c_str(), m_pd3dDevice, 0X0, 0, TRUE );
                }else{
                    m_pSkinChar->SetPiece ( pSkill->m_sSPECIAL_SKILL.strTransform_Woman[i].c_str(), m_pd3dDevice, 0X0, 0, TRUE );
                }
            }
        }
    }

    return S_OK;
}

GLCharClient.cpp :
Code:
HRESULT GLCharClient::UpdateSuit ()
{
    GASSERT(m_pd3dDevice);

    EMCHARINDEX emIndex = CharClassToIndex(m_CharData.emClass);
    DxSkinCharData* pSkinChar = DxSkinCharDataContainer::GetInstance().FindData ( GLCONST_CHAR::szCharSkin[emIndex] );
    if ( !pSkinChar )    return E_FAIL;

    
    const GLCONST_CHARCLASS &sCONST = GLCONST_CHAR::cCONSTCLASS[emIndex];

    if ( sCONST.dwHEADNUM > m_CharData.wFace )
    {
        std::string strHEAD_CPS = sCONST.strHEAD_CPS[m_CharData.wFace];
    
        PDXCHARPART pCharPart = NULL;
        pCharPart = m_pSkinChar->GetPiece(PIECE_HEAD);        //    ÇöÁ¦ ÀåÂø ½ºÅ².

        if ( pCharPart && strcmp(strHEAD_CPS.c_str(),pCharPart->GetFileName()) )
        {
            m_pSkinChar->SetPiece ( strHEAD_CPS.c_str(), m_pd3dDevice, 0x0, 0, TRUE );
        }
    }

    if ( sCONST.dwHAIRNUM > m_CharData.wHair )
    {
        std::string strHAIR_CPS = sCONST.strHAIR_CPS[m_CharData.wHair];
    
        PDXCHARPART pCharPart = NULL;
        pCharPart = m_pSkinChar->GetPiece(PIECE_HAIR);        //    ÇöÁ¦ ÀåÂø ½ºÅ².

        if ( pCharPart && strcmp(strHAIR_CPS.c_str(),pCharPart->GetFileName()) )
        {
            m_pSkinChar->SetPiece ( strHAIR_CPS.c_str(), m_pd3dDevice, 0x0, 0, TRUE );
        }
    }

    m_pSkinChar->SetHairColor( m_CharData.wHairColor );

    for ( int i=0; i<SLOT_NSIZE_S_2; i++ )
    {
        // ÇöÀç ÀåÂøÁßÀÎ ¹«±â°¡ ¾Æ´Ï¸é ³Ñ¾î°£´Ù.
        if( !IsCurUseArm( EMSLOT(i) ) ) continue;

        SITEMCLIENT &ItemClient = m_CharData.m_PutOnItems[i];

        SNATIVEID nidITEM = ItemClient.nidDISGUISE;
        if ( nidITEM==SNATIVEID(false) )    nidITEM = ItemClient.sNativeID;

        if ( !m_bVehicle && i == SLOT_VEHICLE  ) nidITEM = SNATIVEID(false);
        else if ( i == SLOT_VEHICLE )
        {
            nidITEM = m_sVehicle.GetSkinID();
            if ( nidITEM == SNATIVEID(false) )
            {
                m_sVehicle.m_sVehicleID = ItemClient.sNativeID;
                nidITEM = ItemClient.sNativeID;
            }
        }

        if ( nidITEM == SNATIVEID(false) )
        {
            //    Note : ±âº» ½ºÅ²°ú Áö±Ý ÀåÂøµÈ ½ºÅ²ÀÌ Æ²¸± °æ¿ì.
            //    SLOT->PIECE.
            PDXSKINPIECE pSkinPiece = NULL;    //    ±âº» ½ºÅ².
            PDXCHARPART pCharPart = NULL;    //    ÇöÁ¦ ÀåÂø ½ºÅ².

            EMPIECECHAR emPiece = SLOT_2_PIECE(EMSLOT(i));
            if ( emPiece!=PIECE_SIZE )
            {
                pSkinPiece = pSkinChar->GetPiece(emPiece);    //    ±âº» ½ºÅ².
                pCharPart = m_pSkinChar->GetPiece(emPiece);    //    ÇöÁ¦ ÀåÂø ½ºÅ².
            }

            if ( pSkinPiece )
            {
                if ( pCharPart && strcmp(pSkinPiece->m_szFileName,pCharPart->GetFileName()) )
                    m_pSkinChar->SetPiece ( pSkinPiece->m_szFileName, m_pd3dDevice, 0x0, 0, TRUE );
            }
            else
            {
                if ( pCharPart )
                {
                    [COLOR=#FF0000]/////EXTRA FIX TO ERASE THE EFFECT WHEN YOU UNEQUIPED ITEM
                    if ( ( emPiece == PIECE_UPBODY || emPiece == PIECE_LOBODY || emPiece == PIECE_GLOVE || emPiece == PIECE_FOOT ) )
                    {
                        switch (emPiece)
                        {
                            case PIECE_UPBODY: m_pSkinChar->ResetPiece(PIECE_ELE01); break;
                            case PIECE_LOBODY: m_pSkinChar->ResetPiece(PIECE_ELE02); break;
                            case PIECE_GLOVE: m_pSkinChar->ResetPiece(PIECE_ELE03); break;
                            case PIECE_FOOT: m_pSkinChar->ResetPiece(PIECE_ELE04); break;
                        };
                    }
                    /////////////////////[/COLOR]
                    
                    m_pSkinChar->ResetPiece(emPiece);
                }
            }
        }
        else
        {
            SITEM* pItem = GLItemMan::GetInstance().GetItem ( nidITEM );
            if ( pItem )
            {
                m_pSkinChar->SetPiece ( pItem->GetWearingFile(emIndex), m_pd3dDevice, NULL, ItemClient.GETGRADE_EFFECT(), TRUE );
            }
            
            [COLOR=#FF0000]////////////THE EFFECT CODE SHOULD BE HERE
            EMPIECECHAR emPiece = SLOT_2_PIECE(EMSLOT(i));
            
            if ( ( emPiece == PIECE_UPBODY || emPiece == PIECE_LOBODY || emPiece == PIECE_GLOVE || emPiece == PIECE_FOOT ) )
            {
                switch (emPiece)
                {
                    case PIECE_UPBODY: m_pSkinChar->ResetPiece(PIECE_ELE01); break;
                    case PIECE_LOBODY: m_pSkinChar->ResetPiece(PIECE_ELE02); break;
                    case PIECE_GLOVE: m_pSkinChar->ResetPiece(PIECE_ELE03); break;
                    case PIECE_FOOT: m_pSkinChar->ResetPiece(PIECE_ELE04); break;
                };

                if ( ItemClient.GETGRADE_EFFECT() > 5 )
                {
                    CString strEle, strSex, strPiece;

                    if( emSex == GLCC_MAN ) strSex = "m";
                    else strSex = "w";
                    switch (emPiece)
                    {
                        case PIECE_UPBODY: strPiece = "body"; break;
                        case PIECE_LOBODY: strPiece = "leg"; break;
                        case PIECE_GLOVE: strPiece = "hand"; break;
                        case PIECE_FOOT: strPiece = "foot"; break;
                    };
                    strEle.Format("%s_bs_%s_enchent+%d.cps", strSex, strPiece, ItemClient.GETGRADE_EFFECT());
                    m_pSkinChar->SetPiece ( strEle, m_pd3dDevice, NULL, TRUE );
                }
            } 
            //////////////////////////////[/COLOR]
        }
    }

    if( m_dwTransfromSkill != SNATIVEID::ID_NULL )
    {
        PGLSKILL pSkill = GLSkillMan::GetInstance().GetData ( m_sSKILLFACT[m_dwTransfromSkill].sNATIVEID.wMainID, m_sSKILLFACT[m_dwTransfromSkill].sNATIVEID.wSubID );
        if( pSkill ) 
        {
            for( BYTE i = 0; i < SKILL::EMTRANSFORM_NSIZE; i++ )
            {
                if( m_CharData.wSex == 1 )
                {                
                    m_pSkinChar->SetPiece ( pSkill->m_sSPECIAL_SKILL.strTransform_Man[i].c_str(), m_pd3dDevice, 0X0, 0, TRUE );
                }else{
                    m_pSkinChar->SetPiece ( pSkill->m_sSPECIAL_SKILL.strTransform_Woman[i].c_str(), m_pd3dDevice, 0X0, 0, TRUE );
                }
            }
        }
    }


    //    Note : ½ºÅ³ ¹öÇÁ, »óÅÂÀÌ»ó È¿°ú »ý¼º.
    FACTEFF::ReNewEffect ( STARGETID(CROW_PC,m_dwGaeaID,m_vPos), m_pSkinChar, m_sSKILLFACT, m_sSTATEBLOWS, m_matTrans, m_vDir );

    if( GLCONST_CHAR::cCONSTCLASS[emIndex].strCLASS_EFFECT.size() != 0 )
    {
        DxEffcharDataMan::GetInstance().PutPassiveEffect ( m_pSkinChar, GLCONST_CHAR::cCONSTCLASS[emIndex].strCLASS_EFFECT.c_str(), &m_vDir );
    }

    return S_OK;
}

DxCharSham.cpp :
Code:
HRESULT DxCharSham::UpdateSuit ()
{
    GASSERT(m_pd3dDevice);

    if ( !m_pSkinChar )                                        
        return S_FALSE;

    EMCHARINDEX emIndex = CharClassToIndex(m_emClass);
    DxSkinCharData* pSkinChar = DxSkinCharDataContainer::GetInstance().FindData ( GLCONST_CHAR::szCharSkin[emIndex] );
    if ( !pSkinChar )    return E_FAIL;

    const GLCONST_CHARCLASS &sCONST = GLCONST_CHAR::cCONSTCLASS[emIndex];

    if ( sCONST.dwHEADNUM > m_wFace )
    {
        std::string strHEAD_CPS = sCONST.strHEAD_CPS[m_wFace];
    
        PDXCHARPART pCharPart = NULL;
        pCharPart = m_pSkinChar->GetPiece(PIECE_HEAD);        //    ÇöÁ¦ ÀåÂø ½ºÅ².

        if ( pCharPart && strcmp(strHEAD_CPS.c_str(),pCharPart->GetFileName()) )
        {
            m_pSkinChar->SetPiece( strHEAD_CPS.c_str(), m_pd3dDevice );
        }
    }

    if ( sCONST.dwHAIRNUM > m_wHair )
    {
        std::string strHAIR_CPS = sCONST.strHAIR_CPS[m_wHair];
    
        PDXCHARPART pCharPart = NULL;
        pCharPart = m_pSkinChar->GetPiece(PIECE_HAIR);        //    ÇöÁ¦ ÀåÂø ½ºÅ².

        if ( pCharPart && strcmp(strHAIR_CPS.c_str(),pCharPart->GetFileName()) )
        {
            m_pSkinChar->SetPiece( strHAIR_CPS.c_str(), m_pd3dDevice );
        }
    }

    // Çì¾îÄ÷¯ ¼¼ÆÃ
    m_pSkinChar->SetHairColor( m_wHairColor );

    for ( int i=0; i<SLOT_NSIZE_S_2; i++ )
    {
        // º¸Á¶¹«±â´Â ¼ÂÆÃÇÏÁö ¾Ê´Â´Ù.
        if( EMSLOT(i) == SLOT_RHAND_S || EMSLOT(i) == SLOT_LHAND_S ) continue;

        SITEMCUSTOM &ItemCustom = m_PutOnItems[i];

        SNATIVEID nidITEM = ItemCustom.nidDISGUISE;
        if ( nidITEM==SNATIVEID(false) )    nidITEM = ItemCustom.sNativeID;

        if ( !m_bVehicle && i == SLOT_VEHICLE  ) nidITEM = SNATIVEID(false);

        if ( nidITEM == SNATIVEID(false) )
        {
            //    Note : ±âº» ½ºÅ²°ú Áö±Ý ÀåÂøµÈ ½ºÅ²ÀÌ Æ²¸± °æ¿ì.
            //    SLOT->PIECE.
            PDXSKINPIECE pSkinPiece = NULL;    //    ±âº» ½ºÅ².
            PDXCHARPART pCharPart = NULL;    //    ÇöÁ¦ ÀåÂø ½ºÅ².

            EMPIECECHAR emPiece = SLOT_2_PIECE(EMSLOT(i));
            if ( emPiece!=PIECE_SIZE )
            {
                pSkinPiece = pSkinChar->GetPiece(emPiece);    //    ±âº» ½ºÅ².
                pCharPart = m_pSkinChar->GetPiece(emPiece);    //    ÇöÁ¦ ÀåÂø ½ºÅ².
            }

            if ( pSkinPiece )
            {
                if ( pCharPart && strcmp(pSkinPiece->m_szFileName,pCharPart->GetFileName()) )
                    m_pSkinChar->SetPiece( pSkinPiece->m_szFileName, m_pd3dDevice );
            }
            else
            {
                if ( pCharPart )
                {
                    [COLOR=#FF0000]/////EXTRA FIX TO ERASE THE EFFECT WHEN YOU UNEQUIPED ITEM
                    if ( ( emPiece == PIECE_UPBODY || emPiece == PIECE_LOBODY || emPiece == PIECE_GLOVE || emPiece == PIECE_FOOT ) )
                    {
                        switch (emPiece)
                        {
                            case PIECE_UPBODY: m_pSkinChar->ResetPiece(PIECE_ELE01); break;
                            case PIECE_LOBODY: m_pSkinChar->ResetPiece(PIECE_ELE02); break;
                            case PIECE_GLOVE: m_pSkinChar->ResetPiece(PIECE_ELE03); break;
                            case PIECE_FOOT: m_pSkinChar->ResetPiece(PIECE_ELE04); break;
                        };
                    }
                    /////////////////////[/COLOR]
                    
                    m_pSkinChar->ResetPiece(emPiece);
                }
            }
        }
        else
        {
            SITEM* pItem = GLItemMan::GetInstance().GetItem ( nidITEM );
            if ( pItem )
            {
                m_pSkinChar->SetPiece( pItem->GetWearingFile(emIndex), m_pd3dDevice, NULL, ItemCustom.GETGRADE_EFFECT() );
            }
            
            [COLOR=#FF0000]////////////THE EFFECT CODE SHOULD BE HERE
            EMPIECECHAR emPiece = SLOT_2_PIECE(EMSLOT(i));
            
            if ( ( emPiece == PIECE_UPBODY || emPiece == PIECE_LOBODY || emPiece == PIECE_GLOVE || emPiece == PIECE_FOOT ) )
            {
                switch (emPiece)
                {
                    case PIECE_UPBODY: m_pSkinChar->ResetPiece(PIECE_ELE01); break;
                    case PIECE_LOBODY: m_pSkinChar->ResetPiece(PIECE_ELE02); break;
                    case PIECE_GLOVE: m_pSkinChar->ResetPiece(PIECE_ELE03); break;
                    case PIECE_FOOT: m_pSkinChar->ResetPiece(PIECE_ELE04); break;
                };

                if ( ItemCustom.GETGRADE_EFFECT() > 5 )
                {
                    CString strEle, strSex, strPiece;

                    if( emSex == GLCC_MAN ) strSex = "m";
                    else strSex = "w";
                    switch (emPiece)
                    {
                        case PIECE_UPBODY: strPiece = "body"; break;
                        case PIECE_LOBODY: strPiece = "leg"; break;
                        case PIECE_GLOVE: strPiece = "hand"; break;
                        case PIECE_FOOT: strPiece = "foot"; break;
                    };
                    strEle.Format("%s_bs_%s_enchent+%d.cps", strSex, strPiece, ItemCustom.GETGRADE_EFFECT());
                    m_pSkinChar->SetPiece ( strEle, m_pd3dDevice, NULL, TRUE );
                }
            } 
            //////////////////////////////[/COLOR]
        }
    }

    return S_OK;
}

NOTE : I USE OLD SOURCE CODE THAT JOLIN SHARED SO IT MAYBE LOOKS LITTLE DIFFERENT WITH YOUR CURRENT CODE. I'M NOT RESPONSIBLE FOR ANY BUG OR EXTRA FILE THAT YOU NEED.
can you share GLChardefine.h?
when i apply this i always got bugtrap
http://forum.ragezone.com/f748/lightning-effects-neo-based-source-971304/
 
any one knows what is the name of cpp/h pk rank rb count ?? on this thread bcos is not complte hehe ^_^

thnx advance
 
Bump for this thread !! Additional info for Added "PK w , PK L , Reborn" Interface

Search for //add reborn / //add pk

UILeftTopGroup.h
UILeftTopGroup.cpp

YOU NID ALSO TO WINMERGE THIS CPP AND H ! :))
GOODLUCK :))
 
how to add item mix icon
share source plis thanks ^^



Bump for this thread !! Additional info for Added "PK w , PK L , Reborn" Interface

Search for //add reborn ///add pk

UILeftTopGroup.h
UILeftTopGroup.cpp

YOU NID ALSO TO WINMERGE THIS CPP AND H ! :))
GOODLUCK :))

and item mix plis thanks (:



inbox corresponding files and upload then in box me. i'll check that later and also upload your gui too..so far, no error for me :p

im using the same file u gave me before, i just add few things xD

screenshot :
REMOVED

share source item mix plis thanks :D
 
how to connect source code to my client server?? i dont have idea..
 
Back