Jump to content

Utility: Super Stylist (Dress Room Required)


Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   9
  • Joined:  01/24/14
  • Last Seen:  

Super Stylist (Dress Room Required)

View File

This' my very first work if any bug contact me and i'll try to fix :)


 

  • Upvote 4
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  

This script is usable but it needs some adjustment.

You could use scope variables (.@) instead of temporary char variable (@).

The class checking part for 3rd classes could be changed to utilize eA job system and add a blacklist of class instead.

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  64
  • Reputation:   3
  • Joined:  04/17/15
  • Last Seen:  

Oh my . . . Oh my . . . This really cool!!! I will try it!!! Thanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   9
  • Joined:  01/24/14
  • Last Seen:  

Thanks for the suggestions I'll try it

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   9
  • Joined:  10/27/15
  • Last Seen:  

It's Awesome! Thank You!

Just configure the file : jobDressList.lub  in data/luafiles514/ lua files/dressroom/ and Voy'La!

  • Upvote 2
Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   4
  • Joined:  04/15/16
  • Last Seen:  

does it have specific client? can this work on  2013 client?

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   1
  • Joined:  03/04/17
  • Last Seen:  

I'm trying to run your super stylist NPC in my rAthena server, but when I select "open dress room", it crashes. 

Can you please tell me how to make it work? What I need to download/set up?

Best,

Gabriel.

stylistbug.png

stylistbug2.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   1
  • Joined:  07/07/16
  • Last Seen:  

On 2017/3/12 at 8:36 PM, klesler said:

I'm trying to run your super stylist NPC in my rAthena server, but when I select "open dress room", it crashes. 

Can you please tell me how to make it work? What I need to download/set up?

Best,

Gabriel.

stylistbug.png

stylistbug2.png

download this 

http://herc.ws/board/files/file/230-dress-pack/

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   1
  • Joined:  03/04/17
  • Last Seen:  

Thanks, solved :)

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   15
  • Joined:  01/26/12
  • Last Seen:  

FYI BodyStyle change does not work.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  76
  • Reputation:   4
  • Joined:  11/15/11
  • Last Seen:  

^ use the 1st version works better also has blacklist though the script is a bit messy than the latest version 

Edited by randell1993
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   15
  • Joined:  01/26/12
  • Last Seen:  

the second version works fine problem is it will say my class is not available for bodystyle.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  76
  • Reputation:   4
  • Joined:  11/15/11
  • Last Seen:  

^ that's what im saying the script that checks the blacklist is bugged but the first doesn't have that problem.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   15
  • Joined:  01/26/12
  • Last Seen:  

the fist one doesnt work on latest rA maybe someone can fix the blacklist. for us

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  76
  • Reputation:   4
  • Joined:  11/15/11
  • Last Seen:  

Ohh it doesn't? Its a quick fix copy the case4: from version 1 and the blacklist function found on the top of 1st script then place it on the same place 

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   1
  • Joined:  07/15/12
  • Last Seen:  

