208 Commits

Author SHA1 Message Date
a0fda6f285
refactor: print client error without formatting 2025-03-08 15:39:26 -05:00
9ce39ebb67
feat(client): add username field 2025-03-08 15:32:23 -05:00
225edd5529
feat!(events/chat): pass more message fields 2025-03-08 15:31:51 -05:00
8ae882a56a
refactor(state): clean up client information tables 2025-03-07 18:20:39 -05:00
0ea2c81d2a
refactor(movement): clean up goto matching with macro 2025-03-07 18:14:07 -05:00
73e7e17da4
refactor: clean up encryption/decryption 2025-03-07 17:45:03 -05:00
14e3781e05
refactor: remove finicky tick broadcasters from some methods 2025-03-07 17:35:21 -05:00
944f595841
feat(lib): update examples 2025-03-06 22:09:35 -05:00
492fecc32c
refactor(world)!: create find_all variants of entity filters 2025-03-06 22:07:50 -05:00
1ebe7dd0b9
feat(container): add more menu types 2025-03-06 20:35:30 -05:00
1bd4e36676
feat(events): add keep_alive 2025-03-06 20:34:48 -05:00
cce75bd8b9
refactor: clean up a few things 2025-03-06 20:34:29 -05:00
4d3947c4ef
feat: expose build information 2025-03-06 19:31:13 -05:00
b20beb6e88
refactor: slight log message tweaking 2025-03-06 19:02:46 -05:00
9001cd9701
feat: call event listeners in tasks 2025-03-06 18:30:25 -05:00
9ce4a7aa1f
refactor: minor tweaks 2025-03-06 18:06:56 -05:00
c4454fe217
feat: add support for NoChatReports encryption 2025-03-06 13:17:01 -05:00
426c19304d
refactor(container/item_stack): use map on Option 2025-03-05 16:51:21 -05:00
e8ff6664c9
feat(client): add id field 2025-03-03 18:11:36 -05:00
7278bfe62d
feat: add/remove entity events 2025-03-03 17:20:25 -05:00
387e43e312
refactor: minor variable name changes 2025-03-03 16:47:56 -05:00
67ebdfac72
refactor(block): clean up variables 2025-03-03 07:41:43 -05:00
59e0d597a1
feat: allow loading all (C) modules 2025-03-01 23:25:59 -05:00
8162995e78
refactor!: remove_listener -> remove_listener 2025-03-01 17:00:39 -05:00
5b8e2280e3
fix(client/movemnet): allow missing goal types 2025-03-01 16:52:39 -05:00
04f5e0e8c2
fix(client/world): wrap Owneruuid in Option 2025-03-01 16:33:55 -05:00
89091a3fd5
feat: add level particles event 2025-03-01 16:02:06 -05:00
cbdca4b7c1
feat(client/movement): support inverse goal 2025-03-01 03:33:51 -05:00
663873ba59
feat(client): pass owner uuid to find_entities 2025-03-01 01:02:29 -05:00
29a8c9fcf2
feat(client): add specialized find_players method as an optimization 2025-03-01 00:22:06 -05:00
2fee108f62
fix: properly prevent deadlock on container cleanup
`ecs` was being locked once in find_entities, and another time when
`ContainerRef::close()` called by the garbage collector from table.set.
2025-02-28 23:20:48 -05:00
88141d74e7
fix: add back lua.gc_stop()
There seems to be a (more severe) deadlock again, due to commit
b55207a55936105549d2724c0723a78e9a12c45c. Need to investigate further.

This is possibly because of azalea's ContainerRef::close(), which
locks some mutex.
2025-02-28 22:49:17 -05:00
bf9891247f
refactor: style and micro performance improvements 2025-02-28 22:34:01 -05:00
3e74399e5b
refactor: rename tables to table 2025-02-28 22:04:59 -05:00
6c7156f70d
refactor: make some more things async 2025-02-28 22:02:52 -05:00
b55207a559
perf: put lua behind an arc
This prevents it from running garbage collection on every event,
drastically reducing CPU usage.
2025-02-28 20:04:27 -05:00
f572aaf958
feat: add console-subscriber feature 2025-02-27 20:22:53 -05:00
c1e4530358
feat(client): add more client information fields 2025-02-27 20:22:53 -05:00
31ccd370eb
chore(deps): downgrade some dependencies
Azalea seems to have stopped working properly after the update; some
events are not being received.

This partially backs out commit 5533d852b2f7f939d6927fd3baf8d2642924c653.
2025-02-27 19:21:32 -05:00
3e341c1f04
chore: improve compile times with -Zshare-generics=y 2025-02-27 18:00:43 -05:00
5533d852b2
chore(deps): update dependencies 2025-02-27 07:48:14 -05:00
74aac62994
style: fix unmerged import 2025-02-26 22:20:51 -05:00
76fd9ea82e
refactor(http): don't return 500 on reload error 2025-02-26 22:08:15 -05:00
d633820d19
refactor: try removing gc_stop
This used to cause deadlocks, but it's been a while with many things
rewritten. Let's try enabling it again to see if any issues surface.
Performance should increase as this was called on every event (packet?).
2025-02-26 17:38:04 -05:00
9b0f8ec406
feat(client): add menu field 2025-02-26 17:37:50 -05:00
543f0af741
refactor(lua/system): return command output as strings 2025-02-25 18:19:11 -05:00
e081813ba4
fix: flip direction table values 2025-02-25 18:12:33 -05:00
2b9bf1987b
refactor: minor improvements 2025-02-25 18:07:01 -05:00
5691afaf2d
fix(lib/inventory): use client.container 2025-02-24 22:20:07 -05:00
d7f863b680
feat: add set_health event 2025-02-24 18:27:50 -05:00