Blockland Forums > Modification Help
getRandom returning different results on mac and pc
<< < (8/11) > >>
Port:

--- Quote from: Ipquarx on May 20, 2012, 09:50:43 AM ---M, I already tested that.
That isn't the problem.

That's why I posted the help topic.

--- End quote ---

What is the problem then? You just neglected the title of this topic.
Ipquarx:

--- Quote from: Port on May 20, 2012, 09:54:39 AM ---What is the problem then? You just neglected the title of this topic.

--- End quote ---
I neglected that as the CAUSE of the problem.
The problem still exists.
Port:

--- Quote from: Ipquarx on May 20, 2012, 10:17:21 AM ---I neglected that as the CAUSE of the problem.
The problem still exists.

--- End quote ---

How did you "test" that the engine uses the same algorithm for PRNG on Windows and Mac?
Ipquarx:

--- Quote from: Port on May 20, 2012, 10:23:18 AM ---How did you "test" that the engine uses the same algorithm for PRNG on Windows and Mac?

--- End quote ---
By generating 50 random numbers using the same seed on both a windows and a mac, then comparing them.

They were exactly the same.
Port:

--- Quote from: Ipquarx on May 20, 2012, 10:50:59 AM ---By generating 50 random numbers using the same seed on both a windows and a mac, then comparing them.

They were exactly the same.

--- End quote ---

"getRandom returning different results on mac and pc"
Navigation
Message Index
Next page
Previous page

Go to full version