summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 74733b548..9513c7ea7 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -320,7 +320,7 @@ int chrif_changemapserverack(int account_id, int login_id1, int login_id2, int c
if (sd == NULL || sd->status.char_id != char_id)
return -1;
- if (login_id1 == 1) { //FIXME: charserver says '0'!
+ if (login_id1 == 1) { //FIXME: charserver says '0'! [ultramage]
if (battle_config.error_log)
ShowError("map server change failed.\n");
clif_authfail_fd(sd->fd, 0);
@@ -507,6 +507,7 @@ int auth_db_cleanup(int tid, unsigned int tick, int id, int data)
return 0;
}
+
/*==========================================
*
*------------------------------------------*/
@@ -929,7 +930,8 @@ int chrif_reloadGMdb(void)
*------------------------------------------*/
int chrif_recvgmaccounts(int fd)
{
- ShowInfo("From login-server: receiving information of '"CL_WHITE"%d"CL_RESET"' GM accounts.\n", pc_read_gm_account(fd));
+ int nAccounts = pc_read_gm_account(fd);
+ ShowInfo("From login-server: receiving information of '"CL_WHITE"%d"CL_RESET"' GM accounts.\n", nAccounts);
return 0;
}
@@ -1288,6 +1290,8 @@ int chrif_parse(int fd)
if ((int)RFIFOREST(fd) < packet_len)
return 0;
+ //ShowDebug("Received packet 0x%4x (%d bytes) from char-server (connection %d)\n", RFIFOW(fd,0), packet_len, fd);
+
switch(cmd)
{
case 0x2af9: chrif_connectack(fd); break;