The list is empty :(
dressroom lua and lub files are OK.
 

2017-06-30-02-41-33-4943920.jpg

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   1
  • Joined:  05/17/12
  • Last Seen:  

On 6/30/2017 at 1:44 PM, Lordok said:

The list is empty :(
dressroom lua and lub files are OK.
 

2017-06-30-02-41-33-4943920.jpg

same to me

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  76
  • Reputation:   4
  • Joined:  11/15/11
  • Last Seen:  

the dressroom lua files should be at Data/luafiles514/lua files/dressroom/

 

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   11
  • Joined:  07/19/17
  • Last Seen:  

Hi, how i can use it? i try talk to npc superstylist but not open any window..

59897a5eecc5a_8-8-20175.8_492.jpg.db5edede1498e0e5f1eb9a574374dc21.jpg59897b04c4ebb_8-8-20175.8_375.jpg.a96fea16284e749f90e291de24f95f43.jpg. 59897ae770834_8-8-20175.8_211.jpg.b02b700d90028832a8aea381396d735b.jpg

 

and the scrips of http://herc.ws/board/files/file/230-dress-pack/ is crash! the game is close... Somebody can help me please?

Edited by Vicious
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   11
  • Joined:  07/19/17
  • Last Seen:  

Is crash too... what am i doing wrong?

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  72
  • Reputation:   3
  • Joined:  05/01/15
  • Last Seen:  

On 30/6/2560 at 1:44 PM, Lordok said:

The list is empty :(
dressroom lua and lub files are OK.
 

2017-06-30-02-41-33-4943920.jpg

now u can fixed ???

i use 2017-05-17aRagexeRE

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   11
  • Joined:  07/19/17
  • Last Seen:  

Hi, I test this version of stylist but do not let me put any outfit... all 3rds jobs say me "this service is not available for... (any 3rd job)"

Spoiler

59a98abe9cbf4_1-9-201713.9_218.gif.f549da3d4cd56abc597bf93536954eb4.gif59a98ad8492bc_1-9-201713.9_247.gif.31e1b08df1c9555b1b91cb54f9da669f.gif59a98a6934b49_1-9-201713.9_526.gif.b3757d48e035eb2f67b493847a97e0fa.gif

How to fix this?

Link to comment
Share on other sites

  • 4 months later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  10/12/15
  • Last Seen:  

change line 114 from:

 

if (.@eac&EAJ_THIRD && !.@blacklist) {

to

if (.@eac&EAJL_THIRD && !.@blacklist) {

 

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   1
  • Joined:  05/04/15
  • Last Seen:  

On 30/06/2017 at 3:44 AM, Lordok said:

The list is empty :(
dressroom lua and lub files are OK.
 

2017-06-30-02-41-33-4943920.jpg

Guess I am a bit late but I found a fix for this issue. It worked for me and hopefully it will work for everyone else as well.

In luafiles514\dressroom I just altered the files dress_f.lub and jobdresslist.lub to the following:


dress_f.lub:

function _get_dresslist(sex, job, index)
	if 0 == sex then
		if nil == _DressList_f[job] then
			return nil, nil
		end
		if nil == _DressList_f[job][index] then
			return nil, nil
		end
		return _DressList_f[job][index][1], _DressList_f[job][index][2]
	else
		if nil == _DressList_m[job] then
			return nil, nil
		end
		if nil == _DressList_m[job][index] then
			return nil, nil
		end
		return _DressList_m[job][index][1], _DressList_m[job][index][2]
	end
end

function _get_Headstylelist(sex, index)
	if 0 == sex then
		if nil == _DressHeadstyleList_f[index] then
			return nil, nil
		end
		return _DressHeadstyleList_f[index][1], _DressHeadstyleList_f[index][2]
	else
		if nil == _DressHeadstyleList_m[index] then
			return nil, nil
		end
		return _DressHeadstyleList_m[index][1], _DressHeadstyleList_m[index][2]
	end
end

function _get_DressHeadPaletteList(sex, index)
	if 0 == sex then
		if nil == _DressHeadPaletteList_f[index] then
			return nil, nil
		end
		return _DressHeadPaletteList_f[index][1], _DressHeadPaletteList_f[index][2]
	else
		if nil == _DressHeadPaletteList_m[index] then
			return nil, nil
		end
		return _DressHeadPaletteList_m[index][1], _DressHeadPaletteList_m[index][2]
	end
end

function _get_DressBodyPaletteList(sex, index)
	if 0 == sex then
		if nil == _DressBodyPaletteList_f[index] then
			return nil, nil
		end
		return _DressBodyPaletteList_f[index][1], _DressBodyPaletteList_f[index][2]
	else
		if nil == _DressBodyPaletteList_m[index] then
			return nil, nil
		end
		return _DressBodyPaletteList_m[index][1], _DressBodyPaletteList_m[index][2]
	end
end


jobdresslist.lub:

_DressHeadPaletteList_f = {
	{ "(0) Basic", 0 },
	{ "(1) Yellow", 1 },
	{ "(2) Purple", 2 },
	{ "(3) Crimson", 3 },
	{ "(4) Green", 4 },
	{ "(5) Blue", 5 },
	{ "(6) White", 6 },
	{ "(7) Black", 7 },
	{ "(8) Red", 8 }
}
_DressHeadPaletteList_m = {
	{ "(0) Basic", 0 },
	{ "(1) Yellow", 1 },
	{ "(2) Purple", 2 },
	{ "(3) Crimson", 3 },
	{ "(4) Green", 4 },
	{ "(5) Blue", 5 },
	{ "(6) White", 6 },
	{ "(7) Black", 7 },
	{ "(8) Red", 8 }
}
_DressBodyPaletteList_f = {
	{ "(0) Default color", 0 },
	{ "(1) Extra color[(1st)", 2 },
	{ "(2) Extra color[(2nd)", 3 }
}
_DressBodyPaletteList_m = {
	{ "(0) Default color", 0 },
	{ "(1) Extra color[(1st)", 2 },
	{ "(2) Extra color[(2nd)", 3 }
}
_DressHeadstyleList_f = {
	{ "(1) First Aid", 1 },
	{ "(2) Bash", 2 },
	{ "(3) Frost Diver", 3 },
	{ "(4) Arrow Shower", 4 },
	{ "(5) Heal", 5 },
	{ "(6) Vending", 6 },
	{ "(7) Double Attack", 7 },
	{ "(8) Gloria", 8 },
	{ "(9) Increase SP Recovery", 9 },
	{ "(10) Pharmacy", 10 },
	{ "(11) Grand Cross", 11 },
	{ "(12) Clone skill", 12 },
	{ "(13) Despair", 13 },
	{ "(14) Service For You", 14 },
	{ "(15) Auto Counter", 15 },
	{ "(16) Ankle Snare", 16 },
	{ "(17) Hammer Fall", 17 },
	{ "(18) Jupitel Thunder", 18 },
	{ "(19) Violent Gale", 19 },
	{ "(20) Spring Rabbit", 20 },
	{ "(21) Harpy", 21 },
	{ "(22) Medusa", 22 },
	{ "(23) Isis", 23 },
	{ "(24) Asumptio", 24 },
	{ "(25) Soul Change", 25 },
	{ "(26) Axe Tornado", 26 },
	{ "(27) Oratio", 27 },
	{ "(28) Special Magic Volume", 28 },
	{ "(29) Dry Season Four", 29 }
}
_DressHeadstyleList_m = {
	{ "(1) Play Dead", 1 },
	{ "(2) Two-Handed Sword Mastery", 2 },
	{ "(3) Napalm Beat", 3 },
	{ "(4) Double Strafing", 4 },
	{ "(5) Angelus", 5 },
	{ "(6) Push Cart", 6 },
	{ "(7) Envenom", 7 },
	{ "(8) Bowling Bash", 8 },
	{ "(9) Venom Dust", 9 },
	{ "(10) Turn Undead", 10 },
	{ "(11) Dragonology", 11 },
	{ "(12) Mace Mastery", 12 },
	{ "(13) Thunderstorm", 13 },
	{ "(14) Encore", 14 },
	{ "(15) Grim Tooth", 15 },
	{ "(16) Blitz Beat", 16 },
	{ "(17) Ore Discovery", 17 },
	{ "(18) Fire Pillar", 18 },
	{ "(19) Asura Strike", 19 },
	{ "(20) Petite", 20 },
	{ "(21) Executioner", 21 },
	{ "(22) Prince", 22 },
	{ "(23) Deviace", 23 },
	{ "(24) Sword Mastery", 24 },
	{ "(25) Desperado", 25 },
	{ "(26) Power Swing", 26 },
	{ "(27) Renovatio", 27 },
	{ "(28) Chevalier Special", 28 },
	{ "(29) Tornado Vulkan", 29 }
}
_DressList_f = {
	[4060] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4061] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4062] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4063] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4064] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4065] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4073] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4074] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4075] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4076] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4077] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4078] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4079] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4096] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4097] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4098] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4099] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4100] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4101] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4102] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4103] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4104] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4105] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4106] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4107] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4108] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	}
}
_DressList_m = {
	[4060] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4061] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4062] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4063] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4064] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4065] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4073] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4074] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4075] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4076] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4077] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4078] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4079] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4096] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4097] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4098] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4099] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4100] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4101] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4102] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4103] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4104] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4105] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4106] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4107] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	},
	[4108] = {
		{ "(0) Basic", 0 },
		{ "(1) Second Costume", 1 }
	}
}

