forked from mirrors/kolyah35-minecraft-pe-0.6.1
change proto ver
This commit is contained in:
parent
cbd81b47ce
commit
2c1b5e256e
2 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue