mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-11-04 06:32:00 +00:00 
			
		
		
		
	Reverted local hardcoded NET_VERSION value.
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user