Ricochet on 2.4 replay servers

Discussions about the various leagues
Post Reply
User avatar
Bullet Catcher
Captain
Captain
Posts: 552
Joined: Sat Dec 23, 2006 7:56 am
Location: Escondido, California

Ricochet on 2.4 replay servers

Post by Bullet Catcher » Mon Aug 29, 2011 12:45 am

The 2.4 bug that causes bullets to not ricochet on replay servers has been fixed in Subversion revision 22115. Server owners can either upgrade to that or apply this patch:

Code: Select all

--- src/bzfs/RecordReplay.cxx   (revision 22114)
+++ src/bzfs/RecordReplay.cxx   (revision 22115)
@@ -2289,7 +2289,8 @@
     sizeof(uint16_t) + // packet len
     sizeof(uint16_t) + // packet code
     sizeof(float)    + // world size
-    sizeof(uint16_t);  // gamestyle
+    sizeof(uint16_t) + // gamestyle
+    sizeof(uint16_t);  // gameoptions
   char *hdrMaxPlayersPtr = h->worldSettings + maxPlayersOffset;
   nboPackUShort(hdrMaxPlayersPtr, MaxPlayers + ReplayObservers);
 
This only affects replay servers, and older recordings will show ricos after this change is applied.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest