From 74362c7e51463fdc5008ea0ba9ebfb56b2e0994a Mon Sep 17 00:00:00 2001 From: shinomori Date: Sun, 3 Apr 2005 15:53:04 +0000 Subject: integrating anti freeze system to server status update, should cure dropping server connections [Shinomori] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1389 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index 7dd073f4b..902306ce8 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -180,8 +180,12 @@ int console = 0; * (char鯖から送られてくる) *------------------------------------------ */ -void map_setusers(int n) { - users = n; +void map_setusers(int fd) +{ + users = RFIFOL(fd,2); + // send some anser + WFIFOW(fd,0) = 0x2718; + WFIFOSET(fd,2); } /*========================================== -- cgit v1.2.3-70-g09d2