44 Commits

Author SHA1 Message Date
Garen Tyler
3fee4aaf18 Record the number of packets sent and received, log on shutdown 2021-03-19 23:03:29 -06:00
Garen Tyler
6841e785d9 Better packet logging, player movement packets read 2021-03-19 20:50:10 -06:00
Garen Tyler
1644d45b30 Network is now in its own module 2021-03-19 19:54:06 -06:00
Garen Tyler
8ec1bbb7b8 Pull reading packet id and length out of get_packet() 2021-03-19 19:41:48 -06:00
Garen Tyler
f73fdae2c7 Disconnect all clients on server shutdown, shutdown on ctrl-c 2021-03-19 19:23:10 -06:00
Garen Tyler
17d953fc0c Generic way to send/get packets 2021-03-19 18:33:14 -06:00
Garen Tyler
3279aeae23 Better error handling 2021-03-18 14:23:39 -06:00
Garen Tyler
bdc56326c0 Clientbound chat 2021-03-17 22:41:40 -06:00
Garen Tyler
c4c7e069b9 Client disconnect 2021-03-17 22:17:16 -06:00
Garen Tyler
a0e355ddde Send keep alive packets every 10s 2021-03-17 21:28:02 -06:00
Garen Tyler
6fa9ee968e Player spawning works 2021-03-17 21:16:20 -06:00
Garen Tyler
a0cebf6d44 Stuck before sending chunk data 2021-03-05 08:55:04 -07:00
Garen Tyler
e923e2ad3c Add todos to the server 2021-03-02 13:29:53 -07:00
Garen Tyler
9def1e2def Join Game and Client Settings 2021-03-02 12:05:09 -07:00
Garen Tyler
4b4c962f7b Merge the network and game servers, make the SLP respond with the number of active players 2021-03-02 10:04:50 -07:00
Garen Tyler
3803f1b05f Cargo fmt broke something 2021-03-01 22:11:00 -07:00
Garen Tyler
00cb632b5b Cargo fmt 2021-03-01 22:07:51 -07:00
Garen Tyler
925363b428 Load the config from a file 2021-03-01 22:06:06 -07:00
Garen Tyler
54ef5e9901 Change logging level for release and debug builds 2021-03-01 21:25:57 -07:00
Garen Tyler
03405dfb79 Actually use the async networking 2021-03-01 21:13:02 -07:00
Garen Tyler
a4b461b6c0 Make functions async 2021-03-01 20:58:57 -07:00
Garen Tyler
a94491205d Add documentation 2021-03-01 20:21:32 -07:00
Garen Tyler
253ab0802a Restructure 2021-03-01 19:34:55 -07:00
Garen Tyler
737a1de7af Comment out unnecessary crates from Cargo.toml 2021-03-01 19:24:46 -07:00
Garen Tyler
a5e14d1ba1 Make SLP better 2020-12-17 19:38:55 -07:00
ElementG9
17e9e7dd61 make slp use a template 2020-08-18 12:56:19 -06:00
ElementG9
a142e73d67 Handshake, Status, and Login work now. 2020-08-18 08:19:15 -06:00
ElementG9
7e36693485 things 2020-08-17 15:55:29 -06:00
ElementG9
ecbe983205 Get Login Response working 2020-07-09 15:49:31 -06:00
Danton
fd95cab64c further prototyping 2020-07-09 14:17:12 -07:00
Danton
e736878960 raw response ok, needs further work 2020-07-09 14:09:11 -07:00
Danton
4b8717c8b4 get uuid and stuff working 2020-07-09 14:03:42 -07:00
ElementG9
2dfe62571a Add a warning for server favicon 2020-07-09 10:59:18 -06:00
ElementG9
600a24ea79 attempt at fixing #4 2020-07-09 10:42:10 -06:00
ElementG9
a979cc25c6 Make the server favicon load dynamically 2020-07-09 09:56:40 -06:00
Danton
9815c3d200 further prototyping of #1 2020-07-08 22:16:01 -07:00
Danton
b93d52645c prototyping implementation of #1 2020-07-08 22:09:48 -07:00
Danton
c568eda67c Merge branch 'master' of https://github.com/Unary-Byte-Software/Composition 2020-07-08 21:28:42 -07:00
Danton
d07f719ab5 allow response to clients on unsupported versions/disconnect on login 2020-07-08 21:24:08 -07:00
ElementG9
64cedcfa56 Add documentation 2020-07-08 22:11:58 -06:00
ElementG9
767ac2e981 Save up until dynamic info in ping 2020-07-08 21:24:08 -06:00
ElementG9
2d732fd2c4 Create logger, remove refs to mctypes.rs and net.rs 2020-07-05 21:38:50 -06:00
ElementG9
7be571f198 rust fmt 2020-05-26 16:24:49 -06:00
ElementG9
ef86b059c5 save up to play / status 2020-05-25 14:05:39 -06:00