AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Deagles' Map Management 2.10i (https://forums.alliedmods.net/showthread.php?t=627)

BigBaller 03-29-2004 09:36

Deagles' Map Management 2.10i
 
1 Attachment(s)
* Credits
thedeagle3 - Creating this great plugin orignally.
xmdxtremekiller - For starting the orignal port of this plugin and for helping on some coding.
Monolyth - For help with coding and future coding to for further AMX MOD X Support.

* Translations By
lantz69 - Swedish Translation
skulldiggers - Portuguese-Brazil Translation

Also a big thanks to all that have help made this plugin bug free for both AMX and AMXX.

* Information

FEATURES:
* Every players can nominate up to (3) maps for the end-of-map vote, by simply saying the mapname in chat!
* If no nominations are made, or less than (5) *total* nominations are made, empty slots will be randomly filled with maps, as defined by the optional config files or the mapcycle.
* If enough players say "rockthevote" as defined by the admins, a vote will occur
* Map Change will only occur at the start of a round, or after giving plenty of time to allow players to finish the current round.
* Players may not nominate maps from the last (4) maps played
* When many nominations are made, players automatically replace their own nominations, or nominations of players with 2 more nominations then themselves.
* Map Vote will not interfere of buying weapons at the start of the round
* (Custom) will appear next to custom maps, during the vote. Also, the maximum number of custom maps that can be nominated can be changed by admins (dmap_maxcustom <n>).
* Numbers in parenthesis () are defaults, these can be changed in-game by admins
* Simply use command dmap_status to see a complete listing of commands while in-game

INSTALLATION:

* Extract mapmanager.sma into your addons/amxmodx/scripting directory from the zip file below.
* Extract all other files into your addons/amxmodx/configs/map_manage/ directory.
* Place the mapmanager.txt into the addons/amxmodx/data/lang/ directory
* The Zip File includes a readme for both the plugin and the optional config files which is attached at the bottom of this post.

* Remove mapchooser.amxx from addons/amxmodx/plugins.ini
* Add a line to your addons/amxmodx/config/plugins.ini of: mapmanager.amxx
* If you use the optional config file: addons/amxmodx/configs/map_manage/mapchoice.ini, the plugin will NOT use mapcycle.txt to randomly pick maps to fill slots in the votemenu.
* Otherwise, if you do not use the config file, then mapcycle.txt will be used!
* nextmap.amxx can be running along with this plugin, yet it is not necessary, and is NOT required!!
* Create allmaps.txt and list all your server maps in this file if you do not want to list from your mapcycle.txt. If you dont make the allmaps.txt then users that use the command "servermaps" will be displayed the mapcycle.txt instead.

Quote:

Originally Posted by Change Log since AMXX Release
* Lastest update [11-20-04]
* Added Portuguese-Brazil to the language file, thanks to skulldiggers.
* Hopefully help combat the list maps problem, The command "listmaps" is now "servermaps" to help stop server overflow errors.

* [07-20-04]
* Changed all files to point in the configs folder, this is for upcoming release of AMXX .20.
* all files should point in the amxx/configs/map_manage/ folder.
* Renamed the source and amx file to "mapmanager.sma/.amx" just for simplicity.
* Got the "indention warnings" down to eight! WOot Go me!
* Plan on making changes to the plugin to run smoother and add some new ideas that were posted on the forum.

New in 2.10i AMXX ONLY!
* Created AMXX Support thanks to xmdxtremekiller/BigBaller.
* This version can only be used on AMXX (http://www.amxmodx.org/)
* All files now load into the map_manage Directory (amxx\custom\map_manage\)
* Changed log_to_file to log_amx for AMXX Support. All Logs are now archived into main AMXX log files.
* Change natives strtonum and numtostr to AMXX natives str_to_num and num_to_str
* Modified this readme file to correspond with AMXX Directories and changes.

SPECIAL NOTES:

-- For best preformace add mapchangecfgfile server.cfg to your server.cfg file.

You MUST do one (or both) of the following:
1) define a mapcycle.txt file in the <MOD> directory with the maps you want to come up for the vote (they are always randomly chosen, as to not get repetitive votes)

and/or

2) use the config files (addons/amxmodx/configs/map_manage/mapchoice.ini) with at least 15 or so maps, that you want to come up for the vote.

If you use option #2, this will OVERRIDE usage of option #1.

Quote:

Originally Posted by thedeagles3
I give you permission to re-release my plugin doing the changes you said, and you may release it yourself. The plugin name and file name should remain as is (except add amx-x to the name, and you can do the changes you mentioned.

Since you are the first to ask me, I can only give you permission to re-release it. It does not make sense to release 2 copies of my plugin for AMX-X mod, as only one is necessary. Please copy and paste this message to AMX-X forums as I am too busy to be working on another project for Half-life.


Thank you


DoubleTap 03-29-2004 09:38

FINALLY :) Good work guys !

QuakerOates 03-29-2004 09:40

n1 will give it a try and see how it plays out =]

SirTom 03-29-2004 11:45

The manual in the forum say:Extract all OTHER files into your addons/amxx/custom/map_manage/directory.

L 03/29/2004 - 18:23:30: Unable to open file addons/amxx/configs/map_manage/mapchoice.ini, In order to get maps: your mapcycle.txt file will be searched
L 03/29/2004 - 18:23:30: Found 16 Maps in your mapcycle.txt/allmaps.txt file, 15 are available for filling slots
L 03/29/2004 - 18:23:47: [AMXX] Run time error 10 on line 2340 (task "0") (plugin "deagsmapmanage210i.amx")

BigBaller 03-29-2004 11:53

Quote:

Originally Posted by SirTom
The manual in the forum say:Extract all OTHER files into your addons/amxx/custom/map_manage/directory.

L 03/29/2004 - 18:23:30: Unable to open file addons/amxx/configs/map_manage/mapchoice.ini, In order to get maps: your mapcycle.txt file will be searched

Do you see the problem?

not configs folder, place it in the custom folder

it should be

addons/amxx/custom/map_manage/mapchoice.ini

SniperBeamer 03-29-2004 11:56

you should really read http://forums.alliedmods.net/showthread.php?t=375

BigBaller 03-29-2004 11:58

What exactly is wrong beamer?

it does use the get_customdir

*Edit nevermind I know

log_to_file

I will change that ASAP.

QuakerOates 03-29-2004 12:02

changing the HUD text colour from PINK (yack!) to another colour.

I looked at the sma file but there isn't much inthere to indicate to me where the colour is configured, appart from this line

Code:

forward public hudtext16(textblock[],colr,colg,colb,posx,posy,screen,time,id) ;
but not sure...

were can i change the colour.

BTW..i just noticed this in the logs:

Code:

L 03/29/2004 - 20:47:33: [AMXX] Run time error 10 on line 2340 (task "0") (plugin "deagsmapmanage210i.amx")
??

thx

SirTom 03-29-2004 12:04

So I have now only Configs here: \addons\amxx\custom\map_manage\

That is the log in addition:

L 03/29/2004 - 18:41:54: Server cvar "amxmodx_version" = "0.16 (4 modules)"
L 03/29/2004 - 18:41:54: Server cvar "sv_maxspeed" = "900"
[LogMod] ServerActivate
[AMXX] Loaded 4 admins from file
L 03/29/2004 - 18:41:55: Server cvar "atac_version" = "2.5.3"
L 03/29/2004 - 18:41:55: Server cvar "Deags_Map_Manage" = "2.10i"
L 03/29/2004 - 18:41:55: Server cvar "sv_accelerate" = "5"
L 03/29/2004 - 18:41:55: Server cvar "sv_stopspeed" = "75"
L 03/29/2004 - 18:41:55: Started map "de_dust" (CRC "-1641307065")

logaddress: 127.0.0.1:27021
Executing AMX Mod X Configuration File
Scrolling message displaying frequency: 10:00 minutes
Usage: amx_imessage
L 03/29/2004 - 18:41:55: Server cvar "mp_autokick" = "0"
L 03/29/2004 - 18:41:55: Server cvar "sv_aim" = "0"
L 03/29/2004 - 18:41:55: Server cvar "pausable" = "0"
L 03/29/2004 - 18:41:55: Server cvar "sv_maxspeed" = "320"
L 03/29/2004 - 18:41:55: Server cvar "mp_timelimit" = "25"
L 03/29/2004 - 18:41:55: Server cvar "mp_roundtime" = "3"
L 03/29/2004 - 18:41:55: Server cvar "mp_c4timer" = "35"
L 03/29/2004 - 18:41:55: Server cvar "mp_freezetime" = "3"
L 03/29/2004 - 18:41:55: Server cvar "mp_playerid" = "1"
L 03/29/2004 - 18:41:55: Server cvar "mp_flashlight" = "1"
L 03/29/2004 - 18:41:55: Server cvar "sv_region" = "3"
L 03/29/2004 - 18:41:55: Server cvar "sv_contact" = "[email protected]"
L 03/29/2004 - 18:41:55: Server cvar "mp_friendlyfire" = "1"
Adding auth server 65.73.232.253:27040
Adding auth server 65.73.232.251:27040
Adding master server 207.173.177.11:27010
L 03/29/2004 - 18:41:58: Server cvar "amx_nextmap" = "cs_747"
L 03/29/2004 - 18:41:58: Found 16 Maps in your mapcycle.txt/allmaps.txt file, 16 are available for filling slots
L 03/29/2004 - 18:41:59: Did not ban any maps from mapstoban.ini file
L 03/29/2004 - 18:42:04: World triggered "Round_Start"
L 03/29/2004 - 18:42:10: Attention, 0 Maps were found in the standardmaps.ini file. This is no problem, but the words Custom will not be used
Type 'amx_help' in the console to see available commands
Time Left: 24:43 min. Next Map: cs_747
L 03/29/2004 - 18:42:13: Unable to open file addons/amxx/configs/map_manage/mapchoice.ini, In order to get maps: your mapcycle.txt file will be searched
L 03/29/2004 - 18:42:13: Found 16 Maps in your mapcycle.txt/allmaps.txt file, 15 are available for filling slots
L 03/29/2004 - 18:42:30: [AMXX] Run time error 10 on line 2340 (task "0") (plugin "deagsmapmanage210i.amx")

BigBaller 03-29-2004 12:12

@SniperBeamer

changed log_to_file to log_amx ..

@SirTom

I see where I messed up, redownload the package it should be corrected.


All times are GMT -4. The time now is 20:52.

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