Jump to content
Emistry

Utility: Advanced Stylist

Recommended Posts

Advanced Stylist


Original idea of this script : http://www.eathena.ws/board/index.php?showtopic=148888

Well, this was my favourite stylist script in eAthena ....xD


Since i got some time, and lately received a request on editing a stylist npc script. So i come with with the idea to add some minor features or enhance the original script. The script are written from scratch...

A very quick and simple intro for the script,

  • Able to nagivate styles easily ( Forward, Backward, Jump ).
  • Able to blacklist certain style for each style group and separately by Gender.
  • Removed save / load features since not really useful.
  • Enable Zeny as payment for the services.
  • Able to enable any of the 3 services. ( Hairstyle, Hair Color, Cloth Color )
  • Support multiple type of Currency Payment. ( Item , Cash Points , Zeny and etc )
  • Customizable.

( If any style was blacklisted, a default style will be displayed )

The script are rewrited and clean up some unecessary parts.

Credits :

AnnieRuru

Hudelf


  • Submitter
  • Submitted
    03/26/2013
  • Category
  • Video
  • Content Author
    Emistry

 

  • Upvote 3

Share this post


Link to post
Share on other sites

atlast someone released a stylist/dye npc with hairtyles blacklist, i can now release my 90 hairstyle pack /no1 +1

Share this post


Link to post
Share on other sites

thx sr. emistry, i have a one questions

i can change the zeny for cloth dye coupon or hair style coupon?

Share this post


Link to post
Share on other sites

thx sr. emistry, i have a one questions

i can change the zeny for cloth dye coupon or hair style coupon?

the current script doesnt accept items as payment...only zeny...

Share this post


Link to post
Share on other sites

I have a suggestion why not put a menu Random Style.

Share this post


Link to post
Share on other sites

I have a suggestion why not put a menu Random Style.

O.O ... is this really useful to add into the script ? i dont see any practical uses for this, i believe most of the players will browse through 1 by 1...otherwise just use the "Jump"

Share this post


Link to post
Share on other sites

No, I mean random look from hairtstyle to haircolor and cloth color. Not just on hairstyle or cloth color.

Edited by Frost_

Share this post


Link to post
Share on other sites

hi Emistry, your script is great, unluckily i still got problem with my current hairstyle pack, i had more female hairstyle than male so i set dummy hairstyles for male just to even the two(to prevent error) but i got like 13 dummy bald head sprites(too many), can you separate the blacklist for male & female hairtyles or is that even possible?

Share this post


Link to post
Share on other sites

hi Emistry, your script is great, unluckily i still got problem with my current hairstyle pack, i had more female hairstyle than male so i set dummy hairstyles for male just to even the two(to prevent error) but i got like 13 dummy bald head sprites(too many), can you separate the blacklist for male & female hairtyles or is that even possible?

 

Script updated :

  • separated the blacklisted styles for both gender.

 

	// Blacklisted Style for each style and each gender.
	// --- Female ---
	.blacklist_hairstyle_0$ = "2,4,6";
	.blacklist_haircolor_0$ = "1,3,5";
	.blacklist_cloth_0$ = "143,188,261";
	// --- Male ---
	.blacklist_hairstyle_1$ = "3,5,7";
	.blacklist_haircolor_1$ = "2,4,6";
	.blacklist_cloth_1$ = "143,188,261";

Share this post


Link to post
Share on other sites

thank you for that, been testing your script here are some of what i've noticed and some suggestion:

 

1. everytime i changed style, i have to press next button (2x to hit enter for every style) lol, i got like 500+ pallete takes to long to browse each

2. when choosing back(previous style) i have to press down + enter everytime i want to go to the previous style consecutively (can you make it like if we press -(back) then - will go on top(first selection)/ if +(next) next will go first selection (with this we can just press enter enter enter to go previous/next to the style faste

3. can we add save style?

Share this post


Link to post
Share on other sites

thank you for that, been testing your script here are some of what i've noticed and some suggestion:

 

1. everytime i changed style, i have to press next button (2x to hit enter for every style) lol, i got like 500+ pallete takes to long to browse each

2. when choosing back(previous style) i have to press down + enter everytime i want to go to the previous style consecutively (can you make it like if we press -(back) then - will go on top(first selection)/ if +(next) next will go first selection (with this we can just press enter enter enter to go previous/next to the style faste

3. can we add save style?

Script updated :

  • Fixed exploitable bug by using ( ALT + F4 ) which changed style without paid.
  • Enhanced Naviagtion as requested.
  • Reduced / removed unnecessary event label running which caused by duplicated NPCs.

 

i didnt add the "Save Styles" function , because it's useless. even in the original script, this NPC only save the variable and last until players logout. Everytime they login they have to save the styles again. Althought it can be overcome by using some "permanent" or "long lasting" variable ....but i dont feel like wanna create a simple script that used tons of variables that are unnecesary at the first place. 

Share this post


Link to post
Share on other sites

hello again emistry. noticed about the "blacklist"

1. cloth color blacklist is not working for me (tested on male w/ the default blacklist "143,188,261"), i dint test the female one

2. when you go onto a blacklisted # it still changes the hairstyle/color to the default (0) i think, can you fix it to not show style 0 and just show the previous form like this ex:

 

style blacklist is #4 & 6:

OLD: begin 0 1 2 3 0 5 0 7 8

change to

NEW: begin 0 1 2 3 3 5 5 7 8

 

hope you understand what i'm saying

 

edit:

1. female also don't work

Edited by frenzmu06

Share this post


Link to post
Share on other sites

thx sr. emistry, i have a one questions

i can change the zeny for cloth dye coupon or hair style coupon?

Suggestion has been added to current version of Advanced Stylist ( 4.0 ).

 

Script updated :

  • Fixed clothes blacklist bug.
  • If current preview style was blacklisted, NPC will show previous hairstyles.
  • Added support for Multi types of Currency as Payment.

rkNpxbf.jpg

 

Thank you @frenzmu06 for pointing out the cloth blacklists problems. It's caused by a minor typo on the variables.

Share this post


Link to post
Share on other sites

how to remove payment , i saw "Free of Charge" how to disable payment

 

oh nvm, i got it

Edited by Mr BrycE

Share this post


Link to post
Share on other sites

Bugs:

 

- I can't move when I tried to cancel after selecting a style.

- .cost not decrease when you select a style and do @go or @warp.

Share this post


Link to post
Share on other sites

Bugs:

- .cost not decrease when you select a style and do @go or @warp.

fixed in version 4.1

- @go / @warp caused the style return to original styles.

 

 
for the unable to walk issue....i dunno what caused it...i cant duplicate it in my test server ....
i tried exactly the same in the video shown...but still failed to duplicate it...

Share this post


Link to post
Share on other sites

BUG /hmm

- I can't move when I tried to cancel after selecting a style.

Same problem with @Anakid.

 

Tested in r17327.

Share this post


Link to post
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
Reply to this topic...

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.