[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] Nicowar desync
From: |
Bradley Arsenault |
Subject: |
Re: [glob2-devel] Nicowar desync |
Date: |
Tue, 17 Jan 2006 16:41:39 -0800 |
On 1/15/06, Nuage <address@hidden> 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.
>
> 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.
>
>
> _______________________________________________
> glob2-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/glob2-devel
>
I'm not sure what a "shifted int" is, could you explain it to me?
- [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, 2006/01/16
- Re: [glob2-devel] Nicowar desync,
Bradley Arsenault <=
- 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
- Re: [glob2-devel] Nicowar desync, Bradley Arsenault, 2006/01/21