From 861d24898a5af240ac71d01a9558147d8768d531 Mon Sep 17 00:00:00 2001 From: Pedro Ivo Hudson Date: Wed, 17 Jan 2024 08:08:07 -0300 Subject: [PATCH] feat: Add Call of Duty: Black Ops 3 support (#473) * feat: add black ops 3 support * fix duplicate game name * fix codbo3 port * try resolve conflict * possible conflict fix --- CHANGELOG.md | 1 + GAMES_LIST.md | 1 + lib/games.js | 8 ++++++++ 3 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f32e08d..94b0ec0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ placeholders in the `players` fields. * Valve: dont skip players with no name and keep state.raw.players. * Stabilized field `numplayers`. * BeamMP (2021) - Added support. +* Call of Duty: Black Ops 3 (2015) - Added support. ### 4.3.1 * Fixed support for the Minecraft [Better Compatibility Checker](https://www.curseforge.com/minecraft/mc-mods/better-compatibility-checker) Mod (By @Douile, #436). diff --git a/GAMES_LIST.md b/GAMES_LIST.md index c4d7c4a..8becdb1 100644 --- a/GAMES_LIST.md +++ b/GAMES_LIST.md @@ -61,6 +61,7 @@ | cod4mw | Call of Duty 4: Modern Warfare | | | codenamecure | Codename CURE | [Valve Protocol](#valve) | | codenameeagle | Codename Eagle | | +| codbo3 | Call of Duty: Black Ops 3 | | | codmw2 | Call of Duty: Modern Warfare 2 | | | codmw3 | Call of Duty: Modern Warfare 3 | [Valve Protocol](#valve) | | coduo | Call of Duty: United Offensive | | diff --git a/lib/games.js b/lib/games.js index 57cceef..0adc043 100644 --- a/lib/games.js +++ b/lib/games.js @@ -458,6 +458,14 @@ export const games = { }, release_year: 2007 }, + codbo3: { + name: 'Call of Duty: Black Ops 3', + release_year: 2015, + options: { + port: 27017, + protocol: 'valve' + } + }, codwaw: { name: 'Call of Duty: World at War', release_year: 2008,