Re: [Wormux-dev] Windows Networking

2007-08-03 Par sujet Matthieu Fertré
> 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

Re: [Wormux-dev] Windows Networking

2007-08-03 Par sujet Kurosu
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

Re: [Wormux-dev] Windows Networking

2007-08-03 Par sujet Kyle
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

Re: [Wormux-dev] Windows Networking

2007-08-03 Par sujet Julien PUYDT
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