cfg: updated yapb.cfg to reflect changes.

cfg: made yb_quota 9 by default.
linux: fixed bots connection times remains static on linux or osx.
crlib: fix security issues.
This commit is contained in:
ds 2020-10-04 00:54:34 +03:00
commit 30a112fd71
10 changed files with 110 additions and 54 deletions

View file

@ -4,11 +4,11 @@
// @author: YaPB Development Team
// @filename: yapb.cfg
//
// YAPB main configuration file. Can be executed via "exec" command.
// YaPB main configuration file. Can be executed via "exec" command.
//
//
// Enables or disables useful messages about bot states. Not required for end users
// Enables or disables useful messages about bot states. Not required for end users.
// ---
// Default: "0", Min: "0", Max: "4"
//
@ -61,7 +61,7 @@ yb_radio_mode "2"
yb_economics_rounds "1"
//
// Sepcifies whether bots able to use 'shift' if they thinks that enemy is near.
// Specifies whether bots able to use 'shift' if they thinks that enemy is near.
// ---
// Default: "1", Min: "0", Max: "1"
//
@ -82,7 +82,7 @@ yb_camping_allowed "1"
yb_tkpunish "1"
//
// If enables bots think function is disabled, so bots will not move anywhere from their spawn spots.
// If enabled the bots think function is disabled, so bots will not move anywhere from their spawn spots.
// ---
// Default: "0", Min: "0", Max: "1"
//
@ -158,6 +158,20 @@ yb_check_enemy_rendering "0"
//
yb_stab_close_enemies "1"
//
// Bind's specified key for opening bots menu.
// ---
// Default: "="
//
yb_bind_menu_key "="
//
// Specifies comma separated list of bot cvars, that will not be overriten by config on changelevel.
// ---
// Default: "yb_quota,yb_autovacate"
//
yb_ignore_cvars_on_changelevel "yb_quota,yb_autovacate"
//
// Enables or disables display menu text, when players asks for menu. Useful only for Android.
// ---
@ -173,7 +187,7 @@ yb_display_menu_text "1"
yb_password ""
//
// The name of setinfo key used to store password to bot commands and menus
// The name of setinfo key used to store password to bot commands and menus.
// ---
// Default: "_ybpw"
//
@ -199,7 +213,7 @@ yb_csdm_mode "0"
yb_graph_fixcamp "1"
//
// Specifies the URL from bots will be able to download graph in case of missing local one.
// Specifies the URL from bots will be able to download graph in case of missing local one. Set to empty, if no downloads needed.
// ---
// Default: "yapb.ru"
//
@ -212,39 +226,32 @@ yb_graph_url "yapb.ru"
//
yb_autovacate "1"
//
// Bind's specified key for openining bots menu.
// ---
// Default: "="
//
yb_bind_menu_key "="
//
// Specifies the number bots to be added to the game.
// ---
// Default: "0", Min: "0", Max: "32"
// Default: "9", Min: "0", Max: "32"
//
yb_quota "12"
yb_quota "9"
//
// Specifies the type of quota.
// Allowed values: 'normal', 'fill', and 'match'.
// If 'fill', the server will adjust bots to keep N players in the game, where N is cv_quota.
// If 'match', the server will maintain a 1:N ratio of humans to bots, where N is cv_quota_match.
// If 'fill', the server will adjust bots to keep N players in the game, where N is yb_quota.
// If 'match', the server will maintain a 1:N ratio of humans to bots, where N is yb_quota_match.
// ---
// Default: "normal"
//
yb_quota_mode "normal"
//
// Number of players to match if cv_quota_mode set to 'match'
// Number of players to match if yb_quota_mode set to 'match'
// ---
// Default: "0", Min: "0", Max: "32"
//
yb_quota_match "0"
//
// Specifies hou many times per second bot code will run.
// Specifies how many times per second bot code will run.
// ---
// Default: "30.0", Min: "30.0", Max: "90.0"
//
@ -258,7 +265,7 @@ yb_think_fps "30.0"
yb_autokill_delay "0.0"
//
// Sepcifies whether bots should join server, only when at least one human player in game.
// Specifies whether bots should join server, only when at least one human player in game.
// ---
// Default: "0", Min: "0", Max: "1"
//
@ -286,12 +293,33 @@ yb_join_delay "5.0"
yb_name_prefix ""
//
// All bots difficulty level. Chaning at runtime will affect already created bots.
// All bots difficulty level. Changing at runtime will affect already created bots.
// ---
// Default: "4", Min: "0", Max: "4"
//
yb_difficulty "4"
//
// Lower bound of random difficulty on bot creation. Only affects newly created bots. -1 means yb_difficulty only used.
// ---
// Default: "-1", Min: "-1", Max: "4"
//
yb_difficulty_min "-1"
//
// Upper bound of random difficulty on bot creation. Only affects newly created bots. -1 means yb_difficulty only used.
// ---
// Default: "-1", Min: "-1", Max: "4"
//
yb_difficulty_max "-1"
//
// Enables each bot balances own difficulty based kd-ratio of team.
// ---
// Default: "0", Min: "0", Max: "1"
//
yb_difficulty_auto "0"
//
// Enables or disabels displaying bot avatars in front of their names in scoreboard. Note, that is currently you can see only avatars of your steam friends.
// ---
@ -310,6 +338,34 @@ yb_show_avatars "1"
//
yb_show_latency "2"
//
// Specifies the bots wanted skin for Terrorist team.
// ---
// Default: "0", Min: "0", Max: "5"
//
yb_botskin_t "0"
//
// Specifies the bots wanted skin for CT team.
// ---
// Default: "0", Min: "0", Max: "5"
//
yb_botskin_ct "0"
//
// Lower bound for base bot ping shown in scoreboard upon creation.
// ---
// Default: "7", Min: "0", Max: "100"
//
yb_ping_base_min "7"
//
// Upper bound for base bot ping shown in scoreboard upon creation.
// ---
// Default: "34", Min: "0", Max: "100"
//
yb_ping_base_max "34"
//
// Specifies the language for bot messages and menus.
// ---
@ -317,13 +373,6 @@ yb_show_latency "2"
//
yb_language "en"
//
// Specifies comma separated list of bot cvars, that will not be overriten by config on changelevel.
// ---
// Default: "yb_quota,yb_autovacate"
//
yb_ignore_cvars_on_changelevel "yb_quota,yb_autovacate"
//
// Enables or disables extra hard difficulty for bots.
// ---
@ -346,7 +395,7 @@ yb_debug_heuristic_type "0"
yb_display_welcome_text "1"
//
// Enables or disabled fake server queries response, that shows bots as real players in server browser.
// Enables or disables fake server queries response, that shows bots as real players in server browser.
// ---
// Default: "0", Min: "0", Max: "1"
//