Commit graph

162 commits

Author SHA1 Message Date
56065d62f8
fix: disabled multi block change, refactored 2023-11-02 05:32:50 +01:00
989731574a
fix: typing, create log folder if missing 2023-11-02 05:32:21 +01:00
82cd2fbf1d
fix: set _last_steer_vehicle 2023-03-16 16:32:07 +01:00
8655c5ebde
fix: there isn't a scheduler yet when registering 2023-03-16 16:31:03 +01:00
ef8ffac391 feat: send SteerVehicle packets every 5s if riding
This is not the best way to do it. Mostly an ad-hoc fix for a tunnel
bore addon...
2023-03-16 14:13:36 +01:00
bcdb5a6694
feat: also follow vehicle movement 2023-03-14 21:05:19 +01:00
36a2fece2f
fix: temporary cheap fix for weird stuff? 2023-02-16 22:09:16 +01:00
58ab0e0378
fix: don't lock proto version... 2023-02-16 22:07:52 +01:00
f5256da6bf
fix: must be None 2023-02-16 18:21:26 +01:00
98c82bcbcf
fix: server is not positional anymore 2023-02-16 18:11:59 +01:00
e20f7a967f
feat: allow passing session/auth server overrides 2023-02-16 18:10:06 +01:00
3b7aa42e0b
fix: delete from namespaced storage when putting... 2022-08-25 20:50:43 +02:00
aa0e804965
fix: return None for missing keys 2022-08-25 20:15:04 +02:00
b750aa140f
fix: i actually sorta finished it and added a migration script 2022-08-25 20:03:33 +02:00
ba721a4b30
fix: this was wip, im not ready to migrate yet 2022-08-25 19:52:52 +02:00
b14ca9d862
feat: automatically attempt reauth when timed out
sometimes MS times out our refresh request, making clients disconnect.
Implemented a retry loop, which will attempt to authenticate up to 5
times (configurable) waiting 60 seconds in between (configurable).
Only timeouts will be handled, any other exception will make it crash
immediately.
2022-08-25 19:42:53 +02:00
1499cab317
feat: added namespaced AddonStorage helper
Co-authored-by: f-tlm <f-tlm@users.noreply.github.com>
2022-08-13 14:14:57 +02:00
f5481ace65
feat: Added PlayerJoin/PlayerLeave events
Co-authored-by: f-tlm <f-tlm@users.noreply.github.com>
2022-08-13 14:13:17 +02:00
8f3f8fd69b
fix: cheap way to get the auth url 2022-07-14 13:50:57 +02:00
5465837478
fix: correctly reset window state 2022-07-06 12:42:44 +02:00
bcf293a8ad
style: moved settings into globals 2022-07-06 12:42:29 +02:00
2ad89a61d2
chore: show which callback threw an exc 2022-07-03 19:10:36 +02:00
425a7c7f71
fix: setBlock was messing up the world... 2022-07-03 17:24:31 +02:00
f04d873d21
fix: I actually read wiki.vg 2022-07-03 17:13:25 +02:00
acdb60cd2f
fix: maybe I'm supposed to close containers when I receive windowId < 0 ? 2022-07-03 17:09:05 +02:00
c2ea55c699
fix: oversize container slots because minecraft is dumb 2022-07-03 16:54:40 +02:00
aa6f2b03bb
fix: add 36 slots for inventory 2022-07-03 02:02:45 +02:00
f6ee4b0d79
fix: slots + 1 2022-07-03 01:57:36 +02:00
312f132c50
fix: stop notifier 2022-07-03 01:19:00 +02:00
5abfb63bd3
feat: log module cleanup in debug 2022-07-03 01:15:50 +02:00
0540011bb6
fix: jank way to store block entities 2022-07-03 00:33:08 +02:00
d8c62e57d2
fix: use window_id 0 for "no container" 2022-07-03 00:27:29 +02:00
363eeea3aa
fix: initialize attributes 2022-07-03 00:16:00 +02:00
011531b1a4
fix: damn auto imports 2022-07-03 00:12:36 +02:00
48590d56bd
feat: process world (default off) 2022-07-03 00:06:15 +02:00
a563984e48
feat: parse Optional types in config object 2022-07-03 00:02:39 +02:00
61811f542b
feat: track container windows 2022-07-03 00:02:00 +02:00
d54fb380e9
fix: set total_xp in constructor 2022-06-18 16:13:26 +02:00
664cb64613
change MRO 2022-05-23 03:01:26 +02:00
4527b866bf
also show str(exception) 2022-05-23 02:41:01 +02:00
76c84006ad
put session files under data folder 2022-05-23 02:36:44 +02:00
847bde3d79
resolve srv default true 2022-05-23 02:27:33 +02:00
6364f52d0b
Don't str(None) 2022-05-23 02:22:19 +02:00
d2a13360a8
Don't mix falsy value with no value 2022-05-23 02:14:17 +02:00
4c6d906d3a
accept and pass args and kwargs in trait constructors 2022-05-23 02:01:28 +02:00
79886a2c64
small fixes 2022-05-23 01:45:04 +02:00
5f2beac41b
Moved config into scaffold, tweaks to init options
Changes for SRV resolution, get online_mode and legacy also from config
2022-05-23 01:11:06 +02:00
3067032f1b
use bare SectionProxy, remove UDP
bare SectionProxy won't throw KeyError when there's no [Treepuncher]
section in config and we're trying to access fields in it: we want
default value to be returned so it can fallback accordingly
2022-05-10 01:30:39 +02:00
f95f594967
added use_udp option 2022-05-09 23:53:50 +02:00
fdfe71b481
log a ton start/stop sequence
This is temporary: sometimes it gets stuck into stop() (I think?) so I'm
adding some debug prints everywhere so every instance can be used to
spot this issue
2022-05-06 10:35:24 +02:00