Commit graph

223 commits

Author SHA1 Message Date
5cff6bc208
chore!: add serialize/deserialize to Item 2022-07-02 23:59:11 +02:00
14da27e52e
fix: res is not set, return code 0 2022-06-22 13:04:08 +02:00
c359e2221a
fix: safer parse_chat 2022-06-18 16:17:27 +02:00
778fbe76f3
fix: catch timed out error in auth requests 2022-06-18 16:11:06 +02:00
4d4ad4a6d6
fix: catch and handle JSONDecodeError 2022-05-31 23:00:36 +02:00
c59b11a950
fix: gitignore built wheel files 2022-05-27 10:50:32 +02:00
9c5d0aa57d
fix? why doesn't ig exist 2022-05-23 02:58:20 +02:00
7ffc69d8c2
Added automatic SRV check for host and port 2022-05-23 01:09:59 +02:00
70e89fc4a9
add set_compression to dispatcher 2022-05-23 01:09:01 +02:00
530ff373a0
Improved chunk and world methods 2022-05-23 01:08:50 +02:00
e1fab434ef
Only run CI/CD on main branch 2022-05-15 13:28:56 +02:00
4f3ce69a9e
I guess I don't really know how GH workflows work 2022-05-15 13:06:05 +02:00
5dae821c19
Added maturin default CI with only linux task enabled 2022-05-15 13:04:17 +02:00
f238d902fa
Changed build system to maturin to add rust extensions
This meant moving the python source out of src/ . I dislike this project
structure but will do for now while I think of something better.
setup.cfg is no longer needed and all options are either in pyproject.toml
or Cargo.toml. I still need to figure out a lot of stuff.

Co-authored-by: f-tlm <f-tlm@users.noreply.github.com>
2022-05-15 13:02:53 +02:00
23e82be061
Some work on a rust implementation of chunk parsing
This uses PyO3 to bind rust code to python. Still super early and
explorative: requiring to build on pip install might be a dealbreaker?
idk how it works. Still cool and might make things pretty fast

Co-authored-by: f-tlm <f-tlm@users.noreply.github.com>
2022-05-12 02:12:17 +02:00
b2455a7ab8
unfinished write methods for Chunk, added merge 2022-05-11 01:51:08 +02:00
bbb3848822
... 2022-05-10 01:33:44 +02:00
acff9a2f8a
leftover 2022-05-10 01:32:51 +02:00
e224e986ab
don't use UDP 2022-05-10 01:28:29 +02:00
4e2f0d87c1
made properties private, added UDP
UDP is added with asyncio-dgram library for now, maybe will implement it
directly as asyncio.Protocol later?
2022-05-09 23:50:54 +02:00
aa5aed5fbc
dispatcher more debuggy too 2022-05-06 18:44:25 +02:00
d36772b94d
safer player/texture deserialize 2022-05-05 10:43:39 +02:00
cde96c3cd5
oops was a loop 2022-05-05 00:15:23 +02:00
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