diff options
Diffstat (limited to 'src/echar')
-rw-r--r-- | src/echar/char.c | 3 | ||||
-rw-r--r-- | src/echar/char.h | 2 | ||||
-rw-r--r-- | src/echar/init.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/src/echar/char.c b/src/echar/char.c index efbe402..037aa05 100644 --- a/src/echar/char.c +++ b/src/echar/char.c @@ -124,6 +124,7 @@ void echar_creation_failed(int *fdPtr, int *result) /* 0x02 = Symbols in Character Names are forbidden */ /* 0x03 = You are not eligible to open the Character Slot. */ /* 0x0B = This service is only available for premium users. */ + /* 0x0C = Character name is invalid. */ switch (*result) { case -1: WFIFOB(fd, 2) = 0x00; break; // 'Charname already exists' @@ -176,7 +177,7 @@ void echar_parse_login_password_change_ack(int charFd) } } -void echar_mmo_char_send099d_post(int fd, struct char_session_data *sd) +void echar_send_HC_ACK_CHARINFO_PER_PAGE_post(int fd, struct char_session_data *sd) { send_additional_slots(fd, sd); } diff --git a/src/echar/char.h b/src/echar/char.h index 8726d93..708a558 100644 --- a/src/echar/char.h +++ b/src/echar/char.h @@ -13,7 +13,7 @@ void echar_parse_change_paassword(int fd); void echar_parse_login_password_change_ack(int charFd); -void echar_mmo_char_send099d_post(int fd, struct char_session_data *sd); +void echar_send_HC_ACK_CHARINFO_PER_PAGE_post(int fd, struct char_session_data *sd); int echar_mmo_char_send_characters_post(int retVal, int fd, struct char_session_data *sd); diff --git a/src/echar/init.c b/src/echar/init.c index d9f39c7..4e9faa6 100644 --- a/src/echar/init.c +++ b/src/echar/init.c @@ -61,7 +61,7 @@ HPExport void plugin_init (void) addHookPre(chr, creation_failed, echar_creation_failed); addHookPre(chr, parse_char_connect, echar_parse_char_connect_pre); - addHookPost(chr, mmo_char_send099d, echar_mmo_char_send099d_post); + addHookPost(chr, send_HC_ACK_CHARINFO_PER_PAGE, echar_send_HC_ACK_CHARINFO_PER_PAGE_post); addHookPost(chr, mmo_char_send_characters, echar_mmo_char_send_characters_post); addHookPost(chr, parse_char_connect, echar_parse_char_connect_post); } |