Code center > Suggestions

Making the league reproducable

(1/3) > >>

bacillus:
This might be a stupid idea, but what if every match had a random seed equal to the round number? That way, everyone could reproduce the result of a certain match.

abyaly:
That is an awesome idea.

Peter:

--- Quote from: bacillus ---This might be a stupid idea, but what if every match had a random seed equal to the round number? That way, everyone could reproduce the result of a certain match.
--- End quote ---
And for what reason. Do you mean for reproducing errors?
Normally everyone should get the same results. Well with 95% sure. 95% sounds pretty statistical so it is probably coded that way.

Do you have a good example that shows your problem?
Like a league fight that can turn both ways.

What do you mean by a random seed equal to the round number?
Random <-> equal. Is what I don't understand.


Setting something like that steady sounds wrong to me. Every fight should be completely different. Not every first fight the same or something like that.

abyaly:
It has to do with how computers get their random numbers. Bacillus is proposing that DB saves the seed it uses to generate the random number sequence for a particular league match so that someone could later use that seed to see an exact replay of the match.

Peter:
I couldn't get that from it. But a automated save couldn't be wrong anyway. And then I mean a standard save of the seed-number of any sim. I believe that could get some info for sims in case for errors and no save.

Navigation

[0] Message Index

[#] Next page

Go to full version