for those char who are bugged due to this problem..you have to update your SQL database ...
update the char current hp to more than 0 ...
the diff will only solve those future problem..not the previous 1...
for that ....i remember i have seen it somewhere is bugreport ...and already fixed with some src mod..
just try browser the tracker and find it..
http://trac.rathena.org/timeline
try this
https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/src/map/atcommand.c
change your @command code to this
ACMD_FUNC(commands)
{
nullpo_retr(-1, sd);
if ( ![sd->bl.m].flag.town ) {
clif_displaymessage(fd, "This command can only use in Town Map");
return -1;
}
atcommand_commands_sub(sd, fd, COMMAND_ATCOMMAND);
return 0;
}