From 1aabcdd09cbca646c5dc5c0a4ab8a160bdb46774 Mon Sep 17 00:00:00 2001 From: Koncord Date: Mon, 31 Jul 2017 18:58:51 +0800 Subject: [PATCH] [General] Add *_WITH_ACK_RECEIPT to master server packets --- components/openmw-mp/Master/PacketMasterAnnounce.cpp | 1 + components/openmw-mp/Master/PacketMasterQuery.cpp | 1 + components/openmw-mp/Master/PacketMasterUpdate.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/components/openmw-mp/Master/PacketMasterAnnounce.cpp b/components/openmw-mp/Master/PacketMasterAnnounce.cpp index dbdc7c4f5..ac8b3cecb 100644 --- a/components/openmw-mp/Master/PacketMasterAnnounce.cpp +++ b/components/openmw-mp/Master/PacketMasterAnnounce.cpp @@ -15,6 +15,7 @@ PacketMasterAnnounce::PacketMasterAnnounce(RakNet::RakPeerInterface *peer) : Bas { packetID = ID_MASTER_ANNOUNCE; orderChannel = CHANNEL_MASTER; + reliability = RELIABLE_ORDERED_WITH_ACK_RECEIPT; } void PacketMasterAnnounce::Packet(BitStream *bs, bool send) diff --git a/components/openmw-mp/Master/PacketMasterQuery.cpp b/components/openmw-mp/Master/PacketMasterQuery.cpp index d70e6de2e..1850de6c5 100644 --- a/components/openmw-mp/Master/PacketMasterQuery.cpp +++ b/components/openmw-mp/Master/PacketMasterQuery.cpp @@ -17,6 +17,7 @@ PacketMasterQuery::PacketMasterQuery(RakNet::RakPeerInterface *peer) : BasePacke { packetID = ID_MASTER_QUERY; orderChannel = CHANNEL_MASTER; + reliability = RELIABLE_ORDERED_WITH_ACK_RECEIPT; } void PacketMasterQuery::Packet(RakNet::BitStream *bs, bool send) diff --git a/components/openmw-mp/Master/PacketMasterUpdate.cpp b/components/openmw-mp/Master/PacketMasterUpdate.cpp index 8b82a1038..54f32e266 100644 --- a/components/openmw-mp/Master/PacketMasterUpdate.cpp +++ b/components/openmw-mp/Master/PacketMasterUpdate.cpp @@ -14,6 +14,7 @@ PacketMasterUpdate::PacketMasterUpdate(RakNet::RakPeerInterface *peer) : BasePac { packetID = ID_MASTER_UPDATE; orderChannel = CHANNEL_MASTER; + reliability = RELIABLE_ORDERED_WITH_ACK_RECEIPT; } void PacketMasterUpdate::Packet(RakNet::BitStream *bs, bool send)