Register for your free account! | Forgot your password?

You last visited: Today at 18:16

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Fashion Combine System

Discussion on [Release] Fashion Combine System within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old   #1
 
.Monster's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 244
Received Thanks: 96
[Release] Fashion Combine System

Moin e*pvp,



Heute Release ich das Fashion Combine System, für die Leute die der RoC Source nicht vertrauen oder sie gar aus irgendeinem Grund nicht nutzen möchten.

Es ist viel Code & ich habe ihn getestet, es lässt sich 1A compilen.


Nun wäre es doch so einfach alles zu C&P'en

- Die Ressourcen müsst ihr euch selber besorgen, da ich euch bestimmt nicht alles "in den Allerwertesten schiebe".

Habt ihr die Ressourcen erfolgreich geaddet sollte das Fashion Combine System problemlos laufen.



Vorab die Credits:

Etioom (90%)
Monster (10%)


Fragen bitte hier stellen, aber bitte nicht bei jedem kleinen Syntax oder Define Fehler <.<




Naja genug der Worte, hier der Versprochene Release:


----------------------------------------------------------------------------------------------------------------------------
randomoption.h

unter:
PHP Code:
public:
    
bool    IsCheckedSafeFlag__int64 n64RandomeOption );
    
void    SetSafeFlag__int64pn64RandomOption );
    
void    ResetSafeFlag__int64pn64RandomOption );
    
//    mulcom    END100405    °¢¼º º¸È£ÀÇ µÎ·ç¸¶¸® 
das:

PHP Code:
#ifdef __FASHION_COMBINE
public:
    
int        MergeRandomOptionCItemElempItemElemMainCItemElempItemElemDestroyint nMaxCombinedSize );
#endif // __FASHION_COMBINE 
---------------------------------------------------------------------------------------------------------------------
randomoption.cpp

unter die Funktion:
PHP Code:
bool    CRandomOptionProperty::IsCheckedSafeFlag__int64 n64RandomeOption 
das:

PHP Code:
#ifdef __FASHION_COMBINE
int CRandomOptionProperty::MergeRandomOptionCItemElempItemElemMainCItemElempItemElemDestroyint nMaxCombinedSize )
{
    
int nMainSize g_xRandomOptionProperty->GetRandomOptionSizepItemElemMain->GetRandomOptItemId() );
    
int nDestroySize g_xRandomOptionProperty->GetRandomOptionSizepItemElemDestroy->GetRandomOptItemId() );

    if( 
nMainSize nDestroySize nMaxCombinedSize )
        return 
1;

    for( 
int i 0nDestroySizei++ )
    {
        
int nDstnAdj;
        if( 
g_xRandomOptionProperty->GetParampItemElemDestroy->GetRandomOptItemId(), i, &nDst, &nAdj ) )
            
g_xRandomOptionProperty->SetParampItemElemMain->GetRandomOptItemIdPtr(), nDstnAdj );
    }
    return 
0;
}
#endif // __FASHION_COMBINE 
-----------------------------------------------------------------------------------------------------------------------
MsgHdr.h

vor den SNAPSHOTS das:

PHP Code:
#ifdef __FASHION_COMBINE
#define PACKETTYPE_COMBINE_FASHION                    (DWORD)0x88100299
#endif // __FASHION_COMBINE 
-------------------------------------------------------------------------------------------------------------------------
DPSrvr.h

unter:

PHP Code:
#ifdef __GUILD_HOUSE_MIDDLE
    
void    OnGuildHouseTenderMainWndCAr arDPID dpidCacheDPID dpidUserLPBYTEu_long );
    
void    OnGuildHouseTenderInfoWndCAr arDPID dpidCacheDPID dpidUserLPBYTEu_long );
    
void    OnGuildHouseTenderJoinCAr arDPID dpidCacheDPID dpidUserLPBYTEu_long );
#endif // __GUILD_HOUSE_MIDDLE 
das:

PHP Code:
#ifdef __FASHION_COMBINE
    
void    OnFashionCombineCAr arDPID dpidCacheDPID dpidUserLPBYTEu_long );
#endif // __FASHION_COMBINE 
-------------------------------------------------------------------------------------------------------------------------
DPSrvr.cpp

unter:

PHP Code:
#ifdef __GUILD_HOUSE_MIDDLE
    
ON_MSGPACKETTYPE_GUILDHOUSE_TENDER_MAINWNDOnGuildHouseTenderMainWnd );
    
ON_MSGPACKETTYPE_GUILDHOUSE_TENDER_INFOWNDOnGuildHouseTenderInfoWnd );
    
ON_MSGPACKETTYPE_GUILDHOUSE_TENDER_JOINOnGuildHouseTenderJoin );
#endif // __GUILD_HOUSE_MIDDLE 
das:

PHP Code:
#ifdef __FASHION_COMBINE
    
ON_MSGPACKETTYPE_COMBINE_FASHIONOnFashionCombine );
#endif // __FASHION_COMBINE 

