From bea0daf3e87d07fe21d4d64f8a7da4a571a2f3ea Mon Sep 17 00:00:00 2001 From: zicodxx Date: Sun, 9 Jan 2011 14:19:01 +0100 Subject: [PATCH] Set max UDP packet size to 1024 again (seems some configuration DO have problems with larger packets after all) --- CHANGELOG.txt | 5 +++++ main/net_udp.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 2651e519b..a947250dd 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,10 +1,15 @@ D2X-Rebirth Changelog +20110109 +-------- +main/net_udp.h: Set max UDP packet size to 1024 again (seems some configuration DO have problems with larger packets after all) + 20110106 -------- main/multi.c, main/state.c: Fixed but in object to object_rw conversion - if a bot is not dead, leave dying_start_time at 0 as anything else would kill it 3d/rod.c, SConstruct, arch/ogl/gr.c, arch/ogl/ogl.c, include/3d.h, include/ogl_init.h, main/gamecntl.c, main/object.c, main/state.c, misc/args.c: Added OpenGL ES support - contributed by Florian Feucht and Oliver Haag main/automap.c, main/gauges.c, main/gauges.h: Draw FlightSim Reticle on Automap display, too; Fixed small glitch showing Vulcan/Gauss ammo in alt hud mode on all cockpit modes instead of CM_FULL_SCREEN only +arch/ogl/ogl.c: Fix small bug in vertex_array for ogl_ubitblt_i 20110104 -------- diff --git a/main/net_udp.h b/main/net_udp.h index f7e0e898e..09c5617d4 100644 --- a/main/net_udp.h +++ b/main/net_udp.h @@ -38,7 +38,7 @@ void net_udp_send_netgame_update(); #define UDP_MDATA_STOR_QUEUE_SIZE 500 // Store up to 500 MDATA packets // Following are static defines for the buffer size of various packets. IF you change the packets, you must change the size, too. -#define UPKT_MAX_SIZE 2048 // Max size for a packet +#define UPKT_MAX_SIZE 1024 // Max size for a packet #define UPKT_GAME_INFO_REQ_SIZE 11 #define UPKT_SEQUENCE_SIZE 14 #define UPKT_PING_SIZE 37