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