Jump to content
  • 0

random isnt randoming well


CoZ

Question

i noticed a lot i kept getting a lot of the same maps

i normally say .. coincidence ..

but this is the limit

[16:25:27] MAPS: Started map 'Rallysport'

[16:25:27] ADMINPM: coz to CoZ: BROADCAST coz LOSTMAP 2046

[16:25:27] ADMINCHAT: coz: - Top Time: 51.235secs - By: [H*C]ROTJONG[NL] - Deathlimit: None - Played: 1/4548 times (0.02%)

[16:26:42] CHAT: CoZ: CRAAAAAAAAAAAAAAAAAAAAAP

[16:26:46] DEATH: CoZ died

[16:26:47] CHAT: BeTeP: lol

[16:26:58] ADMINCHAT: coz: BeTeP You came first out of 2 Players! (Rank: First) (Money Earned: $100)

[16:27:22] ADMINCHAT: coz: CoZ You Came Second! (Money Earned: $50)

[16:27:26] MAPS: Race "Rallysport" has finished.

note the next map is random by server

[16:27:31] MAPS: Started map 'RC Goblin Race'

[16:27:31] ADMINPM: coz to CoZ: BROADCAST coz LOSTMAP 2079

[16:27:32] ADMINCHAT: coz: - Top Time: 51.235secs - By: [H*C]ROTJONG[NL] - Deathlimit: None - Played: 1/4549 times (0.02%)

[16:27:36] VOTE: CoZ initiated a vote for a random map

note .. vote for random map

[16:27:37] VOTE: Vote passed [2/0]

[16:27:37] MAPS: Race "RC Goblin Race" has finished.

[16:27:37] MAPS: Started map 'Race Destruction'

[16:27:37] ADMINCHAT: coz: Race Destruction - Top Time: N/A - By: N/A - Deathlimit: None - Played: 1/4550 times (0.02%)

[snip]

[16:31:01] ADMINCHAT: coz: New Best Time on Race Destruction! (Time: 03mins 18.422secs) (By: CoZ)

[16:31:02] ADMINCHAT: coz: CoZ Playing with yourself earned you money too! (Rank: First) (Money Earned: $50)

[16:31:05] MAPS: Race "Race Destruction" has finished.

note map selected by server

and its the same map as the top one :roll:

[16:31:10] MAPS: Started map 'Rallysport'

[16:31:10] ADMINPM: coz to CoZ: BROADCAST coz LOSTMAP 2046

[16:31:11] ADMINCHAT: coz: - Top Time: 51.235secs - By: [H*C]ROTJONG[NL] - Deathlimit: None - Played: 1/4551 times (0.02%)

[16:31:36] QUIT: CoZ left the game

[16:31:36] MAPS: Race "Rallysport" has finished.

Link to comment

5 answers to this question

Recommended Posts

  • 0
There's nothing you can do to get complete randomness in programming, programs follow code, nothing more.

Even a great algorithm is going to be repetitive.

true .. but the current random can be improved greatly

(repetetive in the sense it will keep picking a random number out the same set , dont ask me for the algorithm but someone must have come up with somehting to do a good random)

Link to comment
  • 0

The randomizing code could include: [ignores the map that you're currently playing] & [randomizes the rest of the maps] = preventing exact mirroring of the same map continuously.

If it was done this way, it still may result like this:

ie. 10 maps, and when randomized.. may result like: #3,#10,#3,#6,#10,#6 (still could be the same map after 2 random votes; but consequently better than two of the same maps side-by-side).

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...