Skip to content

Commit

Permalink
docs: update CHANGELOG and GAMES_LIST for Broke Protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
RattleSN4K3 committed Oct 6, 2024
1 parent 3cdbac2 commit 449ce51
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Feat: Update Soldat protocol (#642)
* Feat: TOXIKK (2016) - Added support (#641)
* Feat: Renegade X (2014) - Added support (#643)
* Feat: BROKE PROTOCOL (2024) - Added support (#651)

## 5.1.3
* Fix: `Deus Ex` using the wrong protocol (#621)
Expand Down
9 changes: 9 additions & 0 deletions GAMES_LIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
| breach | Breach | [Valve Protocol](#valve) |
| breed | Breed | |
| brink | Brink | [Valve Protocol](#valve) |
| brokeprotocol | BROKE PROTOCOL | [Notes](#brokeprotocol) |
| c2d | CS2D | |
| c3db | Commandos 3: Destination Berlin | |
| cacr | Command and Conquer: Renegade | |
Expand Down Expand Up @@ -480,6 +481,14 @@ If you know your use case, it's better to use a single protocol or make your own
Farming Simulator servers need a token (reffered as code in the game). It can be obtained at your server's web interface (http://ip:port/settings.html). It can be passed to GameDig with the additional option: `token`. It does only work for your own server.
The response includes much information about the server. Currently, only the fields about server information (name, map, version, etc.), players and mods are parsed.

### <a name='brokeprotocol'></a>BROKE PROTOCOL
When querying a server on [BROKE PROTOCOL](https://brokeprotocol.com/), you have two options for querying the server:
1. Passing the `address` and `port` request fields (or `--address` and `--port` when using the cli to the server).
2. Setting the `serverId` request field or `--serverId` when using the cli to the publicId of the server.

You can acquire a _ServerId_ from the master query protocol `protocol-brokeprotocolmaster` (see `raw.servers[].raw.id`).


Protocols with Additional Notes
---

Expand Down
3 changes: 3 additions & 0 deletions lib/games.js
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,9 @@ export const games = {
release_year: 2024,
options: {
protocol: 'brokeprotocol'
},
extra: {
doc_notes: 'brokeprotocol'
}
},
basedefense: {
Expand Down

0 comments on commit 449ce51

Please sign in to comment.