Jump to content
  • 0

Stylist NPC


Scythero

Question


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  06/17/13
  • Last Seen:  

someone please give me stylist script i need it

 

my script doesn't work when i edit the chlotes color,I already edit it to 450 color but it still only 0-4 please help me or give me the script

//===== eAthena Script ======================================= 
//= Stylist Script
//===== By: ================================================== 
//= eAthena Dev team
//= Revised by Nekosume [pyRO v3.0] 
//===== Current Version: ===================================== 
//= 4.2
//===== Compatible With: ===================================== 
//= Any eAthena Version 
//===== Description: ========================================= 
//= Revised dye NPC
//===== Additional Comments: =================================
//= v4.2 - Renamed to avoid conflict [Paradox924X]
//= v4.1 - New hairstyles added [Mass Zero]
//= v4.0 - Refined and Combined [Darkchild]
//= v3.0 - Added the 'Browse' options
//= v2.5 - Added more hair colors
//= v2.0 - Changed palette and hair style select
//= v1.5 - Revised script / different dialog
//= v1.0 - Split into two NPCs
//============================================================ 


//Stylist------------------------------------------------------------------------------------------------------------
prontera,168,179,5    script    Stylist#custom_stylist    122,{
    mes "[^FF8000Stylist^000000]";
    mes "I'm the greatest stylist in all of Rune-Midgard~~!";
    mes "I can change your hair style or color!";
    mes "What do you wish to change?";
    next;
    menu "Hair style",Lstyle,"Hair color",Lcolor,"Cloth Color",Lcloth,"Nothing",LCancel;

    Lstyle:
        mes "[^FF8000Stylist^000000]";
        mes "Do you want to browse through the choices, or do you know what you want?";
        next;
        menu "Browse",Lbrowsesty,"I know what I want",Lwantsty;

    Lwantsty:
        mes "[^FF8000Stylist^000000]";
        mes "Great!  Now just pick a style and I'll get started!";
         next;
        mes "[^FF8000Stylist^000000]";
        mes "Please pick a style number ^0000FFbetween 0 and 28^000000.";
        mes "Number 0, by the way, is the default style for your character.";
         next;
        input @sty;
        if (@sty>28) close;
        if (@sty<0) close;
        setlook 1,@sty;
        next;
        mes "[^FF8000Stylist^000000]";
        mes "Is this good, or do you want a different style?";
        next;
        menu "This is good",-,"Different style, please",Lwantsty;
        next;
        mes "[^FF8000Stylist^000000]";
        mes "You look great~!  Come back again, okay?";
        close;

    Lbrowsesty:
        set @look, -1;
        mes "[^FF8000Stylist^000000]";
        mes "Okay, here we go~!  Just stop me when you see something you like, okay?";
        next;

    Lbrowserep:
        set @look,@look+1;
        setlook 1,@look;
        mes "This is Pallete Number^FF9009 "+@look+" ^000000!"; 
        if(@look == 28) menu "Back To The Begin",Lbrowsesty,"I like this one",Lstop;
        if(@look != 28)    menu "Keep going",Lbrowserep,"I like this one",Lstop;
        
    Lcolor:
        mes "[^FF8000Stylist^000000]";
        mes "Do you want to browse through the choices, or do you know what you want?";
        next;
        menu "Browse",Lbrowsecolor,"I know what I want",Lwantcolor;

    Lwantcolor:
        mes "[^FF8000Stylist^000000]";
        mes "Just pick a color and we can get started.";
        next;
        mes "[^FF8000Stylist^000000]";
        mes "Please pick a style number ^0000FFbetween 0 and 6^000000.";
        mes "Number 0, by the way, is the default color for your character.";
         next;
        mes "[^FF8000Stylist^000000]";
        mes "0 is default...";
        mes "1 is blonde...";
        mes "2 is lavender...";
        mes "3 is brown...";
        mes "4 is green...";
        mes "5 is blue...";
        mes "6 is white...";
        mes "7 is black...";
        mes "8 is red...";
        mes "and 9-251 are new colors.";
        input @color;
        if (@color>6) close;
        if (@color<0) close;
        setlook 6,@color;
        next;
        mes "[^FF8000Stylist^000000]";
        mes "Is this good, or do you want a different color?";
        next;
        menu "This is good",-,"Different color, please",Lwantcolor;
        next;
        mes "[^FF8000Stylist^000000]";
        mes "You look great~!  Come back again, okay?";
        close;

    Lbrowsecolor:
        set @look, -1;
        mes "[^FF8000Stylist^000000]";
        mes "Okay, here we go~!  Just stop me when you see something you like, okay?";
        next;

    Lbrowsecolorrep:
        set @look,@look+1;
        setlook 6,@look;
        mes "This is Pallete Number^FF9009 "+@look+" ^000000!"; 
        if(@look == 251) menu "Back To The Begin",Lbrowsecolor,"I like this one",Lstop;
        if(@look != 251) menu "Keep going",Lbrowsecolorrep,"I like this one",Lstop;

        Lstop:
            mes "[^FF8000Stylist^000000]";
            mes "You look great~!  I love it~! ^_^";
            close;

    LCancel:
        mes "[^FF8000Stylist^000000]";
        mes "Well come again.";
        close;

    Lcloth:
        mes "[^FF8000Stylist^000000]";
        mes "Do you want to browse through the choices, or do you know what you want?";
        next;
        menu "Browse",Lbrowsecloth,"I know what I want",Lwantcloth;

    Lwantcloth:
        mes "[^FF8000Stylist^000000]";
        mes "Great!  Now just pick a pallete and I'll get started!";
         next;
        mes "[^FF8000Stylist^000000]";
        mes "Please pick a style number ^0000FFbetween 0 and 553^000000.";
        mes "Number 0, by the way, is the default style for your character.";
         next;
        input @pal;
        if (@pal>553) close;
        if (@pal<0) close;
        setlook 7,@pal;
        next;
        mes "[^FF8000Stylist^000000]";
        mes "Is this good, or do you want a different pallet";
        next;
        menu "This is good",-,"Different pallet, please",Lwantcloth;
        next;
        mes "[^FF8000Stylist^000000]";
        mes "You look great~!  Come back again, okay?";
        close;

    Lbrowsecloth:
        set @look, -1;
        mes "[^FF8000Stylist^000000]";
        mes "Okay, here we go~!  Just stop me when you see something you like, okay?";
        next;

    Lbrowseclothrep:
        set @look,@look+1;
        setlook 7,@look;
        mes "This is Pallete Number^FF9009 "+@look+" ^000000!"; 
        if(@look == 553) menu "Back To The Begin",Lbrowsecloth,"I like this one",Lstop;
        if(@look != 553) menu "Keep going",Lbrowseclothrep,"I like this one",Lstop;
}

