mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
feat: add mordhau support
This commit is contained in:
parent
6e53ef0c22
commit
f488658afc
4 changed files with 5 additions and 1 deletions
1
GAMES.md
1
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. |
|
| Call Of Duty: Black Ops 3 | CODBO3 | Valve | Query port: 27017. |
|
||||||
| Counter-Strike 2 | COUNTERSTRIKE2 | Valve | |
|
| Counter-Strike 2 | COUNTERSTRIKE2 | Valve | |
|
||||||
| Double Action: Boogaloo | DAB | Valve | |
|
| Double Action: Boogaloo | DAB | Valve | |
|
||||||
|
| Mordhau | MORDHAU | Valve |
|
||||||
|
|
||||||
## Planned to add support:
|
## Planned to add support:
|
||||||
_
|
_
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,8 @@
|
||||||
Who knows what the future holds...
|
Who knows what the future holds...
|
||||||
|
|
||||||
# 0.X.Y - DD/MM/YYYY
|
# 0.X.Y - DD/MM/YYYY
|
||||||
Nothing... yet!
|
Games:
|
||||||
|
- [Mordhau](https://store.steampowered.com/app/629760/MORDHAU/) support.
|
||||||
|
|
||||||
# 0.5.0 - 15/03/2024
|
# 0.5.0 - 15/03/2024
|
||||||
### Changes:
|
### Changes:
|
||||||
|
|
|
||||||
|
|
@ -136,5 +136,6 @@ pub static GAMES: Map<&'static str, Game> = phf_map! {
|
||||||
"unrealtournament2004" => game!("Unreal Tournament 2004", 7778, Protocol::Unreal2),
|
"unrealtournament2004" => game!("Unreal Tournament 2004", 7778, Protocol::Unreal2),
|
||||||
"eco" => game!("Eco", 3000, Protocol::PROPRIETARY(ProprietaryProtocol::Eco)),
|
"eco" => game!("Eco", 3000, Protocol::PROPRIETARY(ProprietaryProtocol::Eco)),
|
||||||
"zps" => game!("Zombie Panic: Source", 27015, Protocol::Valve(Engine::new(17_500))),
|
"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)),
|
"mindustry" => game!("Mindustry", crate::games::mindustry::DEFAULT_PORT, Protocol::PROPRIETARY(ProprietaryProtocol::Mindustry)),
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -157,3 +157,4 @@ game_query_mod!(
|
||||||
);
|
);
|
||||||
game_query_mod!(vrising, "V Rising", Engine::new(1_604_030), 27016);
|
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!(zps, "Zombie Panic: Source", Engine::new(17_500), 27015);
|
||||||
|
game_query_mod!(mordhau, "Mordhau", Engine::new(629_760), 27015);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue