mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 07:17:27 +00:00
feat: Add Conan Exiles support.
This commit is contained in:
parent
1145a064a9
commit
f11a50a415
4 changed files with 20 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
1
GAMES.md
1
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:
|
||||
_
|
||||
|
|
|
|||
|
|
@ -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))),
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue