HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Bug #761219
Fixed gameseed ignored for second and subsequent games of persistent server
Start date:
Due date:
% Done:
0%
Estimated time:
Description
- Start server
- /set gameseed 1234
- Start game
- End game but keep server running
- /set gameseed 1234
- Start another game
You'd expect the map to come out the same both times, but it doesn't.
This is because init_game_seed() only affects the random state if rand_state.is_init is FALSE, and once that becomes TRUE there's no way for it to become FALSE again (not even a new game), I think.
History
#1
Updated by Marko Lindqvist over 2 years ago
- File 0014-Make-sure-second-and-later-games-use-correct-random-.patch 0014-Make-sure-second-and-later-games-use-correct-random-.patch added
- File 0005-Make-sure-second-and-later-games-use-correct-random-.patch 0005-Make-sure-second-and-later-games-use-correct-random-.patch added
- File 0003-Make-sure-second-and-later-games-use-correct-random-.patch 0003-Make-sure-second-and-later-games-use-correct-random-.patch added
- Category set to Server
- Status changed from New to Resolved
- Sprint/Milestone set to 2.6.1
Patches to test
#2
Updated by Marko Lindqvist over 2 years ago
- Status changed from Resolved to Closed
- Assignee set to Marko Lindqvist