LucienHH
911e0e890f
Dynamic compression & batch header ( #544 )
2024-12-03 17:23:32 -05:00
extremeheat
4c3f62567e
update disconnect packet
2024-08-17 20:03:02 -04:00
extremeheat
d3161badc6
Compressor handling update for 1.20.60 ( #479 )
...
* support compressor in header
* use mcdata features
* cleanup
2024-02-07 20:03:26 -05:00
extremeheat
f88c8d0bc4
1.19.30 support, improve error handling and server pong data ( #284 )
...
* Update server advertisement
* 1.19.30 protocol support
* Handle configurable compressor
* Support updated 1.19.30 login flow with NetworkSettings
* Improve serialization error handling on client
* refactor compressor handling
* Fix client on older versions, fix internal error handling
* Improve error handling
* Log console connection errors; use raknet-native for proxy test
2022-09-24 13:53:26 -04:00
Erik
2d7c210acc
Server: correct body.protocol_version to body.params.protocol_version ( #221 )
...
packet.data is
```json
{
name: 'login',
params: {
protocol_version: 503,
tokens: {
identity: '...'
}
}
}
```
Therefore `body.protocol_version` outputs undefined.
2022-06-07 03:47:21 -04:00
ATXLtheAxolotl
fbe7ff79e8
Emit generic 'packet' event for server clients ( #205 )
...
* Send out an all event on ServerPlayer
For debugging purposes
* Add a space for linter
* Changed to be similar to Client's all
* A space :|
* Update serverPlayer.js
2022-04-30 19:18:00 -04:00
extremeheat
52156a0024
Add XUID field for client offline mode client chain ( #203 )
...
* Add XUID field for client offline mode client chain
* Update serverPlayer.js
handle alternative casing
* test/internal.js: randomize test port
* fix
* test server starting retry
2022-04-30 19:02:56 -04:00
extremeheat
14af5fe04f
Switch to sync zlib with 512k chunks, adjustable compression level ( #174 )
...
* Switch to sync zlib with 512k chunks, adjustable compression level
* update serverPlayer
2022-02-04 20:30:21 -05:00
extremeheat
b0856e0cc7
update docs and error handling ( #155 )
2021-11-28 00:57:41 -05:00
extremeheat
1cdb0e4c55
Update protodef version
2021-06-23 00:10:58 -04:00
extremeheat
b546cda899
Logging improvements
2021-06-23 00:10:58 -04:00
extremeheat
3f5c4ad12e
Relay proxy fixes, handle disconnect
2021-06-23 00:10:58 -04:00
extremeheat
ab70115bd8
Protocol updates for 1.16
...
* Login packet uses new Encapsulated type
* Add missing packet schemas
* Add more docs
Breaking: revises some field names
2021-06-03 16:52:19 -04:00
extremeheat
879a4c21ba
Rename src/auth -> src/handshake
2021-05-12 04:29:34 -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
extremeheat
b60fd53ad5
Add relay proxy to tests, docs, fix offline ( #71 )
...
* Add relay proxy to tests, docs
* Add proxy example, type defs
* update docs
* proxy: forward login packet, fix offline
2021-04-21 06:22:51 -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
8663247a2a
Lessen logging, fix JWT param
2021-04-14 07:42:36 -04:00
extremeheat
43ef9c9430
Add internal client/server test
2021-03-26 04:48:18 -04:00
extremeheat
e22dfea599
Fix server/client closing
2021-03-26 04:48:14 -04:00
extremeheat
b079ebc676
Add server close
2021-03-23 03:28:50 -04:00
extremeheat
edcc370426
Add index, .npmignore, connect timeout ( #1 )
...
* add index and .npm ignore
* add connect timeout
* update protocol.json
* Update ci.yml
* Update ci.yml
2021-03-22 15:07:25 -04:00
extremeheat
458136d877
Vanilla server tests, client offline mode ( #49 )
...
* vanilla server launcher
* update package.json
* re-add babel to fix standard
* fix ci
* add buffer-equal
* simple fixes
* add offline client support
* fix closing bugs, proper wait for server start
* add test to mocha
* change test timeout to 2 min
* increase timeouts
Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2021-03-17 23:04:14 +01:00
extremeheat
bd97a8e1b7
client close handling, add spawn event ( #48 )
2021-03-14 00:49:54 +01:00
extremeheat
58e011e06d
Login refactoring ( #45 )
...
* Refactor auth + encryption
Fix a bug with client account token caching
* move some files
2021-03-13 19:50:16 +01:00
extremeheat
1c582acdb5
Standard ( #44 )
...
* standard
* remove old examples
2021-03-13 19:38:31 +01:00
extremeheat
df8612e355
Start work on multi-version support, test cleanup ( #43 )
...
* some cleanup
* start work on multi-version support
* undelete some old examples, can update them later
* move old examples
2021-03-12 20:20:25 +01:00
extremeheat
9e1500ec77
add new packets and working proxy
2021-03-09 02:13:47 -05:00
extremeheat
f00357eca6
Logging updates
2021-03-05 02:13:40 -05:00
extremeheat
4035295cdd
packet batching + working client/server spawning
2021-02-21 15:26:34 -05:00