diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-22 08:50:36 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-22 08:50:36 +0000 |
commit | b219bc963c87f335cd9c0edd9114982b8e02f4aa (patch) | |
tree | e01eaab0b8c477fd9ce0f292bec10864cbc63ab4 /src/char | |
parent | 23aa6d218ca1c69f234725f5d78aae1f42e326db (diff) | |
download | hercules-b219bc963c87f335cd9c0edd9114982b8e02f4aa.tar.gz hercules-b219bc963c87f335cd9c0edd9114982b8e02f4aa.tar.bz2 hercules-b219bc963c87f335cd9c0edd9114982b8e02f4aa.tar.xz hercules-b219bc963c87f335cd9c0edd9114982b8e02f4aa.zip |
* [Fixed]:
- Compilation warnings and errors.
[Improved]:
- Changed and moved IP sync status messages to elaborate more.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7290 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char')
-rw-r--r-- | src/char/char.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/char.c b/src/char/char.c index d0c13c105..9ee40416e 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -2290,9 +2290,9 @@ int parse_tologin(int fd) { case 0x2735:
{
unsigned char ip[4];
- ShowInfo("IP Sync in progress...\n");
if (char_server_dns && resolve_hostbyname(char_server_dns, ip, NULL))
{
+ ShowInfo("IP Sync [%s] in progress...\n",char_server_dns);
WFIFOW(fd,0) = 0x2736;
WFIFOB(fd,2) = ip[0];
WFIFOB(fd,3) = ip[1];
@@ -3073,7 +3073,7 @@ int parse_frommap(int fd) { case 0x2736:
for(i = 0; i < MAX_MAP_SERVERS; i++){
if(server_fd[i] == fd){
- ShowInfo("IP Sync (Server #%d) successful.\n",i);
+ ShowInfo("IP Sync (Server #%d %d.%d.%d.%d) successful.\n",i,(int)RFIFOB(fd,2),(int)RFIFOB(fd,3),(int)RFIFOB(fd,4),(int)RFIFOB(fd,5));
server[i].ip = RFIFOL(fd, 2);
}
}
|