> One thing I have noticed is that RAND_MAX is defined
> differently on Windows (MSVC) and Linux. This would affect a lot of
> things in RandomSync I believe, and might explain some bugs.
>
> kyle
>
Method double RandomSync::GetDouble() must return a number between 0.0
and 1.0, and this me
Matthieu Fertré a écrit :
>> One thing I have noticed is that RAND_MAX is defined
>> differently on Windows (MSVC) and Linux. This would affect a lot of
>> things in RandomSync I believe, and might explain some bugs.
>>
>> kyle
>>
>
> Method double RandomSync::GetDouble() must return a numbe
Kurosu wrote:
> Network game is now able to start, but there are a number of bugs making
> it a bit unplayable:
> 1) over the 3 heterogeneous network games I did, a player always landed
> on a mine; not unplayable, but strangely repetitive
> 2) After first shot, end of turn does not seem to be seen
Kurosu a écrit :
> 1) over the 3 heterogeneous network games I did, a player always landed
> on a mine; not unplayable, but strangely repetitive
Both player and mine are certainly randomly placed -- I would say the
random function is broken and either gives the same position for both,
or gives m