Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Exchange Option

Status
Not open for further replies.
Newbie Spellweaver
Joined
Mar 23, 2020
Messages
85
Reaction score
3
Can I put 2 or 3 exchange options on the same NPC? I'm not getting it.

NPC:


Script ExchangeAdv.inc


Sources:
#define __JNS_EXCHANGE_ADV

Can I put another exchange option? ty
 
Last edited:
Inactive
Joined
Jan 20, 2009
Messages
1,015
Reaction score
1,830
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
 
Upvote 0
Newbie Spellweaver
Joined
Mar 23, 2020
Messages
85
Reaction score
3
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
 
Upvote 0
Inactive
Joined
Jan 20, 2009
Messages
1,015
Reaction score
1,830
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.
 
Upvote 0
Newbie Spellweaver
Joined
Mar 23, 2020
Messages
85
Reaction score
3
I thought about copying __NEW_EXCHANGE_V19, but not the conflict with this other exchange that I have on the server?
 
Upvote 0
Inactive
Joined
Jan 20, 2009
Messages
1,015
Reaction score
1,830
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.


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
    }
}
 
Upvote 0
Newbie Spellweaver
Joined
Mar 23, 2020
Messages
85
Reaction score
3
@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
 
Upvote 0
Status
Not open for further replies.
Back
Top