AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   AMX Match Deluxe (Current Version: 8.11) (https://forums.alliedmods.net/showthread.php?t=5231)

ToT | V!PER 11-23-2004 15:24

Quote:

Originally Posted by Black_Hunter
this plugin is great but it needs an update for v1.00!!!

And why?

Black_Hunter 11-24-2004 03:28

its not compatible with 1.00

breaddawson 11-24-2004 04:22

Quote:

Originally Posted by Black_Hunter
its not compatible with 1.00

will u plz give more details?
and we can see what's wrong with it

netmesias 11-24-2004 06:51

Re: AMX Match Deluxe by Shomilder and Infra
 
Hi all.

Im running a hlds for cs. im using amx mod x 0.20..
I cant get this plugins to work.. the plugins running alwright, but when i tries to load a match with this command in console "amx_match tag tag mr12 cal" it says "this config file dosnīt exist"... And yes my leagues folder is in the amxx/config folder.. I tried to rename the cal file in the leagues folder to cal.cfg ... same message..

Please help..
Net

Quote:

Originally Posted by Infra
First off, I had no way of getting a hold of Shomilder before I ported and upgraded this plugin. But kudos to him for writing a great plugin! :D

Code:

-=[ AMX Match Deluxe ReadMe]=-

* Made by Shromilder
* Upgraded and converted to Amx Mod X by Infra


 Works with AMXX 0.16 or more only!!
 To use HLTV hability, you need udp module which can be found here: http://amxmod.net/amx-modules.php
 /!\ IF YOU WANT TO USE THAT SCRIPT WITH CS 1.5, YOU HAVE TO SEE amxconst.inc FILE AND UNCOMMENT "#define NO_STEAM" AND THEN RECOMPILE ALL YOU PLUGINS (THIS ONE TOO OF COURSE).
 /!\ IF YOU DON'T WANT TO USE UDP MODULE (FOR THE HLTV), YOU HAVE TO COMMENT THE LINE "#define USE_HLTV_SECTION" AND RECOMPILE THE PLUGIN (read AMX readme.txt).
 You also need some config files which are here: http://shromy.free.fr/amx_match_cfgs.zip
 Need admin level "m" and works with CS mod only.

 This plug-in allow you to play matchs in MaxRound (warmup, CT, warmup2, Terrorist) or TimeLimit.
 It supports overtimes.
 It loads match server configs before the match and loads FFA server config when it's finished.
 It takes screenshots and can also record demos if you want it.
 You can even use a menu to load your matchs


 Usage:
 ------
 With commands:
 To load a match: amx_match <CT's clan tag> <T's clan tag> <mrXX or tlXX> <Config filename> [recdemo|rechltv|recboth]
                  or amx_match2 <mrXX or tlXX> <Config filename> [recdemo|rechltv|recboth]
                  for example: amx_match SK eoL mr12 ecup recboth
                              amx_match2 mr12 ecup recboth
                              These will load a match with MaxRound 12 rule,
                              using ecup.cfg server config file, and will record demos, HLTV demos & take screenshots
                              of every players.
                              P.S: if your clan tag has a space, use "". ex: "SK swe"
 To restart a match: amx_matchrestart
 To stop a match: amx_matchstop or "say /stop"
 To force the start of a match: amx_matchstart or "say /start"
 To swap teams: amx_swapteams
 To tell to the server the HLTV adminpassword: amx_match_hltv <HLTV adminpassword>

 The Menu:
 ---------
 First you must configure the menu.
 You must use amx_match_tmenu <matchtype>... to add match type
 and amx_match_cmenu <config name> <config filename> to add match config file
 Concretely, put this into your amxx.cfg file:
 
 amx_match_tmenu "mr12" "mr15" "tl10" "tl15" "tl20" "tl30"
 amx_match_cmenu "EuroCup Config" "ecup"
 amx_match_cmenu "CAL config" "cal"
 
 When it's done, just use amx_match_menu command and the menu will popup, allowing you to choose your match :)

 Cvars:
 -----
 amx_match_endtype: This cvar only works with maxround match type.
                    0 -> the match is finished after all rounds are played. (set by default)
                    1 -> the match is finished when a team has won mp_maxrounds+1 rounds.
                    2 -> there is a vote to play out the match after a team has won maxrounds+1 rounds, unless rounds played is less than 1/5 of total rounds away from end of match).
 amx_match_hostname: 0 -> Does not change host name of server.
                    1 -> Changes host name of server to "<CT tag> vs. <T tag> | <CFG file> CS Match In Progress" or (amx_match2) "<CFG file> CS Match In Progress". (set by default)
 amx_match_overtime: 0 -> there is no overtime if there's a draw (set by default).
                    1 -> there is an overtime after a draw match.
 amx_match_overtimecfg: Only use if you set amx_match_overtime to 1
                        0 -> there is no overtime config (set by default).
                        1 -> there is an overtime config.
 amx_match_otrounds: only used if you've set amx_match_overtime to 1.
                    These is the number of rounds which are played during the maxround overtime (3 by default).
 amx_match_password: 0 -> match plugin will not password server before match.
                      1 -> match plugin will password server before match, use with amx_match_password2. (set by default)
 amx_match_password2: Only use this cvar if you set amx_match_password to 1.
                      Use this cvar to set the value of password. (default value is "scrim")
 amx_match_playerneed: only used if you've set amx_match_readytype to 1.
                      This is the number of players which have to be ready (10 by default).
                      Set it to 4 if you want to play a 2 vs 2 match for example.
 amx_match_readytype: 0 -> only one player of each side must say ready for the match to begin.
                      1 -> ALL players much say ready in order to start the match (set by default).
                      2 -> only an AMX admin can start the match by saying /start or amx_matchstart
 amx_match_swaptype: 0 -> teams will not swap after the 1st half.
                    1 -> teams will swap automatically after the 1st half (set by default).
 amx_match_screenshot: 0 -> no screenshot at all.
                      1 -> screenshot of the score is taken at the end of each half (set by default).
                        2 -> screenshot of score, including userids, is taken at the end of each half.
 amx_match_screenshot2: 0 -> no screenshot if match is stopped using amx_match_stop or "say /stop" .
                      1 -> screenshot of the score is taken at the end of each half, even if match is stopped using amx_match_stop or "say /stop" (set by default).
 amx_match_shield: This cvar only works with CS 1.6.
                    0 -> you can't use the shield during the match (set by default).
                    1 -> you can use the shield during the match.
 amx_match_shield2: This cvar only works with CS 1.6.
                    0 -> unrestricts shield after match.
                    1 -> (re)restricts shield after match (set by default).
 amx_match_showscore: 0 -> Score will not be show after each round .
                      1 -> Score is shown after each round (set by default).


 For MaxRound:
 -------------
 When a match is loaded, warmup time begins and match server config is loaded.
 Then, when one player of each team says 'ready', the 1st half of the match starts.
 When the maxround limit is reached, it goes back to warmup.
 Then, when both teams say 'ready' again, the 2nd half starts.
 When the game is finished, it tells you which team has won the match and loads FFA server config file.
 It also records both side demos if you want it.

 For TimeLimit:
 --------------
 When a match is loaded, warmup time begins and match server config is loaded.
 Then, when one player of each team says 'ready', it starts the match, wait the end of the time limit, and reload the map.

 Config Files:
 -------------
 There are some special config files:
    - default.cfg is a server config file which is executed before every games.
      It can be used to disable some plug-ins like stats or set some default cvars
      which will erase your match config file cvars
    - ffa.cfg is the server config file which is executed at the end of the match
      in order that your server can be played by everyone =)
    - cfglist.txt is the list of your available config file.
      It is shown when you type a wrong config file when you're trying to load a match.
      So if you don't want to remember the name of all your server config file,
      just add them into this file =)

 All config files need to be into addons/amxx/custom/leagues/ folder
 and have .cfg extention (/!\ case sensitive so .CFG will not work!!)
 
 Note: for config files in AMX 0.20, see note below
 

 HLTV help:
 ----------
 /!\ IF YOU DON'T WANT TO USE UDP MODULE, YOU HAVE TO COMMENT THE LINE "#define USE_HLTV_SECTION" AND RECOMPILE THE PLUGIN (read AMX readme.txt).
 To use HLTV hability, you need udp module. If you use AMX 0.9.4 or more, you can find it here: http://amxmod.net/amx-modules.php
 Then, you have to configure your HLTV:
 In order to be able to control the HLTV, you must know it rcon. HLTV rcon can be set using "adminpassword" command in the HLTV console
 So how to get all work?...
 Load your HLTV.
 Set the HLTV adminpassword by using adminpassword <rcon> command in the HLTV console. Then connect it to your server using "connect ip:port" in the console.
 Load your match on the server using amx_match or amx_match2
 Then use amx_match_hltv <adminpassword> command in the server in order to tell to the server what's the HLTV adminpassword.
 If your HLTV is already connected, you should see him say " HLTV correctly configured =)".
 If you don't see that, it means that the HLTV adminpassword hasn't been correctly configured.
 If your HLTV isn't connected, it will try the adminpassword that you've set when it will enter the server.


 
 * Note for AMXX 0.20:
 * ------------------
 * All config files need to be into "addons/amxx/config/leagues/" instead of "addons/amxx/custom/leagues/" the folder
 * and have .cfg extention (/!\ case sensitive so .CFG will not work!!)
 *
 * You will also need to recompile the plugin using the AMXX 0.20 compiler.
 *

 Changelog:
 ----------

  - 2.01: fixed string bug in back_to_ffa().
          added match_restart to amx_match_menu.

 ----------

  - 2.00: (major release)
          added support for restarting the match.
          added support for show activity, if on.
          added cvars that were not previously in the menu, to the menu.
                    ---
          changed behavior of amx_match_password2 and amx_match_password for more fluid execution and easier to remember.
                  ---
          fixed version number bug in register plugin command.
          fixed bug where hostname would not be changed back to original hostname after match, if changed by match plugin.
          fixed bug where the vote, for playout, would happen even if there were 3 or 4 (total-rounds divided by 5 minus 1) or (30/5) - 1 = 5) rounds left in the match. version 2  ^_^
          fixed bug where vote to play out would happen even if end_type = 0
          fixed "un/passwording" of server after match, used same method as hostname fix to add/remove password at end of match.

 ----------

  - 1.81: fixed readme file to reflect changes that will be in AMXX 0.20.
          added amx_match_password and amx_match_password2 cvars
          added support for "passwording" the server.
  - 1.80: fixed bug where overtime config file was execed even in regular match time.
  - 1.79: added support for overtime config files.
          added amx_match_overtimecfg to turn [on|off] overtime config files.
  - 1.78: fixed typos.
  - 1.77: better code.
          fixed bug where the vote, for playout, would happen even if there were 3 or 4 rounds left in the match.
  - 1.76: added amx_match_shield2 cvar, unrestricts or (re)restricts shield after the match
  - 1.75: added compatibility with AmxModX 0.16
  - 1.74: added the ability to vote to play out the match. (Use amx_match_endtype)
  - 1.73: added amx_match_screenshot2 to take end-half screenshots even if match is stopped using amx_match_stop or "say /stop"
  - 1.72: added amx_match_hostname cvar to have the server change it's name based on who is playing.
          added "say /stop" command in addition to amx_match_stop.
  - 1.71: added the possibility to change match settings in the menu (it just change them, it doesn't save them anywhere so after a changelevel, all is lost).
          added amx_match_shield cvar to allow or not the use of the shield during the match.

 ----------

  - 1.70: trying to make it 1.6 compatible:
          stoprecord changed to stoprecording if using 1.6
          cancelselect used for the screenshots if using 1.6
          changed the hud msgs for 1.6 (readylist not yet done)
          score msg is a hud msg if using 1.6
  - 1.69: better code.
  - 1.68: if a player is already recording his own demo, then it's stopped to record a correct one.
          changed the score display.
          some bugs fixed & small changes.
  - 1.67: the cvar amx_match_showids has been changed to amx_match_screenshot which allow you to choose if you want to take a screenshot or not.
          added overtime support with amx_match_overtime & amx_match_otrounds cvars. To respect clantags, the team which must start the overtime as CT
          must be the team which started the match as CT (if you don't use clantags, there's no problem).
  - 1.66: changed showids. it now takes a screenshot of 'status' in the console
  - 1.65: added clantag recognition in the menu
  - 1.62: added the possibility to show score after each rounds using amx_match_showscore cvar (default is off)
  - 1.61: added the option to see wonid using amx_match_showids cvar (default is off)
  - 1.60: added the ability to use UDP module or not (so in fact, use hltv feature or not)
  - 1.54: corrected demo not stopping when the match is stoped.
          added amx_matchstart command which force the start of a match
  - 1.52: modified the menu, added HLTV help
  - 1.51: fixed HLTV record demo & some other bugs (thx to en3my for HLTV)
  - 1.50: HLTV demos \o/ recdemo will record players demos. rechltv will record HLTV demos. recboth will record HLTV and players demos.
  - 1.46: added amx_match_swaptype
  - 1.45: added admin start with say & menu (amx_match_readytype 2)
  - 1.44: some modifications. HLTV soon!
  - 1.43: removed a possible bug (warmup msg during match)
  - 1.42: corrected swapteam command: now it check if the user using it is an admin (stupid me :/)
  - 1.41: removed an horrible bug (changing map before the match) >:[
  - 1.40: added amx_match_menu which allow to load a match with a menu =]
  - 1.30: added amx_match_readytype & amx_match_playerneed cvars which allow that everyone must say ready
  - 1.21: added notready feature which allow a team or a player to remove their ready flag
  - 1.20: added amx_match_endtype cvar & fixed some bugs like recording demos with voicecom on.
  - 1.10: added amx_match2 and amx_swapteams command, added screenshots feature
  - 1.02: other bugs removed, less warmup msg flood
  - 1.01: added log commands, small bug removed
  - 1.00: first release

 To do:
  - Fix bug in clan tags finder function or add a messagemode to enter clan tags.
  - Add redmist's hltv code for use with socket module not UDP module
  - Fix bugs in cointoss
  - Support for infinite overtimes if match is tied
  - Allow double maps match:
    amx_match3 <CT's clan tag> <T's clan tag> <mrXX or tlXX> <Config filename> <second map> [recdemo|rechltv|recboth]
    amx_match4 <mrXX or tlXX> <Config filename> <second map> [recdemo|rechltv|recboth]

To do:
1. Fix bug in clan tags finder function or add messagemode type input.
2. Add redmist's hltv code for use with socket module not UDP module
3. Add ability to have a cointoss at start of match.
4. Support for infinite overtimes if match is tied
5. Allow double maps match:
amx_match3 <CT's clan tag> <T's clan tag> <mrXX or tlXX> <Config filename> <second map> [recdemo|rechltv|recboth]
amx_match4 <mrXX or tlXX> <Config filename> <second map> [recdemo|rechltv|recboth]

Note: HLTV recording has not been tested, I am not supporting HLTV recorded demos until either redmist or I have gotten his code working with the sockets module. Just do it manually for now.

8)


netmesias 11-24-2004 07:06

Hi..

Where can i get the new cla.cfg and calot.cfg

Net..

Quote:

Originally Posted by ToTaLKaosPaNcAk3
omg.

GET THE NEW CAL CONFIG AND CALOT CONFIG AND PUT IT IN THIS FOLDER.
amxx/configs/leagues for amxx 0.20
amxx/custom/leagues for amxx 0.16
then wen in the game type
amx_match <CT TEAM> <T TEAM> mr(maxrounds)15 cal then it should work.


Black_Hunter 11-24-2004 08:02

i have also problems on .16.
i start the menu, new match, tags, and then no configs to choice,nothing, but the configs are in the right folder, i havent changed anything!!!!
should i use your version breaddawson???

breaddawson 11-24-2004 08:33

@Black_Hunter

u mean when u use the menu to start the match
no config choices shown up?
is everything ok with 0.20?
and what was it when u use commands instead of menu?

i used this plugin with 0.20 and 1.0
...but i didn't use the menu,and the commands worked well

oh,my script just fix the vote bug ,leaver others untouched
but u could check it anyway

@netmesias

u should place the configs here

Code:

addons\amxmodx\configs\leagues
right?

i checked again,and it worked well with me
and i use 1.0 with it

if u want to try the newest cal.cfg
google is your good friend
and ampednews have one here(but i don't know if it's the newest)

http://www.ampednews.com/?page=downloads&id=1

Black_Hunter 11-24-2004 16:09

thx for your help!!! it was my fault i have solved the probs.!!!

breaddawson 11-25-2004 01:01

:) it's my pleasure
and if u still have problems with this
plz post it again here and i will try to help u to solve it as soon as possible

Shromilder 11-25-2004 13:23

/me is waiting for a CSS version of an amxlike.
so when it's out, i will make a brand new plugin for matchs :)


All times are GMT -4. The time now is 10:13.

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