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
bbe668bcec
track HP changes
2022-05-05 10:30:57 +02:00
3548603578
track player abilities
2022-05-05 00:26:45 +02:00
b8477c3d22
use explicit deserialize
2022-05-05 00:19:40 +02:00
2885c3c270
changes for player type, install return instance, fixes
2022-05-04 23:35:46 +02:00
98d3967dfe
more limited jank fix
2022-04-29 00:45:46 +02:00
c2a9726ec6
install providers first
2022-04-28 13:46:14 +02:00
c29a03aeda
jank fix for 'Treepuncher' type hint
2022-04-28 13:44:17 +02:00
757be795c3
fix: lookup types with globalns
2022-04-28 13:18:18 +02:00
8b9848cdfb
useless commit spree: forgot I removed this
2022-04-28 13:00:52 +02:00
1ecb1c44e8
ops need to be typing strings
2022-04-28 12:59:52 +02:00
8503a36df4
ops xor was wrong
2022-04-28 12:57:40 +02:00
7c4c523562
print timestamp on stdout too
2022-04-28 12:54:23 +02:00
cfd5dd079a
added notifier/provider structure, moved addon out
...
now treepuncher has 1 notifier, which holds many providers for various
services. Each provider is an Addon, but not the Notifier itself.
Moved Addon and Notifier out of Treepuncher, and added type hints without
dependancy cycle with TYPE_CHECKING control
2022-04-28 01:57:19 +02:00
1307869d9c
Allow to enable logging of ignored packets
2022-04-27 13:30:19 +02:00
aeea271547
Merge branch 'microsoft' of github.com:alemidev/treepuncher into microsoft
2022-04-26 23:24:13 +02:00
61cfd72d1f
Assure notifier is initialized first
2022-04-26 23:23:46 +02:00
a3aacd6291
catch addon exc with bare traceback
2022-04-26 23:23:33 +02:00
Francesco Tolomei
b92791ce04
windows fix
2022-04-26 02:31:42 +02:00
91afbbc28a
fallback to string
2022-04-25 15:36:05 +02:00
f0c34376fa
keep and expose single loop
2022-04-25 04:43:15 +02:00
4e4bb50e4a
add sub logger to each addon
2022-04-25 04:43:00 +02:00
b73a352484
fix double logger
2022-04-24 03:21:45 +02:00
e52b4d5a37
hopefully clearer exception handling and _work fn
2022-04-23 22:09:53 +02:00
261d18f854
try/catch importing modules for help
2022-04-23 22:06:09 +02:00
086e59a0ce
sort union types so str comes last
2022-04-23 15:55:19 +02:00
977ce7a9de
reordered stop sequence
2022-04-23 15:22:04 +02:00
d5d1f8c036
added force_proto config, catch connection errors in ping
2022-04-23 15:18:11 +02:00
15c2fc09dc
bump version
2022-04-23 14:34:05 +02:00
5a652f1710
try to parse Union hints
2022-04-23 14:33:30 +02:00
6f53778fc9
typo :(
2022-04-20 00:20:24 +02:00
eefa1bf211
separated auth storage from sys storage
2022-04-20 00:02:24 +02:00