diff --git a/CHANGELOG.md b/CHANGELOG.md index 48ae9486..1b5dd6dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,9 @@ Who knows what the future holds... # 0.X.Y - DD/MM/YYYY ### Changes: -- Added [Valheim](https://store.steampowered.com/app/892970/Valheim/) support. -- Added [The Front](https://store.steampowered.com/app/2285150/The_Front/) support. +- [Valheim](https://store.steampowered.com/app/892970/Valheim/) support. +- [The Front](https://store.steampowered.com/app/2285150/The_Front/) support. +- [Conan Exiles](https://store.steampowered.com/app/440900/Conan_Exiles/) support. ### Breaking: Game: diff --git a/GAMES.md b/GAMES.md index 621f8606..67f169b7 100644 --- a/GAMES.md +++ b/GAMES.md @@ -64,6 +64,7 @@ Beware of the `Notes` column, as it contains information about query port offset | Barotrauma | BAROTRAUMA | Valve | Query Port offset: 1. | | Valheim | VALHEIM | Valve | Query Port offset: 1. Does not respond to the A2S rules. | | The Front | THEFRONT | Valve | Responds with wrong values on `name` (gives out a SteamID instead of the server name) and `players_maximum` (always 200). | +| Conan Exiles | CONANEXILES | Valve | Does not respond to the players query. | ## Planned to add support: _ diff --git a/src/games/definitions.rs b/src/games/definitions.rs index 553d1c01..62c48823 100644 --- a/src/games/definitions.rs +++ b/src/games/definitions.rs @@ -58,6 +58,11 @@ pub static GAMES: Map<&'static str, Game> = phf_map! { "ballisticoverkill" => game!("Ballistic Overkill", 27016, Protocol::Valve(Engine::new(296_300))), "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 { + players: false, + rules: true, + check_app_id: true, + }.into_extra()), "counterstrike" => game!("Counter-Strike", 27015, Protocol::Valve(Engine::new_gold_src(false))), "cscz" => game!("Counter Strike: Condition Zero", 27015, Protocol::Valve(Engine::new_gold_src(false))), "csgo" => game!("Counter-Strike: Global Offensive", 27015, Protocol::Valve(Engine::new(730))), diff --git a/src/games/valve.rs b/src/games/valve.rs index 4be1add8..acd612c6 100644 --- a/src/games/valve.rs +++ b/src/games/valve.rs @@ -34,6 +34,17 @@ game_query_mod!( Engine::new(366_090), 27004 ); +game_query_mod!( + conanexiles, + "Conan Exiles", + Engine::new(440_900), + 27015, + GatheringSettings { + players: false, + rules: true, + check_app_id: true, + } +); game_query_mod!( counterstrike, "Counter-Strike",