[cod] Iron Sights Bug: fixed.

Steven Hartland killing at multiplay.co.uk
Mon Mar 29 11:54:08 EST 2004


Cheers ryan timely as ever. Got a cod player to test this end says all is
good. Upgraded all our servers :)

To the linux doubters: Now try getting a win32 fix that quick :P

    Steve / K
----- Original Message ----- 
From: "Ryan C. Gordon" <icculus at clutteredmind.org>
To: <cod at icculus.org>
Sent: Monday, March 29, 2004 4:39 PM
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.



================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster at multiplay.co.uk.




More information about the Cod mailing list