View Single Post
Sandfly
Member
Join Date: Dec 2009
Location: Qld, Australia
Old 08-11-2010 , 02:38   Re: [ANY] Improved Map Randomizer v1.3 (Updated 8/10/10)
Reply With Quote #27

Hello Steell,

Well done on such a quick release of the versions of your plugin.

I have only one query and would be appreciative if you might be able to point me in the direction of fixing this.
Upon loading and configuring the plugin, there was one error message generated, which stopped the plugin from actually initiating its functions in the server. It has been pointed out before in this thread, but was perhaps lost amongst the others around it, but this is what generated in our error log:
Code:
L 08/11/2010 - 15:33:58: SourceMod error session started
L 08/11/2010 - 15:33:58: Info (map "gg_tbr_water_basin") (file "errors_20100811.log")
L 08/11/2010 - 15:34:00: [improved-randomizer.smx] Vote Error: Not enough maps to run a map vote.
L 08/11/2010 - 15:57:32: [improved-randomizer.smx] Vote Error: Not enough maps to run a map vote.
Our random_mapcycle.txt file is located in the root directory: srv/gungame/orangebox/cstrike folder and is a relatively simple config, as follows:
Code:
// Random mapcycle definition for Improved Map Randomizer

///////////////////////////////////////////////////////////////////////////////
//***************************************************************************//
//**                        IMPROVED MAP RANDOMIZER                        **//
//***************************************************************************//
// The format of this file is as specified in the following example:         //
//                                                                           //
// "random_rotation"                                                         //
// {                                                                         //
//      "GROUPNAME1" //Name of the group, used by group votes.               //
//      {                                                                    //
//          //Number of maps to include from this group in a vote.           //
//          // (Default value: 1)                                            //
//          "maps_invote"           "value: int >= 0"                        //
//                                                                           //
//          //The weight of this group for random picking. Higher numbers    //
//          //mean the group is more likely to be picked. 0 means the group  //
//          //can never be picked randomly.                                  //
//          // (Default value: 1)                                            //
//          "group_weight"          "value: int >= 0"                        //
//                                                                           //
//          //If a map from this group is picked randomly or via vote, the   //
//          //next time a map is chosen randomly, it will be from the group  //
//          //specified in this setting. If "" then a random group is picked.//
//          // (Default value: "")                                           //
//          "next_mapgroup"         "value: Group Name"                      //
//                                                                           //
//          //Used as defaults if "min_players" or "max_players" is          //
//          //not defined for any map in this group.                         //
//          // (Default value: 0)                                            //
//          "default_min_players"   "value: int >= 0"                        //
//          // (Default value: Player limit of the server)                   //
//          "default_max_players"   "value: int >= 0"                        //
//                                                                           //
//          "MAP1" //Name of a map, must be a valid map.                     //
//          {                                                                //
//              //The weight of this map with reference to other maps        //
//              //in this category. This number affect how likely the        //
//              //map will appear in a vote, as well as how likely this      //
//              //map will be chosen randomly (assuming this group has       //
//              //already been chosen.)                                      //
//              // (Default value: 1)                                        //
//              "weight"        "value: int >= 0"                            //
//                                                                           //
//              //Defines the number of players required to be on the        //
//              //server in order for this map to be used.                   //
//              // (Default values: see "default_min_players" and            //
//              //  "default_max_players")                                   //
//              "min_players"   "value: int >= 0"                            //
//              "max_players"   "value: int >= 0"                            //
//          }                                                                //
//                                                                           //
//          "MAP2"                                                           //
//          {                                                                //
//              ...                                                          //
//          }                                                                //
//                                                                           //
//          ...                                                              //
//                                                                           //
//          "MAPN"                                                           //
//          {                                                                //
//              ...                                                          //
//          }                                                                //
//      }                                                                    //
//                                                                           //
//      "GROUPNAME2"                                                         //
//      {                                                                    //
//          ...                                                              //
//      }                                                                    //
//                                                                           //
//      ...                                                                  //
//                                                                           //
//      "GROUPNAMEN"                                                         //
//      {                                                                    //
//          ...                                                              //
//      }                                                                    //
// }                                                                         //
//***************************************************************************//
///////////////////////////////////////////////////////////////////////////////

"random_rotation"
{
"fy_dustworld-x" {}
"gg_2fort_compound" {}
"gg_2simple_textures_v2" {}
"gg_Accumulatorion" {}
"gg_afekt_b1" {}
"gg_aim_ag_texture_jungle-l" {}
"gg_aim_shotty" {}
"gg_an_mountain" {}
"gg_an_shipyard08" {}
"gg_autumn" {}
"gg_avengers_shootout" {}
"gg_aztec" {}
"gg_beacn_redux" {}
"gg_bloodlords_underground_v2" {}
"gg_brrr_cabinwars" {}
"gg_cardhouse" {}
"gg_cargoyard_v2" {}
"gg_carpark_battle" {}
"gg_castle_wars" {}
"gg_cemetery_ggn" {}
"gg_diamond" {}
"gg_digital_green" {}
"gg_dm_hangumhigh-m" {}
"gg_doomed_ramp_final" {}
"gg_dust" {}
"gg_eagleye_wintersday" {}
"gg_fiercebattle_sunset" {}
"gg_forestfun_ggn" {}
"gg_fountainfight" {}
"gg_fun_mines" {}
"gg_funround" {}
"gg_fy_icecabin_gzm-m" {}
"gg_halo" {}
"gg_halo_gold" {}
"gg_heidi" {}
"gg_jlm1" {}
"gg_lego_arena_2" {}
"gg_m3rcury" {}
"gg_mad_grua" {}
"gg_maximum_hdr" {}
"gg_metal" {}
"gg_natus_v2" {}
"gg_neonarena_ii" {}
"gg_nukkon_hdr" {}
"gg_officeworld_v2" {}
"gg_outside" {}
"gg_punishment" {}
"gg_ruins_dawn" {}
"gg_sand_yard" {}
"gg_shroomtemple_ggn" {}
"gg_simpsons_assault" {}
"gg_simpsons_x" {}
"gg_snow_x" {}
"gg_sork_ggn" {}
"gg_stair_apex" {}
"gg_supadeth_b3" {}
"gg_tbr_water_basin" {}
"gg_tides_restaurant" {}
"gg_toondorf" {}
"gg_ultradeth_b1" {}
"gg_underpass" {}
"gg_wasteland_fortress_v2" {}
"gg_waterfalls_tex" {}
"gg_wmd_cellular" {}
"sl_tango_curve-d" {}
}
If you could assist us in whatever might be causing that error we would be most appreciative, as we'd love to have this plugin operating as per normal.

Cheers!
__________________
|IC| UltimateZombie: Reloaded - IP: 117.20.5.153:27015

|IC| Ultra GunGame SM - IP: 117.20.5.153:27018
Sandfly is offline