1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00
Commit graph

27 commits

Author SHA1 Message Date
c033587503 add logger 2022-09-09 19:27:59 +00:00
mat
453cbc83fd add a todo 2022-09-05 11:46:47 -05:00
mat
cfb190d00c
get rid of Readable & Writable (#21) 2022-09-02 12:11:14 -05:00
4678327848 remove some comments in az-protocol::read 2022-08-31 18:52:26 +00:00
cbc0a13d9b fix a couple more possible panics 2022-08-31 18:50:59 +00:00
efb1f3f2d5 fix panics 2022-08-31 18:48:51 +00:00
mat
5a9fca0ca9
Better errors (#14)
* make reading use thiserror

* finish implementing all the error things

* clippy warnings related to ok_or

* fix some errors in other places

* thiserror in more places

* don't use closures in a couple places

* errors in writing packet

* rip backtraces

* change some BufReadError::Custom to UnexpectedEnumVariant

* Errors say what packet is bad

* error on leftover data and fix

it wasn't reading the properties for gameprofile
2022-08-06 02:22:19 -05:00
mat
4ee4687053 Split clientbound and serverbound packets 2022-07-29 02:59:40 -05:00
mat
37c6618c16 Fix everything so azalea-buf works 2022-06-23 19:17:04 -05:00
mat
e1b6bc965a Update read.rs 2022-05-01 22:10:28 -05:00
mat
567c6f4f2c Reduce usage of AsyncRead
We already receive everything from the server when it tells us the length, so we can actually just treat the stream as a Read instead of an AsyncRead.
2022-05-01 21:54:03 -05:00
mat
80d49a7607 azalea_auth::encryption -> azalea_crypto 2022-04-30 21:30:45 -05:00
mat
7f9463320f fix error that happens in linux + release mode 2022-04-30 16:56:59 -05:00
mat
153b5b45e4 misc fixes 2022-04-30 02:10:21 -05:00
mat
c37fcfe4da comment some stuff out 2022-04-30 01:50:53 -05:00
mat
4d7bf6c50e significantly optimize reading Vec<u8>
unfortunately, this introduces the requirement of using rust nightly
2022-04-30 01:43:00 -05:00
mat
8317b5b281 upgrade aes and cfb8 2022-04-29 20:20:56 -05:00
mat
d6f0449344 remove debug prints 2022-04-24 22:55:11 -05:00
mat
f4dd3a9293 ENCRYPTION WORKS!!!!!!!!!!! 2022-04-24 22:46:41 -05:00
mat
248f752748 simplify error handling 2022-04-22 04:33:58 +00:00
mat
1a961d968b fix some clippy warnings 2021-12-26 14:17:01 -06:00
mat
b030b9de93 nbt 2021-12-18 20:33:16 -06:00
mat
498077e09f writing compressed packets 2021-12-17 23:01:16 -06:00
mat
493aae582a fix packets 2021-12-17 16:38:14 -06:00
mat
c4eecaf13a try to implement compression 2021-12-16 23:33:06 -06:00
mat
999116ed7c add map to mc_buf 2021-12-16 16:00:59 -06:00
mat
9642558f8f azalea 2021-12-15 23:10:55 -06:00
Renamed from minecraft-protocol/src/read.rs (Browse further)