Readme contents 1) About 2) Changelog 3) FAQ ***************** 1) Who, what, why, where, how? ************************* * * * WHO? Joe "Caveman" Noyes * * WHAT? A replacement for admin_vote_map that allows more than one map * * nomination, plugin_cavey_votemap.sma v1.5.0c * * WHY? Gazbo ran a server called Frog (long story) and at the end of the* * year he went back to the states with his girlfriend. Lots of 2nd * * year students remembered his scripts, but they were never on the * * adminmod plugins download page, so they are now back by popular * * demand. * * WHERE?Oh yeah, we are in Exeter University. * * - http://gosh.ex.ac.uk/~py99jan/ * * HOW? To install this, compile the script and place it in the dlls * * directory in CStrike. Then add a line at the TOP of your * * plugin.ini file that lists the compiled .amx. It MUST go at the * * top so that it stops the original admin_vote_map from running. * * Help! ICQ me on 70710878 with any bugs and issues. I will NOT help * * compiling or installing this plugin as it is all included on * * - www.adminmod.org * * or in this file. Enjoy ;) * * * * Caveman * * * * Respect to:- * * Gazbo Satyr (Original idea) * *************************************************************************** //////////////////////////// 2) Changelog \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 21:35 15/04/2002 - version 1.5.0c Corrects some "errors" 12:43 23/02/2002 - version 1.5.0a Dont know how this did not come to light earlier, but if you change the MAX_NOMINATIONS it refuses to compile. ALthough the code will deal with the changes, the compiler tries to protect it (which is nice) so I had to add some extra bits. Code and functionality remain the same as before though..... 12:43 23/02/2002 - version 1.5.0 Made it compatible with a few other plugins by making it act more like the original map vote plugin. Syncronised version numbers... 19:38 08/02/2002 - version 1.3.9 More streamlining, more bug fixing and added a compilable option to limit the number of maps one person may nominate. Currently in beta as some other functions need to go through testing..... 00:17 28/01/2002 - version 1.35 Changed the function to support adminmod 2.50.26. I also streamlined and bug fixed the plugin.... 16 January 2001, 21:46:36 - version 1.33 Added a line that forces the player to see the scores while the map loads. If they press their view scores key it will disappear.... Also included a beta called 1.41 that has some inelegant coding. It is not "Cool" enough for a full release yet. 13 December 2001, 13:22:26 - version 1.3 Added the ability for admins to CANCEL the map vote. If done during nominations, it will not ask users for an opinion. If done during the vote, it simply says the vote was canceled and ignores the vote result. 09 December 2001, 17:35:22 - Version 1.2 Added the ability to deny the last N maps which won map votes. Note that it does not include map changes in the map cycle. NOTE that this can be disabled by defining REMEMBER_MAPS to 0. 08 December 2001, 15:53:41 - Version 1.1 Added check to see if map vote is allowed. If not, it delays the map vote for a period of time. Reason for failing is if someone votes for anything between nominations starting and the actual vote. Should now work. 01 December 2001, 18:35:00 - Version 1.0 First fully working version. Allows nominations of maps for a multiple map vote. //////////////////////////// 3) F.A.Q. \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ * i)How do I install this script on my windows server? * ii)Why, when I type "admin_vote_map". do I still get the standard admin_vote_map menu? * iii)Could you add to your script? * iv)Could you write for me? ########################################################################### i)How do I install this script? Installation Win32 1) Place the uncompiled .sma in ../halflife/admin/scripting/myscripts. 2) Edit the #defined values at the top of the script to fit your needs. NOTE You can remove every function from this script using these values, so please read the EXPLANATION bits as you go. 3) Doubleclick the compile_all.bat 4) Find the ../halflife/admin/scripting/mybinaries directory and copy the .amx files. 5) Paste the .amx files into the ../halflife/{moddir}/addons/adminmod/scripts directory. 6) Add the names of the plugins to the plguin.ini in the addons/adminmod/config dir, ie for plugin_cavey_votemap.amx add "addons/adminmod/scripts/plugin_cavey_votemap.amx" to the file. This entry MUST be ABOVE plugin_base so that this script gets called instead of the original script. 7) In order to use the REMEMBER_MAPS function to limit the maps people can vote for, "file_access_write" AND "file_access_read" MUST be set to 1 in the server.cfg. If you dont do this it wont work. (There is no need to worry if you dont use the function). Also, the number of maps in the lastmaps.ini MUST match the number on compilation. If you want it to remember 5, there must be 5 originally in the file (it forgets one and remembers one more each vote, so if there are 2 in there there will always be 2). 8) In order for the Random Map vote at the end of each map, you MUST change "admin_vote_autostart" to a non-zero number. Also, if you set up a maps file (eg "maps_file 'maps.ini'"), it will pick the maps from that file. Otherwise, it defaults to using your mapcycle.txt. I recommend that your maps file is at least twice the size of the number of maps to be randomly chosen (default is 8, so you would need 16). ########################################################################### ii)Why, when I type "admin_vote_map". do I still get the standard admin_vote_map menu? You have not put the line for admin_cavey_votemap.amx ABOVE the plugin_base.amx, without this it will not function as expected. ########################################################################### iii)Could you add to your script? Sure, just e-mail me the details and I will try to make it and option. You will have to wait until I have time to do it, or if it is a really good idea I will do it quicker. Either way it will get added to me "to do" list. ########################################################################### iv)Could you write for me? Will also add this to my "to do" list, but it will go lower on the list than something that is associated with a script that already exists or I have written..... ###########################################################################