From 2e8e0aee2cd75f4c8ff93297e99e7da29775bbae Mon Sep 17 00:00:00 2001 From: Leonard Jonathan Oh Date: Sun, 10 Mar 2024 04:35:35 +0000 Subject: [PATCH] Chore: Release 2.9.2 --- README.md | 4 ++-- docs/bf2hub-bf2stats-example/README.md | 2 +- .../config/bf2/python/bf2/BF2StatisticsConfig-custom.py | 2 +- docs/bf2hub-bf2stats-example/docker-compose.yml | 8 ++++---- docs/full-bf2-stack-example/README.md | 2 +- .../config/bf2/python/bf2/BF2StatisticsConfig-custom.py | 2 +- docs/full-bf2-stack-example/docker-compose.yml | 8 ++++---- src/ASP/bf2statistics.php | 2 +- src/ASP/index.php | 2 +- src/python/bf2/BF2StatisticsConfig.py | 2 +- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index f32dc47..38eda6a 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,13 @@ Although BF2Statistics [`3.1.0`](https://github.com/BF2Statistics/ASP) has been `asp` image (for support environment variables, see [here](./src/ASP/system/config/config.php)): ```sh -docker run --rm -it -p 80:80 -e DB_HOST=db -e DB_PORT=3306 -e DB_NAME=bf2stats -e DB_USER=admin -e DB_PASS=admin startersclan/bf2stats:2.9.1-asp +docker run --rm -it -p 80:80 -e DB_HOST=db -e DB_PORT=3306 -e DB_NAME=bf2stats -e DB_USER=admin -e DB_PASS=admin startersclan/bf2stats:2.9.2-asp ``` `bf2sclone` image (for supported environment variables, see [here](./src/bf2sclone/config.inc.php)): ```sh -docker run --rm -it -p 80:80 -e DBIP=db -e DBNAME=bf2stats -e DBLOGIN=admin -e DBPASSWORD=admin startersclan/bf2stats:2.9.1-bf2sclone +docker run --rm -it -p 80:80 -e DBIP=db -e DBNAME=bf2stats -e DBLOGIN=admin -e DBPASSWORD=admin startersclan/bf2stats:2.9.2-bf2sclone ``` See [this](docs/full-bf2-stack-example) example showing how to deploy [Battlefield 2 1.5 server](https://github.com/startersclan/docker-bf2/), [PRMasterserver](https://github.com/startersclan/PRMasterServer) as the master server, and `bf2stats` as the stats web server, using `docker-compose`. diff --git a/docs/bf2hub-bf2stats-example/README.md b/docs/bf2hub-bf2stats-example/README.md index 1fd069d..c3686d7 100644 --- a/docs/bf2hub-bf2stats-example/README.md +++ b/docs/bf2hub-bf2stats-example/README.md @@ -42,7 +42,7 @@ Attaching to bf2stats-asp-1, bf2stats-bf2-1, bf2stats-bf2sclone-1, bf2stats-db-1 The stack is now running: -- Battlefield 2 1.5 server with `bf2stats` `2.9.1` support available on your external IP address on UDP ports `16567` and `29900` on your external IP address +- Battlefield 2 1.5 server with `bf2stats` `2.9.2` support available on your external IP address on UDP ports `16567` and `29900` on your external IP address - Gamespy server is BF2Hub. See https://www.bf2hub.com/servers/unranked to see your server listed (unranked because we are not an official BF2Hub "EA trusted partner") - `coredns` available on your external IP address on UDP port `53` on your external IP address - `traefik` (TLS-terminated reverse web proxy) available on port `80` and `443` on your external IP address diff --git a/docs/bf2hub-bf2stats-example/config/bf2/python/bf2/BF2StatisticsConfig-custom.py b/docs/bf2hub-bf2stats-example/config/bf2/python/bf2/BF2StatisticsConfig-custom.py index 548e359..8ffc999 100644 --- a/docs/bf2hub-bf2stats-example/config/bf2/python/bf2/BF2StatisticsConfig-custom.py +++ b/docs/bf2hub-bf2stats-example/config/bf2/python/bf2/BF2StatisticsConfig-custom.py @@ -1,5 +1,5 @@ # ------------------------------------------------------------------------------ -# BF2Statistics 2.9.1 - Config File +# BF2Statistics 2.9.2 - Config File # ------------------------------------------------------------------------------ # Conventions: # 0 -> Disable diff --git a/docs/bf2hub-bf2stats-example/docker-compose.yml b/docs/bf2hub-bf2stats-example/docker-compose.yml index a9cbd4e..4370d04 100644 --- a/docs/bf2hub-bf2stats-example/docker-compose.yml +++ b/docs/bf2hub-bf2stats-example/docker-compose.yml @@ -1,8 +1,8 @@ version: '2.2' services: - # Battlefield 2 1.5 server with bf2stats 2.9.1 python scripts + # Battlefield 2 1.5 server with bf2stats 2.9.2 python scripts bf2: - image: startersclan/docker-bf2:v1.5.3153.0-bf2stats-2.9.1 + image: startersclan/docker-bf2:v1.5.3153.0-bf2stats-2.9.2 volumes: - ./config/bf2/mods/bf2/ai/aidefault-custom.ai:/server/bf2/mods/bf2/ai/aidefault.ai:ro # Customize bots - ./config/bf2/mods/bf2/settings/serversettings-custom.con:/server/bf2/mods/bf2/settings/serversettings.con:ro # Server config @@ -81,7 +81,7 @@ services: # The gamespy ASP. The dashboard is available at https://asp.example.com/ASP asp: - image: startersclan/bf2stats:2.9.1-asp + image: startersclan/bf2stats:2.9.2-asp labels: - "traefik.enable=true" - "traefik.docker.network=${COMPOSE_PROJECT_NAME?err}_traefik-network" @@ -126,7 +126,7 @@ services: # The bf2sclone for viewing BFHQ on the web. It is available at https://bf2sclone.example.com bf2sclone: - image: startersclan/bf2stats:2.9.1-bf2sclone + image: startersclan/bf2stats:2.9.2-bf2sclone labels: - "traefik.enable=true" - "traefik.docker.network=${COMPOSE_PROJECT_NAME?err}_traefik-network" diff --git a/docs/full-bf2-stack-example/README.md b/docs/full-bf2-stack-example/README.md index 7cfad73..0bef1ca 100644 --- a/docs/full-bf2-stack-example/README.md +++ b/docs/full-bf2-stack-example/README.md @@ -61,7 +61,7 @@ Attaching to bf2stats-asp-1, bf2stats-bf2-1, bf2stats-bf2sclone-1, bf2stats-core The full stack is now running: -- Battlefield 2 1.5 server with `bf2stats` `2.9.1` support available on your external IP address on UDP ports `16567` and `29900` on your external IP address +- Battlefield 2 1.5 server with `bf2stats` `2.9.2` support available on your external IP address on UDP ports `16567` and `29900` on your external IP address - Gamespy server [`PRMasterServer`](https://github.com/PRMasterServer) available at your external IP address on TCP ports `29900`, `29901`, `28910`, and UDP ports `27900` and `29910` on your external IP address - `coredns` available on your external IP address on UDP port `53` on your external IP address - `traefik` (TLS-terminated reverse web proxy) available on port `80` and `443` on your external IP address diff --git a/docs/full-bf2-stack-example/config/bf2/python/bf2/BF2StatisticsConfig-custom.py b/docs/full-bf2-stack-example/config/bf2/python/bf2/BF2StatisticsConfig-custom.py index 548e359..8ffc999 100644 --- a/docs/full-bf2-stack-example/config/bf2/python/bf2/BF2StatisticsConfig-custom.py +++ b/docs/full-bf2-stack-example/config/bf2/python/bf2/BF2StatisticsConfig-custom.py @@ -1,5 +1,5 @@ # ------------------------------------------------------------------------------ -# BF2Statistics 2.9.1 - Config File +# BF2Statistics 2.9.2 - Config File # ------------------------------------------------------------------------------ # Conventions: # 0 -> Disable diff --git a/docs/full-bf2-stack-example/docker-compose.yml b/docs/full-bf2-stack-example/docker-compose.yml index b739d0e..0299205 100644 --- a/docs/full-bf2-stack-example/docker-compose.yml +++ b/docs/full-bf2-stack-example/docker-compose.yml @@ -1,8 +1,8 @@ version: '2.2' services: - # Battlefield 2 1.5 server with bf2stats 2.9.1 python scripts + # Battlefield 2 1.5 server with bf2stats 2.9.2 python scripts bf2: - image: startersclan/docker-bf2:v1.5.3153.0-bf2stats-2.9.1 + image: startersclan/docker-bf2:v1.5.3153.0-bf2stats-2.9.2 volumes: - ./config/bf2/mods/bf2/ai/aidefault-custom.ai:/server/bf2/mods/bf2/ai/aidefault.ai:ro # Customize bots - ./config/bf2/mods/bf2/settings/serversettings-custom.con:/server/bf2/mods/bf2/settings/serversettings.con:ro # Server config @@ -125,7 +125,7 @@ services: # The gamespy ASP. The dashboard is available at https://asp.example.com/ASP asp: - image: startersclan/bf2stats:2.9.1-asp + image: startersclan/bf2stats:2.9.2-asp labels: - "traefik.enable=true" - "traefik.docker.network=${COMPOSE_PROJECT_NAME?err}_traefik-network" @@ -170,7 +170,7 @@ services: # The bf2sclone for viewing BFHQ on the web. It is available at https://bf2sclone.example.com bf2sclone: - image: startersclan/bf2stats:2.9.1-bf2sclone + image: startersclan/bf2stats:2.9.2-bf2sclone labels: - "traefik.enable=true" - "traefik.docker.network=${COMPOSE_PROJECT_NAME?err}_traefik-network" diff --git a/src/ASP/bf2statistics.php b/src/ASP/bf2statistics.php index 340f250..cf87969 100644 --- a/src/ASP/bf2statistics.php +++ b/src/ASP/bf2statistics.php @@ -23,7 +23,7 @@ | Define Constants | --------------------------------------------------------------- */ - define('CODE_VER', '2.9.1'); + define('CODE_VER', '2.9.2'); define('CODE_VER_DATE', '2013-03-12'); define('TIME_START', microtime(1)); define('DS', DIRECTORY_SEPARATOR); diff --git a/src/ASP/index.php b/src/ASP/index.php index 8909e1b..b0d1ae2 100644 --- a/src/ASP/index.php +++ b/src/ASP/index.php @@ -24,7 +24,7 @@ | --------------------------------------------------------------- */ define('BF2_ADMIN', 1); - define('CODE_VER', '2.9.1'); + define('CODE_VER', '2.9.2'); define('CODE_VER_DATE', '2013-03-12'); define('DS', DIRECTORY_SEPARATOR); define('ROOT', dirname(__FILE__)); diff --git a/src/python/bf2/BF2StatisticsConfig.py b/src/python/bf2/BF2StatisticsConfig.py index cf55185..daf0763 100644 --- a/src/python/bf2/BF2StatisticsConfig.py +++ b/src/python/bf2/BF2StatisticsConfig.py @@ -1,5 +1,5 @@ # ------------------------------------------------------------------------------ -# BF2Statistics 2.9.1 - Config File +# BF2Statistics 2.9.2 - Config File # ------------------------------------------------------------------------------ # Conventions: # 0 -> Disable