Ganz am Ende das:

PHP Code:
#ifdef __FASHION_COMBINE
void CDPSrvr::OnFashionCombineCAr arDPID dpidCacheDPID dpidUserLPBYTEu_long )
{
    
CUserpUser g_UserMng.GetUserdpidCachedpidUser );
    if( 
IsValidObjpUser ) )
    {
        
DWORD dwItem NULL_ID;
        
CItemElempItemElem[8];

        for( 
int i 08i++ )
        {
            
ar >> dwItem;
            
pItemElem[i] = pUser->m_Inventory.GetAtIddwItem );
            if( !
IsUsableItempItemElem[i]))
                return;
        }
        if( 
xRandom10000 ) < 10000 )
        {        
            
int nResult 0;
            
nResult g_xRandomOptionProperty->MergeRandomOptionpItemElem[0], pItemElem[1] );
            
nResult += g_xRandomOptionProperty->MergeRandomOptionpItemElem[2], pItemElem[3] );
            
nResult += g_xRandomOptionProperty->MergeRandomOptionpItemElem[4], pItemElem[5] );
            
nResult += g_xRandomOptionProperty->MergeRandomOptionpItemElem[6], pItemElem[7] );
            if( 
nResult )
            {
                
Error"packet editor detected. tried to combine more then 3 awakening on one item. User: %s"pUser->GetName() );
            }
            for( 
int i 18+= )
            {
                
pUser->UpdateItem( (BYTE)pItemElem[i]->m_dwObjIdUI_NUM);
            }
            for( 
int i 08+= )
            {
                
pUser->UpdateItemEx( (BYTE)( pItemElem[i]->m_dwObjId ), UI_RANDOMOPTITEMIDpItemElem[i]->GetRandomOptItemId() );
            }

            
pUser->AddDefinedTextTID_COSTUME_COSTUMEMIXCOMPLETE );
        }else
        {
            
pUser->AddPlaySoundSND_INF_UPGRADEFAIL );
            if( 
pUser->IsModeTRANSPARENT_MODE ) == )
                
g_UserMng.AddCreateSfxObj( (CMover *)pUserXI_INT_FAILpUser->GetPos().xpUser->GetPos().ypUser->GetPos().);

            if( 
pUser->HasBuffBUFF_ITEMII_SYS_SYS_SCR_COSTUMEDEFENDER ) )
            {
                
pUser->RemoveBuffBUFF_ITEM II_SYS_SYS_SCR_COSTUMEDEFENDER );
                
pUser->AddDefinedTextTID_MMI_COSTUME_SAFEMIXITEM03 );

            }else
            {
                
pUser->AddDefinedTextTID_MMI_COSTUME_COSTUMEMIXFAILED );
                for( 
int i 08i++ )
                {
                    
pUser->UpdateItem( (BYTE)pItemElem[i]->m_dwObjIdUI_NUM);
                }
            }
        }
    }
}
#endif // __FASHION_COMBINE 
----------------------------------------------------------------------------------------------------------------------------
WndField.h

unter die Funktion:

PHP Code:
class CWndCampusSeveranceConfirm : public CWndNeuz 
das:

PHP Code:
#ifdef __FASHION_COMBINE
class CWndFashionCombine : public CWndNeuz
{
public:
    
CItemElemm_pItemElem[12];
    
CTexture*  m_pTexture[12];

public: 
    
CWndFashionCombine(); 
    
virtual ~CWndFashionCombine(); 

    
virtual void OnDrawC2DRenderp2DRender ); 
    
virtual    void OnInitialUpdate(); 
    
virtual BOOL InitializeCWndBasepWndParent NULLDWORD nType MB_OK ); 
    
virtual BOOL OnChildNotifyUINT messageUINT nIDLRESULTpLResult ); 
    
virtual BOOL OnCommandUINT nIDDWORD dwMessageCWndBasepWndBase ); 
    
virtual void OnSizeUINT nTypeint cxint cy ); 
    
virtual BOOL OnDropIconLPSHORTCUT pShortcutCPoint point );
};
#endif // __FASHION_COMBINE 
----------------------------------------------------------------------------------------------------------------------------
WndField.cpp

unter:

PHP Code:
 #include "wndwebbox.h" 
das:

PHP Code:
#ifdef __FASHION_COMBINE
#include "randomoption.h"
#endif // __FASHION_COMBINE 
Ganz am Ende das:

