Little help with MMI_

Results 1 to 4 of 4
  1. #1
    Valued Member MakVee is offline
    MemberRank
    Mar 2021 Join Date
    MarsLocation
    129Posts

    Little help with MMI_

    I just add __EXCHANGE_ADV and i already made text file in textClient.inc/txt but im wondering why i still having this: (screenshot below) any idea?


  2. #2
    Enthusiast ElMaqui is offline
    MemberRank
    May 2020 Join Date
    FranceLocation
    38Posts
    Send what you've done to get it. Otherwise, we cannot help you.

  3. #3
    Valued Member MakVee is offline
    MemberRank
    Mar 2021 Join Date
    MarsLocation
    129Posts
    Quote Originally Posted by ElMaqui View Post
    Send what you've done to get it. Otherwise, we cannot help you.
    Wndworld.cpp:
    Code:
    #ifdef __FASHION_COMBINE
            case MMI_COSTUMEMIX01:
                {
                    SAFE_DELETE( g_WndMng.m_pWndFashionCombine );
                    g_WndMng.m_pWndFashionCombine = new CWndFashionCombine;
                    g_WndMng.m_pWndFashionCombine->Initialize();
                }
                break;
    #endif // __FASHION_COMBINE
    
    #ifdef __EXCHANGE_ADV
            case MMI_EXCHANGE_ADV:
                {
                    CWndExchangeAdv* pWndExchangeAdv = (CWndExchangeAdv*)g_WndMng.GetApplet( APP_EXCHANGE_ADV );
                    if( pWndExchangeAdv )
                        pWndExchangeAdv->Destroy();
    
                    pWndExchangeAdv = new CWndExchangeAdv( pFocusMover->GetCharacter()->m_szKey );
                    pWndExchangeAdv->Initialize( &g_WndMng );
                }
                break;
    #endif
    
            } // switch
            // 포커스를 윈도로 돌려주어야 매뉴가 닫힌다.
            SetFocus();
        }
    
        return CWndNeuz::OnCommand( nID, dwMessage, pWndBase );
    }
    
    ~
    
    #ifdef __JEFF_11_4
                                else if( i == MMI_ARENA_ENTER )
                                {
                                    if( g_pPlayer && !g_pPlayer->IsBaseJob() )
                                        m_wndMenuMover.AppendMenu( 0, i, prj.GetText( TID_MMI_DIALOG + i ) );
                                    bView = TRUE;
                                }
    #endif    // __JEFF_11_4
    #ifdef __EXCHANGE_ADV
                                else if( i == MMI_EXCHANGE_ADV )
                                        {
                                            m_wndMenuMover.AppendMenu( 0, i, "Exchanger" );
                                            bView = TRUE;
                                        }
    #endif
                                else
                                {
                                    {
                                    m_wndMenuMover.AppendMenu( 0, i, prj.GetText( TID_MMI_DIALOG + i ) );
                                    bView = TRUE;
                                    }
                                }
                            }
    ExchangeAdv.inc
    Code:
    AddExchangeItems
    {    
        MaFl_Pire
        {
            AddItem( II_PET_KIMPD,                1,        II_GEN_VOTE_POINTS, 10 )
        };
    
    }
    character.inc
    Code:
    MaFl_Pire                    
    {
        setting
        {
            AddMenu( MMI_DIALOG );
            AddMenu2( MMI_EXCHANGE_ADV "Exchange" );
            
            SetImage
            (
            IDS_CHARACTER_INC_001006
            );
            m_szDialog= "MaFl_Pire.txt";
        }
    
        SetName
        (
        IDS_CHARACTER_INC_001007
        );
    }
    i try to remove/replace the textClient edits to m_wndMenuMover.AppendMenu( 0, i, "Exchanger" ); but still the same

  4. #4
    Enthusiast Cyclopz is offline
    MemberRank
    Sep 2020 Join Date
    HellLocation
    39Posts
    This Should Work.
    Code:
    AddMenu2( MMI_EXCHANGE_ADV, "Exchange" );



Advertisement