Issue information

Issue ID
#6882
Status
Invalid
Severity
None
Started
Hercules Elf Bot
Nov 11, 2012 9:08
Last Post
Hercules Elf Bot
Nov 12, 2012 3:56
Confirmation
Yes (0)
No (2)

Hercules Elf Bot - Nov 11, 2012 9:08

Originally posted by [b]Arcenciel[/b]
@hstyle goes beyond the max that is defined in client.conf.

Is this intended behavior or not? It's pretty weird to have it as an intend behavior since it can cause client crashes x hairstyle isn't available client side.

Exploitable too on servers that allow the use of the command.

This post has been edited by Arcenciel on Nov 11, 2012 9:08

Hercules Elf Bot - Nov 11, 2012 19:26

Originally posted by [b]mkbu95[/b]
What do you mean?
@hstyle here works fine, it respects what is set on client.conf
Tested with latest revision.

Hercules Elf Bot - Nov 11, 2012 19:37

Originally posted by [b]Brian[/b]
I was not able to reproduce this either.

The check is there in [svn=trunk/src/map/atcommand.c]
[codebox] if (hair_style >= MIN_HAIR_STYLE && hair_style <= MAX_HAIR_STYLE) {
pc_changelook(sd, LOOK_HAIR, hair_style);
clif_displaymessage(fd, msg_txt(36)); // Appearence changed.
} else {
clif_displaymessage(fd, msg_txt(37)); // An invalid number was specified.
return -1;
}[/codebox]

Hercules Elf Bot - Nov 11, 2012 19:59

Originally posted by [b]Arcenciel[/b]
Max defined hairstyle is 27. Use @hstyle 28 in game and boom client crash.

I'm using the following client side:

[color=#282828][font=helvetica, arial, sans-serif]2012-04-10 [/font][/color][b]DIFFED[/b][color=#282828][font=helvetica, arial, sans-serif] - [/font][/color][url="http://supportmii.com/ro1/Clients/ClientSideArea/2012_04_10/2012-04-10aRagexeRE_S.exe.patched.exe"]http://supportmii.co...exe.patched.exe[/url]

http://rathena.org/board/topic/70962-recommended-client-setup/

I'll try this again later once I diff my own client.

This post has been edited by Arcenciel on Nov 11, 2012 20:00

Hercules Elf Bot - Nov 12, 2012 0:16

Originally posted by [b]mkbu95[/b]
Using 2012-04-10 as well, @hstyle 28 tells me the values is out of range (that should be between 0-27)

Hercules Elf Bot - Nov 12, 2012 3:56

Originally posted by [b]Arcenciel[/b]
Oh herp derp. I copied over my import folder from an older rA folder and completely forgot bout me setting something there.

Sorry for wasting ya'lls time.