Commit graph

429 commits

Author SHA1 Message Date
Cain
3eb20b9deb fix: mindustry leak crate-private type 2024-01-18 18:13:42 +00:00
Cain
962c856418 fix: packet support for msrv 2024-01-18 18:08:27 +00:00
Cain
b49525543d chore: format 2024-01-18 17:56:58 +00:00
Cain
1991c9f5eb chore: add missing cli fn docs 2024-01-18 17:48:11 +00:00
Cain
36d957ceb4
Merge branch 'main' into feat/rootless-capture 2024-01-18 01:56:14 +00:00
Cain
15004f3dae
chore: optimize further 2024-01-17 23:44:47 +00:00
Cain
89d4ddeac7
fix: bson output 2024-01-17 23:44:41 +00:00
Cain
c30f28741f
impl: tcp fin 2024-01-17 23:44:36 +00:00
Cain
61ecbab312
refactor: clean up and add more features 2024-01-17 23:44:30 +00:00
Cain
6cf6800bff
chore: add source link 2024-01-17 23:44:22 +00:00
Cain
6aee5ebb76
chore: format 2024-01-17 23:44:16 +00:00
Cain
0543cabce2
refactor: clean up 2024-01-17 23:44:11 +00:00
Cain
3d47180e85
refactor: backport pcap impl 2024-01-17 23:44:05 +00:00
Cain
49096e46bb
merge: Douile fork + local (broken af) 2024-01-17 23:43:53 +00:00
GitHub Action
0f9bada4f3 Add/Update badge 2024-01-17 13:54:10 +00:00
Tom
07de5168f4
Add support for Mindustry (#178)
* buffer: Add UTF8LengthPrefixed string decoder

* games: Use expression for default port

This allows us to refer to constants for the default ports if we want to
(literals will still work).

* games: Add support for mindustry
2024-01-17 13:53:40 +00:00
GitHub Action
ba92466ae1 Add/Update badge 2024-01-10 23:48:39 +00:00
CosminPerRam
a3bc8b79e5 feat(games): add zombie panic: source support 2024-01-11 01:48:05 +02:00
Tom
b248a7661e
feat: Move ID tests into their own crate with a CLI (#177)
* fix: ID tests not in correct directory

* refactor: Move game-id test logic into its own crate

* id-tests: Add CLI that reads JSON input

* id-tests: Update crate docs

* Remove node ID test

* id-tests: Don't try to parse unneeded info

* id-tests: Enable cli feature by default
2024-01-11 01:31:02 +02:00
CosminPerRam
88bf996a5e Merge branch 'main' of github.com:gamedig/rust-gamedig 2024-01-07 23:44:40 +02:00
CosminPerRam
94102d0d7b feat(games): add base defense support 2024-01-07 23:44:35 +02:00
GitHub Action
12a6c2af58 Add/Update badge 2024-01-07 21:35:12 +00:00
CosminPerRam
c71e783e1e fix(crate): formatting 2024-01-07 23:34:46 +02:00
CosminPerRam
109a3db13e feat(games): add americas army proving grounds support 2024-01-07 23:34:26 +02:00
CosminPerRam
90b038eed0 Merge branch 'main' of github.com:gamedig/rust-gamedig 2024-01-07 23:22:27 +02:00
CosminPerRam
1333655d53 fix(games): atlas definitions steam app id 2024-01-07 23:22:17 +02:00
GitHub Action
d9c0a63e8c Add/Update badge 2024-01-07 21:16:08 +00:00
CosminPerRam
ae9a38907f feat(games): add atlas support 2024-01-07 23:15:35 +02: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
CosminPerRam
a7ee331dc3 feat: add Rising World support 2023-12-30 17:31:22 +02:00
Cain
079e9877ba
fix: Remove unused manifest key (#174) 2023-12-24 11:12:54 +00:00
Cain
0e241056bf
fix: remove unused manifest key in cargo.toml 2023-12-24 11:01:08 +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
CosminPerRam
10169c9107
chore: extract ffow into multiple files (#173)
* chore: extract ffow into multiple files

* fix: serde uses not being conditional
2023-12-19 22:04:45 +01:00
CosminPerRam
bdcf64facf
chore: extract the ship into multiple files (#172)
* chore: extract the ship into multiple files

* fix: actual the ship reference link

* fix: revert last commit and replace in ts
2023-12-19 20:58:15 +01:00
CosminPerRam
99b0269ec2
chore: extract jc2m into multiple files (#171)
* chore: extract jc2m into multiple files

* docs: add jc2m fields public
2023-12-15 20:19:15 +01:00
CosminPerRam
8c52ca6ad3 chore: remove redundant closure 2023-12-11 04:01:41 +02:00
CosminPerRam
44abf6ec71 chore: use Option::map_or_else instead of an if let/else 2023-12-11 04:00:31 +02:00
CosminPerRam
a4bc430868 perf: use of or followed by a function call 2023-12-11 03:58:40 +02:00
CosminPerRam
0aa498b30b chore: simplify condition to use equals operator 2023-12-11 03:56:14 +02:00
CosminPerRam
f746fad157 perf: use of ok_or followed by a function call 2023-12-11 03:54:04 +02:00
CosminPerRam
9c3e6cb51f perf: use of ok_or followed by a function call 2023-12-11 03:53:18 +02:00
CosminPerRam
e1bffd2045 pref: apply const to applicable functions 2023-12-11 03:49:18 +02:00
CosminPerRam
21205fc3cb fix: also add Eq to savage2::Response 2023-12-11 03:47:31 +02:00
CosminPerRam
486abbd9f7 chore: use Self where possible 2023-12-11 03:45:54 +02:00
CosminPerRam
f431508418 chore: use map_or_else instead of if let Some() ... else 2023-12-11 03:41:41 +02:00
CosminPerRam
5d0834ac78 chore: run rustfmt 2023-12-11 03:34:38 +02:00
CosminPerRam
731818ffb1 chore: fixed some long literal lacking separators 2023-12-11 03:34:05 +02:00
CosminPerRam
f1094e0e68 chore: replace the closure with the method itself 2023-12-11 03:31:57 +02:00