Commit graph

12 commits

Author SHA1 Message Date
extremeheat
a37bc5054e
Add retry to tests 2025-01-02 16:16:33 -05:00
andriycraft
17d5b15bac
Update genPacketDumps.js (#393)
* Update genPacketDumps.js

* Update genPacketDumps.js
2023-05-04 12:59:56 -04:00
extremeheat
c51b55d4c7
Make CI less flaky (#293)
* add debug code to server start

* Reduce number of versions tested on Github Action CI to speed up tests

* test: Ask OS for free port instead of random int
2022-10-04 02:47:06 -04:00
extremeheat
b6d0ab3765
Make CI more reliable (#217)
* Use 2-attempt server start method in dump test

* Update startVanillaServer.js

replace download from curl to nodejs https

* fix syntax error

* corrections

* rm some logging

* fix
2022-06-09 14:46:05 -04:00
extremeheat
bb2179a8cb
Fix port collision caused by race condition in tests (#164)
* Fix port collision caused by race condition in tests

The ipv6 port is not randomized, if the previous ports for the last test didn't get freed in time, the server can crash on launch

* try again

* Update index.d.ts

* Update genPacketDumps.js
2021-12-15 23:55:32 -05:00
extremeheat
adfa248e2d
Default createClient to latest version, fix server motd version (#144)
* Default createClient to latest version, fix server motd version

* Update vanilla.js
2021-10-08 05:56:10 -04:00
extremeheat
5f0adfab76
1.17 support (#99) 2021-06-09 17:26:44 -04:00
extremeheat
3a4335a2ae
Fix third party servers, optional client encryption (#83)
* Fix CBMC connections, fix js-raknet
* Remove electron support

* make raknet-native an optional dep

* protocol: fix skin serialization

* enable debugging output in tests

* Fix tests

* Allow server to skip encryption

* update protocol docs
2021-05-11 13:39:46 -04:00
u9g
39659cf48b
rename hostname to host (#74) 2021-04-23 03:23:43 -04:00
extremeheat
999bfd3569
Enforce server auth, ping on createClient, update docs (#68)
* Add createServer, ping on createClient, update README

* fix createClient keepalive

* resort readme, fix node 14

* Enforce auth on server connections, fix close/connect issues

* add type definitions, update readme, docs

* Wait some time before closing connection, update docs

* wait for server close in tests, fix race bug

* export a ping api

* Rename api.md to API.md

* add ping example
2021-04-18 09:19:59 -04:00
extremeheat
d3723ef42a
1.16.220 support (#66)
* 1.16.220 initial support

* 1.16.220 fixes, electron gcm

* 1.16.220 item stack fix
2021-04-16 16:40:38 -04:00
extremeheat
a55eaddc98
Add packet dumper, new server example, internal client/server test (#4)
* Add packet dumper, configuable vanilla server, client events

* Fix server/client closing

* Add internal server test

* protocol: use WindowID types

* Add internal client/server test

* test timeout fixes

* client example updates

* update server example, use protocol updates
Server example with bedrock-provider
Use 64-bit varints for entity runtime ids

* fix internal test packet path
2021-03-26 05:19:08 -04:00