change proto ver

This commit is contained in:
2026-03-26 22:48:50 +02:00
parent cbd81b47ce
commit 2c1b5e256e
2 changed files with 5 additions and 3 deletions

View File

@@ -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;

View File

@@ -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