From b0ffd6ad9412d3b82cd2e526879b57645d0fe523 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 7 Jun 2012 08:46:21 +0000 Subject: (Temporary) hotfix for the "too many packets" error - set the packet limit 5x higher. git-svn-id: http://mc-server.googlecode.com/svn/trunk@565 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cClientHandle.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp index 4f0d14988..e6f4d3a82 100644 --- a/source/cClientHandle.cpp +++ b/source/cClientHandle.cpp @@ -77,8 +77,14 @@ case 2: (z)-=(amount); break; case 3: (z)+=(amount); break;\ case 4: (x)-=(amount); break; case 5: (x)+=(amount); break; } + + + + +// TODO: Temporarily set to higher value, the advances in blockticking made this a needed change until a better solution is implemented. +// Ref.: http://forum.mc-server.org/showthread.php?tid=471 ) /// If the number of queued outgoing packets reaches this, the client will be kicked -#define MAX_OUTGOING_PACKETS 2000 +#define MAX_OUTGOING_PACKETS 10000 -- cgit v1.2.3