Jump to content
  • 0

Dressing room


Erio-chan

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  97
  • Reputation:   10
  • Joined:  07/23/16
  • Last Seen:  

What is wrong with this script?

can't detect max palette, hstyle and body style

always max = 0

I am using my Guillotine X female always back to 0 hstyle 0 palettes

command @hstyle @hcolor works

when using my RoyalGuard male client clash

//===== 3CeAM Script =========================================
//= 3CeAM Custom Stylist NPC
//===== By: ==================================================
//= Rytech
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= 3CeAM r791+
//===== Description: =========================================
//= A new generation stylist that offers enhanced style
//= options and dressing room for character dye/style preview.
//= Stylist also detects the server's max dyes/styles settings
//= and also auto adjusts maxes between jobs as needed.
//===== Additional Comments: =================================
//= 1.0 First release. [Rytech]
//============================================================
prontera,162,184,4	script	Super Stylist	509,{
Lintro:
	mes "[Super Stylist]";
	mes "Hey there. Im a super stylist. Want to try out my services?";
	mes "I can customize your character's appearance in a hand full of ways.";
	next;
	menu "Sure.",Laccessroom,"No Thanks.",Lbye,"Super Stylist???",Lwhoareyou;

Laccessroom:
	// Open the dressing room and sets the dye/style max's depending on the job.
	opendressroom(0);
	set @hairdyemax,MaxHairDye;
	set @bodydyemax,MaxBodyDye;

	// Summoner's only have 6 hair styles.
	if (BaseClass != Job_Summoner)
		set @hairstylemax,MaxHairStyle;
	else
		set @hairstylemax,6;

	// Only 3rd job's have access to a 2nd body style.
	// Note: Not all of the new body styles are out. Best to limit only to jobs that do have them.
	if (
//	BaseThird == Job_Rune_Knight || 
//	BaseThird == Job_Warlock || 
//	BaseThird == Job_Ranger || 
	BaseThird == Job_Arch_Bishop || 
	BaseThird == Job_Mechanic || 
	BaseThird == Job_Guillotine_Cross || 
	BaseThird == Job_Royal_Guard || 
//	BaseThird == Job_Sorcerer || 
//	BaseThird == Job_Minstrel || 
//	BaseThird == Job_Wanderer || 
//	BaseThird == Job_Sura || 
	BaseThird == Job_Genetic
//	BaseThird == Job_Shadow_Chaser
	)
		set @bodystylemax,MaxBodyStyle;
	else
		set @bodystylemax,0;

Lmain:
	mes "[Super Stylist]";
	mes "Ok step this way. A dressing room window should open. Use this to decide what you want and then select in the menu what your interested in.";
	next;
	menu "All Dyes And Styles",Lalldyestyle,"Hair Dye Only",Lhairdye,"Hair Style Only",Lhairstyle,"Body Dye Only",Lbodydye,"Body Style Only",Lbodystyle,"Im done.",Lbye;

Lalldyestyle:
	mes "[Super Stylist]";
	mes "Enter the dyes/styles you want in the 4 input boxes in order....";
	mes "Max Hair Dyes = "+@hairdyemax+"";
	mes "Max Hair Styles = "+@hairstylemax+"";
	mes "Max Body Dyes = "+@bodydyemax+"";
	mes "Max Body Styles = "+@bodystylemax+"";
	input @hairdye;
	if (@hairdye < 0 || @hairdye > @hairdyemax) set @hairdye,0;
	input @hairstyle;
	if (@hairstyle < 0 || @hairstyle > @hairstylemax) set @hairstyle,0;
	input @bodydye;
	if (@bodydye < 0 || @bodydye > @bodydyemax) set @bodydye,0;
	input @bodystyle;
	if (@bodystyle < 0 || @bodystyle > @bodystylemax) set @bodystyle,0;
	setlook 6,@hairdye;
	setlook 1,@hairstyle;
	setlook 7,@bodydye;
	setlook 13,@bodystyle;
	next;
	goto Lmain;

Lhairdye:
	mes "[Super Stylist]";
	mes "Enter the dye you want.";
	mes "Max Hair Dyes = "+@hairdyemax+"";
	input @hairdye;
	if (@hairdye < 0 || @hairdye > @hairdyemax) set @hairdye,0;
	setlook 6,@hairdye;
	next;
	goto Lmain;

Lhairstyle:
	mes "[Super Stylist]";
	mes "Enter the style you want.";
	mes "Max Hair Styles = "+@hairstylemax+"";
	input @hairstyle;
	if (@hairstyle < 0 || @hairstyle > @hairstylemax) set @hairstyle,0;
	setlook 1,@hairstyle;
	next;
	goto Lmain;

Lbodydye:
	mes "[Super Stylist]";
	mes "Enter the dye you want.";
	mes "Max Body Dyes = "+@bodydyemax+"";
	input @bodydye;
	if (@bodydye < 0 || @bodydye > @bodydyemax) set @bodydye,0;
	setlook 7,@bodydye;
	next;
	goto Lmain;

Lbodystyle:
	mes "[Super Stylist]";
	mes "Enter the style you want.";
	mes "Max Body Styles = "+@bodystylemax+"";
	input @bodystyle;
	if (@bodystyle < 0 || @bodystyle > @bodystylemax) set @bodystyle,0;
	setlook 13,@bodystyle;
	next;
	goto Lmain;

Lbye:
	mes "[Super Stylist]";
	mes "Ok then. Ill be here whenever you need to change your look.";
	close;

Lwhoareyou:
	mes "[Super Stylist]";
	mes "Never herd of us?";
	mes "We super stylist are a new generation of stylist that are able to provide character appearance customization to players.";
	next;
	mes "But the difference between us and regular stylist is that we have a dressing room that allows you to try out different styles and dyes freely all together.";
	mes "This allows you to get a full preview of what your char will look like if you applied all the styles and dyes selected before finalizing what you want.";
	mes "Better then doing one at a time.";
	next;
	mes "Super stylist can also change the appearance of the outfit you wear. We call them body styles. However, only 3rd job characters are offered this service at the moment.";
	mes "Also we don't have outfits ready for all of these jobs yet since this service is still very new and designs are still being worked on.";
	mes "Be sure to check back later if a style isnt available for your job as were releasing them one by one.";
	next;
	goto Lintro;
}

