Skip to content

feat(game): add game Chilvary 2#787

Open
podrivo wants to merge 6 commits into
gamedig:masterfrom
podrivo:feat-add-chilvary-2
Open

feat(game): add game Chilvary 2#787
podrivo wants to merge 6 commits into
gamedig:masterfrom
podrivo:feat-add-chilvary-2

Conversation

@podrivo

@podrivo podrivo commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Add Chivalry 2

Adds support for Chivalry 2 as a Valve (A2S) game.

Changes

  • Add chivalry2 game entry (valve protocol, game port 7777, query port 7071)
  • Add CHANGELOG.md entry
  • Document Chivalry 2's known server-side quirks in GAMES_LIST.md:
    • reports an incorrect appId (100), a limitation of the 16-bit A2S field that can't hold the real appId (1824220)
    • truncates player names containing non-ASCII characters (e.g. SŦĐ EurekaSŦĐ Eure)

Closes #780

Example

gamedig --type chivalry2 --pretty XX.XXX.XXX.XX:XXXXX
{
  "name": "[NA 64] Tempest Realm TO | Casual Nights | discord.gg/tempest",
  "map": "TO_RudhelmSiege",
  "password": false,
  "raw": {
    "protocol": 85,
    "folder": "TO",
    "game": "Chivalry 2",
    "appId": 100,
    "numbots": 0,
    "listentype": "D",
    "environment": "L",
    "secure": 1,
    "players": [
      { "name": "ironhalbert", "score": 0, "time": 1487.553955078125 },
      { "name": "GallowGrin", "score": 0, "time": 1322.094482421875 },
      { "name": "ŦĐ Vanguard", "score": 0, "time": 1190.741210937500 },
      { "name": "δσχ reaper", "score": 0, "time": 998.328125000000 },
      { "name": "ØscarMike", "score": 0, "time": 742.661376953125 },
      { "name": "DK - mason-7741", "score": 0, "time": 503.927734375000 },
      { "name": "Brynjar", "score": 0, "time": 311.204864501953 },
      { "name": "kettle_knight", "score": 0, "time": 87.442192077637 }
    ]
  },
  "version": "261891",
  "maxplayers": 64,
  "numplayers": 58,
  "queryPort": XXXXX,
  "connect": "XX.XXX.XXX.XX:XXXXX",
  "ping": 142
}

Player list trimmed for brevity.

podrivo added 5 commits June 21, 2026 16:57
- Added Chivalry 2 to the games list with its details including release year and protocol settings.
…valry 2

- Added documentation notes for Chivalry 2 in GAMES_LIST.md.
- Updated games.js to include extra documentation notes for Chivalry 2.
@oppsig

oppsig commented Jun 21, 2026

Copy link
Copy Markdown

Could you remove our ip from the example ?

@podrivo

podrivo commented Jun 21, 2026

Copy link
Copy Markdown
Contributor Author

Updated!

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.

Bug: Chivalry 2 returning missing chararacters in player names, while others ok.

2 participants