Raised This Month: $51 Target: $400
 12% 

Map Time


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management       
many
Member
Join Date: Jul 2007
Location: Russian, Moscow
Old 10-13-2007 , 04:29   Map Time
Reply With Quote #1

HI! I made plugin which set different mp_timelimit for different map.
You must put maptime.ini in configs and write in maptime.ini mapname and time.
Examle:
de_dust 15
de_aztec 25
This plugin good for kz Jump servers.
Sorry for my English
P.S. Thanx AlMod for help
Attached Files
File Type: sma Get Plugin or Get Source (maptime.sma - 1127 views - 1.3 KB)
File Type: ini maptime.ini (247 Bytes, 426 views)
File Type: rar Map time.rar (3.8 KB, 231 views)

Last edited by many; 10-13-2007 at 06:39.
many is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 10-13-2007 , 04:32   Re: Map Time
Reply With Quote #2

Hmmm, per map config files with basic amxx - amx_cvar mp_timelimit 20 Here

One file opposed to many, is all I see.
__________________

Last edited by bmann_420; 10-13-2007 at 05:47.
bmann_420 is offline
atomen
Veteran Member
Join Date: Oct 2006
Location: Stockholm, Sweden
Old 10-13-2007 , 04:38   Re: Map Time
Reply With Quote #3

I think its a great plugin !,
I love it on my surf - server.
When it's popular maps i have longer timelimit


Great Plugin +
atomen is offline
Send a message via MSN to atomen
AlMod
Member
Join Date: Nov 2006
Old 10-13-2007 , 05:23   Re: Map Time
Reply With Quote #4

nice
AlMod is offline
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 10-13-2007 , 06:49   Re: Map Time
Reply With Quote #5

Quote:
Originally Posted by bmann_420 View Post
Hmmm, per map config files with basic amxx - amx_cvar mp_timelimit 20 Here

One file opposed to many, is all I see.
Indeed.
__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
Old 10-13-2007, 13:04
Angelina
This message has been deleted by Angelina.
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-13-2007 , 13:25   Re: Map Time
Reply With Quote #6

Worthless. This can already be achieved with AMXX. Unapproved.
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
dangerix
Senior Member
Join Date: Aug 2007
Location: Germany
Old 10-13-2007 , 14:00   Re: Map Time
Reply With Quote #7

In my very humble opinion this is a very nice plugin.
As said before, it's one file opposed to many.
I am running a kreedz server with above 200 maps and I really consider using the plugin. I will never create 200+ per-map-configs for a single CVAR.
How can this be done with the default AMXX?
__________________
dangerix is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-13-2007 , 14:13   Re: Map Time
Reply With Quote #8

Using global config. ( kz_, fy_ etc.. )

http://forums.alliedmods.net/showthread.php?p=465664

With amxx 1.8, this feature is already integrated.
__________________
Arkshine is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 10-13-2007 , 14:15   Re: Map Time
Reply With Quote #9

Quote:
Originally Posted by dangerix View Post
How can this be done with the default AMXX?
Quote:
Originally Posted by bmann_420 View Post
Hmmm, per map config files with basic amxx - amx_cvar mp_timelimit 20 Here

One file opposed to many, is all I see.

Just like bmann posted. While it is true this uses 1 file as compared to multiple files like AmxX, it still is the same basic principle


@ OP:
Engine and CStrike are not needed for this plugin. Also, if you use the sizeof native, you must subtract 1 from it otherwise you may run into runtime errors. IE, get_configsdir(configsdir,sizeof(configsdir)-1)
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
dangerix
Senior Member
Join Date: Aug 2007
Location: Germany
Old 10-13-2007 , 14:50   Re: Map Time
Reply With Quote #10

Quote:
Originally Posted by arkshine View Post
Using global config. ( kz_, fy_ etc.. )

http://forums.alliedmods.net/showthread.php?p=465664

With amxx 1.8, this feature is already integrated.
No. I'm fully aware of this feature, but there is quite a difference between this feature and the here presented plugin.
With the maptype configs you can set *one value* for different CVARs (mp_timelimit, eg) for one type of maps. With maptime.amxx you can set different values (mp_timelimit) for different maps with one single file.

Quote:
Originally Posted by YamiKaitou View Post
While it is true this uses 1 file as compared to multiple files like AmxX, it still is the same basic principle
In my eyes it is indeed the same basic principle but a unique realization.
One could add generell CVAR support, one ini per CVAR.
I'm glad I did not create a config for every single kz_map!
Creating one config for a single CVAR seemed so .. unnecessary, to be honest.

Indeed, it's the same basic principle, but it is "map config for several CVARs" vs "CVAR config for several maps" now. I think it's case specific. One would never use the presented plugin for 2 or 3 maps. But one would never use permap configs for a single CVAR that's supposed to be changed for 100+ maps, either.
__________________
dangerix is offline
Reply



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 13:34.


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