From 7d4c817f696f68310adf7f13647355adb8ef12b3 Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Fri, 3 Oct 2008 16:30:41 +0000 Subject: * Fix for "yet another online check bypass technique". (bugreport:2292) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13256 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 2 ++ src/char/char.c | 3 ++- src/char_sql/char.c | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 43c34cd9a..03d0b9461 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -3,6 +3,8 @@ Date Added AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. +2008/10/03 + * Fix for "yet another online check bypass technique". (bugreport:2292) [FlavioJS] 2008/10/01 * Rev. 13252 Kaupe will now trigger from mobs, homuns and mercenaries, as well. (bugreport:2297) [L0ne_W0lf] * Rev. 13251 Removed 'casttime' adjustment from offensive ressurection. Follow up to r13225. [L0ne_W0lf] diff --git a/src/char/char.c b/src/char/char.c index 52d53e64f..dbd54fe6d 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -2295,10 +2295,11 @@ int parse_fromlogin(int fd) WFIFOSET(i,3); set_eof(i); } - else //Shouldn't happen, but just in case. + else // still moving to the map-server set_char_offline(-1, aid); } } + idb_remove(auth_db, aid);// reject auth attempts from map-server } break; diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 93a7563d2..bc934216a 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -1904,10 +1904,11 @@ int parse_fromlogin(int fd) WFIFOSET(i,3); set_eof(i); } - else //Shouldn't happen, but just in case. + else // still moving to the map-server set_char_offline(-1, aid); } } + idb_remove(auth_db, aid);// reject auth attempts from map-server } break; -- cgit v1.2.3-70-g09d2