mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +00:00
feat: Add The Front support.
This commit is contained in:
parent
e3dd7cd1c7
commit
1145a064a9
4 changed files with 4 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ 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.
|
||||
|
||||
### Breaking:
|
||||
Game:
|
||||
|
|
|
|||
1
GAMES.md
1
GAMES.md
|
|
@ -63,6 +63,7 @@ Beware of the `Notes` column, as it contains information about query port offset
|
|||
| Garry's Mod | GARRYSMOD | Valve | |
|
||||
| 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). |
|
||||
|
||||
## Planned to add support:
|
||||
_
|
||||
|
|
|
|||
|
|
@ -92,6 +92,7 @@ pub static GAMES: Map<&'static str, Game> = phf_map! {
|
|||
"sof2" => game!("Soldier of Fortune 2", 20100, Protocol::Quake(QuakeVersion::Three)),
|
||||
"serioussam" => game!("Serious Sam", 25601, Protocol::Gamespy(GameSpyVersion::One)),
|
||||
"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))),
|
||||
"tfc" => game!("Team Fortress Classic", 27015, Protocol::Valve(Engine::new_gold_src(false))),
|
||||
"theship" => game!("The Ship", 27015, Protocol::PROPRIETARY(ProprietaryProtocol::TheShip)),
|
||||
|
|
|
|||
|
|
@ -107,6 +107,7 @@ game_query_mod!(
|
|||
27015
|
||||
);
|
||||
game_query_mod!(theforest, "The Forest", Engine::new(556_450), 27016);
|
||||
game_query_mod!(thefront, "The Front", Engine::new(2_285_150), 27015);
|
||||
game_query_mod!(unturned, "Unturned", Engine::new(304_930), 27015);
|
||||
game_query_mod!(
|
||||
valheim,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue