Commit graph

94 commits

Author SHA1 Message Date
ed08171fa8 bump version 2021-12-10 02:59:44 +01:00
333ba1fdd9 reworked compiler and types 2021-12-10 02:59:31 +01:00
d3b4a4b8b4 catch brokenPipe error 2021-12-09 12:39:15 +01:00
96e76fca4c implemented offline mode 2021-12-09 12:39:02 +01:00
4c69fc4080 better logging prefixes 2021-12-07 17:24:26 +01:00
b5c3bfeb6c disconnect on unhandled exception in dispatcher 2021-12-06 19:34:43 +01:00
730965e22c move TrailingByteArray up 2021-12-04 02:12:14 +01:00
5ca018b2ea helper methods to load token from file/dict 2021-12-02 20:16:29 +01:00
4ebd19793e type fix 2021-12-02 20:15:57 +01:00
45daee5aa8 added basic generic types 2021-12-02 00:36:58 +01:00
0b1c43e129 set _authenticated on join exc 2021-12-01 17:02:44 +01:00
900b300f66 renamed 'Position' to 'BlockPos' 2021-12-01 13:29:21 +01:00
8ac1cbfd6a fix for slots 2021-12-01 13:29:21 +01:00
b20a2c751b implemented some more types 2021-12-01 13:29:21 +01:00
934e00f112 stop faster 2021-12-01 13:29:21 +01:00
5705cb4231 ops this queue cannot be cleared 2021-12-01 13:29:21 +01:00
a4dd9c5672 timeout also clientside 2021-12-01 13:29:21 +01:00
84f291038e make mypy stop complaining and analyze this lib 2021-12-01 13:29:21 +01:00
5cc4c8d844 don't try to serialize optional fields 2021-12-01 13:29:21 +01:00
d1d1eb5ca1 TrailingByteArray won't fail on null fields 2021-12-01 13:29:21 +01:00
3451cefd5c handle timeout error 2021-12-01 13:29:21 +01:00
06d03266c9 added position to definitions but should be a type 2021-12-01 13:29:21 +01:00
72b4a5a43b finish processing packets upon disconnect 2021-12-01 13:29:21 +01:00
ce22e26458 catch exceptions in callbacks 2021-12-01 13:29:21 +01:00
f47d82733c improved parse_chat 2021-12-01 13:29:21 +01:00
0d43b4b5bf bump version, catch exc 2021-12-01 13:29:21 +01:00
f6835709b1 fixes 2021-12-01 13:29:21 +01:00
b4d93b3b2f of course it was a race condition 2021-12-01 13:29:21 +01:00
d82ba7a975 create also _tasks holder 2021-12-01 13:29:21 +01:00
3d88180892 oops call super constructor 2021-12-01 13:29:21 +01:00
540dbd5d90 moved common code into traits, added callbacks, made it cleaner? 2021-12-01 13:29:21 +01:00
c2e8e80806 added super basic callbacks hooks to server 2021-12-01 13:29:21 +01:00
23418c06d0 ... 2021-12-01 13:29:21 +01:00
163ab47f80 oof I really need to implement all types... 2021-12-01 13:29:21 +01:00
f513801132 super basic server impl 2021-12-01 13:29:21 +01:00
3cee338ca5 fixes, allow to run as server 2021-12-01 13:29:21 +01:00
a5b82cb8a6 tweaks to work for server too, catch and disconnect if ConnectionResetError 2021-12-01 13:29:21 +01:00
741ec33f1b some work on server impl 2021-12-01 13:29:21 +01:00
f35d927444 changed idea on dispatcher, some server scaffolding 2021-12-01 13:29:21 +01:00
a5b34b4d78 made things more generic for a mini server impl 2021-12-01 13:29:21 +01:00
f7ec83c8d5 ocd 2021-12-01 13:29:21 +01:00
a8240c8df3 first ugly impl of background callbacks with uuid dict 2021-12-01 13:29:21 +01:00
cf35e2cf24 safer disconnect sequence 2021-12-01 13:29:21 +01:00
1b72f94043 make client.run() block and run from sync 2021-12-01 13:29:21 +01:00
1d6916932b dumb fix 2021-12-01 13:29:21 +01:00
80f3b769a2 botch 2021-12-01 13:29:21 +01:00
6d83836fcb removed debug leftovers 2021-12-01 13:29:21 +01:00
e6faf92841 make packets slotted objects 2021-12-01 13:29:21 +01:00
54f1c1d760 fix for on_packet 2021-12-01 13:29:21 +01:00
cd402f668a restructured project, improved modularity 2021-12-01 13:29:21 +01:00