Commit graph

32 commits

Author SHA1 Message Date
Tamás Papp
eeb5e47e35
1.21.60 support (#570)
* Add support for ItemRegistryPacket (for shield item ID)

* simplify

* lint

* internal test

* update start_game handling

* test: capture events rejections

---------

Co-authored-by: extremeheat <extreme@protonmail.ch>
2025-02-11 21:42:31 -05:00
Max
0ed8e32be8
Fix version feature handling (#572)
* Replace unsupported version with next supported version

* add validity check

---------

Co-authored-by: extremeheat <extreme@protonmail.ch>
2025-01-31 14:02:04 -05:00
LucienHH
911e0e890f
Dynamic compression & batch header (#544) 2024-12-03 17:23:32 -05:00
w0ahL
84c5231b92
Don't send now deprecated tick sync packets on 1.21 and newer (#504)
* Tick Sync is now deprecated

* Add new function here

* Add check

* Remove useless require by me

* Fix
2024-06-16 16:51:22 -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
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
b546cda899 Logging improvements 2021-06-23 00:10:58 -04:00
extremeheat
f0fbf4f859
Send skin data, protocol updates (#88)
* Add skin data

* Serialization updates
* Dynamic shield item id
* NBT reading/writing on void type uses 0 length, fix some third party servers

* Fix proxy empty chunk issue

* Fix scoreboards
compiler needs ../

* fix indentation

* Fix set_score packet

* Fix readme title auth doc

* Implement new compiler vars
2021-05-24 10:17:09 -04:00
extremeheat
7263791581 Async batching 2021-04-20 09:55:57 -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
32d52e9878 viewer: refactor and cleanup 2021-04-03 22:56:36 -04:00
extremeheat
d2c0d3c386 viewer: add proxy example 2021-04-03 20:34:42 -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
bd97a8e1b7
client close handling, add spawn event (#48) 2021-03-14 00:49:54 +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
667030370e varint64 impl, inventory and other packet fixes 2021-03-11 06:05:04 -05:00
extremeheat
9e1500ec77 add new packets and working proxy 2021-03-09 02:13:47 -05:00
extremeheat
86dcbc1f49 use raknet-native with js fallback 2021-03-08 02:36:25 -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
extremeheat
57290cd180 client packet verification 2021-02-20 01:14:59 -05:00
extremeheat
0ed5a8d061 protocol updates, packet dumping 2021-02-18 13:33:30 -05:00
extremeheat
8db7305eed move raknet to worker 2021-02-18 01:50:46 -05:00
extremeheat
b6f8fff01e disable some logging 2021-02-16 23:31:19 -05:00
extremeheat
233f0d33a6 workingish client connection to server
Joining a vanilla server is still broken (related to encryption), but minet connects
2021-02-13 18:42:43 -05:00
extremeheat
49cff40097 cliet auth 2021-02-10 05:04:10 -05:00
extremeheat
da85b80c59 server player extends connection 2021-02-07 05:28:03 -05:00