But nevertheless, thank you @kanashiroakira for this beautiful NPC!

  • Upvote 1
Link to comment
Share on other sites

  • 5 years later...

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.01
  • Content Count:  15
  • Reputation:   10
  • Joined:  06/28/23
  • Last Seen:  

For everyone who want to use it with newer clients and bodystyle change doesn't work:
You need to blacklist other classes otherwise client will crash. Also the script has an error at row number 114 - there should be "EAJ_THIRDMASK" not "EAJ_THIRD".
This is corrected script by me and it's working (tested). Of course you must also add alternative outfits into GRF and edit your .lub files:
 

prontera,162,184,4    script    Super Stylist    509,{
    doevent "super_stylist_main::OnTalk";
}


-    script    super_stylist_main    -1,{
    OnTalk:
        .@eac = eaclass();
        .@gm_level = getgmlevel();
    cutin "prm_1",2;
    mes "^FF0000[ Super Stylist - Introduction ]^000000";
    mes "Hi "+strcharinfo(0)+", I'm [LoNRO]'s super stylist.";
    mes "I can change your character appearance ";
    switch (select(
        "Open Dress Room",
        "Cancel"
    )) {
        case 1:
            next;
            opendressroom(0);

            Lmain:
                mes "^FF0000[ Super Stylist - Dress Room ]^000000";
                mes "Ok, use the dress room to pick a style";
                switch (select(
                    "Change Hairstyle",
                    "Change Hairdye",
                    "Change Cloth Color",
                    "Change Bodystyle"
                )) {
                    case 1:
                        set .@hairstylemin,getBattleFlag("min_hair_style");
                        if (.@eac != EAJL_SUMMONER) {
                        set .@hairstylemaxf,97;
                        set .@hairstylemaxm,82;
                        } else {
                            set .@hairstylemaxf,6;
                            set .@hairstylemaxm,6;
                        }
                        next;
                        mes "^FF0000[ Super Stylist - Hairstyle ]^000000";
                        mes "Insert a hairstyle number";
                        if (Sex) {
                            mes "Hairstyles: " +.@hairstylemin+ " to " +.@hairstylemaxm;
                        } else {
                            mes "Hairstyles: " +.@hairstylemin+ " to " +.@hairstylemaxf;
                        }
                        input .@hairstyle;
                        if (Sex) {
                            if (.@hairstyle < .@hairstylemin || .@hairstyle > .@hairstylemaxm) {
                            set .@hairstyle,0;
                            }
                        } else {
                            if (.@hairstyle < .@hairstylemin || .@hairstyle > .@hairstylemaxf) {
                            set .@hairstyle,0;
                            }
                        }
                        setlook LOOK_HAIR,.@hairstyle;
                        next;
                        break;
                    case 2:
                        next;
                        set .@hairdyemin,getBattleFlag("min_hair_color");
                        set .@hairdyemax,getBattleFlag("max_hair_color");
                        mes "^FF0000[ Super Stylist - Hairdye ]^000000";
                        mes "Insert a hairdye number";
                        mes "Hairdyes: " +.@hairdyemin+ " to " +.@hairdyemax;
                        input .@hairdye;
                        if (.@hairdye < .@hairdyemin || .@hairdye > .@hairdyemax) {
                        set .@hairdye,0;
                        }
                        setlook LOOK_HAIR_COLOR,.@hairdye;
                        next;
                        break;
                    case 3:
                        next;
                        set .@clothcolormin,getBattleFlag("min_cloth_color");
                        set .@clothcolormax,getBattleFlag("max_cloth_color");
                        mes "^FF0000[ Super Stylist - Cloth Color ]^000000";
                        mes "Insert a cloth color number";
                        mes "Cloth Colors: " +.@clothcolormin+ " to " +.@clothcolormax;
                        input .@clothcolor;
                        if (.@clothcolor < .@clothcolormin || .@clothcolor > .@clothcolormax) {
                        set .@clothcolor,0;
                        }
                        setlook LOOK_CLOTHES_COLOR,.@clothcolor;
                        next;
                        break;
                    case 4:
                        next;
                        set .@blacklist,roclass(.@eac&EAJ_THIRDMASK) == 0 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 1 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 2 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 3 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 5 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 6 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 7 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 8 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 9 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 10 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 11 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 12 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 13 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 14 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 15 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 16 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 17 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 18 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 19 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 20 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4001 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4002 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4003 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4004 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4005 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4006 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4007 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4008 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4009 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4010 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4011 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4012 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4013 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4014 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4015 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4016 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4017 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4018 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4019 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4020 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4021 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 23 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 24 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 25 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4045 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4046 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4047 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4049 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4190 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4191 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4211 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4212 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4215 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4218 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4239 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4240 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4302 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4303 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4304 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4305 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4306 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4307 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4308 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4023 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4024 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4025 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4026 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4027 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4028 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4029 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4030 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4031 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4032 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4032 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4033 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4034 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4035 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4036 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4037 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4038 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4039 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4040 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4041 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4042 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4043 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4220 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4222 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4223 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4224 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4225 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4226 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4227 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4228 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4229 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4241 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4242 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4028 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4029 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4030 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4031 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4032 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4032 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4033 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4034 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4035 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4036 ||
                                        roclass(.@eac&EAJ_THIRDMASK) == 4037;
                        if (.@eac&EAJ_THIRDMASK && !.@blacklist) {                         
                            mes "^FF0000[ Super Stylist - Bodystyle ]^000000";
                            mes "Insert a bodystyle number";
                            mes "Bodystyles: 0 to 1";
                            input .@bodystyle;
                            if (.@bodystyle < 0 || .@bodystyle > 1) {
                                set .@bodystyle,0;
                            }
                            setlook LOOK_BODY2,.@bodystyle;
                            next;
                            break;
                        } else {
                            mes "This service isn't avaible for " +jobname(roclass(.@eac));
                            next;
                            break;
                        }
                }
                goto Lmain;
        case 2:
            break;
    }
    cutin "",255;
    close2;
    end;
}

Anyways, i also thank you for the original script. ^^

EDIT: Also be careful when changing colors and alt outfits. If you haven't got matched color palettes in your GRF for outfits you will also crash.

Edited by Velda
  • Upvote 1
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...