From 1f5c23f275def09080923260dbe7d9ddc94242a0 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Mon, 5 Jun 2023 11:58:38 -0600 Subject: [PATCH] Update files --- README.md | 44 ++++++++++++++++++++++---------------------- main/server.cfg | 25 ++++++++++++------------- z_server.bat | 8 ++++++-- 3 files changed, 40 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 317a208..572a400 100644 --- a/README.md +++ b/README.md @@ -78,23 +78,23 @@ Make sure to disable this DVAR by adding ```set bots_main_firstIsHost 0``` in yo ### DVARs | Dvar | Description | Default Value | |----------------------------------|---------------------------------------------------------------------------------------------|--------------:| -| bots_main | Enable this mod. | true | -| bots_main_firstIsHost | The first player to connect will be given host. | true | +| bots_main | Enable this mod. | 1 | +| bots_main_firstIsHost | The first player to connect will be given host. | 1 | | bots_main_GUIDs | A comma separated list of GUIDs of players who will be given host. | "" | | bots_main_waitForHostTime | How many seconds to wait for the host player to connect before adding bots to the match. | 10 | -| bots_main_menu | Enable the in-game menu for hosts. | true | -| bots_main_debug | Enable the in-game waypoint editor. | false | -| bots_main_kickBotsAtEnd | Kick the bots at the end of a match. | false | +| bots_main_menu | Enable the in-game menu for hosts. | 1 | +| bots_main_debug | Enable the in-game waypoint editor. | 0 | +| bots_main_kickBotsAtEnd | Kick the bots at the end of a match. | 0 | | bots_main_chat | The rate bots will chat at, set to 0 to disable. | 1.0 | | bots_manage_add | Amount of bots to add to the game, once bots are added, resets back to `0`. | 0 | | bots_manage_fill | Amount of players/bots (look at `bots_manage_fill_mode`) to maintain in the match. | 0 | | bots_manage_fill_mode | `bots_manage_fill` players/bots counting method. | 0 | -| bots_manage_fill_kick | If the amount of players/bots in the match exceeds `bots_manage_fill`, kick bots until no longer exceeds. | false | -| bots_manage_fill_spec | If when counting players for `bots_manage_fill` should include spectators. | true | +| bots_manage_fill_kick | If the amount of players/bots in the match exceeds `bots_manage_fill`, kick bots until no longer exceeds. | 0 | +| bots_manage_fill_spec | If when counting players for `bots_manage_fill` should include spectators. | 1 | | bots_team | One of `autoassign`, `allies`, `axis`, `spectator`, or `custom`. What team the bots should be on. | autoassign | | bots_team_amount | When `bots_team` is set to `custom`. The amount of bots to be placed on the axis team. The remainder will be placed on the allies team. | 0 | -| bots_team_force | If the server should force bots' teams according to the `bots_team` value. When `bots_team` is `autoassign`, unbalanced teams will be balanced. This dvar is ignored when `bots_team` is `custom`. | false | -| bots_team_mode | When `bots_team_force` is `true` and `bots_team` is `autoassign`, players/bots counting method. | 0 | +| bots_team_force | If the server should force bots' teams according to the `bots_team` value. When `bots_team` is `autoassign`, unbalanced teams will be balanced. This dvar is ignored when `bots_team` is `custom`. | 0 | +| bots_team_mode | When `bots_team_force` is `1` and `bots_team` is `autoassign`, players/bots counting method. | 0 | | bots_skill | Bots' difficulty. | 0 | | bots_skill_axis_hard | When `bots_skill` is set to `8`, the amount of hard difficulty bots to set on the axis team. | 0 | | bots_skill_axis_med | When `bots_skill` is set to `8`, the amount of medium difficulty bots to set on the axis team. The remaining bots on the team will be set to easy difficulty. | 0 | @@ -102,21 +102,21 @@ Make sure to disable this DVAR by adding ```set bots_main_firstIsHost 0``` in yo | bots_skill_allies_med | When `bots_skill` is set to `8`, the amount of medium difficulty bots to set on the allies team. The remaining bots on the team will be set to easy difficulty. | 0 | | bots_skill_min | The minimum difficulty level for the bots. | 1 | | bots_skill_max | The maximum difficulty level for the bots. | 7 | -| bots_loadout_reasonable | If the bots should filter bad performing create-a-class selections. | false | -| bots_loadout_allow_op | If the bots should be able to use overpowered and annoying create-a-class selections. | true | +| bots_loadout_reasonable | If the bots should filter bad performing create-a-class selections. | 0 | +| bots_loadout_allow_op | If the bots should be able to use overpowered and annoying create-a-class selections. | 1 | | bots_loadout_rank | What rank to set the bots. | -1 | | bots_loadout_prestige | What prestige to set the bots. | -1 | -| bots_play_move | If the bots can move. | true | -| bots_play_knife | If the bots can knife. | true | -| bots_play_fire | If the bots can fire. | true | -| bots_play_nade | If the bots can grenade. | true | -| bots_play_obj | If the bots can play the objective. | true | -| bots_play_camp | If the bots can camp. | true | -| bots_play_jumpdrop | If the bots can jump/drop shot. | true | -| bots_play_target_other | If the bots can target other entities other than players. | true | -| bots_play_killstreak | If the bots can call in killstreaks. | true | -| bots_play_ads | If the bots can aim down sights. | true | -| bots_play_aim | If the bots can aim. | true | +| bots_play_move | If the bots can move. | 1 | +| bots_play_knife | If the bots can knife. | 1 | +| bots_play_fire | If the bots can fire. | 1 | +| bots_play_nade | If the bots can grenade. | 1 | +| bots_play_obj | If the bots can play the objective. | 1 | +| bots_play_camp | If the bots can camp. | 1 | +| bots_play_jumpdrop | If the bots can jump/drop shot. | 1 | +| bots_play_target_other | If the bots can target other entities other than players. | 1 | +| bots_play_killstreak | If the bots can call in killstreaks. | 1 | +| bots_play_ads | If the bots can aim down sights. | 1 | +| bots_play_aim | If the bots can aim. | 1 | ## Changelog - v2.1.0 diff --git a/main/server.cfg b/main/server.cfg index e4b629f..7f8a3a9 100644 --- a/main/server.cfg +++ b/main/server.cfg @@ -2,9 +2,9 @@ // Color Codes //****************************************************************************** // Colors for text. Do not clear the comment in front of the color codes. -// Useful for your server name, motd msgs - Information and ref use only -// -// ^1 = Red +// Useful for your server name, motd msgs - Information and ref use only +// +// ^1 = Red // ^2 = Green // ^3 = Yellow // ^4 = Blue @@ -60,7 +60,6 @@ set sv_maxping "0" // Log Settings set g_logsync "1" set logfile "1" -set g_log "games_mp.log" set sv_log_damage "1" // Network options @@ -95,21 +94,21 @@ set cl_autocmd "0" set sv_cheats "0" set sv_pure "0" set g_banips "" -set g_no_script_spam "1" +set g_no_script_spam "0" // Temporary Ban duration, in seconds set sv_kickbantime "3600" // In-game voice communication system -set sv_voice "0" -set sv_voicequality "4" +set sv_voice "1" +set sv_voicequality "0" set voice_deadchat "0" set voice_global "0" set voice_localecho "0" set winvoice_mic_mute "1" //****************************************************************************** -// Gameplay +// Gameplay //****************************************************************************** set scr_game_allowkillcam "1" set scr_game_onlyheadshots "0" @@ -121,21 +120,21 @@ set scr_game_forceuav "" set scr_game_hardpoints "1" //****************************************************************************** -// Hardpoints (Kill Streaks - 1 = allow, 0 = disallow) +// Hardpoints (Kill Streaks - 1 = allow, 0 = disallow) //****************************************************************************** set scr_hardpoint_allowartillery "1" set scr_hardpoint_allowuav "1" set scr_hardpoint_allowdogs "1" //****************************************************************************** -// Misc +// Misc //****************************************************************************** set sv_allowanonymous "0" set g_antilag "1" set g_compassshowenemies "0" //****************************************************************************** -// Gametypes +// Gametypes //****************************************************************************** // DEATHMATCH set scr_dm_scorelimit "150" @@ -250,8 +249,8 @@ set sv_maprotation "gametype dom map mp_dome" //****************************************************************************** // Additional DVAR's //****************************************************************************** -// There are simply too many DVAR's for AGrcon to explicitly list and index -// for you. All additional DVARs (such as weapon configs and player configs) are +// There are simply too many DVAR's for AGrcon to explicitly list and index +// for you. All additional DVARs (such as weapon configs and player configs) are // listed below. // WEAPONS / ATTACHMENTS diff --git a/z_server.bat b/z_server.bat index 807c2cf..3da7804 100644 --- a/z_server.bat +++ b/z_server.bat @@ -24,6 +24,10 @@ set pluto_path=%gamepath%\Plutonium set pluto_game_mode=t4mp :: Other things to send to cmd set cmd_extras= +:: Exe dedi path (leave default!) +set exe_path=bin\plutonium-bootstrapper-win32.exe +::IMPORTANT! Make sure the filename is unique for each server you clone! +set log_file=games_mp.log title Plutonium - %name% - Server restarter @@ -34,6 +38,6 @@ echo (%date%) - (%time%) %name% server start. cd /D %pluto_path% :server -start /wait /abovenormal /b "%name%" "bin\plutonium-bootstrapper-win32.exe" %pluto_game_mode% "%gamepath%" -dedicated -key "%key%" +set net_ip "%ip%" +set net_port "%port%" +set rcon_password "%rcon_password%" +set fs_game "%mod%" +exec "%cfg%" %cmd_extras% +map_rotate +start /wait /abovenormal /b "%name%" "%exe_path%" %pluto_game_mode% "%gamepath%" -dedicated -key "%key%" +set net_ip "%ip%" +set net_port "%port%" +set rcon_password "%rcon_password%" +set fs_game "%mod%" +set g_log "%log_file%" +exec "%cfg%" %cmd_extras% +map_rotate echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts. -goto Server +goto server