Commit graph

50 commits

Author SHA1 Message Date
7bc7a14457
fix: don't login when code's missing, clear it after use 2022-08-25 19:24:27 +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
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
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
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
3e4b10521d early implementation of Microsoft login 2022-02-11 02:06:16 +01:00
f89eded601 better start/stop I hope 2021-12-28 11:43:11 +01:00
8d371e094b fuck me don't just exit twice 2021-12-17 17:34:25 +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
53962eaa2c changed token field names 2021-12-13 13:24:07 +01:00
23a22e3adf better debug logging 2021-12-11 05:59:51 +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
0b1c43e129 set _authenticated on join exc 2021-12-01 17:02:44 +01:00
934e00f112 stop faster 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
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
3cee338ca5 fixes, allow to run as server 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
1b72f94043 make client.run() block and run from sync 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
f282ed6665 also catch PacketJoinWorld 2021-12-01 13:29:21 +01:00
1cd94a899a except registered callbacks individually 2021-12-01 13:29:21 +01:00
9327b77c3c log dimension changes 2021-12-01 13:29:21 +01:00
d6aec8cfad fixes 2021-12-01 13:29:21 +01:00
fd4a4408d8 properly stop when credentials are invalid| 2021-12-01 13:29:21 +01:00
c6f3d1cacf small fixes 2021-12-01 13:29:21 +01:00
7b72287215 better handle auth exceptions 2021-12-01 13:29:21 +01:00
4b9b093cfe port is not required 2021-12-01 13:29:21 +01:00
699536fd78 better auth checking 2021-12-01 13:29:21 +01:00
d8dc04e663 better logging, catch some disconnect errors 2021-12-01 13:29:21 +01:00
dadf9ec013 slightly more descriptive log 2021-12-01 13:29:21 +01:00
33396a0704 better starting, auto reconnect, respawn 2021-12-01 13:29:21 +01:00
8e68f70e1d implemented core game logic 2021-12-01 13:29:21 +01:00
a485b25150 implemented some basic proto logic 2021-12-01 13:29:21 +01:00
aa92bfe3cd some work on packet flow 2021-12-01 13:29:21 +01:00
093be0058f added scaffolding for state logic 2021-12-01 13:29:21 +01:00
2453689334 initial work on client 2021-12-01 13:29:21 +01:00