Jump to content
  • 0

Requesting Modified Stylist


Question

Posted

Good Day Guys!,


Hi, I'm using the default stylist on rAthena, how to limit the number of cloth,hair style,hair color in a specific way?

http://tny.cz/2b68449f


my client.conf

min_hair_style: 0

max_hair_style: 27
min_hair_color: 0
max_hair_color: 251
min_cloth_color: 0 
max_cloth_color: 553


i have a special hairstyle and cloth palettes let say, How will these information below cannot be pick in the stylist thanks!
hair_style: 28-40
max_hair_color: 252-300
max_cloth_color: 553-600


 

3 answers to this question

Recommended Posts

Posted

well, according to your client.conf and the way stylist NPC reads the max variables,
your current client.conf will restrict the NPC from reading the numbers higher than max.
 
Then, you can use those restricted colors by using @haircolor, @hairstyle, @dye.
(e.g: @hairstyle 32, @haircolor 297,etc)
 
Unless the server restrict you to do that, then set the max to the larger number like 40, 300, 600
and change this on disguise:
get this:

setarray .@Styles[1],
		getbattleflag("max_cloth_color"),
		getbattleflag("max_hair_style"),
		getbattleflag("max_hair_color");

change to:

	setarray .@Styles[1],552,28,252;

could be buggy tho.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...