Is it possible to get the seed from a Random() sequence in c#?
My goal is to create a kind of editor, where the player creates his character, like he’d be able to choose in a set of different eyes, place them, then hair, etc. In the end it would output an array with a sequence of different numbers.
With that I want to get the seed because my goal is to be able to then share this character with other people. I would just give them the seed and they would have the exact character I created.
Based on your comments to @SLaks I think the question you’re asking has nothing to do with the problem you’re trying to solve.
The problem you’re trying to solve is: How do I take a set of user-defined attributes and values, and turn them into something easily passable between friends?
This is exactly the same problem has: How do I take a long, complicated URL and turn it into a short URL?
As such, I would look at this famous question re: URL shorteners: How to code a URL shortener?
There you will see the use of Bijective Functions and a great algorithmic description that you can use for your own problem. This can be used to turn your example sequence (say
23,56,45,78,80) into a one or two letter code.