diff --git a/GAMES.md b/GAMES.md index 535b3c6..ac50398 100644 --- a/GAMES.md +++ b/GAMES.md @@ -82,6 +82,7 @@ Beware of the `Notes` column, as it contains information about query port offset | Call Of Duty: Black Ops 3 | CODBO3 | Valve | Query port: 27017. | | Counter-Strike 2 | COUNTERSTRIKE2 | Valve | | | Double Action: Boogaloo | DAB | Valve | | +| Mordhau | MORDHAU | Valve | ## Planned to add support: _ diff --git a/crates/lib/CHANGELOG.md b/crates/lib/CHANGELOG.md index a3b5de9..627560e 100644 --- a/crates/lib/CHANGELOG.md +++ b/crates/lib/CHANGELOG.md @@ -2,7 +2,8 @@ Who knows what the future holds... # 0.X.Y - DD/MM/YYYY -Nothing... yet! +Games: +- [Mordhau](https://store.steampowered.com/app/629760/MORDHAU/) support. # 0.5.0 - 15/03/2024 ### Changes: diff --git a/crates/lib/src/games/definitions.rs b/crates/lib/src/games/definitions.rs index 4ebd4e7..3cb8b27 100644 --- a/crates/lib/src/games/definitions.rs +++ b/crates/lib/src/games/definitions.rs @@ -136,5 +136,6 @@ pub static GAMES: Map<&'static str, Game> = phf_map! { "unrealtournament2004" => game!("Unreal Tournament 2004", 7778, Protocol::Unreal2), "eco" => game!("Eco", 3000, Protocol::PROPRIETARY(ProprietaryProtocol::Eco)), "zps" => game!("Zombie Panic: Source", 27015, Protocol::Valve(Engine::new(17_500))), + "mordhau" => game!("Mordhau", 27015, Protocol::Valve(Engine::new(629_760))), "mindustry" => game!("Mindustry", crate::games::mindustry::DEFAULT_PORT, Protocol::PROPRIETARY(ProprietaryProtocol::Mindustry)), }; diff --git a/crates/lib/src/games/valve.rs b/crates/lib/src/games/valve.rs index faed4cc..617323a 100644 --- a/crates/lib/src/games/valve.rs +++ b/crates/lib/src/games/valve.rs @@ -157,3 +157,4 @@ game_query_mod!( ); game_query_mod!(vrising, "V Rising", Engine::new(1_604_030), 27016); game_query_mod!(zps, "Zombie Panic: Source", Engine::new(17_500), 27015); +game_query_mod!(mordhau, "Mordhau", Engine::new(629_760), 27015);