Issue information

Issue ID
#5539
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Apr 2, 2012 12:39
Last Post
Hercules Elf Bot
Apr 18, 2012 9:37
Confirmation
N/A

Hercules Elf Bot - Apr 2, 2012 12:39

Originally posted by [b]Napster[/b]
Brirhday defalut 0000-00-00 can delete characters

but

defind birthday 1234-56-78 (sample) can't match and can't delete characters

[CODE]
ShowInfo(CL_RED"Request Char Deletion: "CL_GREEN"%d (%d)"CL_RESET"\n", sd->account_id, char_id);
// construct "YY-MM-DD"
birthdate[0] = RFIFOB(fd,6);
birthdate[1] = RFIFOB(fd,7);
birthdate[2] = '-';
birthdate[3] = RFIFOB(fd,8);
birthdate[4] = RFIFOB(fd,9);
birthdate[5] = '-';
birthdate[6] = RFIFOB(fd,10);
birthdate[7] = RFIFOB(fd,11);
birthdate[8] = 0;
[/CODE]

Hercules Elf Bot - Apr 2, 2012 13:40

Originally posted by [b]Rozeniiz[/b]
YYYY-MM-DD in SQL but when you delete char you must insert YY-MM-DD

Example in SQL 1990-01-25

When Delete 90-01-25

Hercules Elf Bot - Apr 2, 2012 14:56

Originally posted by [b]Napster[/b]
oh thx