diff --git a/CHANGELOG.md b/CHANGELOG.md index 01d0e70..9a1a397 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ Games: - Made all of Just Cause 2: Multiplayer Response and Player fields public. - [Mindustry](https://mindustrygame.github.io/) support. - Eco support (by @CosminPerRam). +- [Call Of Duty: Black Ops 3](https://store.steampowered.com/agecheck/app/311210/) support. Crate: - Changed the serde feature to only enable serde derive for some types: serde and serde_json is now a dependecy by default. diff --git a/GAMES.md b/GAMES.md index a2ab39a..2f74691 100644 --- a/GAMES.md +++ b/GAMES.md @@ -79,6 +79,7 @@ Beware of the `Notes` column, as it contains information about query port offset | America's Army: Proving Grounds | AAPG | Valve | Query port: 27020. Does not respond to the rules query. | | Base Defense | BASEDEFENSE | Valve | Query port: 27015. Does not respond to the rules query. | | Zombie Panic: Source | ZPS | Valve | Query port: 27015. | +| Call Of Duty: Black Ops 3 | CODBO3 | Valve | Query port: 27017. | ## Planned to add support: _ diff --git a/crates/lib/src/games/definitions.rs b/crates/lib/src/games/definitions.rs index 7fa0dfa..261e6d2 100644 --- a/crates/lib/src/games/definitions.rs +++ b/crates/lib/src/games/definitions.rs @@ -62,6 +62,7 @@ pub static GAMES: Map<&'static str, Game> = phf_map! { "battlefield1942" => game!("Battlefield 1942", 23000, Protocol::Gamespy(GameSpyVersion::One)), "blackmesa" => game!("Black Mesa", 27015, Protocol::Valve(Engine::new(362_890))), "ballisticoverkill" => game!("Ballistic Overkill", 27016, Protocol::Valve(Engine::new(296_300))), + "codbo3" => game!("Call Of Duty: Black Ops 3", 27017, Protocol::Valve(Engine::new(311_210))), "codenamecure" => game!("Codename CURE", 27015, Protocol::Valve(Engine::new(355_180))), "colonysurvival" => game!("Colony Survival", 27004, Protocol::Valve(Engine::new(366_090))), "conanexiles" => game!("Conan Exiles", 27015, Protocol::Valve(Engine::new(440_900)), GatheringSettings { diff --git a/crates/lib/src/games/valve.rs b/crates/lib/src/games/valve.rs index dc9dbbf..2560376 100644 --- a/crates/lib/src/games/valve.rs +++ b/crates/lib/src/games/valve.rs @@ -40,6 +40,12 @@ game_query_mod!( game_query_mod!(barotrauma, "Barotrauma", Engine::new(602_960), 27016); game_query_mod!(blackmesa, "Black Mesa", Engine::new(362_890), 27015); game_query_mod!(brainbread2, "BrainBread 2", Engine::new(346_330), 27015); +game_query_mod!( + codbo3, + "Call Of Duty: Black Ops 3", + Engine::new(311_210), + 27017 +); game_query_mod!(codenamecure, "Codename CURE", Engine::new(355_180), 27015); game_query_mod!( colonysurvival,