graph: enable graph c collection by default

bot: bump version to 4.5
This commit is contained in:
jeefo 2024-02-10 22:50:53 +03:00
commit e7a67347f1
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
18 changed files with 22 additions and 22 deletions

View file

@ -6,7 +6,7 @@
#
cmake_minimum_required(VERSION 3.15)
project(yapb VERSION 4.4 LANGUAGES CXX)
project(yapb VERSION 4.5 LANGUAGES CXX)
if(NOT ANDROID)
set(CMAKE_SHARED_MODULE_PREFIX "")

View file

@ -1,6 +1,6 @@
;
; @package: YaPB
; @version: 4.4
; @version: 4.5
; @author: YaPB Project
; @filename: avatars.cfg
;

View file

@ -1,6 +1,6 @@
;
; @package: YaPB
; @version: 4.4
; @version: 4.5
; @author: YaPB Project
; @filename: chatter.cfg
;

View file

@ -1,6 +1,6 @@
;
; @package: YaPB
; @version: 4.4
; @version: 4.5
; @author: YaPB Project
; @filename: yapb.cfg
;

View file

@ -1,6 +1,6 @@
;
; @package: YaPB
; @version: 4.4
; @version: 4.5
; @author: YaPB Project
; @filename: difficulty.cfg
;

View file

@ -1,6 +1,6 @@
;
; @package: YaPB
; @version: 4.4
; @version: 4.5
; @author: YaPB Project
; @filename: de_chat.cfg
;

View file

@ -1,6 +1,6 @@
;
; @package: YaPB
; @version: 4.4
; @version: 4.5
; @author: YaPB Project
; @filename: de_lang.cfg
;

View file

@ -1,6 +1,6 @@
;
; @package: YaPB
; @version: 4.4
; @version: 4.5
; @author: YaPB Project
; @filename: en_chat.cfg
;

View file

@ -1,6 +1,6 @@
;
; @package: YaPB
; @version: 4.4
; @version: 4.5
; @author: YaPB Project
; @filename: en_names.cfg
;

View file

@ -1,6 +1,6 @@
;
; @package: YaPB
; @version: 4.4
; @version: 4.5
; @author: YaPB Project
; @filename: ru_chat.cfg
;

View file

@ -1,6 +1,6 @@
;
; @package: YaPB
; @version: 4.4
; @version: 4.5
; @author: YaPB Project
; @filename: ru_lang.cfg
;

View file

@ -1,6 +1,6 @@
;
; @package: YaPB
; @version: 4.4
; @version: 4.5
; @author: YaPB Project
; @filename: ru_names.cfg
;

View file

@ -1,6 +1,6 @@
;
; @package: YaPB
; @version: 4.4
; @version: 4.5
; @author: YaPB Project
; @filename: logos.cfg
;

View file

@ -1,6 +1,6 @@
;
; @package: YaPB
; @version: 4.4
; @version: 4.5
; @author: YaPB Project
; @filename: weapon.cfg
;

View file

@ -1,6 +1,6 @@
//
// @package: YaPB
// @version: 4.4
// @version: 4.5
// @author: YaPB Project
// @filename: yapb.cfg
//
@ -390,9 +390,9 @@ yb_graph_draw_distance "400"
//
// Allows bots to exchange your graph files with graph database automatically.
// ---
// Default: "0", Min: "0", Max: "1"
// Default: "1", Min: "0", Max: "1"
//
yb_graph_auto_collect_db "0"
yb_graph_auto_collect_db "1"
//
// Kick bots to automatically make room for human players.

View file

@ -13,6 +13,6 @@
#define MODULE_AUTHOR "default@mail.net"
#define MODULE_MACHINE "localhost"
#define MODULE_COMPILER "default"
#define MODULE_VERSION "4.0"
#define MODULE_VERSION_FILE 4,0,0,000
#define MODULE_VERSION "4.5"
#define MODULE_VERSION_FILE 4,5,0,000
#define MODULE_BUILD_ID "0:0"

View file

@ -1,6 +1,6 @@
#
# YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
# Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
# Copyright © YaPB Project Developers <yapb@jeefo.net>
#
# SPDX-License-Identifier: MIT
#
@ -9,7 +9,7 @@
project(
'yapb',
'cpp',
version: '4.4',
version: '4.5',
license: 'MIT',
default_options: [
'buildtype=release',

View file

@ -12,7 +12,7 @@ ConVar cv_graph_url ("graph_url", product.download.chars (), "Specifies the URL
ConVar cv_graph_url_upload ("graph_url_upload", product.upload.chars (), "Specifies the URL to which bots will try to upload the graph file to database.", false, 0.0f, 0.0f);
ConVar cv_graph_auto_save_count ("graph_auto_save_count", "15", "Every N graph nodes placed on map, the graph will be saved automatically (without checks).", true, 0.0f, kMaxNodes);
ConVar cv_graph_draw_distance ("graph_draw_distance", "400", "Maximum distance to draw graph nodes from editor viewport.", true, 64.0f, 3072.0f);
ConVar cv_graph_auto_collect_db ("graph_auto_collect_db", "0", "Allows bots to exchange your graph files with graph database automatically.");
ConVar cv_graph_auto_collect_db ("graph_auto_collect_db", "1", "Allows bots to exchange your graph files with graph database automatically.");
void BotGraph::reset () {
// this function initialize the graph structures..