Jump to content
  • 0

Costume Conveter NPC cant Click


radlican

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  08/09/14
  • Last Seen:  

anyone here familiar with thie error? can you guys help me 

// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
// Script Name : Headgear to Costume converter
// --------------------------------------------------------------------------
// Description :
// Allows a user to convert the equipped headgear (on Top, Mid or Low) into a
// costume item. It will remove any card and refine of the Item.
// --------------------------------------------------------------------------
 
prontera,153,181,4    script    Costume Converter    430,{
    mes "[Costume Converter]";
    mes "I can convert your original headgear into a costume headgear.";
    mes " ";
    mes "Note: Stats, Cards & Refine will be removed. Costume is placed in your Costume Tab (ALT+Q)";
    next;
 
    setarray .@Position$[1],"Top","Mid","Low";
    setarray .@Position[1],     1,    9,   10;
 
    set .@Menu$,"";
    for( set .@i, 1; .@i < 4; set .@i, .@i + 1 )
    {
        if( getequipisequiped(.@Position[.@i]) )
            set .@Menu$, .@Menu$ + .@Position$[.@i] + " - " + "[ " + getequipname(.@Position[.@i]) + " ]";
 
        set .@Menu$, .@Menu$ + ":";
    }
 
    set .@Part, .@Position[ select(.@Menu$) ];
    if( !getequipisequiped(.@Part) )
    {
        mes "[Costume Converter]";
        mes "Your not wearing anything there...";
        close;
    }
 
    mes "[Costume Converter]";
    mes "Are you sure you want to make your headgear into a costume?";
    mes " ";
    mes "Note: Stats, Cards & Refine will be removed. Costume is placed in your Costume Tab (ALT+Q)";
    next;
    if( select("No, I am sorry.:Yes, please convert my item.") == 2 )
    {
    costume .@Part; // Convert the Headgear
    mes "[Costume Converter]";
    mes "Done, enjoy your costume headgear!";
    close;
    }
        mes "[Costume Converter]";
        mes "Need some time to think about it, huh?";
        mes "Alright, I can understand.";
        close;
}
 
// --------------------------------------------------------------------------
// Use duplicates to put your npc on different cities
// --------------------------------------------------------------------------
 
//prontera,155,180,4    duplicate(Costume-IT)    Costume-IT#1    864
 

34xji41.jpg

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

are you sure the map server is reading the script you posted? because as I see on line#46: it's

    mes "[Costume Converter]";
    mes "Are you sure you want to make your headgear into a costume?";
    mes " ";
    mes "Note: Stats, Cards & Refine will be removed. Costume is placed in your Costume Tab (ALT+Q)";
    next;
    if( select("No, I am sorry.:Yes, please convert my item.") == 2 )
    {
    costume .@Part; // Convert the Headgear
    mes "[Costume Converter]";
    mes "Done, enjoy your costume headgear!";
    close;
    }

and it's not the same as what your map server shows.

 

AND

 

you need to do some modifications to your SRC. refer this (maybe)

http://rathena.org/board/topic/82370-costume-npc-and-costumeitem/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  177
  • Reputation:   21
  • Joined:  01/31/12
  • Last Seen:  

Edit: nevermind, see above post 

 

"costume" is not a script command in rAthena

Edited by luciar
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...