this is my settings

// Valid range of dyes and styles on the client.
min_hair_style: 0
max_hair_style: 59
min_hair_color: 0
max_hair_color: 297
min_cloth_color: 0 
max_cloth_color: 553
min_body_style: 0
max_body_style: 2

// Save body styles. (Note 1)
// Note: Don't turn this on unless you know what your doing.
// Sprites are not released officially.
save_body_style: yes
Edited by Erio-chan
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  258
  • Reputation:   54
  • Joined:  01/09/12
  • Last Seen:  

If im not wrong you must set here in the same script:

 

Laccessroom:
	// Open the dressing room and sets the dye/style max's depending on the job.
	opendressroom(0);
	set @hairdyemax,297;//  - max of hair color
	set @bodydyemax,553;//  - max of body color

and here the max of hair you have

	// Summoner's only have 6 hair styles.
	if (BaseClass != Job_Summoner)
		set @hairstylemax,59;//max of hair like summoner down here that have 6 
	else
		set @hairstylemax,6;
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  142
  • Reputation:   8
  • Joined:  02/11/13
  • Last Seen:  

what emu are you using? ... this is a 3ceam script and we're on rAthena forums.

Edited by 15peaces
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  258
  • Reputation:   54
  • Joined:  01/09/12
  • Last Seen:  

what emu are you using? ... this is a 3ceam script and we're on rAthena forums.

 

This is a 3ceam script compatible with rAthena and hercules, there is no diference :) cause is not a src or skill mod is just a generic npc compatible with rAthena @bodystyle(alternative 3rd job sprites).

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