1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00
Commit graph

751 commits

Author SHA1 Message Date
mat
0fed648359 fix all the tests
except the examples i don't know how to exclude them from the tests
2022-11-27 15:48:47 -06:00
mat
2f1483f483 start fixing tests 2022-11-27 04:03:21 -06:00
mat
e0cb50fea0 improve docs 2022-11-27 03:51:40 -06:00
mat
f747e6df0c make swarm iter & fix new chunks not loading 2022-11-27 03:30:26 -06:00
mat
8e7c21750c still errors with lots of bots 2022-11-23 22:57:23 -06:00
mat
155b620b38 turns out my floor_mod impl was wrong
and i32::rem_euclid has the correct behavior LOL
2022-11-23 20:31:43 -06:00
mat
1d359dace7 fix deadlock + warnings 2022-11-23 19:26:03 -06:00
mat
975acd005f fix skipping event ticks
unfortunately now sending events is `.send().await?` instead of just `.send()`
2022-11-23 19:19:22 -06:00
mat
42da7795a5 remove debug messages 2022-11-23 17:02:21 -06:00
mat
f19e196d3a make world an RwLock again 2022-11-23 02:26:58 -06:00
mat
2d1fd83f9f i am being trolled by rust
for some reason some stuff is really slow for literally no reason and it makes no sense i am going insane
2022-11-23 02:21:34 -06:00
mat
d41d6480ea fix shared worlds*
*there's a bug that entities and bots will have their positions exaggerated because the relative movement packet is applied for every entity once per bot
2022-11-22 18:48:37 -06:00
mat
93bebefe83 polish
fix clippy warnings + improve some docs a bit
2022-11-22 15:30:00 -06:00
mat
5334f1ab74 Client::shutdown -> disconnect 2022-11-22 14:58:41 -06:00
mat
b6b99e61f0 change a println in bot/main.rs 2022-11-21 23:48:57 -06:00
mat
40fd1a922f Merge branch 'main' into swarm 2022-11-21 23:48:22 -06:00
mat
8ef60dd267 fix SwarmEvent::Chat 2022-11-21 23:45:48 -06:00
Ryan
087e056bbc
feat: PlayerCombatKill client event (#44)
* feat: PlayerCombatKill client event

* Event name changed to Death

* dead client state and respawn packet

* fix doc comment
2022-11-21 23:20:09 -06:00
mat
bcf22f6ace make fn build slightly cleaner 2022-11-21 20:26:07 -06:00
mat
509fe6a83b improve comments 2022-11-21 19:31:58 -06:00
mat
e349c7e74c make plugins have to provide the State associated type 2022-11-21 19:27:40 -06:00
mat
1a9d3c00f5 almost add SwarmEvent::Chat and new plugin system
it panics rn
2022-11-21 18:52:51 -06:00
mat
6dfce515bd ok shutdown doesn't actually have to consume client 2022-11-21 14:17:13 -06:00
mat
0b9d7dff03 improve shutdowns 2022-11-21 14:10:37 -06:00
mat
df8af1c2e1 add SwarmEvent::Disconnect(Account) 2022-11-20 18:30:19 -06:00
mat
5f3740b64c Update world.rs 2022-11-20 15:58:29 -06:00
mat
04a785a579 Fix issues from merge 2022-11-20 15:57:55 -06:00
mat
336d155049 Merge branch 'main' into swarm 2022-11-20 15:47:08 -06:00
mat
9d4b2fe003 change "client" to "bot" in some places 2022-11-20 15:42:33 -06:00
mat
af1bb7e86f add_account works 2022-11-20 15:38:50 -06:00
mat
3c59b156a9 start adding Swarm::add_account 2022-11-20 03:32:18 -06:00
mat
141cd227e0 Shared worlds work 2022-11-19 22:20:10 -06:00
mat
3ad32806dc Update README.md 2022-11-19 16:32:49 -06:00
mat
5a8f50950a chore: Release 2022-11-19 15:25:55 -06:00
mat
619984fa33
Replace lazy_static with once_cell::sync::Lazy (#43)
* Remove lazy_static in azalea-chat

* replace lazy_static with once_cell everywhere

* fix

* fix import

* ignore a clippy warning in shape codegen
2022-11-19 15:21:54 -06:00
mat
befa22c1f3
Player List (#41)
* keep track of player list

* send player update events
2022-11-18 22:11:30 -06:00
mat
6c6eb5572b clippy + replace some printlns with debug 2022-11-18 22:10:34 -06:00
mat
7ad4b22726
Add functions to get ChatPacket author and content (#42)
* Add functions to get ChatPacket author and content

* add ChatPacket::username and ChatPacket::content
2022-11-18 21:52:09 -06:00
mat
ad6da947cd
Create FUNDING.yml 2022-11-18 19:29:04 -06:00
8397fc8445 merge 2022-11-18 16:14:46 +00:00
00bfcde391 move some stuff to the azalea_client::chat mod 2022-11-17 17:42:30 +00:00
mat
0d004b72ac
Rename "dimension" to "world" (#39)
* rename "dimension" to "world"

* Update mod.rs
2022-11-15 14:52:26 -06:00
b9da6f7475 rephrase that 2022-11-15 20:45:03 +00:00
709c5dbc19 add Client::metadata 2022-11-15 20:44:33 +00:00
614c0df053 clippy 2022-11-15 20:38:32 +00:00
Honbra
9f78b3f4a7
Military-grade server implementation (#40)
* Military-grade server implementation

* Add doc comments
2022-11-14 13:25:59 -06:00
mat
a16ecae9c2 start working on shared dimensions 2022-11-13 17:03:53 -06:00
mat
9b07178a06 swarms 2022-11-13 13:46:07 -06:00
mat
04c8d8db9f delete azalea-pathfinder crate
already in azalea::pathfinder module
2022-11-13 11:26:28 -06:00
mat
4669f73395 remove azalea_pathfinder import 2022-11-13 00:59:54 -06:00