Exchange Option

Results 1 to 9 of 9
  1. #1
    Member kikolindo is offline
    MemberRank
    Mar 2020 Join Date
    43Posts

    big grin Exchange Option

    Exchange Option
    Can I put 2 or 3 exchange options on the same NPC? I'm not getting it.

    NPC:
    https://pastebin.com/WsNAdpe0

    Script ExchangeAdv.inc
    https://pastebin.com/WB3P64i6

    Sources:
    #define __JNS_EXCHANGE_ADV

    Can I put another exchange option? ty
    Last edited by kikolindo; 15-01-21 at 08:37 PM.


  2. #2
    ‎‎‎‎ Ketchup is offline
    ModeratorRank
    Jan 2009 Join Date
    1,451Posts

    Re: Exchange Option

    Quote Originally Posted by kikolindo View Post
    Can I put 2 or 3 exchange options on the same NPC? I'm not getting it.

    NPC:

    Code:
    Mafl_CostumeNerupa // 의상전문가 네루파 - 개발 중 { setting { AddMenu( MMI_DIALOG ); AddMenu( MMI_COSTUMEMIX01 ); AddMenu2( MMI_EXCHANGE_ADV "Dragon Mask (M) Exchange" ); SetImage ( IDS_CHARACTER_INC_001020 ); m_szDialog= "mafl_costumenerupa.txt"; } SetName ( "[Fashion Composer] Nerupha" ); }
    Script ExchangeAdv.inc
    Code:
    Mafl_CostumeNerupa    {        AddItem( II_ARM_S_CLO_MAS_SEAKINGCROWN_2, 1,        II_ARM_S_CLO_MAS_SEAKINGCROWN_1, 1 )        AddItem( II_ARM_S_CLO_MAS_SEAKINGCROWN, 1,        II_ARM_S_CLO_MAS_SEAKINGCROWN_2, 1 )        AddItem( II_ARM_S_CLO_MAS_SEAKINGCROWN_1, 1,        II_ARM_S_CLO_MAS_SEAKINGCROWN, 1 )                    };
    Can I put another exchange option? ty
    Please use pastebin with blocks of code some reason RZ clips things horribly.

    I really have no idea what ExchangeAdv.inc is or where you got this from. However most people Exchange_Script.txt

  3. #3
    Member kikolindo is offline
    MemberRank
    Mar 2020 Join Date
    43Posts

    Re: Exchange Option

    I fixed it, basically my Exchange_Script.txt is old, there is no picture of the item, so there is this script that it appears, but I can only add 1 exchange per npc

  4. #4
    ‎‎‎‎ Ketchup is offline
    ModeratorRank
    Jan 2009 Join Date
    1,451Posts

    Re: Exchange Option

    Quote Originally Posted by kikolindo View Post
    I fixed it, basically my Exchange_Script.txt is old, there is no picture of the item, so there is this script that it appears, but I can only add 1 exchange per npc
    I'd stay away from anything copy/pasted by Jonas Garcia "Tweeny" __JNS as he is well known to backdoor or have no idea what he is doing.

    Copy over: __NEW_EXCHANGE_V19 from any source and use Exchange_Script.txt this will work better for you in the long term and it will work in V15 to.

  5. #5
    Member kikolindo is offline
    MemberRank
    Mar 2020 Join Date
    43Posts

    Re: Exchange Option

    I thought about copying __NEW_EXCHANGE_V19, but not the conflict with this other exchange that I have on the server?

  6. #6
    ‎‎‎‎ Ketchup is offline
    ModeratorRank
    Jan 2009 Join Date
    1,451Posts

    Re: Exchange Option

    Quote Originally Posted by kikolindo View Post
    I thought about copying __NEW_EXCHANGE_V19, but not the conflict with this other exchange that I have on the server?
    Most likely but __NEW_EXCHANGE_V19 will have no issues.

    - - - Updated - - -
    @kikolindo since your asking about the APP on another forum not sure why you didn't just ask here but...

    V15
    Code:
    APP_DIALOG_EVENT "WndTile00.tga" 1 496 432 0x2410000 26
    {
    // Title String
    IDS_RESDATA_INC_004770
    }
    {
    // Help Key
    IDS_RESDATA_INC_004771
    }
    {
        WTYPE_BUTTON WIDC_CANCEL "ButCancel2.bmp" 0 247 370 351 394 0x220010 0 0 0 0
        {
        // Title String
    IDS_RESDATA_INC_004810
        }
        {
        // ToolTip
    IDS_RESDATA_INC_004811
        }
        WTYPE_LISTBOX WIDC_LISTBOX1 "WndEditTile00.tga" 1 14 116 474 364 0x20020000 0 0 0 0
        {
        // Title String
    IDS_RESDATA_INC_004812
        }
        {
        // ToolTip
    IDS_RESDATA_INC_004813
        }
        WTYPE_CUSTOM WIDC_CUSTOM2 "" 0 14 118 277 132 0x260000 0 0 0 0
        {
        // Title String
    IDS_RESDATA_INC_004814
        }
        {
        // ToolTip
    IDS_RESDATA_INC_004815
        }
        WTYPE_BUTTON WIDC_OK "ButOk2.bmp" 0 135 370 239 394 0x220010 0 0 0 0
        {
        // Title String
    IDS_RESDATA_INC_004816
        }
        {
        // ToolTip
    IDS_RESDATA_INC_004817
        }
        WTYPE_TEXT WIDC_TEXT1 "WndEditTile00.tga" 1 14 12 474 112 0x20000 0 0 0 0
        {
        // Title String
    IDS_RESDATA_INC_004820
        }
        {
        // ToolTip
    IDS_RESDATA_INC_004821
        }
        WTYPE_BUTTON WIDC_BUTTON1 "wndButtEnter.bmp" 0 442 84 466 108 0x220010 0 0 0 0
        {
        // Title String
    IDS_RESDATA_INC_004822
        }
        {
        // ToolTip
    IDS_RESDATA_INC_004823
        }
    
    }
    V16+
    Code:
    APP_DIALOG_EVENT "WndTile00.tga" "" 1 496 432 0x2410000 26
    {
    // Title String
    IDS_RESDATA_INC_004770
    }
    {
    // Help Key
    IDS_RESDATA_INC_004771
    }
    {
        WTYPE_BUTTON WIDC_CANCEL "ButCancel2.bmp" 0 247 370 351 394 0x220010 0 0 0 0 0 0 0
        {
        // Title String
    IDS_RESDATA_INC_004810
        }
        {
        // ToolTip
    IDS_RESDATA_INC_004811
        }
        WTYPE_LISTBOX WIDC_LISTBOX1 "WndEditTile00.tga" 1 14 116 474 364 0x20020000 0 0 0 0 255 255 255
        {
        // Title String
    IDS_RESDATA_INC_004812
        }
        {
        // ToolTip
    IDS_RESDATA_INC_004813
        }
        WTYPE_CUSTOM WIDC_CUSTOM2 "" 0 14 118 277 132 0x260000 0 0 0 0 46 112 169
        {
        // Title String
    IDS_RESDATA_INC_004814
        }
        {
        // ToolTip
    IDS_RESDATA_INC_004815
        }
        WTYPE_BUTTON WIDC_OK "ButOk2.bmp" 0 135 370 239 394 0x220010 0 0 0 0 0 0 0
        {
        // Title String
    IDS_RESDATA_INC_004816
        }
        {
        // ToolTip
    IDS_RESDATA_INC_004817
        }
        WTYPE_TEXT WIDC_TEXT1 "WndEditTile00.tga" 1 14 12 474 112 0x20000 0 0 0 0 255 255 255
        {
        // Title String
    IDS_RESDATA_INC_004820
        }
        {
        // ToolTip
    IDS_RESDATA_INC_004821
        }
        WTYPE_BUTTON WIDC_BUTTON1 "wndButtEnter.bmp" 0 442 84 466 108 0x220010 0 0 0 0 46 112 169
        {
        // Title String
    IDS_RESDATA_INC_004822
        }
        {
        // ToolTip
    IDS_RESDATA_INC_004823
        }
    }

  7. #7
    Member kikolindo is offline
    MemberRank
    Mar 2020 Join Date
    43Posts

    Re: Exchange Option

    @Ketchup

    the forum had gone down, and I asked how to add the scroll bar, I managed to add it but it doesn't move the list of items when I click to move

  8. #8
    ‎‎‎‎ Ketchup is offline
    ModeratorRank
    Jan 2009 Join Date
    1,451Posts

    Re: Exchange Option

    Quote Originally Posted by kikolindo View Post
    @Ketchup

    the forum had gone down, and I asked how to add the scroll bar, I managed to add it but it doesn't move the list of items when I click to move
    Replace yours with the V16 app above and make sure your WndControl is added correctly.

  9. #9
    Member kikolindo is offline
    MemberRank
    Mar 2020 Join Date
    43Posts

    Re: Exchange Option

    It worked, thanks for the help <3



Advertisement