Edited by Emistry
changed to code bbcode.
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   240
  • Joined:  09/05/12
  • Last Seen:  

Did you set your trunk/conf/battle/client.conf?

// Valid range of dyes and styles on the client.
min_hair_style: 0
max_hair_style: 27
min_hair_color: 0
max_hair_color: 8
min_cloth_color: 0
max_cloth_color: 4
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  226
  • Reputation:   11
  • Joined:  01/09/12
  • Last Seen:  

svn/trunk/src/map/battle.c

 

find:

	{ "min_hair_style",                     &battle_config.min_hair_style,                  0,      0,      INT_MAX,        },
	{ "max_hair_style",                     &battle_config.max_hair_style,                  29,     0,      INT_MAX,        },
	{ "min_hair_color",                     &battle_config.min_hair_color,                  0,      0,      INT_MAX,        },
	{ "max_hair_color",                     &battle_config.max_hair_color,                  263,      0,      INT_MAX,        },
	{ "min_cloth_color",                    &battle_config.min_cloth_color,                 0,      0,      INT_MAX,        },
	{ "max_cloth_color",                    &battle_config.max_cloth_color,                 489,      0,      INT_MAX,        },

change those number and recompile your server.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  73
  • Reputation:   1
  • Joined:  07/18/13
  • Last Seen:  

svn/trunk/src/map/battle.c

 

find:

	{ "min_hair_style",                     &battle_config.min_hair_style,                  0,      0,      INT_MAX,        },
	{ "max_hair_style",                     &battle_config.max_hair_style,                  29,     0,      INT_MAX,        },
	{ "min_hair_color",                     &battle_config.min_hair_color,                  0,      0,      INT_MAX,        },
	{ "max_hair_color",                     &battle_config.max_hair_color,                  263,      0,      INT_MAX,        },
	{ "min_cloth_color",                    &battle_config.min_cloth_color,                 0,      0,      INT_MAX,        },
	{ "max_cloth_color",                    &battle_config.max_cloth_color,                 489,      0,      INT_MAX,        },

change those number and recompile your server.

 

svn/trunk/src/map/battle.c

 

find:

	{ "min_hair_style",                     &battle_config.min_hair_style,                  0,      0,      INT_MAX,        },
	{ "max_hair_style",                     &battle_config.max_hair_style,                  29,     0,      INT_MAX,        },
	{ "min_hair_color",                     &battle_config.min_hair_color,                  0,      0,      INT_MAX,        },
	{ "max_hair_color",                     &battle_config.max_hair_color,                  263,      0,      INT_MAX,        },
	{ "min_cloth_color",                    &battle_config.min_cloth_color,                 0,      0,      INT_MAX,        },
	{ "max_cloth_color",                    &battle_config.max_cloth_color,                 489,      0,      INT_MAX,        },

change those number and recompile your server.

i try this but only 1-4 color

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2357
  • Joined:  10/28/11
  • Last Seen:  

Did you set your trunk/conf/battle/client.conf?

// Valid range of dyes and styles on the client.
min_hair_style: 0
max_hair_style: 27
min_hair_color: 0
max_hair_color: 8
min_cloth_color: 0
max_cloth_color: 4

you dont need to touch source part .....

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...