diff --git a/.github/badges/node.svg b/.github/badges/node.svg index df3be38..79faad7 100644 --- a/.github/badges/node.svg +++ b/.github/badges/node.svg @@ -1,5 +1,5 @@ - - Node game coverage: 14.02% + + Node game coverage: 14.33% @@ -13,8 +13,8 @@ \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index fb66ad9..7b4a1a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ Games: - [The Front](https://store.steampowered.com/app/2285150/The_Front/) support. - [Conan Exiles](https://store.steampowered.com/app/440900/Conan_Exiles/) support. - [Post Scriptum](https://store.steampowered.com/app/736220/Post_Scriptum/) support. +- [Squad](https://store.steampowered.com/app/393380/Squad/) support. - Added a valve protocol query example. Protocols: diff --git a/GAMES.md b/GAMES.md index 59ab947..e8333f8 100644 --- a/GAMES.md +++ b/GAMES.md @@ -72,6 +72,7 @@ Beware of the `Notes` column, as it contains information about query port offset | Unreal Tournament 2003 | UT2003 | Unreal2 | Query port offset: 1 | | Unreal Tournament 2004 | UT2004 | Unreal2 | Query port offset: 1 | | Post Scriptum | POSTSCRIPTUM | Valve | | +| Squad | SQUAD | Valve | | ## Planned to add support: _ diff --git a/crates/lib/src/games/definitions.rs b/crates/lib/src/games/definitions.rs index 8f4754b..18e033b 100644 --- a/crates/lib/src/games/definitions.rs +++ b/crates/lib/src/games/definitions.rs @@ -92,6 +92,7 @@ pub static GAMES: Map<&'static str, Game> = phf_map! { "sdtd" => game!("7 Days to Die", 26900, Protocol::Valve(Engine::new(251_570))), "sof2" => game!("Soldier of Fortune 2", 20100, Protocol::Quake(QuakeVersion::Three)), "serioussam" => game!("Serious Sam", 25601, Protocol::Gamespy(GameSpyVersion::One)), + "squad" => game!("Squad", 27165, Protocol::Valve(Engine::new(393380))), "theforest" => game!("The Forest", 27016, Protocol::Valve(Engine::new(556_450))), "thefront" => game!("The Front", 27015, Protocol::Valve(Engine::new(2_285_150))), "teamfortress2" => game!("Team Fortress 2", 27015, Protocol::Valve(Engine::new(440))), diff --git a/crates/lib/src/games/valve.rs b/crates/lib/src/games/valve.rs index bfb9728..a2aafe9 100644 --- a/crates/lib/src/games/valve.rs +++ b/crates/lib/src/games/valve.rs @@ -111,6 +111,7 @@ game_query_mod!(ror2, "Risk of Rain 2", Engine::new(632_360), 27016); game_query_mod!(rust, "Rust", Engine::new(252_490), 27015); game_query_mod!(sco, "Sven Co-op", Engine::new_gold_src(false), 27015); game_query_mod!(sdtd, "7 Days to Die", Engine::new(251_570), 26900); +game_query_mod!(squad, "Squad", Engine::new(393380), 27165); game_query_mod!(teamfortress2, "Team Fortress 2", Engine::new(440), 27015); game_query_mod!( tfc,