Raised This Month: $7 Target: $400
 1% 

Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)


Post New Thread Reply   
 
Thread Tools Display Modes
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Old 04-02-2008 , 22:18   Re: Dynamic Map Rotations
Reply With Quote #21

This is only for advanced users: By the way, this command will be removed eventually or recreated as another command, but for now, the server console command dmr will reload dmr.txt (dmr_file, actually) and display the nextmap in console. If you want to skip ahead in your DMR, change the cvar dmr_map_key (be sure to use the "dmr" command afterwards to verify that the map key is correct). Remember that the default_nextmap and conditional nextmaps of dmr_map_key are used to determine the next map.
FLOOR_MASTER is offline
arm5ky
Member
Join Date: Dec 2007
Old 04-06-2008 , 08:12   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #22

Fantasic,

Could you add another custom condition? Day of week would be very handy.

Weekdays we would have stock maps, but would like a mixture on Saturday and customs only on Sunday!!
arm5ky is offline
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Old 04-06-2008 , 09:09   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #23

I've uploaded version 0.3 which includes support for specifying the day of the week. Here's what I wrote in the original post about how to use it:
  • day_eq - the day is currently a certain day of the week, where the day is specified with m, t, w, r, f, s, and u for Monday, Tuesday, etc. You can specify multiple days. For example, "day_eq" "mwf" will be true if the day is Monday, Wednesday, or Friday. "day_eq" "u" will be true if the day is Sunday.
  • day_neq - ditto, but if the day is NOT a certain day of the week
FLOOR_MASTER is offline
arm5ky
Member
Join Date: Dec 2007
Old 04-06-2008 , 15:37   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #24

Now tha is fast work.
arm5ky is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 04-06-2008 , 17:47   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #25

Does this work with RTV or not? If not I guess its worth taking it out for this.
__________________

DontWannaName is offline
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Old 04-06-2008 , 18:48   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #26

I did some quick testing with RTV and TF2 a few weeks ago and they appear to work fine together. Note that your rotation will continue where it left off after the RTV map (the nextmap won't be skipped).
FLOOR_MASTER is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 04-06-2008 , 19:41   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #27

Here is my new mapcycle. Hope it works
Attached Thumbnails
Click image for larger version

Name:	dmrviz.php.jpg
Views:	360
Size:	12.2 KB
ID:	25387  
__________________

DontWannaName is offline
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Old 04-06-2008 , 20:08   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #28

I updated dmr.php to support drawing day_eq and day_neq.
FLOOR_MASTER is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 04-06-2008 , 20:52   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #29

With the new ads plugin the {SM_NEXTMAP} feature shows my other map cycle. So far thats about it.
__________________

DontWannaName is offline
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Old 04-06-2008 , 20:58   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #30

Can you link to the specific plugin? I'm guessing the ads plugin gets its information off of a nextmap cvar, and if so, I can fix that easily.
FLOOR_MASTER is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode