Commit graph

82 commits

Author SHA1 Message Date
CosminPerRam
c5a35016d1 Valve Protocol: Players with no name (name length == 0), are no more added to players details 2023-01-12 23:40:43 +02:00
CosminPerRam
5c664187f9 Remove Test: Value server rule from RoR2 2023-01-12 23:19:13 +02:00
CosminPerRam
50012dd49f Change Valve Protocol Rules to HashMap<String, String> 2023-01-12 23:04:57 +02:00
CosminPerRam
ededf93b38 Add Risk of Rain 2 support. 2023-01-09 19:02:31 +02:00
CosminPerRam
7d164d40a1 Add Copy trait to Valve Request Kind enum 2022-12-31 14:52:17 +02:00
CosminPerRam
ef8ac92506 Change valve get_server_rules to not return an Option 2022-12-31 14:35:36 +02:00
CosminPerRam
a37e2506b4 Change valve get_request_data return type from vec<u8> to Bufferer 2022-12-31 14:32:35 +02:00
CosminPerRam
0e68f8c830 Make public functions that are meant to be used internally private. 2022-12-29 16:59:51 +02:00
CosminPerRam
8c98433da9 Fix online/max players being reversed on minecraft legacy 1.6 2022-12-29 16:37:42 +02:00
CosminPerRam
b09fa4ada5
Change buffer reading implementation (#8)
* Add new implementation an valve protocol refactor

* Refactor minecraft protocol with new bufferer
2022-12-29 16:30:24 +02:00
CosminPerRam
91f8bbb9fe
Minecraft bedrock support (#7)
* Added needed ground stuff

* Minecraft bedrock support!

* Documentation acknowledgements!

* Added utf8_le_undended test, some docs and modified master_querant

* Modified query function to comply with the others

Before: game query -> protocol query (get port or default port)
After: game query (get port or default port) -> protocol query

* Modified md files
2022-12-05 18:47:35 +02:00
CosminPerRam
7828bb9433 Minecraft rework and some docs 2022-11-28 22:08:28 +02:00
CosminPerRam
d671bb0310 Half-Life Deathmatch: Source support. 2022-11-28 21:33:09 +02:00
CosminPerRam
1c173b76ca Day of Infamy support. 2022-11-28 20:53:12 +02:00
CosminPerRam
1ad5031c6f Added u8_lower_upper test 2022-11-28 01:56:46 +02:00
CosminPerRam
013da5f0c4 Forgot to change address_and_port_as_string in the socket.rs 2022-11-28 01:28:07 +02:00
CosminPerRam
2e8aa50c3a Fixed tests and removed dns error 2022-11-28 01:22:59 +02:00
CosminPerRam
a1d42af2df Simplified some map uses 2022-11-28 01:16:30 +02:00
CosminPerRam
3d95f08ef4 Removed DNS resolving as it was not needed 2022-11-28 01:13:08 +02:00
CosminPerRam
259e21a4ab Restored full CSGO query capabilities 2022-11-28 00:51:09 +02:00
CosminPerRam
ed681025b4 Added error_by_expected_size test. 2022-11-27 23:45:48 +02:00
CosminPerRam
9f861df96b Arma 2: Operation Arrowhead support. 2022-11-26 18:08:32 +02:00
CosminPerRam
aec145a847 Counter-Strike support. 2022-11-26 17:17:09 +02:00
CosminPerRam
645582868d More tests and fixed (?) utf16 be string reading 2022-11-26 17:09:34 +02:00
CosminPerRam
3f58e99c28 Rust support. 2022-11-26 16:27:03 +02:00
CosminPerRam
de3ac9aad5 Sven Co-op support. 2022-11-26 16:21:58 +02:00
CosminPerRam
8c5ac24468 Changed The Forest default port to 27016. 2022-11-26 16:15:26 +02:00
CosminPerRam
d086d49cdc Team Fortress Classic support. 2022-11-26 16:15:01 +02:00
CosminPerRam
21b7d91ee6 The Forest support. 2022-11-26 16:08:47 +02:00
CosminPerRam
7b2cad22ec Unturned support. 2022-11-26 15:38:13 +02:00
CosminPerRam
0a48b0e8eb Ark: Survival Evolved support 2022-11-25 20:27:31 +02:00
CosminPerRam
e689bc766e 7 Days To Die support. 2022-11-25 20:10:16 +02:00
CosminPerRam
7b44c5f7eb Reverter errors from taking a &'static str to String 2022-11-25 18:42:10 +02:00
CosminPerRam
dc0926bab7 Renamed ProtocolRule to ProtocolFormat 2022-11-24 23:41:23 +02:00
CosminPerRam
304b8340d2 Better, faster and stronger errors. 2022-11-24 23:38:51 +02:00
CosminPerRam
b988b51cff Some reordering 2022-11-24 22:58:34 +02:00
CosminPerRam
ee0223a7a3
Minecraft implementation (#6)
* Initial minecraft support

* Made previews_chat an option

* Better error handling and removed version structure

* Minecraft Server types

* Fixed compilation and renamed stuff

* 'extract till you drop!' extracted sockets

* extracted java version and fixed socket udp receive

* Legacy 1.4 and 1.6 implementation (incomplete)

* Furter implementation

* Implementations work

* Protocol beta v1.8+ implemented

* Removed bedrock support

* Added auto query

* Renamed minecraft to mc and added to md's

* Docs, renames and small optimization changes

* Changed java version to be able to return None on players sample
2022-11-24 22:52:54 +02:00
CosminPerRam
974e093e23 Move TimeoutSettings to be a type that can be used by multiple protocols 2022-11-16 00:06:13 +02:00
CosminPerRam
caa7329a68 Added socket timeout capability and reduced PACKET_SIZE to 1400 as specified from protocol 2022-11-15 21:07:15 +02:00
CosminPerRam
d3b71fccf6 Changed packet size to protocol specified size 2022-11-15 17:20:01 +02:00
cosminperram
ac9d385fb6 Fixed multipacket response when protocol = 7 with certain apps 2022-10-27 11:09:59 +03:00
CosminPerRam
d3a1dba3c1
Restructured app format, goldsrc full support and added implementation for Day of Defeat and Counter-Strike: Condition Zero (#5)
* [valve_app_restructure] Initial change

* [valve_app_restructure] Some GoldSrc split packet changes

* [valve_app_restructure] Counter-Strike: Condition Zero implementation.

* [valve_app_restructure] Docs changes

* [valve_app_restructure] Added obsolete gold src response

* [valve_app_restructure] Day of Defeat implementation.
2022-10-27 01:01:11 +03:00
cosminperram
96c2c8a335 Fixed uncomplete the ship player struct and added some docs... 2022-10-23 18:09:13 +03:00
cosminperram
9df4bddc09 Modularized reusable structs and changed files structure a bit 2022-10-23 17:34:22 +03:00
cosminperram
3ac6a8b603 Changed uses to have a better structure 2022-10-23 14:03:59 +03:00
cosminperram
c0d07cf6f9 Valve Protocol now support anonymously querying 2022-10-23 13:34:40 +03:00
cosminperram
8e2d76ecfb Insurgency: Modern Infantry Combat implementation. 2022-10-23 12:39:23 +03:00
cosminperram
88a4c82158 Removed examples, added a master_querant change gather_settings to none (representing all) 2022-10-22 23:50:32 +03:00
cosminperram
83bbd5d428 Added Insurgency and Insurgency: Sandstorm implementation. 2022-10-22 19:25:54 +03:00
cosminperram
a5bdd05c24 Added Alien Swarm and Alien Swamr: Reactive Drop support 2022-10-22 17:03:14 +03:00