Closed GoogleCodeExporter closed 9 years ago
Original comment by korn...@gmail.com
on 9 May 2011 at 3:52
Under Linux it says that layout is empty. Under Windows it is not.
Original comment by korn...@gmail.com
on 9 May 2011 at 4:15
There's one addition #13 byte at 45(dec) offset. After removing it the Linux
version just crashed.
Original comment by korn...@gmail.com
on 9 May 2011 at 6:12
BronzeBeared gave another save that crashes
Original comment by korn...@gmail.com
on 15 May 2011 at 3:55
Attachments:
BronzeBeared said that upon Bill Gates if you exit, then you get broken save if
you choose to save upon exit.
Original comment by korn...@gmail.com
on 15 May 2011 at 4:54
And it's not always happening.
I suspect it has smth with the way we terminate under Windows.
Original comment by korn...@gmail.com
on 15 May 2011 at 5:12
May be seed does not always define globally unique rand() numbers. Try to store
all tiles in a save.
Original comment by korn...@gmail.com
on 20 May 2011 at 9:01
I need to stress test layout generations. Just do a separate test for Linux and
Windows which will be generating things each second, and let it run for several
hours.
Original comment by korn...@gmail.com
on 20 May 2011 at 9:06
i can actually use only 'labyrinth' layout for testing.
Original comment by korn...@gmail.com
on 20 May 2011 at 9:17
started the small app. i will later need to regenerate with those seed.
Original comment by korn...@gmail.com
on 20 May 2011 at 9:55
i do generate it once a second with current time. stupid.
fix start time. and just generate the whole day.
Original comment by korn...@gmail.com
on 20 May 2011 at 10:13
may be i just need to check the erroneous seed?
Original comment by korn...@gmail.com
on 20 May 2011 at 10:18
and i need to check that every second. under both Linux and Windows.
Original comment by korn...@gmail.com
on 20 May 2011 at 10:24
find out how many memory will it take to store positions in save file.
Original comment by korn...@gmail.com
on 20 May 2011 at 1:52
Each tile position takes 2-3 bytes. each shuffle saves the whole play field. so
in the works case we'll have about 0.5M for a save file.
Consider MT199337 algorithm to generate random numbers.
Still, include a full set of positions in 0.8 just to find out how it all works.
Original comment by korn...@gmail.com
on 20 May 2011 at 2:20
System rand() function is suspected to generate non-consistent results. There's
no way to fix the issue thus. It will be recreated for 0.8 if the issue still
remains.
Original comment by korn...@gmail.com
on 21 May 2011 at 9:26
Original issue reported on code.google.com by
korn...@gmail.com
on 9 May 2011 at 3:37Attachments: