[cod] Iron Sights Bug: fixed.

Rickard Åberg rickard at refused.net
Mon Mar 29 12:12:16 EST 2004


Yea, like many other said already... it seems to work. At least the 
MP44, Thompson and PPsh bugs are gone. Dunno if you managed to create 
any new bugs tho'. :)

Thanks a bunch.
I've upgraded most servers I have access to.

/ Rickard

Ryan C. Gordon wrote:
> 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