Commit graph

179 commits

Author SHA1 Message Date
a841030c1e not sure abt this err 2021-12-17 16:41:21 +01:00
890f080dbc use global, kinda ugly but ehhh... 2021-12-17 16:39:27 +01:00
2acabbfb8d ops forgot to check signum 2021-12-17 16:36:38 +01:00
021d35be6a reworked run() 2021-12-17 16:33:44 +01:00
9c61b297d3 ocd 2021-12-17 14:24:44 +01:00
8bef9327fe oof 2021-12-17 14:22:27 +01:00
0f936794be old setCompression doesn't matter 2021-12-17 14:09:32 +01:00
4ca65f84d5 oops! always put keepalive and disconnect inside the whitelist! 2021-12-17 14:06:07 +01:00
f70121f2c1 fixed packet whitelist 2021-12-17 14:01:08 +01:00
687e22ac5e ops needs to check for subclass, not instance 2021-12-17 13:53:07 +01:00
1377e04d16 added item formatter helper 2021-12-17 13:35:50 +01:00
84d38008e0 small improvements to packet 2021-12-17 13:35:41 +01:00
93e7859304 implemented packet whitelist to hopefully improve performance 2021-12-17 13:35:28 +01:00
7621021b83 create a new token if credentials are given once current one expired 2021-12-15 13:06:01 +01:00
12878d856d better exception 2021-12-15 13:05:47 +01:00
89635a4c28 improved token serialization/deserialization 2021-12-15 11:28:53 +01:00
6e189bcd17 uggh 2021-12-13 13:39:55 +01:00
e9269170dc added equals and str to token obj 2021-12-13 13:36:52 +01:00
53962eaa2c changed token field names 2021-12-13 13:24:07 +01:00
f7911ca08f use uuid type for uuid 2021-12-12 23:02:48 +01:00
c6bf20b9b6 lol this is proper hashing for blockpos, no clue what last commit is 2021-12-12 02:18:58 +01:00
3b7581a03a proper hashing of blockpos 2021-12-12 02:18:23 +01:00
9a19b417bf token changes for minecraft compatibility 2021-12-12 02:18:06 +01:00
0739e3a8d9 implemented NBT, slot data types 2021-12-11 06:01:45 +01:00
47fc4ee220 fix for defaults in switch type 2021-12-11 06:01:14 +01:00
e24b05c982 better repr/str, _protocol to _proto 2021-12-11 06:00:38 +01:00
caff7ce965 util methods for BlockPos 2021-12-11 06:00:09 +01:00
23a22e3adf better debug logging 2021-12-11 05:59:51 +01:00
ca18387cff allow to serialize to tuple 2021-12-10 23:14:12 +01:00
fea68999dd construct BlockPos from tuple 2021-12-10 23:11:19 +01:00
d21a37c28b implemented bitfield and void types 2021-12-10 13:38:24 +01:00
e642debd15 Advancements packet is still not parseable... 2021-12-10 13:38:10 +01:00
7e24764df5 fix for fixed len arrays 2021-12-10 13:03:48 +01:00
eab07320b5 oops fix for ArrayType 2021-12-10 12:44:47 +01:00
13ee178f63 don't parse those for now 2021-12-10 03:00:04 +01:00
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