ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

sv_randmaps

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests
View previous topic :: View next topic  
Author Message
Krawa
Spamming!


Joined: 23 Nov 2008
Location: #SDA

PostPosted: Fri Nov 13, 2009 5:23 pm    Post subject: sv_randmaps Reply with quote

Hi ZDaemon team!
Is it possible to improve sv_randmaps?
Problem: It can happen, that sv_randmaps picks the same map in a row. (e.g. you finish map05 and sv_randmaps picks map05 again).
So is it possible that sv_randmaps creats a random list and if all maps are played it picks again a new list? Or at least that last map(s) are not picked? Or both Smile
Back to top
View user's profile Send private message Send e-mail
Kilgore
Air Cavalry


Joined: 17 Jun 2003
Location: Up the river

PostPosted: Mon Nov 16, 2009 5:57 pm    Post subject: Reply with quote

You're describing a hypergeometric distribution which is not really random. I can go up to modifying the current (uniform) method so that it doesn't select any of the last 2 maps. But up to there.
Back to top
View user's profile Send private message Visit poster's website
Krawa
Spamming!


Joined: 23 Nov 2008
Location: #SDA

PostPosted: Mon Nov 16, 2009 9:37 pm    Post subject: Reply with quote

Yeah, that will be cool. Thanks a lot!
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group