mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 12:34:55 +02:00
Added latest protocol/client support for cipservers
This commit is contained in:
@@ -1374,7 +1374,7 @@ void Game::setProtocolVersion(int version)
|
||||
if(isOnline())
|
||||
stdext::throw_exception("Unable to change protocol version while online");
|
||||
|
||||
if(version != 0 && (version < 810 || version > 973))
|
||||
if(version != 0 && (version < 810 || version > 974))
|
||||
stdext::throw_exception(stdext::format("Protocol version %d not supported", version));
|
||||
|
||||
m_features.reset();
|
||||
@@ -1453,7 +1453,7 @@ void Game::setClientVersion(int version)
|
||||
if(isOnline())
|
||||
stdext::throw_exception("Unable to change client version while online");
|
||||
|
||||
if(version != 0 && (version < 810 || version > 981))
|
||||
if(version != 0 && (version < 810 || version > 982))
|
||||
stdext::throw_exception(stdext::format("Client version %d not supported", version));
|
||||
|
||||
m_clientVersion = version;
|
||||
|
Reference in New Issue
Block a user