53 const int len =
msg.readInt16(
"len") - 4;
59 logger->
log1(
"Warning: incorrect update server name");
63 logger->
log(
"Received update host \"%s\" from login server.",
69 const uint8_t code =
msg.readUInt8(
"error");
71 std::string date =
msg.readString(20,
"date");
95 "the game. Please contact the GM team.");
100 "Please update client on http://manaplus.org");
105 "banned from the game until %s.\nPlease contact the GM "
106 "team via the forums."), date.c_str());
void setState(const StateT state)
void log(const char *const log_text,...)
void log1(const char *const log_text)
static std::string savedPassword
bool msg(InputEvent &event)
void processLoginError(Net::MessageIn &msg)
bool mRegistrationEnabled
void processUpdateHost(Net::MessageIn &msg)
bool checkPath(const std::string &path)
std::string strprintf(const char *const format,...)
std::vector< WorldInfo * > Worlds