PHP Code:
#ifdef __FASHION_COMBINE
CWndFashionCombine::CWndFashionCombine() 
{
    for( 
int i 012i++ )
    {
        
m_pItemElem[i] = NULL;
        
m_pTexture[i] = NULL;
        
//ZeroMemory( m_pItemElem[i], sizeof( m_pItemElem ));
        //ZeroMemory( m_pTexture[i], sizeof( m_pTexture ));
    
}    
}
CWndFashionCombine::~CWndFashionCombine() 
{
    for( 
int i 08i++ )
    {
        if( 
m_pItemElem[i] != NULL )
        {
            if( !
g_pPlayer->m_vtInfo.IsTradingm_pItemElem[i] ))
                
m_pItemElem[i]->SetExtra(0);
        }
    }
}
void CWndFashionCombine::OnDrawC2DRenderp2DRender 
{
    
LPWNDCTRL wndCtrl[12];

    
wndCtrl[0] = GetWndCtrlWIDC_ST_HAT_A );
    
wndCtrl[1] = GetWndCtrlWIDC_ST_CLOTH_A );
    
wndCtrl[2] = GetWndCtrlWIDC_ST_GLOVE_A );
    
wndCtrl[3] = GetWndCtrlWIDC_ST_SHOES_A );
    
wndCtrl[4] = GetWndCtrlWIDC_ST_HAT_B );
    
wndCtrl[5] = GetWndCtrlWIDC_ST_CLOTH_B );
    
wndCtrl[6] = GetWndCtrlWIDC_ST_GLOVE_B );
    
wndCtrl[7] = GetWndCtrlWIDC_ST_SHOES_B );
    
wndCtrl[8] = GetWndCtrlWIDC_ST_RESULT_HAT );
    
wndCtrl[9] = GetWndCtrlWIDC_ST_RESULT_CLOTH );
    
wndCtrl[10]= GetWndCtrlWIDC_ST_RESULT_GLOVE );
    
wndCtrl[11]= GetWndCtrlWIDC_ST_RESULT_SHOES );

    for( 
int i 012i++ )
    {
        if( 
m_pItemElem[i] != NULL && m_pTexture[i] != NULL )
        {
            
m_pTexture[i]->Renderp2DRenderCPointwndCtrl[i]->rect.leftwndCtrl[i]->rect.top));
        }
    }
}
void CWndFashionCombine::OnInitialUpdate() 

    
CWndNeuz::OnInitialUpdate(); 

    
CWndButtonpButton = (CWndButton*)GetDlgItem(WIDC_BT_START);
    
pButton->EnableWindow(FALSE);

    
MoveParentCenter();

BOOL CWndFashionCombine::InitializeCWndBasepWndParentDWORD /*dwWndId*/ 

    return 
CWndNeuz::InitDialogg_Neuz.GetSafeHwnd(), APP_COSTUME_MIXMENU0CPoint0), pWndParent );

BOOL CWndFashionCombine::OnCommandUINT nIDDWORD dwMessageCWndBasepWndBase 

    return 
CWndNeuz::OnCommandnIDdwMessagepWndBase ); 

void CWndFashionCombine::OnSizeUINT nTypeint cxint cy 

    
CWndNeuz::OnSizenTypecxcy ); 




BOOL CWndFashionCombine::OnDropIconLPSHORTCUT pShortcutCPoint point )
{
    
CRect rect[8];
    
LPWNDCTRL wndCtrl[8];

    
wndCtrl[0] = GetWndCtrlWIDC_ST_HAT_A );
    
wndCtrl[1] = GetWndCtrlWIDC_ST_CLOTH_A );
    
wndCtrl[2] = GetWndCtrlWIDC_ST_GLOVE_A );
    
wndCtrl[3] = GetWndCtrlWIDC_ST_SHOES_A );
    
wndCtrl[4] = GetWndCtrlWIDC_ST_HAT_B );
    
wndCtrl[5] = GetWndCtrlWIDC_ST_CLOTH_B );
    
wndCtrl[6] = GetWndCtrlWIDC_ST_GLOVE_B );
    
wndCtrl[7] = GetWndCtrlWIDC_ST_SHOES_B );

    
BOOL bUpdate FALSE;

    for( 
int i 08i++ )
    {
        
rect[i] = wndCtrl[i]->rect;
        
        if( 
rect[i].PtInRectpoint ))
        {
            
CItemElempTempElem;
            
pTempElem = (CItemElem*) g_pPlayer->GetItemIdpShortcut->m_dwId );
            if( 
pTempElem != NULL )
            {
                if( 
CRandomOptionProperty::GetInstance()->GetRandomOptionSizepTempElem->GetRandomOptItemId() ))
                {
                    
ItemProppItemProp pTempElem->GetProp();

                    if(( 
== || == ) && ( pItemProp->dwItemKind3 == IK3_HAT ))
                    {    
                        if( 
== )
                        {
                            if( 
m_pItemElem[4] != NULL )
                            {
                                
int nSize 0;
                                
nSize += g_xRandomOptionProperty->GetRandomOptionSizepTempElem->GetRandomOptItemId() );
                                
nSize += g_xRandomOptionProperty->GetRandomOptionSizem_pItemElem[4]->GetRandomOptItemId() );
                                if( 
nSize )
                                {
                                    
g_WndMng.OpenMessageBox"oversize" );
                                    return 
TRUE;
                                }else
                                {
                                    
bUpdate TRUE;
                                }
                            }
                            if(
m_pItemElem[i] != NULL)
                                
