Commit graph

250 commits

Author SHA1 Message Date
838982c261
prevent "cannot write() after write_eof()" hopefully 2022-05-04 23:41:42 +02:00
0808bc5b3e
first simple Player data type, wip 2022-05-04 23:41:08 +02:00
6bd4abafb1
print larger packet fields 2022-04-27 13:33:03 +02:00
7d05658fe9
Option to not log ignored packets (default on) 2022-04-27 13:28:50 +02:00
48ce1b8d5c
should work but it doesn't
Co-authored-by: f-tlm <f-tlm@users.noreply.github.com>
2022-04-25 04:44:22 +02:00
d2f9820b86
Added chunk types (left separate: broken and slow) 2022-04-23 22:12:16 +02:00
4ba6b67d75
cleaned and improved server implementation 2022-04-21 01:15:16 +02:00
801231a868
add simple tokenmaker example 2022-04-21 01:14:50 +02:00
022ed83187
don't stop if already stopped 2022-04-19 01:17:57 +02:00
ca45980bcd
set default values and error codes 2022-04-18 21:44:40 +02:00
3f647bb561
try/except validate, refresh, login 2022-04-18 20:43:48 +02:00
2030bfc97b
fixes 2022-04-18 20:32:00 +02:00
5a68b8bb4e
fix: set _dispatching 2022-04-18 20:25:37 +02:00
6052dc578b
improved how parameters are managed, removed duplicates 2022-04-18 19:32:31 +02:00
7789888e03
added OfflineAuthenticator 2022-04-18 19:31:52 +02:00
Francesco Tolomei
a2c2b78f89
WIP: authentication rework 2022-04-07 00:05:31 +02:00
8f04b34092
receive already logged in authenticator 2022-04-06 21:29:07 +02:00
a75f0ff9e4
reimplemented mojang authenticator 2022-04-06 21:26:49 +02:00
d8059d246d
use tabs 2022-04-06 21:25:53 +02:00
d3587f65ae
moved features out of aiocraft, cleaned up client states routines 2022-03-08 01:39:03 +01:00
34def8b6cc
added basic server ping, proto is defined per connection, fixes 2022-02-22 00:47:47 +01:00
dcf5ad1f08
added some examples 2022-02-20 15:14:18 +01:00
46ef53496c
made GameProfile printable 2022-02-20 15:13:57 +01:00
1bcb79392e repackaged new-style 2022-02-20 13:26:50 +01:00
a8b5c70739
handle code better, refresh fixes 2022-02-17 10:22:15 +01:00
c5777c0d13
ops snake_case in request 2022-02-17 10:16:56 +01:00
f6f55d4c17
tweaks and fixes 2022-02-16 04:07:34 +01:00
e14d27f999
code is optional? idk 2022-02-16 02:47:14 +01:00
6d3205c5c6
allow to specify offline-mode username 2022-02-15 16:49:56 +01:00
4a4f034b33
made msauth state serializable for saving and restoring 2022-02-14 01:57:07 +01:00
3cb6760f10
client auth flow changes for new MS authentication 2022-02-14 01:36:53 +01:00
b6e38660c3
validate via fetch_profile, general improvements and fixes" 2022-02-14 01:29:18 +01:00
2089e215d1
logging messages, removed broken import 2022-02-12 00:33:00 +01:00
b1e95b43bd
moved urls into constants 2022-02-11 02:28:58 +01:00
3e4b10521d early implementation of Microsoft login 2022-02-11 02:06:16 +01:00
ee7befc4ab propagate callback to allow stacked decorators 2022-01-19 02:24:00 +01:00
15801426b0 hinted slot as Item 2022-01-19 01:21:02 +01:00
c64f527ec7 made Union consistent (sorted) 2022-01-19 01:20:16 +01:00
65b42a2ed7 tweaks to item type 2022-01-19 01:15:54 +01:00
f35f9d5434 specify is not None 2022-01-15 20:55:15 +01:00
416b545e46 fix for Context changes 2022-01-15 04:22:13 +01:00
4a6b843c24 accept kwargs in packets, sort registry keys 2022-01-15 04:21:35 +01:00
ccadefc2f5 no more optional object Context, made a dedicated object 2022-01-14 20:07:16 +01:00
a3f03756b6 uggh 2022-01-14 16:48:01 +01:00
44db6927c4 oops kwarg 2022-01-14 16:34:26 +01:00
bdd7160dde items can be constructed with kwargs 2022-01-14 16:25:09 +01:00
8f92743454 only include non-None fields when making packets
There is no 'null' type in MC proto, so a None means
that said attr was not set
2022-01-14 16:22:38 +01:00
0216be7c4d Merge branch 'main' of github.com:alemidev/aiocraft 2022-01-14 16:15:40 +01:00
fc6d91affe oops else if 2022-01-14 16:15:30 +01:00
a5c864c4c0 added Enchantment type enum and Enchantment class 2022-01-14 14:50:03 +01:00