Commit graph

179 commits

Author SHA1 Message Date
Cain
1b13d39856
[Crate] Add formatting (#22)
* chore: add standard for formatting

* chore: manually tidy up imports and format

* chore: remove vscode and add to gitignore

* chore: alphabetically order and fix

* chore: format

* chore: fix format issue with payload

* chore: format as merge had unformatted code

* [format] Fix comments, change max width and binop operator

---------

Co-authored-by: CosminPerRam <cosmin.p@live.com>
2023-03-14 10:31:37 +02:00
CosminPerRam
e023e13236 [Crate] Add serde feature to changelog and lib doc 2023-03-13 17:02:51 +02:00
Cain
84af4230f7
[Crate] Add feature: serde (#21)
* feat(serde): add additional derives

* fix: remove attr on internal enum

* fix add missing derive
2023-03-13 16:51:33 +02:00
Cain
bd2e373d66
[Crate] Make clippy happy (#23)
* fix: clippy::type_complexity

* fix: clippy::needless_doctest_main

* fix: clippy::read_zero_byte_vec

* fix: clippy::useless_conversion

* fix: clippy::slow_vector_initialization
2023-03-13 11:28:49 +02:00
CosminPerRam
7f73eb582d [Crate] Update CHANGELOG to add optimizations thanks 2023-03-13 00:45:54 +02:00
CosminPerRam
9f6b3bae18 [Crate] Reorganize README. 2023-03-13 00:43:03 +02:00
CosminPerRam
7500b09b4d [Bufferer] Use struct functions internally too 2023-03-12 22:53:26 +02:00
Cain
568c53f129
[Tests] udp and tcp socket test (#17)
* impl(test): udp and tcp socket test

* fix(test): try and fix possable thread hang

* fix(test): move socket to thread

* [test/socket] Move listener outside of thread scope to make sure it is binded

* [test/socket] Let the OS to bind to an available port

---------

Co-authored-by: CosminPerRam <cosmin.p@live.com>
2023-03-12 01:07:36 +02:00
Cain
927d56b1ee
[Tests]: Timeout settings (#18) 2023-03-11 11:17:36 +02:00
CosminPerRam
3dacc09173 [Utils] Replace address and port as string string and additions to format! 2023-03-11 00:20:09 +02:00
CosminPerRam
7352c595e9 [Socket] Replace static with const for DEFAULT_PACKET_SIZE value 2023-03-11 00:00:31 +02:00
Cain
bf2a05f488
[Tests] result, display, trait and cloning (#19) 2023-03-10 22:27:30 +02:00
CosminPerRam
2865543975 [Repo] Add Discord Server link 2023-03-10 21:52:56 +02:00
CosminPerRam
a3cbb24d0d [Crate] Further use the Byteorder crate 2023-03-09 17:17:48 +02:00
CosminPerRam
9ad2f143dd [Crate] Use Byteorder crate 2023-03-09 16:41:13 +02:00
CosminPerRam
e163774685 [Protocols] Cargo clippy optimizations 2023-03-09 01:30:28 +02:00
CosminPerRam
e6562d30cb [Crate] Update links to point to gamedig organization rather than cosminperram 2023-03-08 21:50:34 +02:00
CosminPerRam
14c5edc1be [Games] Serious Sam support. 2023-03-04 21:36:01 +02:00
CosminPerRam
8992ffe4df [Docs] Match the docs example to the one from the readme 2023-03-04 14:04:38 +02:00
CosminPerRam
9d0cc15f4c [Crate] Update lib docs spelling 2023-03-04 13:47:20 +02:00
CosminPerRam
c7f706bf35 [Crate] Add preliminary changelog 2023-03-03 18:11:40 +02:00
CosminPerRam
04299c1a2c [Crate] Bump version to 0.2.1. 2023-03-03 18:09:17 +02:00
CosminPerRam
59994bc086 [Games] Use port.unwrap_or instead of matching it 2023-03-03 18:02:54 +02:00
CosminPerRam
5f06f58df8 [Crate] Hyperlink tf2 2023-03-03 17:55:23 +02:00
CosminPerRam
f97de3bb63 [Crate] Add warning about frequent API breaking changes in the Readme 2023-03-03 17:54:13 +02:00
CosminPerRam
950c08c18e
[Protocol] GameSpy 1 support with the games Unreal Tournament and Battlefield 1942. (#9)
* Initial files + unreal tournament

* Fix master_querant

* Split by delimiter and collect into hashmap

* Furter port to accept more packets

* Improve getting the server's values

* Some initial players parsing

* Players parsing

* Add error handling

* Add some more fields

* Add Battlefield 1942 support.

* Add query_vars and some docs
2023-03-03 17:45:18 +02:00
CosminPerRam
5604436553 Update the README.md to capitalize project name 2023-02-22 13:11:38 +02:00
CosminPerRam
cd4cbc09db [Games] V Rising support. 2023-02-19 18:37:10 +02:00
CosminPerRam
e26f0f871a [Protocol] Valve: Fix queries that require multiple challenge responses 2023-02-19 17:56:39 +02:00
CosminPerRam
99c87557c2 [Protocol] Valve: Reverse: No name players not being added to the list 2023-02-19 16:43:55 +02:00
CosminPerRam
ab43675ae5 [Crate] Add feature 'no_games' 2023-02-18 22:13:25 +02:00
CosminPerRam
150bc1762e [Protocol] Valve: support app and dedicated app id 2023-02-18 21:44:17 +02:00
CosminPerRam
fe46359e47 Games: Operation Harsh Doorstop support. 2023-02-18 19:00:54 +02:00
CosminPerRam
719ae9d591 Games: Avorion support. 2023-02-18 18:37:02 +02:00
CosminPerRam
3231653e4c Reword Battalion 1944 query note message 2023-02-18 18:28:06 +02:00
CosminPerRam
e16efee488 Games: BrainBread 2 support. 2023-02-18 18:25:17 +02:00
CosminPerRam
eca9757421 Ballistic Overkill support. 2023-02-18 18:17:19 +02:00
CosminPerRam
df9005cc9f Games: Codename CURE support. 2023-02-18 18:09:20 +02:00
CosminPerRam
bdaa1c4f64 Move up SDTD Steam ID 2023-02-18 18:02:21 +02:00
CosminPerRam
649dfd81ed Games: Onset support. 2023-01-18 18:13:50 +02:00
CosminPerRam
2312ba9114 Games: Colony Survival support. 2023-01-18 18:06:08 +02:00
CosminPerRam
bbd2dd7d97 Games: Don't Starve Together support. 2023-01-18 17:57:19 +02:00
CosminPerRam
dfe544c6aa Bump version to 0.1.0 2023-01-17 02:02:49 +02:00
CosminPerRam
6ec2b8952c Update docs. 2023-01-17 01:21:34 +02:00
CosminPerRam
21a27fd9cc Protocol: Minecraft: Rename java's response struct to JavaResponse 2023-01-17 01:21:17 +02:00
CosminPerRam
f2ae81002e Protocol: Minecraft: Rename players-related fields 2023-01-17 01:01:53 +02:00
CosminPerRam
4fb1350753 Update some github documentation. 2023-01-16 23:31:59 +02:00
CosminPerRam
e2f42008b2 Games: Age of Chivalry support. 2023-01-16 23:10:16 +02:00
CosminPerRam
9c9a096b16 Valve Protocol: Extend split packets correctly 2023-01-16 22:44:55 +02:00
CosminPerRam
f03a1de035 Games: Add Project Zomboid support. 2023-01-16 22:03:28 +02:00