m_pItemElem[i]->SetExtra(0);

                            
m_pItemElem[i] = (CItemElem*)g_pPlayer->GetItemIdpShortcut->m_dwId );
                            
m_pTexture[i] = CWndBase::m_textureMng.AddTextureg_Neuz.m_pd3dDeviceMakePathDIR_ITEMpItemProp->szIcon), 0xffff00ff );
                            
m_pItemElem[i]->SetExtra(m_pItemElem[i]->GetExtra()+1);

                            if( 
bUpdate == TRUE )
                            {
                                
m_pItemElem[8] = m_pItemElem[0];
                                
m_pTexture[8] = m_pTexture[0];
                            
//    g_xRandomOptionProperty->MergeRandomOption( m_pItemElem[8], m_pItemElem[4] );
                            
}
                        }
                        if( 
== )
                        {
                            if( 
m_pItemElem[0] != NULL )
                            {
                                
int nSize 0;
                                
nSize += g_xRandomOptionProperty->GetRandomOptionSizepTempElem->GetRandomOptItemId() );
                                
nSize += g_xRandomOptionProperty->GetRandomOptionSizem_pItemElem[0]->GetRandomOptItemId() );
                                if( 
nSize )
                                {
                                    
g_WndMng.OpenMessageBox"oversize" );
                                    return 
TRUE;
                                }else
                                {
                                    
bUpdate TRUE;
                                }
                            }
                            if(
m_pItemElem[i] != NULL)
                                
m_pItemElem[i]->SetExtra(0);

                            
m_pItemElem[i] = (CItemElem*)g_pPlayer->GetItemIdpShortcut->m_dwId );
                            
m_pTexture[i] = CWndBase::m_textureMng.AddTextureg_Neuz.m_pd3dDeviceMakePathDIR_ITEMpItemProp->szIcon), 0xffff00ff );
                            
m_pItemElem[i]->SetExtra(m_pItemElem[i]->GetExtra()+1);

                            if( 
bUpdate == TRUE )
                            {
                                
m_pItemElem[8] = m_pItemElem[0];
                                
m_pTexture[8] = m_pTexture[0];
                            
//    g_xRandomOptionProperty->MergeRandomOption( m_pItemElem[8], m_pItemElem[4] );
                            
}
                        }
                    }else
                    if(( 
== || == ) && ( pItemProp->dwItemKind3 == IK3_CLOTH ))
                    {
                        if( 
== )
                        {
                            if( 
m_pItemElem[5] != NULL )
                            {
                                
int nSize 0;
                                
nSize += g_xRandomOptionProperty->GetRandomOptionSizepTempElem->GetRandomOptItemId() );
                                
nSize += g_xRandomOptionProperty->GetRandomOptionSizem_pItemElem[5]->GetRandomOptItemId() );
                                if( 
nSize )
                                {
                                    
g_WndMng.OpenMessageBox"oversize" );
                                    return 
TRUE;
                                }else
                                {
                                    
bUpdate TRUE;
                                }
                            }
                            if(
m_pItemElem[i] != NULL)
                                
m_pItemElem[i]->SetExtra(0);

                            
m_pItemElem[i] = (CItemElem*)g_pPlayer->GetItemIdpShortcut->m_dwId );
                            
m_pTexture[i] = CWndBase::m_textureMng.AddTextureg_Neuz.m_pd3dDeviceMakePathDIR_ITEMpItemProp->szIcon), 0xffff00ff );
                            
m_pItemElem[i]->SetExtra(m_pItemElem[i]->GetExtra()+1);

                            if( 
bUpdate == TRUE )
                            {
                                
m_pItemElem[9] = m_pItemElem[1];
                                
m_pTexture[9] = m_pTexture[1];

//                                g_xRandomOptionProperty->MergeRandomOption( m_pItemElem[9], m_pItemElem[5] );
                            
}
                        }
                        if( 
== )
                        {
                            if( 
m_pItemElem[1] != NULL )
                            {
                                
int nSize 0;
                                
nSize += g_xRandomOptionProperty->GetRandomOptionSizepTempElem->GetRandomOptItemId() );
                                
nSize += g_xRandomOptionProperty->GetRandomOptionSizem_pItemElem[1]->GetRandomOptItemId() );
                                if( 
nSize )
                                {
                                    
g_WndMng.OpenMessageBox"oversize" );
                                    return 
TRUE;
                                }else
                                {
                                    
bUpdate TRUE;
                                }
                            }
                            if(
m_pItemElem[i] != NULL)
                                
m_pItemElem[i]->SetExtra(0);

                            
m_pItemElem[i] = (CItemElem*)g_pPlayer->GetItemIdpShortcut->m_dwId );
                            
