Commit graph

15 commits

Author SHA1 Message Date
mat
0085f8a565 make some stuff publishable on crates.io 2022-08-30 21:42:40 -05: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
b030b0ea33 start adding moving 2022-06-24 23:10:59 -05:00
mat
d8e0457b62 from<ClientboundAddEntityPacket> for Entity 2022-06-18 14:08:34 -05:00
mat
8313952541 Simplify packet macro
Now every packet implements McBufWritable and McBufReadable and uses those so the code doesn't have to be duplicated.
2022-04-30 23:04:18 -05:00
mat
80d49a7607 azalea_auth::encryption -> azalea_crypto 2022-04-30 21:30:45 -05:00
mat
8317b5b281 upgrade aes and cfb8 2022-04-29 20:20:56 -05:00
mat
9c69d7d5f2 finish update recipes packet implementation 2022-04-26 19:38:07 -05:00
mat
f4dd3a9293 ENCRYPTION WORKS!!!!!!!!!!! 2022-04-24 22:46:41 -05:00
mat
4c00bd8865 Add ServerboundKeyPacket 2022-04-24 19:28:29 -05:00
mat
3e507f0db4 Merge branch 'main' into auth 2022-04-24 17:37:57 -05:00
mat
248f752748 simplify error handling 2022-04-22 04:33:58 +00:00
mat
9f576c5600 start work on encryption 2022-01-01 18:59:38 -06:00
mat
1dc56b6f51 fix errors 2021-12-16 17:55:45 -06:00
mat
227ba5511d add a few more login packets 2021-12-16 17:51:05 -06:00