Jump to content

Utility: Advanced Stylist


Emistry

Recommended Posts


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

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

now i am using it. thx alot emistry :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   47
  • Joined:  04/01/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

great!!  /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  197
  • Reputation:   13
  • Joined:  05/14/12
  • Last Seen:  

nice script sir emistry +10

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  315
  • Reputation:   12
  • Joined:  11/21/11
  • Last Seen:  

thx sr. emistry, i have a one questions

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

Link to comment
Share on other sites


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

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  315
  • Reputation:   12
  • Joined:  11/21/11
  • Last Seen:  

Emistry

Ok sr, thx

xD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  231
  • Reputation:   9
  • Joined:  12/16/11
  • Last Seen:  

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

Link to comment
Share on other sites


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

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"

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  231
  • Reputation:   9
  • Joined:  12/16/11
  • Last Seen:  

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

Edited by Frost_
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   47
  • Joined:  04/01/12
  • Last Seen:  

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?

Link to comment
Share on other sites


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

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";

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   47
  • Joined:  04/01/12
  • Last Seen:  

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?

Link to comment
Share on other sites


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

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. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  197
  • Reputation:   13
  • Joined:  05/14/12
  • Last Seen:  

Sir Emistry is this compatible also with eathena? or 3ceam?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   47
  • Joined:  04/01/12
  • Last Seen:  

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
Link to comment
Share on other sites


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

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  315
  • Reputation:   12
  • Joined:  11/21/11
  • Last Seen:  

@Emistry

 

Whoaaa!! great!!
thx mr emistry for add multiple payment items.

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

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

 

oh nvm, i got it

Edited by Mr BrycE
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

Link to comment
Share on other sites


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

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...
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

BUG /hmm

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

Same problem with @Anakid.

 

Tested in r17327.

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