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

DoD Match 1.2.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Day of Defeat        Category:   Gameplay        Approver:   devicenull (200)
Threarah
Junior Member
Join Date: Jun 2005
Location: New Zealand
Old 06-24-2005 , 07:00   DoD Match 1.2.0
Reply With Quote #1

Code:
/*
Day of Defeat Match Plugin

This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at
your option) any later version.

Features:
- Automated POV and HLTV demo recording and naming with delay taken into consideration
- Customisable messages for individual servers/competitions
- Final score tallying
- Automated end of round screenshots
- Ability for teams to toggle their 'ready' status
- Support for multiple config sets (comes with an example config set, and a CAL rule based config set)
- Easily customisable timelimit - comes in handy for overtime situations
- The map being played is automatically reloaded at half time
- Multi language support (the language file contains only English at this time)
- Coin toss
- Global chat restriction (optional)
- Full match stats collection for later use with PsychoStats (optional)
- File consistency enforcement (optional)

Requirements:
- AMXModX - last tested on v1.76a
- DoDX and sockets modules
- stats_logging.amxx and DoDFun module if stats collection is being used
- Disable as many unused plugins as possible to avoid conflicts

Installation:
- Compile and put in your 'plugins' directory.
- Add 'dod_match.amxx' to your 'plugins.ini' file

Configuration sets:
- Config sets are stored in self-named sub-directories in the 'addons/amxmodx/configs/dod_match' directory.
- A config set consists of a 'plugin.cfg' (plugin configuration) file, a'match.cfg' (match configuration) file, an optional 'unlock.cfg' (run on dmp_unlock) file, optional map specific config files, and optional file consistency check ('fcc_*.cfg') files.
- Edit the 'defaultcfgset' file found in the 'addons/amxmodx/configs/dod_match' directory to set the name of the config set that should be used on server startup.
- Have a browse of the 'example' config set to see how things work.

Usage:
- Commands (ADMIN_LEVEL_A aka 'm' access is required):
 * dmp_lock <password>
  - Removes the timelimit, puts a password on the server and shows that password to everyone currently connected (save HLTV)
 * dmp_start <teama> <teamb> <Demos: none | recpov | rechltv | recboth> <timelimit>
  - Initialises a match on the current map with the desired settings.
   * 'teama' and 'teamb' are the names of the teams involved. Don't use spaces in the team names. These are used to name POV and HLTV demos.
   * 'timelimit' is the length of a half in minutes.
  - The first half will begin when both teams are ready.
  - The second half will begin when both teams are ready and HLTV is back in the server (if HLTV is being used to record)
 * dmp_stop
  - Abort the match. This can only be run once the match has begun. To change options prior to the match beginning use dmp_start.
 * dmp_unlock
  - Removes the password from the server and runs the config set's 'unlock.cfg'. If no unlock.cfg is found then the fallback 'unlock.cfg' in the main config directory will be run.
 * dmp_toss
  - Randomly returns HEADS or TAILS
 * dmp_setcfgset <cfgset>
  - Sets the config set. This command cannot be run during a match. The map will be reloaded when this command is run.

- CVARS:
 * dmp_hltv_delay <delay in seconds>
  - The delay set on the HLTV server in seconds. Default is 30.
 * dmp_hltv_rcon <password>
  - Remote console access password for the HLTV server.

All other dmp_* CVARS should not be touched unless you know what you're doing.

Notes:
- Leave mp_timelimit, mp_clan_readyrestart out of your match.cfg.
- HLTV servers using NAT may crash the server.
- CVAR enforcement will most likely return following the next AMXModX release as it is not possible with AMXModX 1.55.


History:
This plugin was originally used in the New Zealand Multiplayer Games League (http://www.mgleague.co.nz).

Feedback is most welcome :o)
Contact me if you can make translations so I can include them in the archive. 

 - Threarah ([email protected])

 
Changelog:
v1.2.0 (15/9/2005)
* Added: multiple config set support
* Added: dictionary file (multilanguage) support
* Changed: plugin name - was previously 'League Match Plugin'
* Changed: lmp_* to dmp_*

v1.1.4 (25/8/2005)
* Removed: perform on connect due to HLDS update preventing WWCL/HLG style CVAR enforcement. Improved CVAR enforcement may be added at a later date.

v1.1.3
* Fixed: updated to work with the beta release of AMXModX 1.50
* Fixed: empty lines in lmp_perform.cfg are now ignored

v1.1.2
* Fixed: empty lines in dmp_files*.cfg server crash
* Added: map-specific file consistency checking (dmp_files_dod_mapname.cfg)
* Changed: league.cfg is now lmp_match.cfg
* Changed: public.cfg is now lmp_public.cfg
* Changed: leagueperform.cfg is now lmp_perform.cfg
* Changed: leaguefiles.cfg is now lmp_files_global.cfg

v1.1.1
* Changed: global chat restricion is now a compile-time option

v1.1.0
* Added: optional 'Perform on connect'
* Added: coin toss
* Changed: stats collection is now a compile-time option

v1.0.5
* Added: optional file consistnecy checking 

v1.0.0
* Initial release


*/
Attached Files
File Type: zip dod_match_1.2.0.zip (57.2 KB, 2530 views)

