[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] Nicowar desync
From: |
Cyrille Dunant |
Subject: |
Re: [glob2-devel] Nicowar desync |
Date: |
Mon, 16 Jan 2006 08:21:40 +0100 |
User-agent: |
KMail/1.9.1 |
On Monday 16 January 2006 08:13, Nuage wrote:
> Bradley Arsenault wrote:
> > I got through #1 on my list in another thread, Nicowar does save
> > properly in the latest commit. I was testing with JDLSpeedy in a net
> > game, only to find out a desyync. I wrestled with my first 5 mb game
> > dump, found the issue, and tracked down the desync to lines 2881 and
> > 2888 AINicowar.cpp. I'm just wondering, is using float in this manner
> > particularly threatening? And if so, would I be allowed to use
> > Boost.Rational (i'm a big boost fan), as it would work just as well.
>
> Just never use "double" or "float" in glob2. While it can work on some
> compiler, with some other it can desync.
Ha! even with the same compiler! Change architecture, and you are doomed!
Actually, you might be out of luck between two different processors of the
same family.
> I don't know at all how Boost.Rational works, but given the name I guess
> it's fine. You get the idea, I think you can find out!
>
> If you want to be sure, just use shifted int, it's not really difficult.
CU
-- CFD
- [glob2-devel] Nicowar desync, Bradley Arsenault, 2006/01/16
- Re: [glob2-devel] Nicowar desync, Nuage, 2006/01/16
- Re: [glob2-devel] Nicowar desync,
Cyrille Dunant <=
- Re: [glob2-devel] Nicowar desync, Bradley Arsenault, 2006/01/17
- Re: [glob2-devel] Nicowar desync, Nuage, 2006/01/17
- Re: [glob2-devel] Nicowar desync, Bradley Arsenault, 2006/01/18
- Re: [glob2-devel] Nicowar desync, Bradley Arsenault, 2006/01/18
- Re: [glob2-devel] Nicowar desync, Nuage, 2006/01/18
- Re: [glob2-devel] Nicowar desync, Bradley Arsenault, 2006/01/19
- Re: [glob2-devel] Nicowar desync, Nuage, 2006/01/20
- Re: [glob2-devel] Nicowar desync, Bradley Arsenault, 2006/01/20
- Re: [glob2-devel] Nicowar desync, Nuage, 2006/01/20
- Re: [glob2-devel] Nicowar desync *packagers please read*, Stéphane Magnenat, 2006/01/21