Commit graph

124 commits

Author SHA1 Message Date
extremeheat
0437e83fe9
fix 1.17.10 npc packet serialization (#119) 2021-08-02 00:34:13 -04:00
extremeheat
f530677245
Option to use JS implementation of RakNet, fix 1.17.10 issue (#110)
* Default to JS implementation of RakNet

* update server also, adjust test timeout based on number of versions

* 1.17.10: fix texture pack issue, keep raknet default at C++

* force_build
2021-07-17 05:30:13 -04:00
extremeheat
987bf43987
1.17.10 protocol support (#109)
* 1.17.10 support

* add protocol.json

* add extra particle IDs
2021-07-14 17:30:10 -04:00
extremeheat
565ae4583d Protocol updates to sync with minecraft-data 2021-06-23 00:10:58 -04:00
extremeheat
5f0adfab76
1.17 support (#99) 2021-06-09 17:26:44 -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
6da8a9b2fc Minor protocol fix for entity data 2021-06-03 16:52:08 -04:00
extremeheat
d981515a75 Release 3.2.1 2021-06-01 20:10:59 -04:00
extremeheat
e9098aa744 test/proxy: extra debug logging 2021-06-01 20:10:59 -04:00
extremeheat
5af828bcb7 Update types, add authTitle option to relay, client renderDistance -> viewDistance 2021-06-01 20:10:59 -04:00
extremeheat
6a7ad6ab98 protocol: Fix position serialization 2021-05-27 12:38:46 -04:00
extremeheat
025c2cfac6 Release 3.2.0 2021-05-25 22:01:03 -04:00
extremeheat
9cb4a888f4
Fix empty chunks on proxy spawn (#89)
* Fix empty chunks on proxy spawn

Hack to fix issue with chunks not loading when client joins the proxy
* Queue chunk, respawn packets and only send them after player spawn

* fix lint
2021-05-24 12:07:03 -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
7d532e8c7e protocol updates 2021-05-11 21:40:53 -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
ab8b6ddc0c
Protocol updates, maps and rotation (#77)
* protocol updates
* Add clientbound map packet impl
* Add missing byte rotation implementation

* github: auto collapse generated diffs

* protocol doc fix

* protocol collision fix

* Fix map pixels
2021-05-04 13:56:12 -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
fc39d69798 protocol: inventory, recipe updates 2021-04-14 07:23:42 -04:00
extremeheat
b79e4a65e4 packet fixes, login chain update, raknet updates 2021-04-03 20:25:53 -04:00
extremeheat
3369fc2790 update server example, use protocol updates
Server example with bedrock-provider
Use 64-bit varints for entity runtime ids
2021-03-26 04:48:23 -04:00
extremeheat
be98fc6cf8 test timeout fixes 2021-03-26 04:48:20 -04:00
extremeheat
3f5b82f0f4 protocol: use WindowID types 2021-03-26 04:48:17 -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
6803d742e6 player input, transaction, bitflag updates 2021-03-22 04:21:06 -04:00
extremeheat
597453100f serializer: absolute path imports 2021-03-21 16:16:20 -04:00
extremeheat
514a84fd19 1.16.210 fix 2021-03-21 16:03:24 -04:00
extremeheat
6b7138695e 1.16.210 update 2021-03-21 07:54:04 -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
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
863d51c56a Protocol updates, new packets 2021-02-25 22:18:25 -05:00
extremeheat
b64a22a8fc protocol updates, movement fixes
packet_map is now auto-generated
2021-02-25 17:47:14 -05:00
extremeheat
9bd8f4c2bb server sending generated chunks 2021-02-25 13:11:22 -05:00
extremeheat
f3604fa9b5 protocol updates
Add some updates
2021-02-21 15:22:04 -05:00
extremeheat
8c40910809 protocol updates 2021-02-20 01:08:38 -05:00
extremeheat
0ed5a8d061 protocol updates, packet dumping 2021-02-18 13:33:30 -05:00
extremeheat
4e3c5f8e31 implement command packet 2021-02-17 01:13:47 -05:00
extremeheat
7b00432c7b protocol updates 2021-02-16 03:24:25 -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
60e57fad44 protocol updates, use ProtoDef compiler 2021-02-10 01:32:54 -05:00
extremeheat
1a7205b3d1 update protocol, add some doc 2021-02-07 19:50:15 -05:00
extremeheat
51214fcf29 seperate packet map from proto.yml 2021-02-07 16:47:07 -05:00
extremeheat
73d4dd1325 protocol def updates 2021-02-07 05:25:22 -05:00
extremeheat
9c171aa0da seperate server/serverTest 2021-02-03 13:26:13 -05:00
extremeheat
d92a38d3cd add creativeitems, biome definitions 2021-02-03 13:01:51 -05:00