Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Toxikk support #641

Merged
merged 3 commits into from
Sep 27, 2024
Merged

Conversation

RattleSN4K3
Copy link
Contributor

Adds support for Toxikk, using Valve protocol + additional properties/settings parsing
Related issues: #628

Example response

{
  "name": "The Server Name",
  "map": "CC-Artifact_XL",
  "password": false,
  "raw": {
    "protocol": 17,
    "folder": "Toxikk",
    "game": "cruzade.CRZBloodLust",
    "appId": 324810,
    "numbots": "0",
    "listentype": "d",
    "environment": "w",
    "secure": 1,
    "steamid": "00000000000000000",
    "tags": [
      "CRZBloodLust"
    ],
    "players": [],
    "rules": {
      "bIsDedicated": "True",
      "bUsesStats": "True",
      "NumPublicConnections": "14",
      "OwningPlayerId": "0",
      "OwningPlayerName": "The Server Owner",
      "p1073741825": "CC-Artifact_XL",
      "p1073741826": "cruzade.CRZBloodLust",
      "p1073741827": "00000000000000000",
      "p1073741828": "",
      "p1073741829": "",
      "p1073741830": "",
      "p1073741831": "",
      "p1073741832": "",
      "p1073741833": "",
      "p1073741834": "",
      "p1073741837": "",
      "p1073741838": "",
      "p1073741839": "1.2",
      "p1073741840": "DefaultGameList",
      "p268435703": "0",
      "p268435704": "30",
      "p268435705": "20",
      "p268435706": "0",
      "p268435707": "1",
      "p268435708": "1",
      "p268435709": "6",
      "p268435717": "0",
      "s0": "0",
      "s1": "0",
      "s10": "0",
      "s11": "0",
      "s12": "0",
      "s13": "1",
      "s14": "1",
      "s15": "1",
      "s16": "0",
      "s17": "0",
      "s18": "0",
      "s19": "0",
      "s32779": "8",
      "s6": "1",
      "s7": "0",
      "s8": "0",
      "s9": "0"
    },
    "bIsDedicated": "True",
    "bUsesStats": "True",
    "NumPublicConnections": "14",
    "OwningPlayerId": "0",
    "OwningPlayerName": "The Server Owner",
    "map": "CC-Artifact_XL",
    "frag_limit": "30",
    "time_limit": "20",
    "servername": "The Server Name",
    "custom_mutators": [],
    "GameMode": "8",
    "bot_skill": "0",
    "pure_server": "1",
    "password": "0",
    "vs_bots": "0",
    "Campaign": "0",
    "force_respawn": "0",
    "AllowKeyboard": "0",
    "IsFullServer": "0",
    "IsEmptyServer": "1",
    "IsDedicated": "1",
    "RankedServer": "1",
    "OnlyFullGamePlayers": "0",
    "IgnoredByMatchmaking": "0",
    "OfficialServer": "0",
    "ModdingLevel": "0",
    "MaxPlayers": "0",
    "MinNetPlayers": "1",
    "MinSkillClass": "1",
    "MaxSkillClass": "6",
    "PLAYERIDS1": "",
    "PLAYERIDS2": "",
    "PLAYERIDS3": "",
    "PLAYERNAMES1": "",
    "PLAYERNAMES2": "",
    "PLAYERNAMES3": "",
    "PLAYERSCS": "",
    "PLAYERBadgeRanks": "",
    "GameVersion": "1.2",
    "GameVoteList": "DefaultGameList"
  },
  "version": "1.0.0.0",
  "maxplayers": 16,
  "numplayers": 0,
  "players": [],
  "bots": [],
  "queryPort": 27015,
  "connect": "1.0.0.1:7777",
  "ping": 67
}

@Hornochs
Copy link

Great to See This Game added here. Unser just another PR Incoming about This Game as soon #638 will be merged 😄

Copy link
Member

@CosminPerRam CosminPerRam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, thanks!

@CosminPerRam CosminPerRam merged commit 39d7f06 into gamedig:master Sep 27, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants