<div><font size="6"><font color="Blue"><b>Multi-Mod Manager v1.0-release_candidate1.hotfix1</b></font></font><br /><b>Release: 10.10.2015 | Last Update: 11.10.2015</b><br /><br /><a name="Top"></a><font size="5"><font color="blue"><b>Contents' Table</b></font></font> <br /><ul><li><a href="#Introduction">Introduction</a></li>
<li><a href="#Requirements">Requirements and Commands</a></li>
<li><a href="#MyMultiModServer">My Multi-Mod Server</a></li>
<li><a href="#Installation">Installation</a></li>
<li><a href="#Explanations">Explanations</a></li>
<li><a href="#Configuration">Configuration</a></li>
<li><a href="#Change">Change Log</a></li>
<li><a href="#TODO">TODO</a></li>
<li><a href="#Credits">Credits</a></li>
<li><a href="#Sourcecode">Source Code and Support</a></li>
<li><a href="#Downloads">Downloads</a></li>
</ul>The original plugin "<a href="https://forums.allie...ad.php?t=95568"target="_blank">multimod.sma</a>" is originally written by JoRoPiTo. This "<b>Multi-Mod Manager</b>" works <br />differently from the original "<font color="Blue">MultiMod Manager</font>". It keeps your original "plugins.ini" and add a new custom <br />set (<b>the Mod</b>) to the current game, without changing your original "<b>plugins.ini</b>". See <a href="#Credits">Credits</a> for information. <br /><br />This is a release candidate, which is a beta version with potential to be a final product, which is ready to be <br />released unless <b>significant bugs</b> emerge. In this stage of product stabilization, all product <b>features</b> have been <br />designed, coded and tested through one or more beta cycles with no known show stopper-class bug. <br /><br />This plugin <font color="Red">is <b>not</b> compatible</font> with the AMXX's very own <b>Map Chooser</b> or "<b>Daily Maps</b>", but yes with its <br />modification "<b>multimod_mapchooser.sma</b>" and "<b>multimod_daily_changer</b>" provided here. The new <br />"<a href="https://forums.alliedmods.net/showthread.php?t=273019" target="_blank">galieo_reloaded.sma</a>" which is a different Galileo version, <font color="Red">is ready</font> to be used with this <b>Multi-Mod Manager</b>". <br /><br />The "<b>Multi-Mod Daily Maps</b>" is a modified version of "<b>Daily Maps</b>" to work with this "<b>Multi-Mod Manager</b>". <br />This plugin only works with "<b>Multi-Mod Manager</b>", alone the "<b>Multi-Mod Daily Maps</b>" does nothing. Its allows <br />you to specify a different "<b>mapcycles</b>" and "<b>server cfg</b>" files rotation, for every day. These daily mapcycles are <br />only active when you are not using any mod, or your current mod does not specifies a special mapcycle. The <br />"<b>mapcycles</b>" and "<b>server cfg</b>" files respectively, are located at "<font color="Blue">yourgamemod/mapcycles/</font><b>day</b>" and <br />"<font color="Blue">yourgamemod/mapcycles/</font><b>day/cfg</b>". <br /><br />As I am working at another plugins, I cannot provide immediately fixes and forum's answers here. But <br />as soon as I can, I am going to release the final version. <br /><a href="http://www.gametracker.com/search/?search_by=server_variable&search_by2=MultiModManager&query=&loc=_all&sort=&order=" target="_blank"><br /><font size="3"><b><font color="DarkGreen">Click here to see all servers using this plugin.</font></b></font></a> <br /><br />********************** <a name="Introduction"></a><b><font size="5"><font color="blue">Introduction</font></font></b> <a href="#Top">Go Top</a> *******************************<br />This is a multi-mod server manager, that controls which mod is, or will be activated. <br />A mod can be activated by vote (<b>say votemod</b>), or by force (<b>amx_setmod</b> or <b>amx_setmods</b>).<br /><br />There is a list of mods (<font color="Blue"><b>multimod.ini</b></font>) that decides which mods will show up at a mod vote. <br />The vote mod supports a multi-page menu, that display until 100 Mods loaded from <b>multimod.ini</b> file. <br />Beyond <b>100 mods</b>, the vote mod menu will not display then. To enable more than 100 mods, <br />redefine the compiler constant "<font color="Blue"><b>#define MAXMODS 100</b></font>" inside the plugin.<br /><br /><img src="http://addons.zz.mu/recursos/2015-08-16_14-08_Counter-Strike.jpg" border="0" alt="" /><br /><br />The "<b>multimod_manager.sma</b>" waits the user choose to activate one mod, by vote menu, <br />or by command line. It <b>saves</b> the current active mod and <font color="Blue"><b>keep it active</b></font> forever or until some <br />other mod is <font color="Blue"><b>activated</b></font> or your disable the active mod by the "<b>amx_setmod disable 1</b>" command. <br /><br /><font color="Blue"><b>Features' list:</b></font> <br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
* Changes the <b>default mapcycle</b>, if and only if a custom mod mapcycle was created.<br /><br /> * The <font color="Blue">vote menu's</font> first to options are: "<b>1. Keep Current Mod</b>" and "<b>2. No mod - Disable Mod</b>".<br /><br /> * The vote mod <b>keep the current mod</b>, when less than 30% of players voted. <br /><br /> * When the min vote mod time is not <b>reached/disabled</b>, display a message informing it. <br /><br /> * Command '<font color="Blue"><b>amx_setmod modShortName <1 or 0></b></font>', to enable the mod "modShortName" as <font color="Blue">csdm</font>, <br /> starting a vote map (1) or not (0), right after. <br /><br /> * Command '<font color="Blue"><b>amx_setmods modShortName <1 or 0></b></font>', to enable the mod "modShortName" as <font color="Blue">surf</font>, <br /> restarting (1) or not (0) the server immediately, <b>s</b>ilently. <br /><br />OBS: A mod can <b>only</b> to be/get activated after a restart.
<hr />
</td>
</tr>
</table>
</div>The command "<b>amx_setmod help 1</b>" display the acceptable inputs and loaded mods <br />from the file "<font color="Blue">yougamemod/addons/amxmodx/configs/multimod/</font><b>multimod.ini</b>". There is <br />2 built-in operations beyond mods activation: "<font color="Blue"><b>amx_setmod help 1</b></font>" and "<font color="Blue"><b>amx_setmod disable 1</b></font>",<br />respectively to shows <b>help</b> and <b>disable</b> any active mod.<br /><br /><img src="http://addons.zz.mu/...-Strike(2).jpg"border="0" alt="" /><br /><br />If enabled (<b>default disabled</b>), when remaining <font color="Blue"><b>5 minutes to end</b></font> current map, this plugins launches a vote to <br />choose which mod will be played at the <b>next map</b>. If less than 30% voted, the game <b>keep the current mod</b> <br />or <b>keep it disabled</b> if there is no mod enabled. <br /><br />********************** <a name="Requirements"></a><font size="5"><font color="Blue"><b>Requirements and Commands</b></font></font> <a href="#Top">Go Top</a> ******<br /><b>Amx Mod X 1.8.2</b> <br />Tested under <b>Counter-Strike</b> and Counter-Strike: <b>Condition Zero</b> <br /><br /><b>Cvars:</b><br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
// Minimum <b>time</b> to play before players can make <b>MOD voting</b>. <br /><font color="Blue">amx_mintime <b>10 </b></font><br /><br />// enable (<b>1</b>) or disable (<b>0</b>) end map <b>multi-mod</b> voting.<br /><font color="Blue">amx_multimod_endmapvote <b>0 </b></font><br /><br />// enable (<b>1</b>) or disable (<b>0</b>) multi-mod voting (<b>say votemod</b>).<br /><font color="Blue">amx_multimod_voteallowed <b>1 </b></font>
<hr />
</td>
</tr>
</table>
</div><b>Commands:</b><br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
//Command line control of <b>multimod system</b><br /><font color="Blue">amx_setmod</font> <br /><br />//<b>Admin only</b> command to launch MOD voting<br /><font color="Blue">amx_votemod</font> <br /><br />//Check which MOD <b>will be running</b> in next map<br /><font color="Blue">say nextmod</font> <br /><font color="Blue">say_team nextmod</font> <br /><br />//Check which <b>MOD</b> is running in the <b>current map</b><br /><font color="Blue">say currentmod</font> <br /><font color="Blue">say_team currentmod</font> <br /><br />//Player command <b>to launch</b> MOD voting<br /><font color="Blue">say votemod</font> <br /><font color="Blue">say_team votemod</font>
<hr />
</td>
</tr>
</table>
</div><a name="MyMultiModServer"></a><font size="4"><b>My Multi-Mod Server with:</b></font> <ul><li>CS-DM (DeathMatch)</li>
<li>Catch Mod</li>
<li>Dragon Ball Mod</li>
<li>Gun Game Mod</li>
<li>Hide N Seek Mod</li>
<li>Just Capture The Flag</li>
<li>Knife Arena Mod</li>
<li>Predator Mod_b2</li>
<li>Super Heros</li>
<li>Surf Mod</li>
<li>Warcraft Ultimate Mod 3</li>
<li>Zombie Money Mod</li>
<li>Zombie Pack Ammo Mod</li>
</ul><font size="4"><a href="https://forums.allie...d.php?t=273018"target="_blank">Is available here</a></font>. <br /><br />******************************** <a name="Installation"></a><b><font size="5"><font color="Blue">Installation</font></font></b> <a href="#Top">Go Top</a> **********************<br /><b>1.</b> Download the files "<b>multimod_manager.sma</b>", "<b><font color="Red">plugin_resources.zip</font></b>", <br />"<b>multimod_mapchooser.sma</b>" and "<b>multimod_daily_changer.sma</b>" (optionally), at <a href="#Downloads">Downloads</a> section. <br /><br /><b>2.</b> Then take the contents of "<b>yourgamemod</b>" from "<b>plugin_resources.zip</b>", to your gamemod folder. <br /><br /><b>3.</b> <b>Compile</b> the files and put the <b>compiled</b> files to your plugins folder at <br />"<font color="Blue">yourgamemod/addons/amxmodx/</font><b>plugins</b>" folder. <br /><br /><b>4.</b> Put the next lines to your "<b>plugins.ini</b>" file at "<font color="Blue">yourgamemod/addons/amxmodx/</font><b>configs</b>" and<br />disable the original "<b>mapchooser.amxx</b>": <br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
multimod_manager.amxx<br />multimod_mapchooser.amxx<br />multimod_daily_changer.amxx
<hr />
</td>
</tr>
</table>
</div><b>5.</b> Put the next line to your "<b>amxx.cfg</b>" file at "<font color="Blue">yourgamemod/addons/amxmodx/</font><b>configs</b>":<br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
exec addons/amxmodx/configs/multimod/multiMod.cfg
<hr />
</td>
</tr>
</table>
</div><a name="Configuration"></a><b>6. <font size="5"><font color="red">Configure</font></font></b> your own mods at "<font color="Blue">yourgamemod/addons/amxmodx/configs/multimod/</font><b>multimod.ini</b>" <br />file as follow (the short mod name cannot be longer than 15 characters neither have spaces):<br /><br />--- <b>Example of:</b> <font color="Blue">yourgamemod/addons/amxmodx/configs/multimod/</font><b>multimod.ini</b> ------<br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
[Gun Game]:[gungame]:<br /><br />;[mode name]:[short mod name]:
<hr />
</td>
</tr>
</table>
</div>-------------- And you have <b>to create</b> the files:----------------------------<br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
<font color="Blue">yourgamemod/addons/amxmodx/configs/multimod/</font><b>plugins/gungame.txt</b><br /><br /><b>(Optinal files)</b><br /><font color="Blue">yourgamemod/addons/amxmodx/configs/multimod/</font><b>cfg/gungame.cfg</b><br /><font color="Blue">yourgamemod/addons/amxmodx/configs/multimod/</font><b>latecfg/gungame.cfg</b><br /><font color="Blue">yourgamemod/addons/amxmodx/configs/multimod/</font><b>msg/gungame.cfg</b><br /><font color="Blue">yourgamemod/mapcycles/</font><b>gungame.txt</b>
<hr />
</td>
</tr>
</table>
</div>-------------- <a name="Explanations"></a><b><font size="5"><font color="blue">Explanations</font></font></b> <a href="#Top">Go Top</a> -------------------------<br /><br /><b>1.</b> The file "<font color="Blue">yourgamemod/addons/amxmodx/configs/multimod/</font><b>plugins/gungame.txt</b>", <br />contains the plugins that compose the Mod like:<br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
gungame.amxx
<hr />
</td>
</tr>
</table>
</div><b>2.</b> The file (<b>opcional</b>) "<font color="Blue">yourgamemod/addons/amxmodx/configs/multimod/</font><b>cfg/gungame.cfg</b>", <br /><font color="Blue">contains</font> yours special configuration used at the mod activation, like:<br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
amxx pause amx_adminmodel<br />sv_gravity 600
<hr />
</td>
</tr>
</table>
</div><b>3.</b> The file (<b>opcional</b>) "<font color="Blue">yourgamemod/addons/amxmodx/configs/multimod/</font><b>cfg/gungame.cfg</b>", <br />contains <font color="Blue">yours</font> special configuration used after the mod deactivation, like:<br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
amxx unpause amx_adminmodel<br />sv_gravity 800
<hr />
</td>
</tr>
</table>
</div><b>4.</b> The file (<b>opcional</b>) "<font color="Blue">yourgamemod/addons/amxmodx/configs/multimod/</font><b>msg/gungame.cfg</b>" contains <br />commands that are executed when a mod is activated by the command line "<b>amx_setmod</b>". <br />Usually it contains a command <b><font color="Blue">to restart</font></b> the server. <br /><b>Example</b> of "<font color="Blue">yourgamemod/addons/amxmodx/configs/multimod/msg/</font><b>gungame.cfg</b>":<br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
amx_execall speak ambience/ratchant<br />amx_tsay ocean GUN-GAME will be activated at next server restart!!!!<br />amx_tsay blue GUN-GAME will be activated at next server restart!!!!<br />amx_tsay cyan GUN-GAME will be activated at next server restart!!!!<br />amx_tsay ocean GUN-GAME will be activated at next server restart!!!!<br /><br />//amx_countdown 5 restart<br />exec addons/amxmodx/configs/multimod/votefinished.cfg
<hr />
</td>
</tr>
</table>
</div><b>5.</b> The file (<b>opcional</b>) "<font color="Blue">yourgamemod/mapcycles/</font><b>gungame.txt</b>" contains the mapcycle used when <br /><font color="Blue">gungame mod</font> is active.<br /><br />******************************** <a name="Change"></a><b><font size="5"><font color="blue">Change Log</font></font></b> <a href="#Top">Go Top</a> ***********************<br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
v1.0-release_candidate1<br /> * Initial release candidate. <br />v1.0-release_candidate1.hotfix1<br /> * Add exception handle when the currentmod.ini or currentmodsilent.ini is does not found.
<hr />
</td>
</tr>
</table>
</div>******************************** <a name="TODO"></a><b><font size="5"><font color="blue">TODO</font></font></b> <a href="#Top">Go Top</a> *********************************<br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
* Removed unnecessary variables like g_fileMsg, g_fileplugins, g_filemaps and g_fileCfgs.
<hr />
</td>
</tr>
</table>
</div>******************************** <a name="Credits"></a><b><font size="5"><font color="blue">Credits</font></font></b> <a href="#Top">Go Top</a> *******************************<br /><b>fysiks</b>: The first to realize the idea of "multimod.sma" and some code improvements. <br /><b>joropito</b>: The idea/program developer of "<a href="https://forums.allie...ad.php?t=95568"target="_blank">multimod.sma</a>". <br /><b>crazyeffect</b>: Colaborate with multilangual support of "multimod.sma". <br /><b>dark vador 008</b>: Time and server for testing under czero "multimod.sma". <br /><b>Addons zz</b>: The "multimod_manager.sma" developer. <br /><b>DeRoiD's</b>: For print_color function. <br /><b>JustinHoMi & JGHG</b>: For the "<a href="https://forums.alliedmods.net/showthread.php?t=3886" target="_blank">Daily Maps</a>" plugin. <br /><b>AMXX Dev Team</b>: For the "Map Chooser" plugin. <br /><br />******************************** <a name="Sourcecode"></a><font size="5"><font color="blue"><b>Source Code and Support</b></font></font> <a href="#Top">Go Top</a> ***<br />This source code is available on <b>GitHub</b>. <br /><a href="https://github.com/addonszz/Multi-Mod_Server/blob/develop/addons/amxmodx/scripting/multimod_manager.sma" target="_blank">https://github.com/a...ager.sma</a><br /><br />For any problems with this plugin visit <b><a href="https://forums.alliedmods.net/showthread.php?t=273020" target="_blank">this own page</a></b> or: <br /><a href="https://github.com/Addonszz/Multi-Mod_Server/issues" target="_blank">https://github.com/A...rver/issues</a> <br />for support. <br /><br />If you are <b>posting</b> because the plugin or a <b>feature</b> of the plugin isn't working for you, <b>please</b> do <br />all of the following, so we can <font color="Blue">more efficiently</font> figure out what's going on:<br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />
If you have access to your game server's console, type the <font color="Blue"><b>following</b></font> in the server console:<ul><li>status</li>
<li>meta list</li>
<li>amxx plugins</li>
<li>amxx cvars</li>
</ul>If you don't have access the your <font color="Blue"><b>game server's console</b></font>, join your server and type the <br />following in your game console:<br /><ul><li>status</li>
<li>rcon_password your_rcon_password</li>
<li>rcon meta list</li>
<li>rcon amxx plugins</li>
<li>rcon amxx cvars</li>
</ul><ol style="list-style-type: decimal"><li>Paste here everything from the <b>status</b> command <font color="Red"><b>*except*</b></font> the player list.</li>
<li>Paste here the entire result from the <b>meta list</b> and <b>amxx plugins</b> commands.</li>
<li>Paste here <font color="red"><b>*only*</b></font> the CVARs that contain "<font color="SeaGreen"><b>multimod_manager.amxx</b></font>" in the last column <br />from the <b>amxx cvars</b> command. They will be grouped together.</li>
</ol>
<hr />
</td>
</tr>
</table>
</div>******************************** <a name="Downloads"></a><font size="6"><font color="Blue"><b>Downloads</b></font></font> <a href="#Top">Go Top</a> ********************</div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie...attach/sma.gif"alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.amxmodx.o...31"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1444531248">GetSource</a> (multimod_mapchooser.sma - 8.9 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/sma.gif"alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.amxmodx.o...32"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1444531248">GetSource</a> (multimod_daily_changer.sma - 3.0 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...sources.zip</a>(11.0 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/sma.gif"alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.amxmodx.o...41"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1444541533">GetSource</a> (multimod_manager.sma - 54.9 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
Multi-Mod Manager v1.0-release_candidate1.hotfix1
Temat rozp. Adminek AMXX.PL, 11.10.2015 03:41
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych