Page 1 of 1

Ricochet on 2.4 replay servers

Posted: Mon Aug 29, 2011 12:45 am
by Bullet Catcher
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.