AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   MultiMod Manager CS [v2.2.1] (https://forums.alliedmods.net/showthread.php?t=343306)

IC3k1ng 07-31-2023 16:11

Re: MultiMod Manager CS [v2.1.2]
 
I understand you. Also that function looks very cool. Cheers.

SoulWeaver16 08-03-2023 12:07

Re: MultiMod Manager CS [v2.2.0]
 
Hello, I have a question, does it work if I put the plugin in another directory? example:
"plugins":
[
"GunGame/gg_base.amxx", "GunGame/plugin21.amxx", "GunGame/plugin33.amxx", "GunGame/plugin44.amxx", "GunGame/plugin5.amxx"
]
Also consult, if it supports long names of the zpsp_special_class_morpheus.amxx plugin in Polymorph it cuts it for me and leaves it "zpsp_special_class_morph" when loading it, it also doesn't let me put it in a directory other than Plugins, because ZombiePlague/zpsp_special_class_morpheus.amxx remains " "ZombiePlague/zpsp_speci" for example

Federicomb 08-06-2023 02:00

Re: MultiMod Manager CS [v2.2.0]
 
Quote:

Originally Posted by SoulWeaver16 (Post 2808150)
Hello, I have a question, does it work if I put the plugin in another directory? example:
"plugins":
[
"GunGame/gg_base.amxx", "GunGame/plugin21.amxx", "GunGame/plugin33.amxx", "GunGame/plugin44.amxx", "GunGame/plugin5.amxx"
]
Also consult, if it supports long names of the zpsp_special_class_morpheus.amxx plugin in Polymorph it cuts it for me and leaves it "zpsp_special_class_morph" when loading it, it also doesn't let me put it in a directory other than Plugins, because ZombiePlague/zpsp_special_class_morpheus.amxx remains " "ZombiePlague/zpsp_speci" for example

Hi :3

I don't think putting plugins in folders is compatible with amxmodx but you can put a prefix for a better organization of the "plugins" folder. Eg, gg_plugin1.amxx, gg_plugin2.amxx, dm_plugin1.amxx, zp_plugin1.amxx ...

Length name for plugins are defined by "PLATFORM_MAX_PATH" in "file.inc" default amxx include. file.inc#L30

My multimod manager simply overwrites the file defined for the plugins with the data you have configured. For example, you have loaded the plugins "gg_base.amxx", "gg_plugin1.amxx", "gg_plugin2.amxx" for "GunGame" mode. When this mode wins the vote, the plugin will create the file "plugins-multimodmanager.ini" with the list of those plugins defines.inc#L14. Debug word is supported too. Eg. "gg_base.amxx debug", "gg_plugin1.amxx" ...

Let me know if you have any compatibility issues and I'll try to fix them or if you have any questions with the settings.

:up:

maxolahird 08-10-2023 14:29

Re: MultiMod Manager CS [v2.2.0]
 
hey I get "load error" from this plugin ... I have all the requirements ok but it wont load... what could cause it to not load?

SoulWeaver16 08-10-2023 16:59

Re: MultiMod Manager CS [v2.2.0]
 
Quote:

Originally Posted by maxolahird (Post 2808452)
hey I get "load error" from this plugin ... I have all the requirements ok but it wont load... what could cause it to not load?

I made sure that you put commas between each element of the commands and plugins, also respecting the square brackets, I show you my config.json
PHP Code:

{
    
"global_chat_prefix""!g[MULTIMOD]",
        
// !g = ^4 (Green color)
        // !t = ^3 (Team color)
        // !y = ^1 (con_color cvar)

    
"adminflags":
    {
        
"menu""u",        // menu access
        
"managemods""a",  // immunity 
        
"selectmenu""f",  // amx_map command
        
"forcevotemod""f",// amx_map command
        
"votemenu""j"     // amx_vote and other vote commands
    
},

    
"rockthevote":
    {
        
"enable"true,     // true / false
        
"cooldown"120,    // min = 0 (disabled)
        
"minplayers"1,    // min = 0 (disabled) | max = 32
        
"percentage"75    // min = 0 (disabled) | max = 100
    
},

    
"nomination":
    {
        
"mods"true,       // true / false
        
"maps"true        // true / false
    
},

    
"admin_max_options_in_menu"9,   // min = 2 | max = 9
    
"mods_in_menu"9,                // min = 2 | max = 9
    
"maps_in_menu"9,                // min = 2 | max = 9

    
"max_recent_mods"5,   // min = 0
    
"max_recent_maps"5,   // min = 0

    
"overwrite_mapcycle"true// true / false (overwrites the mapcycle.txt with the maps of the selected mod)

    
"resemiclip_path""addons/resemiclip"
    
// Path where the add-on is located
    // Leave empty to disable this option ("")
    // If the path does not exist, it will be considered as disabled
    // E.g.: "addons/resemiclip"

    
"change_game_description"true// true / false (Changes the game description with the name of the mod)

    
"mods":
    [
    
// The first mode will always be the default mode, it cannot be blocked
        
{
            
"modname""DeathMatch",
    
// Mod name.
    // E.g.: "DeathMatch"


            
"mod_tag""dm",
    
// Mod tag
    // E.g.: "dm"


            
"mapsfile""deathmatch_maps.ini",
    
// Only the file name along with the extension.
    // The file must be located in "addons/amxmodx/configs/multimod_manager/mapsfiles/"
    // E.g.: "deathmatch_maps.ini"


            
"change_map_type"0,
    
// "change_map_type": 0 (The map will change at the end of the map)
    // "change_map_type": 1 (The map will change at the end of the round)
    // "change_map_type": 2 (Allows to play 1 more round and then changes the map)


            
"cvars":
            [
                
"hostname Deathmatch",
                
"amx_weapon_location 2",
                
"bot_auto_vacate 1",
                
"bot_deathmatch 1",
                
"bot_join_team any",
                
"bot_quota 20",
                
"bot_difficulty 2",
                
"humans_join_team any",
                
"max_shells 120",
                
"max_smokepuffs 10",
                
"mp_autoteambalance 1",
                
"mp_decals 100",
                
"mp_freezetime 1",
                
"mp_item_staytime 3",
                
"mp_limitteams 1",
                
"mp_nadedrops 0",
                
"mp_refill_bpammo_weapons 3",
                
"mp_roundtime 9",
                
"mp_weapondrop 0",
                
"scoreboard_shortheaders 0",
                
"scoreboard_showavatars 1",
                
"scoreboard_showhealth 1",
                
"scoreboard_showmoney 0",
                
"sv_airaccelerate 10",
                
"sv_friction 4",
                
"sv_gravity 800",
                
"sv_maxspeed 320",
                
"weapon_lights_radius 14",
                
"weapon_lights_silenced 0"
            
],
    
// Cvars that are executed when starting the mode, all the ones you want
    // Each cvar in quotes and separated by commas
    // E.g.: "cvars": [ "sv_gravity 900", "sv_alltalk 1", "hostname My CS Server", "mp_roundtime 6" ]
    // Leave "cvars": [ ] // to not load cvars


            
"plugins":
            [
                
"CSDM_ReAPI/csdm_core.amxx debug",
                
"CSDM_ReAPI/csdm_equip_manager.amxx debug",
                
"CSDM_ReAPI/csdm_map_cleaner.amxx debug",
                
"CSDM_ReAPI/csdm_misc.amxx debug",
                
"CSDM_ReAPI/csdm_protection.amxx debug",
                
"CSDM_ReAPI/csdm_spawn_manager.amxx debug",
                
"nosil.amxx",
                
"sniper_crosshairs.amxx",
                
"weapon_icon.amxx"
            
],
    
// Plugins that are needed for this mode, all the ones you want
    // Each plugin in quotes, separated by commas and with its corresponding extension
    // E.g.: "plugins": [ "deathmatch.amxx", "ultimate_sounds.amxx", "csstats.amxx" ]
    // Leave "plugins": [ ] // to not load plugins

            
"resemiclip_config":
            {
                
"semiclip""1",
                
"team""3"// 0 = all | 1 = T | 2 = CT | 3 = Team
                
"time""0",
                
"crouch""1",
                
"effects""1",
                
"distance""250",
                
"transparency""120",
                
"penetfire""1"
            
}
        },
        {
            
"modname":"GunGame",
            
"mod_tag""gg",
            
"mapsfile":"deathmatch_maps.ini",
            
"change_map_type"1,
            
"cvars":
            [
                
"hostname GunGame",
                
"sv_alltalk 1",
                
"bot_auto_vacate 1",
                
"bot_deathmatch 1",
                
"bot_join_team any",
                
"bot_quota 10",
                
"bot_difficulty 2",
                
"humans_join_team any",
                
"max_shells 10",
                
"max_smokepuffs 10",
                
"mp_autoteambalance 1",
                
"mp_decals 100",
                
"mp_freezetime 1",
                
"mp_infinite_ammo 2",
                
"mp_item_staytime 3",
                
"mp_limitteams 1",
                
"mp_nadedrops 0",
                
"mp_refill_bpammo_weapons 3",
                
"mp_roundtime 9",
                
"scoreboard_shortheaders 0",
                
"scoreboard_showavatars 1",
                
"scoreboard_showhealth 1",
                
"scoreboard_showmoney 0",
                
"sv_airaccelerate 10",
                
"sv_friction 4",
                
"sv_gravity 800",
                
"sv_maxspeed 320"
            
],
            
"plugins":
            [
                
"GunGame/regg_core.amxx debug",
                
"GunGame/regg_balancer.amxx debug",
                
"GunGame/regg_controller.amxx debug",
                
"GunGame/regg_informer.amxx debug",
                
"GunGame/regg_leader.amxx debug",
                
"GunGame/regg_map_cleaner.amxx debug",
                
"GunGame/regg_notify.amxx debug",
                
"GunGame/regg_warmup.amxx debug",
                
"GunGame/regg_show_winner.amxx debug",
                
"GunGame/regg_block_send_wpn_anim.amxx debug",
                
"GunGame/regg_mapmanager.amxx debug",
                
"GunGame/regg_motd.amxx debug",
                
"GunGame/regg_store_points.amxx debug",
                
"GunGame/regg_vote.amxx debug",
                
"nosil.amxx",
                
"sniper_crosshairs.amxx",
                
"weapon_icon.amxx"
            
],
            
"resemiclip_config":
            {
                
"semiclip""1",
                
"team""3"// 0 = all | 1 = T | 2 = CT | 3 = Team
                
"time""0",
                
"crouch""1",
                
"effects""1",
                
"distance""250",
                
"transparency""120",
                
"penetfire""1"
            
}
        }
    ]


Any error and the plugin won't load

SoulWeaver16 08-10-2023 17:03

Re: MultiMod Manager CS [v2.2.0]
 
Quote:

Originally Posted by Federicomb (Post 2808275)
Hi :3

I don't think putting plugins in folders is compatible with amxmodx but you can put a prefix for a better organization of the "plugins" folder. Eg, gg_plugin1.amxx, gg_plugin2.amxx, dm_plugin1.amxx, zp_plugin1.amxx ...

Length name for plugins are defined by "PLATFORM_MAX_PATH" in "file.inc" default amxx include. file.inc#L30

My multimod manager simply overwrites the file defined for the plugins with the data you have configured. For example, you have loaded the plugins "gg_base.amxx", "gg_plugin1.amxx", "gg_plugin2.amxx" for "GunGame" mode. When this mode wins the vote, the plugin will create the file "plugins-multimodmanager.ini" with the list of those plugins defines.inc#L14. Debug word is supported too. Eg. "gg_base.amxx debug", "gg_plugin1.amxx" ...

Let me know if you have any compatibility issues and I'll try to fix them or if you have any questions with the settings.

:up:

Oh, and thank you very much, everything works fine. It supports being inside folders and I had no problems with loading each of the plugins, great job, MultiMod Manager CS > Polymorph

fysiks 08-10-2023 21:49

Re: MultiMod Manager CS [v2.2.0]
 
Quote:

Originally Posted by SoulWeaver16 (Post 2808461)

Well, I did create it nearly 15 years ago. I also never used it on any of the server that I've played on so didn't have much incentive to do much more with it.

SoulWeaver16 08-11-2023 01:43

Re: MultiMod Manager CS [v2.2.0]
 
Quote:

Originally Posted by fysiks (Post 2808471)
Well, I did create it nearly 15 years ago. I also never used it on any of the server that I've played on so didn't have much incentive to do much more with it.

I understand it and your work is admirable, but as the development of the internet, there are always people who are dedicated to improving what exists, with new forms and ideas, I did not criticize your work, but I recognize that this plugin does the task at hand better

Roccoxx 08-29-2023 16:24

Re: MultiMod Manager CS [v2.2.0]
 
Good job Fede!

Spoiler


All times are GMT -4. The time now is 00:44.

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