Commit graph

56 commits

Author SHA1 Message Date
GitHub Action
61ef15909b Add/Update badge 2026-04-07 05:24:08 +00:00
GitHub Action
64608d95ee Add/Update badge 2026-02-03 05:01:51 +00:00
GitHub Action
2b9a014484 Add/Update badge 2025-09-09 03:47:37 +00:00
GitHub Action
380bbd4ab4 Add/Update badge 2025-07-01 04:12:14 +00:00
GitHub Action
7c4a5e4f9c Add/Update badge 2025-04-20 21:33:57 +00:00
GitHub Action
43a613b7c0 Add/Update badge 2025-03-25 03:47:25 +00:00
GitHub Action
67b97ca1c9 Add/Update badge 2025-01-21 03:37:35 +00:00
GitHub Action
373a4553ce Add/Update badge 2025-01-14 03:37:04 +00:00
GitHub Action
fc5113507f Add/Update badge 2024-12-05 20:46:21 +00:00
GitHub Action
1b1ecc651e Add/Update badge 2024-10-15 03:43:09 +00:00
GitHub Action
344622629e Add/Update badge 2024-10-08 03:43:07 +00:00
GitHub Action
c7451b098b Add/Update badge 2024-10-01 03:47:27 +00:00
GitHub Action
16fd486208 Add/Update badge 2024-09-17 03:36:58 +00:00
GitHub Action
70571218b6 Add/Update badge 2024-09-03 03:38:23 +00:00
GitHub Action
486ae3b52c Add/Update badge 2024-08-20 03:37:50 +00:00
GitHub Action
11088e7786 Add/Update badge 2024-07-23 03:39:39 +00:00
GitHub Action
cac5c234ee Add/Update badge 2024-07-09 03:36:13 +00:00
GitHub Action
27840e3ff3 Add/Update badge 2024-06-25 03:36:16 +00:00
GitHub Action
6f358340f1 Add/Update badge 2024-06-22 00:29:06 +00:00
GitHub Action
2663cf950d Add/Update badge 2024-06-18 03:36:56 +00:00
GitHub Action
48aa0ec221 Add/Update badge 2024-05-11 18:49:58 +00:00
GitHub Action
b2da9bee3c Add/Update badge 2024-05-05 20:53:12 +00:00
GitHub Action
d19c3696ad Add/Update badge 2024-04-28 20:47:47 +00:00
GitHub Action
c357b4594b Add/Update badge 2024-04-28 19:29:06 +00:00
GitHub Action
4651990e8b Add/Update badge 2024-04-14 20:16:03 +00:00
GitHub Action
4faf2f89f4 Add/Update badge 2024-04-14 20:07:17 +00:00
GitHub Action
00840cb4a6 Add/Update badge 2024-04-07 20:10:03 +00:00
GitHub Action
cca938674c Add/Update badge 2024-04-07 20:04:40 +00:00
GitHub Action
14bf759fa7 Add/Update badge 2024-04-02 03:35:14 +00:00
GitHub Action
40b70d6576 Add/Update badge 2024-03-24 21:59:58 +00:00
GitHub Action
bcb9ac64c0 Add/Update badge 2024-03-10 21:42:48 +00:00
GitHub Action
0f0a9da609 Add/Update badge 2024-03-10 21:40:09 +00:00
GitHub Action
4d214ad5fb Add/Update badge 2024-02-25 21:50:57 +00:00
GitHub Action
5d48de178b Add/Update badge 2024-02-10 18:27:29 +00:00
GitHub Action
175dcf6aa6 Add/Update badge 2024-02-06 03:34:59 +00:00
GitHub Action
76604ac3fc Add/Update badge 2024-01-30 03:37:04 +00:00
GitHub Action
144d7ca03d Add/Update badge 2024-01-22 11:36:43 +00:00
GitHub Action
6d0c25d6ea Add/Update badge 2024-01-19 18:43:30 +00:00
GitHub Action
0f9bada4f3 Add/Update badge 2024-01-17 13:54:10 +00:00
GitHub Action
ba92466ae1 Add/Update badge 2024-01-10 23:48:39 +00:00
GitHub Action
12a6c2af58 Add/Update badge 2024-01-07 21:35:12 +00:00
GitHub Action
d9c0a63e8c Add/Update badge 2024-01-07 21:16:08 +00:00
Tom
bd3727d7fe
chore: Tidy up some out of place types (#160)
* tidy: Move TimeoutSettings out of protocol types

* tidy: Move game type to a types file

* tidy: Move generic query functions to own file

* tidy: Move ExtraRequestSettings to game types

* tidy: Move generic query functions into games module

* Revert "tidy: Move ExtraRequestSettings to game types"

This reverts commit aa0d23fc2acc12d68f03265a9caff6f98bf25054.

* Revert "tidy: Move TimeoutSettings out of protocol types"

This reverts commit 7ee10711ed11f17cc06565d4cc9102040d53a319.

* tidy: Re-export types needed for query at the root

* Add/Update badge

---------

Co-authored-by: GitHub Action <action@github.com>
2024-01-02 00:17:43 +02:00
GitHub Action
483d728ac8 Add/Update badge 2023-12-30 15:32:01 +00:00
Tom
87ed02420e
feat: Add best effort test to validate game ID rules (#111)
* [Test] Add best effort test to validate game ID rules

An attempt to implement the rules specified in #108 as a programmatic
test.

* [Test] Refactor ID rules to check if a mod exists after - in game name

This allows fivem to pass the check following rule 8, but could also
cause a false pass in some cases.

* [Test] Add unit tests for ID rule checker

Adds unit tests based on the examples in CONTRIBUTING.md to confirm in
those cases we would allow ID to pass. However these tests don't check
any error cases.

* test/id: Correctly extract protocol names

* games/defs: Fix unreal tournament IDs

* tests: Require game definitions to run ID tests

* tests: Improve comments on ID tests

* tests/id: Combine - seperated numbers

* games/defs: Fix darkest hour ID

* Add/Update badge

---------

Co-authored-by: GitHub Action <action@github.com>
2023-12-19 22:20:19 +01:00
GitHub Action
fb6f22b801 Add/Update badge 2023-12-10 17:39:46 +00:00
CosminPerRam
45f05aec13
feat: add Squad support (#164)
* feat: add Squad support

* Add/Update badge

---------

Co-authored-by: GitHub Action <action@github.com>
2023-12-03 20:59:46 +02:00
CosminPerRam
decff82318
feat: add Post Scriptum support (#163)
* feat: add post scriptum support

* Add/Update badge

---------

Co-authored-by: GitHub Action <action@github.com>
2023-12-03 20:51:43 +02:00
Tom
0c7dbe76d7
ci: Update node coverage badge to work without games.txt (#156)
* ci: Update node coverage badge to work without games.txt

Fixes #155 using a new node script that should be more robust than the
old shell script.

* ci: Change badge cron time to less common time

By doing at a less common time we should reduce action time usage as
the runners will be under less load.

* Add/Update badge

* ci: Improve node-badge script

Co-Authored-By: CosminPerRam <cosmin.p@live.com>

* ci: Run node badge action if script changes

* ci: Update node badge path for workspaces

* ci: Revert loading games from index in node badge script

---------

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: CosminPerRam <cosmin.p@live.com>
2023-11-23 11:48:24 +02:00
Tom
529abe9d76
feat: Add the unreal2 protocol (#124)
* WIP: Add unreal2 protocol

* Add/Update badge

* protocols/unreal2: Update doc comments and TODOs

* protocols/unreal2: Don't pre-allocate as many bot players

* protocols/unreal2: Use "encoding-rs" for decoding unreal2 strings

* Add/Update badge

* protocols/unreal2: Add constants for player pre-allocation.

Also improve some doc comments and update PACKET_SIZE.

* protocols/unreal2: Early break when enough players have been parsed

Add a fast-path to avoid waiting for packet timeout when we have parsed
as many players as specified in the server info packet.

* protocols/unreal2: Use HashSet to store mutators

* protocols/unreal2: Handle server sending multiple values for a rule

* protocols/unreal2: Add GatheringSettings to control what to query

GatheringSettings allows skipping querying rules and/or players which
can make the query return much faster. This also required moving each
individual query into its own helper.

* protocols/unreal2: Add more derives to types

* protocols/unreal2: Simplify ServerInfo::parse()

Co-Authored-By: CosminPerRam <cosmin.p@live.com>

* Docs: Add unreal2 protocol documentation

I used a website to generate the markdown RESPONSES table, the save file
from this website is included to make updating the table easier in the
future.

https://www.tablesgenerator.com/markdown_tables

* Add/Update badge

* protocols/unreal2: Use the correct encoding for UCS2 strings

* Docs: Remove unnecessary TGN file

---------

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: CosminPerRam <cosmin.p@live.com>
2023-10-30 13:37:15 +02:00