Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #001492

  • 0 - None Assigned

  • Unable To Reproduce

Issue Confirmations

  • Yes (0)No (0)
Photo

Changesex Crashing Mapserver Not Fixed

Posted by Hercules Bot on 11 May 2008 - 05:53 AM

Originally posted by Inkfish
http://www.eathena.w...er&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;
}

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