Ricochet on 2.4 replay servers

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

Ricochet on 2.4 replay servers

Post 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.
Post Reply