mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-26 23:47:21 +00:00
Reverted local hardcoded NET_VERSION value.
This commit is contained in:
parent
56f371216b
commit
e3e9718db5
@ -35,7 +35,7 @@ void AuthPackets::HandleHandshake(dServer* server, Packet* packet) {
|
||||
void AuthPackets::SendHandshake(dServer* server, const SystemAddress& sysAddr, const std::string& nextServerIP, uint16_t nextServerPort) {
|
||||
RakNet::BitStream bitStream;
|
||||
PacketUtils::WriteHeader(bitStream, SERVER, MSG_SERVER_VERSION_CONFIRM);
|
||||
bitStream.Write<unsigned int>(171023);
|
||||
bitStream.Write<unsigned int>(NET_VERSION);
|
||||
bitStream.Write(uint32_t(0x93));
|
||||
|
||||
if (nextServerPort == 1001) bitStream.Write(uint32_t(1)); //Conn: auth
|
||||
|
Loading…
Reference in New Issue
Block a user