m_pTexture[i] = CWndBase::m_textureMng.AddTextureg_Neuz.m_pd3dDeviceMakePathDIR_ITEMpItemProp->szIcon), 0xffff00ff );
                            
m_pItemElem[i]->SetExtra(m_pItemElem[i]->GetExtra()+1);

                            if( 
bUpdate == TRUE )
                            {
                                
m_pItemElem[9] = m_pItemElem[1];
                                
m_pTexture[9] = m_pTexture[1];
                                
//g_xRandomOptionProperty->MergeRandomOption( m_pItemElem[9], m_pItemElem[5] );
                            
}
                        }
                    }else
                    if(( 
== || == ) && ( pItemProp->dwItemKind3 == IK3_GLOVE ))
                    {
                        if( 
== )
                        {
                            if( 
m_pItemElem[6] != NULL )
                            {
                                
int nSize 0;
                                
nSize += g_xRandomOptionProperty->GetRandomOptionSizepTempElem->GetRandomOptItemId() );
                                
nSize += g_xRandomOptionProperty->GetRandomOptionSizem_pItemElem[6]->GetRandomOptItemId() );
                                if( 
nSize )
                                {
                                    
g_WndMng.OpenMessageBox"oversize" );
                                    return 
TRUE;
                                }else
                                {
                                    
bUpdate TRUE;
                                }
                            }
                            if(
m_pItemElem[i] != NULL)
                                
m_pItemElem[i]->SetExtra(0);

                            
m_pItemElem[i] = (CItemElem*)g_pPlayer->GetItemIdpShortcut->m_dwId );
                            
m_pTexture[i] = CWndBase::m_textureMng.AddTextureg_Neuz.m_pd3dDeviceMakePathDIR_ITEMpItemProp->szIcon), 0xffff00ff );
                            
m_pItemElem[i]->SetExtra(m_pItemElem[i]->GetExtra()+1);

                            if( 
bUpdate == TRUE )
                            {
                                
m_pItemElem[10] = m_pItemElem[2];
                                
m_pTexture[10] = m_pTexture[2];
                            
//    g_xRandomOptionProperty->MergeRandomOption( m_pItemElem[10], m_pItemElem[6] );
                            
}
                        }
                        if( 
== )
                        {
                            if( 
m_pItemElem[2] != NULL )
                            {
                                
int nSize 0;
                                
nSize += g_xRandomOptionProperty->GetRandomOptionSizepTempElem->GetRandomOptItemId() );
                                
nSize += g_xRandomOptionProperty->GetRandomOptionSizem_pItemElem[2]->GetRandomOptItemId() );
                                if( 
nSize )
                                {
                                    
g_WndMng.OpenMessageBox"oversize" );
                                    return 
TRUE;
                                }else
                                {
                                    
bUpdate TRUE;
                                }
                            }
                            if(
m_pItemElem[i] != NULL)
                                
m_pItemElem[i]->SetExtra(0);

                            
m_pItemElem[i] = (CItemElem*)g_pPlayer->GetItemIdpShortcut->m_dwId );
                            
m_pTexture[i] = CWndBase::m_textureMng.AddTextureg_Neuz.m_pd3dDeviceMakePathDIR_ITEMpItemProp->szIcon), 0xffff00ff );
                            
m_pItemElem[i]->SetExtra(m_pItemElem[i]->GetExtra()+1);

                            if( 
bUpdate == TRUE )
                            {
                                
m_pItemElem[10] = m_pItemElem[2];
                                
m_pTexture[10] = m_pTexture[2];
                            
//    g_xRandomOptionProperty->MergeRandomOption( m_pItemElem[10], m_pItemElem[6] );
                            
}
                        }
                    }else
                    if(( 
== || == ) && ( pItemProp->dwItemKind3 == IK3_SHOES ))
                    {
                        if( 
== )
                        {
                            if( 
m_pItemElem[7] != NULL )
                            {
                                
int nSize 0;
                                
nSize += g_xRandomOptionProperty->GetRandomOptionSizepTempElem->GetRandomOptItemId() );
                                
nSize += g_xRandomOptionProperty->GetRandomOptionSizem_pItemElem[7]->GetRandomOptItemId() );
                                if( 
nSize )
                                {
                                    
g_WndMng.OpenMessageBox"oversize" );
                                    return 
TRUE;
                                }else
                                {
                                    
bUpdate TRUE;
                                }
                            }
                            if(
m_pItemElem[i] != NULL)
                                
m_pItemElem[i]->SetExtra(0);

                            
m_pItemElem[i] = (CItemElem*)g_pPlayer->GetItemIdpShortcut->m_dwId );
                            
m_pTexture[i] = CWndBase::m_textureMng.AddTextureg_Neuz.m_pd3dDeviceMakePathDIR_ITEMpItemProp->szIcon), 0xffff00ff );
                            
m_pItemElem[i]->SetExtra(m_pItemElem[i]->GetExtra()+1);

                            if( 
bUpdate == TRUE )
                            {
                                
m_pItemElem[11] = m_pItemElem[3];
                                
m_pTexture[11] = m_pTexture[3];
                            
//    g_xRandomOptionProperty->MergeRandomOption( m_pItemElem[11], m_pItemElem[7] );
                            
}
                        }
                        if( 
== )
                        {
                            if( 
m_pItemElem[3] != NULL )
                            {
                                
int nSize 0;
                                
nSize += g_xRandomOptionProperty->GetRandomOptionSizepTempElem->GetRandomOptItemId() );
                                
nSize += g_xRandomOptionProperty->GetRandomOptionSizem_pItemElem[3]->GetRandomOptItemId() );
                                if( 
nSize )
                                {
                                    
g_WndMng.OpenMessageBox"oversize" );
                                    return 
TRUE;
                                }else
                                {
                                    
bUpdate TRUE;
                                }
                            }
                            if(
m_pItemElem[i] != NULL)
                                
m_pItemElem[i]->SetExtra(0);

                            
m_pItemElem[i] = (CItemElem*)g_pPlayer->GetItemIdpShortcut->m_dwId );
                            
m_pTexture[i] = CWndBase::m_textureMng.AddTextureg_Neuz.m_pd3dDeviceMakePathDIR_ITEMpItemProp->szIcon), 0xffff00ff );
                            
m_pItemElem[i]->SetExtra(m_pItemElem[i]->GetExtra()+1);

                            if( 
bUpdate == TRUE )
                            {
                                
m_pItemElem[11] = m_pItemElem[3];
                                
m_pTexture[11] = m_pTexture[3];
                            
//    g_xRandomOptionProperty->MergeRandomOption( m_pItemElem[11], m_pItemElem[7] );
                            
}
                        }
                    }else
                    {
                        
g_WndMng.OpenMessageBoxprj.GetTextTID_COSTUME_REGISTERNOTSLOT ) );
                        
// wrong tab
                    
}
                }else
                {
                    
g_WndMng.OpenMessageBoxprj.GetTextTID_COSTUME_REGISTERNOTSLOT ) );
                    
// not blessed
                
}
            }
        }
    }

    
int nCheck 0;
    for( 
int i 08i++ )
    {
        if( 
m_pItemElem[i] != NULL )
            
nCheck++;
    }
    if( 
<= nCheck )
    {
        
CWndButtonpButton = (CWndButton*)GetDlgItem(WIDC_BT_START);
        
pButton->EnableWindow(TRUE);            
    }
    return 
TRUE;
}
BOOL CWndFashionCombine::OnChildNotifyUINT messageUINT nIDLRESULTpLResult 

    switch( 
nID )
    {
        case 
WIDC_BUTTON1:
        {
            
g_DPlay.SendCombineFashion
                
m_pItemElem[0]->m_dwObjIdm_pItemElem[4]->m_dwObjId,
                
m_pItemElem[1]->m_dwObjIdm_pItemElem[5]->m_dwObjId,
                
m_pItemElem[2]->m_dwObjIdm_pItemElem[6]->m_dwObjId,
                
m_pItemElem[3]->m_dwObjIdm_pItemElem[7]->m_dwObjId                
                
);
            
Destroy();
            break;
        }
        case 
WIDC_BUTTON2:
        {
            
Destroy();
            break;
        }
    }
    return 
CWndNeuz::OnChildNotifymessagenIDpLResult ); 

#endif // __FASHION_COMBINE 
----------------------------------------------------------------------------------------------------------------------------
WndWorld.cpp

unter:

PHP Code:
        case MMI_REMOVE_CAMPUS:
            {
                if( 
g_WndMng.m_pWndCampusSeveranceConfirm )
                    
SAFE_DELETEg_WndMng.m_pWndCampusSeveranceConfirm );
                
g_WndMng.m_pWndCampusSeveranceConfirm = new CWndCampusSeveranceConfirmpFocusMover->m_idPlayerpFocusMover->GetName() );
                
g_WndMng.m_pWndCampusSeveranceConfirm->InitializeNULL );
                break;
            }
#endif // __CAMPUS 
das:

PHP Code:
#ifdef __FASHION_COMBINE
        
case MMI_COSTUMEMIX01:
            {
                
SAFE_DELETEg_WndMng.m_pWndFashionCombine );
                
g_WndMng.m_pWndFashionCombine = new CWndFashionCombine;
                
g_WndMng.m_pWndFashionCombine->Initialize();
            }
            break;
#endif // __FASHION_COMBINE 
----------------------------------------------------------------------------------------------------------------------------
WndManager.h

unter:

PHP Code:
#ifdef __GUILD_HOUSE_MIDDLE
    
CWndGuildHouseBidm_pWndGHBid;
#endif //__GUILD_HOUSE_MIDDLE 
das:

PHP Code:
#ifdef __FASHION_COMBINE
    
