Issue information

Issue ID
#1492
Status
Unable to Reproduce
Severity
None
Started
Hercules Elf Bot
May 11, 2008 5:53
Last Post
Hercules Elf Bot
Jun 23, 2012 9:43
Confirmation
N/A

Hercules Elf Bot - May 11, 2008 5:53

Originally posted by [b]Inkfish[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1492

as reported in #1391, using script command 'atcommand "@changesex"' or 'charcommand "#changesex name"' crashes mapserver.
Though it is said the bug has been fixed, it still crash my server with stabel 12687.
I think what's fixed is 'the script command "changesex" does nothing'.
The changesex command really does work now, but 'atcommand "@changesex"' still remains a bug.

CODE
int atcommand_changesex(const int fd, struct map_session_data* sd, const char* command, const char* message)
{
    nullpo_retr(-1, sd);
    chrif_changesex(sd);
    return 0;
}


CODE
int atcommand_changesex(const int fd, struct map_session_data* sd, const char* command, const char* message)
{
    nullpo_retr(-1, sd);
    chrif_char_ask_name(sd->status.account_id,sd->status.name, 5,0,0,0,0,0,0);
    return 0;
}

Hercules Elf Bot - Jan 1, 2012 21:46

Originally posted by [b]Xantara[/b]
[b]Unable to reproduce[/b] on r15348. Probably fixed in an earlier revision.