Raised This Month: $193 Target: $400
 48% 

Concept: mp_maxrounds instead of mp_timelimit


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management        Approver:   devicenull (200)
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 11-05-2004 , 13:47   Concept: mp_maxrounds instead of mp_timelimit
Reply With Quote #1

I got tired of rounds being cut in half just because time of map ran out (mp_timelimit).

With Cstrike you can set mp_timelimit to 0 and mp_maxrounds to something like 20, and you will always play 20 full rounds no matter what. Well, if everyone leaves the server and two people come back, it will be played from 20 rounds again, but that's the same as with minutes, they are also reset.

The only problem with this is saying "timeleft" in chat doesn't give any decent info (0), so I made a plugin called "roundsleft" which basically answers the remaining number of rounds when someone says "timeleft" (or "roundsleft"). Also there's a speaker telling the number of rounds. It also does that every new round. Kind of annoying, but cool. :-)

There is also one more problem with this. With the normal mapchooser plugin you can't vote for Extend map option simply because it doesn't exist. I made an update to that plugin also so that this indeed is possible. The cvar amx_extendmap_step which normally denotes minutes now denotes number of rounds that will be added, should the map be extended in the vote.

I've used these plugins for ~1 year so they should work, haven't had any problems with them.

Install roundsleft.amxx and replace your current mapchooser.amxx with this one, and you should be set. Just set mp_timelimit to 0 and mp_maxrounds to 20 or so.

There is a cmd with roundsleft plugin: amx_addrounds #
You can add rounds remaining by typing "amx_addrounds 5", and remove them by "amx_addrounds -5".

Note that the best way to set up your server is to set the mp_maxrounds in your mapchangecfgfile (this is a cvar, define it in server.cfg). Because when you add/remove nr of rounds you actually set the mp_maxrounds. It better be set back during a mapchange.

There, think I covered it all.
Attached Files
File Type: sma Get Plugin or Get Source (roundsleft.sma - 4247 views - 10.4 KB)
File Type: sma Get Plugin or Get Source (mapchooser.sma - 2604 views - 8.1 KB)
Johnny got his gun is offline
Deagle Snipin
Member
Join Date: Oct 2004
Old 11-05-2004 , 20:21   Wow!
Reply With Quote #2

This is a great concept! Im very excited to try it out.

Do you think it would be possible to add nextmap.amx functions to mapchooser? If you try to use a task scheduler plugin (just to do csays), something wierd happens to nextmap.amx, and the timelimit ends up getting set to no limit. If you disable nextmap or tasks.amx, it never happens.

I was considering trying to comment out the script in nextmap.amx to set the timelimit, but I thought this was a perfect opportunity to ask an expert which route I should take to find a solution.

(I can provide link to posts of similar complaints of the issue. Thanks again for everything, I have followed and enjoy your work.)

/EDIT Doh, Im getting compiliing errors, even online. Im trying to newer compiler offline.
Deagle Snipin is offline
-=STN=- MaGe
Veteran Member
Join Date: Apr 2004
Location: Asault World
Old 11-06-2004 , 12:06  
Reply With Quote #3

can you add the rs feature when 50% of the guys type rs in say it restarts the map
__________________



-=STN=- MaGe is offline
Send a message via Yahoo to -=STN=- MaGe
DaSilva
Senior Member
Join Date: Oct 2005
Location: Germany
Old 07-22-2007 , 04:53   Re: Concept: mp_maxrounds instead of mp_timelimit
Reply With Quote #4

What must I change to disable the announcement every round?
__________________
Please remember: English is NOT my native language!
DaSilva is offline
Dr R.I.P
New Member
Join Date: Feb 2007
Old 01-17-2008 , 10:17   Re: Concept: mp_maxrounds instead of mp_timelimit
Reply With Quote #5

Very good plugin. I tested it. What about add langs?
Dr R.I.P is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 01-17-2008 , 11:46   Re: Concept: mp_maxrounds instead of mp_timelimit
Reply With Quote #6

Try to use my mapchooser4. It also works with mp_maxrounds and it has ML support. It has also other features.
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The Beta V3B23 (rel. 19 april 2016!!!) is available here.
KWo is offline
AraneLT
BANNED
Join Date: Apr 2009
Location: Turkey
Old 09-18-2009 , 19:19   Re: Concept: mp_maxrounds instead of mp_timelimit
Reply With Quote #7

Nice plugin. Thanks
AraneLT is offline
Mr.sceR
Member
Join Date: Jan 2011
Location: Bulgaria
Old 03-12-2011 , 15:23   Re: Concept: mp_maxrounds instead of mp_timelimit
Reply With Quote #8

Can the same plugin, but timeleft rather than rounds.
Mr.sceR is offline
Send a message via Skype™ to Mr.sceR
visar1
Member
Join Date: Nov 2009
Old 01-09-2012 , 19:51   Re: Concept: mp_maxrounds instead of mp_timelimit
Reply With Quote #9

how to stop sound in this plugins he say every round blla blla round reamining, how to stop that sound blla blla blla
visar1 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-09-2012 , 20:07   Re: Concept: mp_maxrounds instead of mp_timelimit
Reply With Quote #10

Quote:
Originally Posted by visar1 View Post
how to stop sound in this plugins he say every round blla blla round reamining, how to stop that sound blla blla blla
Rounds left sounds removed:
Attached Files
File Type: sma Get Plugin or Get Source (roundsleft.sma - 468 views - 10.4 KB)
__________________
fysiks 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 01:28.


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