CWndFashionCombinem_pWndFashionCombine;
#endif // __FASHION_COMBINE 
----------------------------------------------------------------------------------------------------------------------------
WndManager.cpp

unter:

PHP Code:
#ifdef __GUILD_HOUSE_MIDDLE
    
else if( m_pWndGHBid == pWndChild )
    {
        
SAFE_DELETEm_pWndGHBid );
        
pWndChild NULL;
    }
#endif //__GUILD_HOUSE_MIDDLE 
das:

PHP Code:
#ifdef __FASHION_COMBINE
    
else if(m_pWndFashionCombine == pWndChild)
    {
        
SAFE_DELETEm_pWndFashionCombine );
        
pWndChild NULL;
    }
#endif // __FASHION_COMBINE 
----------------------------------------------------------------------------------------------------------------------------
DPClient.h

unter:

PHP Code:
#ifdef __GUILD_HOUSE_MIDDLE
private:
    
void    OnGuildHouseTenderMainWndCAr ar );
    
void    OnGuildHouseTenderInfoWndCAr ar );
    
void    OnGuildHouseTenderResultCAr ar );
public:
    
void    SendGuildHouseTenderMainWndDWORD dwGHTypeOBJID objNpcId );
    
void    SendGuildHouseTenderInfoWndOBJID objGHId );
    
void    SendGuildHouseTenderJoinOBJID objGHIdint nTenderPerinint nTenderPenya );
#endif // __GUILD_HOUSE_MIDDLE 
das:

PHP Code:
#ifdef __FASHION_COMBINE
    
void    SendCombineFashionDWORD dwItem1,DWORD dwItem2,DWORD dwItem3,DWORD dwItem4,DWORD dwItem5,DWORD dwItem6,DWORD dwItem7,DWORD dwItem8 );
#endif // __FASHION_COMBINE 
----------------------------------------------------------------------------------------------------------------------------
DPClient.cpp

unter:

PHP Code:
void CDPClient::SendGuildHouseTenderJoinOBJID objGHIdint nTenderPerinint nTenderPenya )
{
    
BEFORESENDSOLEarPACKETTYPE_GUILDHOUSE_TENDER_JOINDPID_UNKNOWN );
    
ar << objGHId << nTenderPerin << nTenderPenya;
    
SENDarthisDPID_SERVERPLAYER );
}
#endif // __GUILD_HOUSE_MIDDLE 
das:

PHP Code:
#ifdef __FASHION_COMBINE
void CDPClient::SendCombineFashionDWORD dwItem1,DWORD dwItem2,DWORD dwItem3,DWORD dwItem4,DWORD dwItem5,DWORD dwItem6,DWORD dwItem7,DWORD dwItem8 )
{
    
BEFORESENDSOLEarPACKETTYPE_COMBINE_FASHIONDPID_UNKNOWN );
    
ar << dwItem1 << dwItem2 << dwItem3 << dwItem4 << dwItem5 << dwItem6 << dwItem7 << dwItem8;
    
SENDarthisDPID_SERVERPLAYER );
}
#endif // __FASHION_COMBINE 
----------------------------------------------------------------------------------------------------------------------------

Nun addet ihr bei allen VersionCommon.h das:

PHP Code:
 #define        __FASHION_COMBINE 
----------------------------------------------------------------------------------------------------------------------------



Wenn ihr alles richtig gemacht habt und die Ressourcen geaddet habt sollten es Fehlerfrei Compilen & Linken.


~Monster
.Monster is offline  
Thanks
12 Users
Old 10/20/2011, 12:09   #2
 
elite*gold: 0
Join Date: Oct 2008
Posts: 275
Received Thanks: 68
Da sind n Paar Sachen bei die Nichts mit dem Fashion Combining zu tun haben
Aber sons für Leute dies brauchen echt Nice ^^
guardianangel is offline  
Old 10/20/2011, 12:12   #3
 
.Monster's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 244
Received Thanks: 96
Und die wären?

Jop ist für die die es brauchen, wers nicht will solls lassen & nicht flamen.
.Monster is offline  
Old 10/20/2011, 12:28   #4



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,177
Received Thanks: 14,475
Ich kenn das system zwar nicht ganz aber sieht nett aus.

#Indexed
Sedrika is offline  
Old 10/20/2011, 12:33   #5
 
elite*gold: 0
Join Date: Oct 2008
Posts: 275
Received Thanks: 68
Quote:
Originally Posted by .Monster View Post
Und die wären?

Jop ist für die die es brauchen, wers nicht will solls lassen & nicht flamen.
Guck selbst nocheinmal Durch
Z.b. GuildhouseTender Functionen ^^
guardianangel is offline  
Old 10/20/2011, 12:34   #6
 
.Monster's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 244
Received Thanks: 96
Du hast ein 2 CS Sets.

1 CS Set kommt im Fenster auf die Linke Seite(Das wird behalten).
1 CS Set kommt auf die rechte Seite(wird zerstört).

Die Awa vom CS Set rechts wird im CS Set links hinzugefügt, also haste 2x Segen der Göttin auf jedem CS Teil.

Geht bis 3 Segen

@Guardian:

Les mal richtig..

unter:
*guildhaustender funktion*
das:
*diesdasAnanasFashionCombine*
.Monster is offline  
Thanks
3 Users
Old 10/20/2011, 12:35   #7
 
elite*gold: 455
Join Date: Jun 2009
Posts: 1,601
Received Thanks: 1,103
Damit kannst du deine Awas "stacken" bei CS.
Wieder so 'ne krasse Geldmache von gPotato die alle Casher op macht.

Beispiel: Du hast zwei Snowman(M) Sets und auf allen Teilen STR+7 awakt.
Jetzt kannst du das erste Snowman Set mit den zweiten "fusionieren" so dass am Ende
eins zerstört ist und das andere dann beide Awas hat = 14 STR x4 durch CS Sets.
Das ganze kannst du dann nochmal (!) machen.

Quote:
Guck selbst nocheinmal Durch
Z.b. GuildhouseTender Functionen ^^
Ähm, lesen bitte?
Das ist einfach nur dass wo drunter das eingefügt werden muss.
Er hat nie gesagt dass das rein muss. Das ist bei allen drin.

Erst komplett lesen dann kritisieren
Flash! is offline  
Thanks
8 Users
Old 10/20/2011, 13:41   #8
 
elite*gold: 0
Join Date: Oct 2008
Posts: 275
Received Thanks: 68
Gut ...
war eigene Dummheit ...
Sry ^^
War zu beschäftigt alles durchzulesen
Mein Fehler
guardianangel is offline  
Old 10/21/2011, 10:01   #9
 
.Monster's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 244
Received Thanks: 96
Kommt vor & gibts schon Feedback von Leuten die es probiert haben?

Fragen könnt ihr gerne hier posten.
.Monster is offline  
Thanks
1 User
Old 10/21/2011, 13:16   #10
 
elite*gold: 0
Join Date: Jun 2008
Posts: 198
Received Thanks: 72
Wie kannst du nur so dreist sein und dafür auch nur einen% an Kredits beanspruchen
killerooo is offline  
Old 10/21/2011, 13:20   #11
 
Achileus's Avatar
 
elite*gold: 74
Join Date: Apr 2009
Posts: 5,908
Received Thanks: 2,386
Quote:
Originally Posted by .Monster View Post
Kommt vor & gibts schon Feedback von Leuten die es probiert haben?

Fragen könnt ihr gerne hier posten.
Glaube kaum das es einer nimmt weil das in meinen Augen der letze scheiss ist und die Arbeit auch wenns nur Copy & Past ist keiner machen wird ....

Ich denk schon das es geht warum nicht wenn es bei dir geht?

@Kilerooo Ja das stimmt er hat wirklich kein % verdient ambesten garnicht in Prozenten angeben einfach

Etioom hat ihn gemacht du hast nur das einzelne System rausgeholt .
Achileus is offline  
Old 10/21/2011, 13:22   #12
 
.Monster's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 244
Received Thanks: 96
Abgesehen davon das ich mir die Arbeit gemacht habe und alle Snippets in den Thread gesteckt hab?

Und ganz Fehlerlos lies sich das auch nicht Compilen, also etwas hab ich daran schon gemacht O.o


Außerdem wie kannst du so dreist sein und flamen?
.Monster is offline  
Thanks
2 Users
Old 11/06/2011, 08:45   #13

 
™Dryad's Avatar
 
elite*gold: 380
Join Date: Oct 2008
Posts: 2,262
Received Thanks: 382
Moin ,
Kann mir evtl jmd bei diesem Error helfen..

Quote:
E:\BF Source\Source\_Interface\WndManager.cpp(1013): error C3861: 'pWndChild': identifier not found, even with argument-dependent lookup
Kann es sein das er pWndChild nicht findet?..
Falls ja kann mir vllt jmd sagen wo ich das eintragen muss..

lg
™Dryad is offline  
Old 11/06/2011, 19:33   #14


 
™Daywalker's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 506
Received Thanks: 115
hast du die Wnd datei mit eingefügt?
™Daywalker is offline  
Old 11/06/2011, 19:35   #15
 
elite*gold: 0
Join Date: Jul 2010
Posts: 734
Received Thanks: 256
kann mal einer die ressourcen dazu hochladen?
luia is offline  
Reply


Similar Threads Similar Threads
[HELP]Combine VK C++
10/22/2010 - C/C++ - 2 Replies
GetAsyncKeyState problem ;( why my VirtualKey just work for 1 hack...??? not All key worked.... please help...whats wrong with my code a void LovelyLoopy() {
[Release]Aeria Enchant and Combine Hack.
07/08/2010 - 12Sky2 - 6 Replies
..........



All times are GMT +1. The time now is 18:18.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.