diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-09 21:44:29 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-09 21:44:29 +0000 |
commit | b397f7c6615f68f044100168eeaf157f6c60227c (patch) | |
tree | 5842a6059f35ec329fedc8970e4151ace6f3ec71 /src/map/chrif.h | |
parent | 5b05a6ab3e2831fcf3a4fc68f746dc29edff6339 (diff) | |
download | hercules-b397f7c6615f68f044100168eeaf157f6c60227c.tar.gz hercules-b397f7c6615f68f044100168eeaf157f6c60227c.tar.bz2 hercules-b397f7c6615f68f044100168eeaf157f6c60227c.tar.xz hercules-b397f7c6615f68f044100168eeaf157f6c60227c.zip |
* Re-worked the login-char-map packet spam mechanism
- mapserver no longer sends entire user list to charserver every 10 seconds; similar change done to the char-login connection
- user count updates are only sent when the value actually changes instead of servers polling each other every few seconds
- the servers now prevent interserver connection timeout explicitly by sending ping/ack packet pairs instead of relying on the usercount polling to do so; keepalive is sent every 'stall_time'-2 seconds
- removed the @refreshonline command as refresh happens automatically every 5 seconds
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11703 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.h')
-rw-r--r-- | src/map/chrif.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chrif.h b/src/map/chrif.h index 71f402233..1ae274f57 100644 --- a/src/map/chrif.h +++ b/src/map/chrif.h @@ -44,7 +44,7 @@ int chrif_save_scdata(struct map_session_data *sd); int chrif_ragsrvinfo(int base_rate,int job_rate, int drop_rate); int chrif_char_offline(struct map_session_data *sd); int chrif_char_reset_offline(void); -int send_users_tochar(int tid, unsigned int tick, int id, int data); +int send_users_tochar(void); int chrif_char_online(struct map_session_data *sd); int chrif_changesex(int id, int sex); int chrif_chardisconnect(struct map_session_data *sd); |