fix: counter strike 2 gid

This commit is contained in:
CosminPerRam 2024-03-10 23:41:43 +02:00
parent 967dc37d64
commit 04803996cd
3 changed files with 3 additions and 3 deletions

View file

@ -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:

View file

@ -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))),

View file

@ -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,