diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-01-24 14:16:19 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-01-24 14:16:23 +0100 |
commit | 8fdbae08d7f269c72889f89b56493071a2279350 (patch) | |
tree | eea28fab6b4e04e328730504d73c874ba9829713 /src/net | |
parent | ee0439f5d1832dbf5460a2e4bf1408b4ae4678bc (diff) | |
download | mana-8fdbae08d7f269c72889f89b56493071a2279350.tar.gz mana-8fdbae08d7f269c72889f89b56493071a2279350.tar.bz2 mana-8fdbae08d7f269c72889f89b56493071a2279350.tar.xz mana-8fdbae08d7f269c72889f89b56493071a2279350.zip |
Increased client version to 20
It is unclear whether there are any protocol differences that should be
dealt with at this point, but without this the login fails with "Client
too old." error.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tmwa/loginhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp index 51c757cc..77b545fd 100644 --- a/src/net/tmwa/loginhandler.cpp +++ b/src/net/tmwa/loginhandler.cpp @@ -298,7 +298,7 @@ void LoginHandler::sendLoginRegister(const std::string &username, const std::string &password) { MessageOut outMsg(0x0064); - outMsg.writeInt32(0); // client version + outMsg.writeInt32(20); // client version outMsg.writeString(username, 24); outMsg.writeString(password, 24); |