Last edited by Threarah; 10-12-2006 at 00:11.
Threarah is offline
Send a message via ICQ to Threarah
Orkhz
New Member
Join Date: Jul 2005
Old 07-31-2005 , 07:33  
Reply With Quote #2

Hrm..
Orkhz is offline
nathan
Junior Member
Join Date: Aug 2004
Old 08-05-2005 , 20:50  
Reply With Quote #3

Hi,
This might be a nub question, but I can't seem to find the answer.

What about those of us who have a different config for each map? Is there a way for it to execute the appropriate config or scoring values without it being generic for each map?

thanks, and really like the plugin thus far.

Nathan
nathan is offline
Send a message via AIM to nathan
Threarah
Junior Member
Join Date: Jun 2005
Location: New Zealand
Old 08-05-2005 , 23:21  
Reply With Quote #4

You can use .cfg files named after the maps and placed in the root dod directory for map specific stuff. For example, dod_anzio.cfg might contain:
Code:
mp_clan_scoring_values_allies "11210"
mp_clan_scoring_values_axis "11012"
mp_clan_scoring_bonus_allies "40"
mp_clan_scoring_bonus_axis "40"
mp_clan_scoring_delay "30"
I think they're run whenever the map is loaded - this a HL thing and has nothing to do with the plugin :o)
Threarah is offline
Send a message via ICQ to Threarah
nathan
Junior Member
Join Date: Aug 2004
Old 08-06-2005 , 01:57  
Reply With Quote #5

gotcha, thank you very much.
nathan is offline
Send a message via AIM to nathan
21stuk
Junior Member
Join Date: Nov 2005
Old 12-16-2005 , 13:25  
Reply With Quote #6

As with most plugins I seem to install recently, I get a bad load error with this one. Any reasons why? It is in my plugins.ini and in the plugins folder
21stuk is offline
DGServers
Junior Member
Join Date: Apr 2008
Old 08-19-2008 , 07:00   Re: DoD Match 1.2.0
Reply With Quote #7

Has this plugin got a menu if so what is the command to use in game ??
DGServers is offline
Old 06-30-2012, 11:11
himanshudutt
This message has been deleted by himanshudutt. Reason: My mistake
himanshudutt
New Member
Join Date: Jun 2012
Old 06-30-2012 , 11:11   Re: DoD Match 1.2.0
Reply With Quote #8

Quote:
Originally Posted by 21stuk View Post
As with most plugins I seem to install recently, I get a bad load error with this one. Any reasons why? It is in my plugins.ini and in the plugins folder
I'm also getting the same error...
himanshudutt 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 01:35.


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