From 5fc901ce532b6910db802ea2905d34dacf6115d9 Mon Sep 17 00:00:00 2001 From: Leonard Jonathan Oh Date: Sun, 21 Jan 2024 06:09:56 +0000 Subject: [PATCH] Chore: Release 2.7.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 d19cb14..8888f83 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: ```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.7.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.7.2-asp ``` `bf2sclone` image: ```sh -docker run --rm -it -p 80:80 -e DBIP=db -e DBNAME=bf2stats -e DBLOGIN=admin -e DBPASSWORD=admin startersclan/bf2stats:2.7.1-bf2sclone +docker run --rm -it -p 80:80 -e DBIP=db -e DBNAME=bf2stats -e DBLOGIN=admin -e DBPASSWORD=admin startersclan/bf2stats:2.7.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 3d2ec8c..b9a7764 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.7.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.7.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 802fb47..aeefa11 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.7.1 - Config File +# BF2Statistics 2.7.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 74f33fd..14a041b 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.7.1 python scripts + # Battlefield 2 1.5 server with bf2stats 2.7.2 python scripts bf2: - image: startersclan/docker-bf2:v1.5.3153.0-bf2stats-2.7.1 + image: startersclan/docker-bf2:v1.5.3153.0-bf2stats-2.7.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.7.1-asp + image: startersclan/bf2stats:2.7.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.7.1-bf2sclone + image: startersclan/bf2stats:2.7.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 1d776fe..443c376 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.7.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.7.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 802fb47..aeefa11 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.7.1 - Config File +# BF2Statistics 2.7.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 f3c1c67..740559a 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.7.1 python scripts + # Battlefield 2 1.5 server with bf2stats 2.7.2 python scripts bf2: - image: startersclan/docker-bf2:v1.5.3153.0-bf2stats-2.7.1 + image: startersclan/docker-bf2:v1.5.3153.0-bf2stats-2.7.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.7.1-asp + image: startersclan/bf2stats:2.7.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.7.1-bf2sclone + image: startersclan/bf2stats:2.7.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 435a2ca..5a13731 100644 --- a/src/ASP/bf2statistics.php +++ b/src/ASP/bf2statistics.php @@ -23,7 +23,7 @@ | Define Constants | --------------------------------------------------------------- */ - define('CODE_VER', '2.7.1'); + define('CODE_VER', '2.7.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 f60bdab..b7fe6f8 100644 --- a/src/ASP/index.php +++ b/src/ASP/index.php @@ -24,7 +24,7 @@ | --------------------------------------------------------------- */ define('BF2_ADMIN', 1); - define('CODE_VER', '2.7.1'); + define('CODE_VER', '2.7.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 eef8adc..8e3f974 100644 --- a/src/python/bf2/BF2StatisticsConfig.py +++ b/src/python/bf2/BF2StatisticsConfig.py @@ -1,5 +1,5 @@ # ------------------------------------------------------------------------------ -# BF2Statistics 2.7.1 - Config File +# BF2Statistics 2.7.2 - Config File # ------------------------------------------------------------------------------ # Conventions: # 0 -> Disable