Altisma
Warlord
- Joined
- May 31, 2012
- Messages
- 271
It doesn't work properly this way; I already brought this up to Cephalo but he seems to have vanished with the project unfinished. The current method uses your CPU clock to generate a random seed for the map; problem is, everyone's computer pulls a different number and you all end up in different games when the engine realizes you're not on the same planet.
I came up with a fix that works well enough; you just need to go into the file and replace this (actually, I modified this a bit from the original - might not look the same as this... shouldn't be too hard to figure out, though):
seed = os.time()
seed = (((Map.Rand(10000, "Generating PWRandSeed 1/3") * 10000) + Map.Rand(10000, "Generating PWRandSeed 2/3")) * 10000) + Map.Rand(10000, "Generating PWRandSeed 3/3")
With this:
seed = ((Map.Rand(99999999, "")) * (Map.Rand(99999999, "")))
I'm really not sure why he felt the need to pull the clock time in the first place, actually. *shrug*
Yeah I have no clue why it didn't work for you, but I didn't need to anything other than change a simple value and it worked completely in a full game. The players didn't all end up in separate games.