mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 07:17:27 +00:00
fix: counter strike 2 gid
This commit is contained in:
parent
967dc37d64
commit
04803996cd
3 changed files with 3 additions and 3 deletions
2
GAMES.md
2
GAMES.md
|
|
@ -80,7 +80,7 @@ Beware of the `Notes` column, as it contains information about query port offset
|
|||
| Base Defense | BASEDEFENSE | Valve | Query port: 27015. Does not respond to the rules query. |
|
||||
| Zombie Panic: Source | ZPS | Valve | Query port: 27015. |
|
||||
| Call Of Duty: Black Ops 3 | CODBO3 | Valve | Query port: 27017. |
|
||||
| Counter-Strike 2 | CS2 | Valve | |
|
||||
| Counter-Strike 2 | COUNTERSTRIKE2 | Valve | |
|
||||
| Double Action: Boogaloo | DAB | Valve | |
|
||||
|
||||
## Planned to add support:
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ pub static GAMES: Map<&'static str, Game> = phf_map! {
|
|||
check_app_id: true,
|
||||
}.into_extra()),
|
||||
"counterstrike" => game!("Counter-Strike", 27015, Protocol::Valve(Engine::new_gold_src(false))),
|
||||
"cs2" => game!("Counter-Strike 2", 27015, Protocol::Valve(Engine::new(730))),
|
||||
"counterstrike2" => game!("Counter-Strike 2", 27015, Protocol::Valve(Engine::new(730))),
|
||||
"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))),
|
||||
"css" => game!("Counter-Strike: Source", 27015, Protocol::Valve(Engine::new(240))),
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ game_query_mod!(
|
|||
Engine::new_gold_src(false),
|
||||
27015
|
||||
);
|
||||
game_query_mod!(cs2, "Counter-Strike 2", Engine::new(730), 27015);
|
||||
game_query_mod!(counterstrike2, "Counter-Strike 2", Engine::new(730), 27015);
|
||||
game_query_mod!(creativerse, "Creativerse", Engine::new(280_790), 26901);
|
||||
game_query_mod!(
|
||||
cscz,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue