Enhancement Request: Map randomizer is "too random"

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators


  • Hi,

    the random map feature in the gamecode seems to have the slight disadvantage that it is actually more random than is really required here: It often repeats maps much earlier than users do expect (the effect is also often seen with the "shuffle" function of media players).

    I think the best solution for this would be a "pending map list" which is generated from g_maplist, randomized and then the server plays the maps in the list until the list is exhausted, at which point a new randomized pending map list is generated from g_maplist. This way it is guaranteed that at least each map plays once before a repeat becomes possible

    I had a look at the game code, but since my understanding of QuakeC code and esspecially how the engine state works is nonexistant, I couldn't easily come up with a patch.

    Olli
    DCC's Delight Public Server: http://delight.vapor.com/
    User avatar
    Sxen
    Member
     
    Posts: 48
    Joined: Mon Aug 28, 2006 8:12 am

Mon Oct 30, 2006 6:29 pm

  • i agree with this, it is somewhat annoying when maps repeat too soon. especially with a few strong players. its even less fun for new players to repeat the same map so soon...
    dfkgmasdfnasodrg
    Alien
     
    Posts: 153
    Joined: Sat Mar 04, 2006 4:21 pm

Sun Dec 03, 2006 12:12 pm

  • A new map selection method has just been implemented.

    Example of the changed distribution:

    Let there be 10 maps in g_maplist.

    • Map is played directly after itself: NEVER (old selection: NEVER)
    • Map is next played with one other map in between: 1.2% (before: 11.1%)
    • Map is next played with two other maps in between: 3.6% (before: 9.8%)
    • Map is next played with three other maps in between: 5.8% (before: 8.7%)
    • Map is next played with four other maps in between: 7.6% (before: 7.8%)
    • Map is next played with five other maps in between: 8.7% (before: 6.9%)
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE



Return to Nexuiz - Support / Bugs




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest