Premium Shop(VIP Shop)

Results 1 to 7 of 7
  1. #1
    Member qqq1 is offline
    MemberRank
    Apr 2011 Join Date
    koreaLocation
    73Posts

    Premium Shop(VIP Shop)

    How to make Premium shop in source?


  2. #2
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    Re: Premium Shop(VIP Shop)

    Amazing question... you CANT ! ! !

    just add item id's to shop.xml in matchserver

  3. #3
    Member qqq1 is offline
    MemberRank
    Apr 2011 Join Date
    koreaLocation
    73Posts

    Re: Premium Shop(VIP Shop)

    PHP Code:
        // 프리미엄 샵 - 설정되는 국가대로 하나씩 지워나간다
    #ifndef _DEBUG
    #if defined(LOCALE_BRAZIL) || defined(LOCALE_INDIA) || defined(LOCALE_US) || defined(LOCALE_JAPAN) || defined(LOCALE_KOREA) || defined(LOCALE_NHNUSA)
        
    {
            if ( 
    nTabIndex == 2)
                return;
        }
    #endif
    #endif

        
    MWidgetpWidget pResource->FindWidget("AllEquipmentList");
        if (
    pWidget != NULLpWidget->Show(nTabIndex==true false);
        
    pWidget pResource->FindWidget("MyAllEquipmentList");
        if (
    pWidget != NULLpWidget->Show(nTabIndex==true false);
        
    pWidget pResource->FindWidget("CashEquipmentList");
        if (
    pWidget != NULLpWidget->Show(nTabIndex==true false);


        
    // Set filter
        
    MComboBoxpComboBox = (MComboBox*)pResource->FindWidget"Shop_AllEquipmentFilter");
        if(
    pComboBox) {
            
    int sel pComboBox->GetSelIndex();

            
    ZMyItemListpil ZGetMyInfo()->GetItemList();
            if ( 
    pil) {
                
    pil->m_ListFilter sel;
                
    pil->Serialize();
            }
        }

        
    // 버튼 설정
        
    MButtonpButton = (MButton*)pResource->FindWidget"BuyConfirmCaller");
        if ( 
    pButton)
        {
            
    pButton->Showfalse);
            
    pButton->Enablefalse);
        }
        
    pButton = (MButton*)pResource->FindWidget"SellConfirmCaller");
        if ( 
    pButton)
        {
            
    pButton->Showfalse);
            
    pButton->Enablefalse);
        }

        if ( 
    nTabIndex == 0)
        {
            
    pButton = (MButton*)pResource->FindWidget"BuyConfirmCaller");
            if ( 
    pButtonpButton->Showtrue);
        }
        else if ( 
    nTabIndex == 1)
        {
            
    pButton = (MButton*)pResource->FindWidget"SellConfirmCaller");
            if ( 
    pButton)
                
    pButton->Showtrue);
        }
        
    /* 수년전 만들다만 프리미엄 탭(캐쉬템) 코드임. 제거 예정
        else if ( nTabIndex == 2)
        {
            pButton = (MButton*)pResource->FindWidget( "BuyCashConfirmCaller");
            if ( pButton)
                pButton->Show( true);
        }
        */ 
    PHP Code:
        // 프리미엄 샵 - 설정되는 국가대로 하나씩 지워나간다
    #ifndef _DEBUG
    #if defined(LOCALE_BRAZIL) || defined(LOCALE_INDIA) || defined(LOCALE_US) || defined(LOCALE_JAPAN) || defined(LOCALE_KOREA) || defined(LOCALE_NHNUSA)
        
    {
            
    pWidget pResource->FindWidget"Shop_TabLabelBg");
            if ( 
    pWidget)  pWidget->Showfalse);

            
    pWidget pResource->FindWidget"CashEquipmentListCaller");
            if ( 
    pWidget)  pWidget->Showfalse);

            
    pWidget pResource->FindWidget"Shop_FrameTabLabel3");
            if ( 
    pWidget)  pWidget->Showfalse);
        }
    #endif
    #endif

        
    m_nShopTabNum nTabIndex;

        
    DrawCharInfoText();

    PHP Code:
    //// 프리미엄이라고 되어 있는 탭 : 옛날에 개발하다 중단한 부분인것 같다. 검토후 제거
    //class MCashShopItemListBoxListener : public MListener
    //{
    //public:
    //    virtual bool OnCommand( MWidget* pWidget, const char* szMessage)
    //    {
    //        if ( MWidget::IsMsg( szMessage, MLB_ITEM_SEL)==true)
    //        {
    //            unsigned long int nItemID = 0;
    //
    //            ZEquipmentListBox_OLD* pEquipmentListBox = (ZEquipmentListBox_OLD*)pWidget;
    //            ZEquipmentListItem_OLD* pListItem = ( ZEquipmentListItem_OLD*)pEquipmentListBox->GetSelItem();
    //            if ( pListItem)
    //            {
    //                MMatchItemDesc* pItemDesc = MGetMatchItemDescMgr()->GetItemDesc( pListItem->GetItemID());
    //                ZCharacterView* pCharacterView = (ZCharacterView*)ZGetGameInterface()->GetIDLResource()->FindWidget( "EquipmentInformationShop");
    //                if ( pItemDesc && pCharacterView)
    //                {
    //                    MMatchCharItemParts nCharItemParts = GetSuitableItemParts( pItemDesc->m_nSlot);
    //
    //                    pCharacterView->SetSelectMyCharacter();
    //                    pCharacterView->SetParts(nCharItemParts, pItemDesc->m_nID);
    //
    //                    if (IsWeaponCharItemParts( nCharItemParts))
    //                        pCharacterView->ChangeVisualWeaponParts( nCharItemParts);
    //
    //                    ZGetGameInterface()->GetShopEquipInterface()->SetupItemDescription( pItemDesc,
    //                        "Shop_ItemDescription",
    //                        NULL);
    //                }
    //
    //
    //                MButton* pButton = (MButton*)ZGetGameInterface()->GetIDLResource()->FindWidget( "BuyCashConfirmCaller");
    //                if ( pButton)
    //                    pButton->Enable( true);
    //
    //
    //                return true;
    //            }
    //        }
    //
    //        else if ( MWidget::IsMsg( szMessage, MLB_ITEM_DBLCLK) == true)
    //        {
    //            return true;
    //        }
    //
    //
    //        return false;
    //    }
    //};
    //
    //MCashShopItemListBoxListener g_CashShopItemListBoxListener;
    //
    //MListener* ZGetCashShopItemListBoxListener(void)
    //{
    //    return &g_CashShopItemListBoxListener;
    //} 
    no..

    CashShopItemListBoxListener

    But i remove uncomment build error

  4. #4
    Kyura Ryukrey is offline
    MemberRank
    Jan 2010 Join Date
    ItalyLocation
    354Posts

    Re: Premium Shop(VIP Shop)

    Ronny STFU, maybe he can do things who you can't in all your life

  5. #5
    Account Upgraded | Title Enabled! KeyTrix is offline
    MemberRank
    Feb 2012 Join Date
    EverywhereLocation
    268Posts

    Re: Premium Shop(VIP Shop)

    it's possible, but requires a source modifying. if you want to add me, i can provide support with it.

  6. #6
    Member qqq1 is offline
    MemberRank
    Apr 2011 Join Date
    koreaLocation
    73Posts

    Re: Premium Shop(VIP Shop)

    I want add you keytrix
    If you use skype
    Add me skype
    I hope
    my skype id : jodangue

  7. #7
    Account Upgraded | Title Enabled! medotarek is offline
    MemberRank
    Apr 2012 Join Date
    Egypt/RageZoneLocation
    615Posts

    Re: Premium Shop(VIP Shop)

    that's maybe but that's need for some time and i can do it but i want to coder help me in it
    Skype: designer_mado



Advertisement