change proto ver
This commit is contained in:
@@ -16,8 +16,9 @@ namespace SharedConstants
|
||||
{
|
||||
// 0.5.0 uses NPv8
|
||||
// 0.6.0 uses NPv9
|
||||
const int NetworkProtocolVersion = 9;
|
||||
const int NetworkProtocolLowestSupportedVersion = 9;
|
||||
// TODO: Better proto check
|
||||
const int NetworkProtocolVersion = 10;
|
||||
const int NetworkProtocolLowestSupportedVersion = 10;
|
||||
const int GameProtocolVersion = 1;
|
||||
const int GameProtocolLowestSupportedVersion = 1;
|
||||
|
||||
|
||||
@@ -179,7 +179,8 @@ void ServerSideNetworkHandler::handle(const RakNet::RakNetGUID& source, LoginPac
|
||||
if (!_allowIncoming) return;
|
||||
|
||||
LOGI("LoginPacket\n");
|
||||
|
||||
|
||||
printf("%d", packet->clientNetworkVersion);
|
||||
int loginStatus = LoginStatus::Success;
|
||||
//
|
||||
// Bad/incompatible client version
|
||||
|
||||
Reference in New Issue
Block a user