Jump to content
kanashiroakira

Utility: Super Stylist (Dress Room Required)

Recommended Posts

This script is usable but it needs some adjustment.

You could use scope variables ([email protected]) 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

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

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

^ 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

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

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

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

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.