diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-04 00:02:10 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-04 00:02:10 -0600 |
commit | cd89ede064c63cb43da0fb4bfa16ff1599a96d32 (patch) | |
tree | 8d4efd373e3e31f8584e7f33c7a4a6e60f23eb15 /src/net/ea/loginhandler.cpp | |
parent | ca40dfd64338d5608e7836928b2eaa1648ae7caf (diff) | |
download | mana-cd89ede064c63cb43da0fb4bfa16ff1599a96d32.tar.gz mana-cd89ede064c63cb43da0fb4bfa16ff1599a96d32.tar.bz2 mana-cd89ede064c63cb43da0fb4bfa16ff1599a96d32.tar.xz mana-cd89ede064c63cb43da0fb4bfa16ff1599a96d32.zip |
Fix char-server default selection to be first
Also send a different version to the login-server to tell it to send the
main char-server first.
Diffstat (limited to 'src/net/ea/loginhandler.cpp')
-rw-r--r-- | src/net/ea/loginhandler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp index 40bfb364..b657bb1c 100644 --- a/src/net/ea/loginhandler.cpp +++ b/src/net/ea/loginhandler.cpp @@ -191,11 +191,11 @@ void LoginHandler::sendLoginRegister(const std::string &username, /* * eAthena calls the last byte "client version 2", but it isn't used at - * at all. We're retasking it, with bit 0 to indicate whether the client - * can handle the 0x63 "update host" packet. Clients prior to 0.0.25 send - * 0 here. + * at all. We're retasking it, as a bit mask: + * 0 - can handle the 0x63 "update host" packet + * 1 - defaults to the first char-server (instead of the last) */ - outMsg.writeInt8(0x01); + outMsg.writeInt8(0x03); } } // namespace EAthena |