add roomss

This commit is contained in:
Clément
2025-03-13 09:52:25 +01:00
parent 709a92aa4c
commit a4c5d3f67b
3 changed files with 25 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ public class PacketPool {
private static int MAX_SEND_TRY = 50;
private static long SEND_DELAY = 10;
private static long RETRY_INTERVAL = SEND_DELAY * 2;
private static float PACKET_LOSS_PROBABILITY = 0.1f;
private static float PACKET_LOSS_PROBABILITY = 0.0f;
private static record ReliablePacketAddress(ReliablePacket packet, InetSocketAddress address) {
@Override
@@ -97,7 +97,7 @@ public class PacketPool {
}
private void debugPrint(String msg) {
// System.out.println(msg);
System.out.println(msg);
}
private void debugSend(ReliablePacket packet, InetSocketAddress address) {