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