[cod] Iron Sights Bug: fixed.

[MC] Hammer hammer at mcgamers.com
Mon Mar 29 11:10:42 EST 2004


Way to go Ryan!!!!!

THANK YOU!

--Hammer

----- Original Message ----- 
From: "Ryan C. Gordon" <icculus at clutteredmind.org>
To: <cod at icculus.org>
Sent: Monday, March 29, 2004 10:39 AM
Subject: [cod] Iron Sights Bug: fixed.


| Okay guys, please try these binaries and see if it helps:
| 
|   http://icculus.org/~icculus/tmp/COD-lnxded-1.3-ironsights.tar.bz2
| 
| There was an integer overflow in the random number generator code
| (apparently RAND_MAX is higher in glibc than Microsoft's C runtime?),
| which caused the gun to fire strangely.
| 
| The .pk3 fix going around wasn't really fixing the problem so much as
| masking it. You should remove it before using this build, or your guns
| may be strange in the opposite direction (plus you don't need your
| clients to install the .pk3 anymore).
| 
| This SHOULD fix it, but since there were a few unrelated places using
| the same code to get random numbers, please don't blast it out to all
| your production servers without a little testing, in case some new bug
| shows up. This one hasn't gone through any QA at all.
| 
| Comments welcome.
| 
| --ryan.
| 
| 



More information about the Cod mailing list