Commit graph

1237 commits

Author SHA1 Message Date
Romain Beaumont
9f8e87e9e3 update mcdata for 1.7 protocol fix 2016-02-19 01:49:54 +01:00
Romain Beaumont
3132303c2e add new datatypes test values for 1.7, progress on #359 2016-02-19 01:47:44 +01:00
Romain Beaumont
7e6f21fb2a Merge pull request #355 from rom1504/1.7
1.7 support
2016-02-19 01:25:53 +01:00
Romain Beaumont
13f19fb55e update mcdata for key fix, and add supported versions to readme 2016-02-19 01:22:53 +01:00
Romain Beaumont
6da5d412a9 1.7 support 2016-02-19 01:10:49 +01:00
Romain Beaumont
b23947db49 Merge pull request #357 from rom1504/update_mc_data
update mcdata : 16w05b and 15w40b kept
2016-02-19 01:10:00 +01:00
Romain Beaumont
0fcd505f57 update mcdata : 16w05b and 15w40b kept 2016-02-19 01:03:30 +01:00
Romain Beaumont
14ec6077cd using minecraftVersion everywhere 2016-02-19 01:02:57 +01:00
Romain Beaumont
a129d13cf1 use minecraftVersion in tests, stop if no varint in framer 2016-02-19 00:48:39 +01:00
Romain Beaumont
51a5e2c6d0 disable intelli-espower-loader since this seems to be causing the stackoverflow error for some reason 2016-02-18 21:51:52 +01:00
Romain Beaumont
db3d949694 temporarily remove source map supports, #350 2016-02-18 21:23:36 +01:00
Romain Beaumont
043330a8e6 add length check 2016-02-18 20:15:37 +01:00
Romain Beaumont
b2b8ad2372 update to new protodef 2016-02-18 19:50:59 +01:00
Romain Beaumont
4806e48aff Merge pull request #351 from deathcap/mc17
[WIP] 1.7 protocol support in node-minecraft-protocol
2016-02-18 10:08:01 +01:00
deathcap
99f7d1b29f 1.7 disables compressing the whole protocol 2016-02-17 12:03:01 -08:00
Romain Beaumont
35bc9282bc Merge pull request #349 from deathcap/compressnbt
[WIP] Compress compressedNbt on write
2016-02-16 10:03:11 +01:00
deathcap
96c3ef3e34 compressedNbt: clear OS field in gzip header to match MC
http://tools.ietf.org/html/rfc1952 defines the gzip header, which has an
"OS (Operating System)" byte; node.js zlib https://nodejs.org/api/zlib.html
sets OS to 0x03 (Unix) but Minecraft leaves it cleared to 0x00. To match
Minecraft behavior byte-for-byte (important for examples/proxy/proxy.js),
make sure this byte is cleared when writing compressedNbt.
2016-02-16 00:51:18 -08:00
Romain Beaumont
ec3526bc99 Merge pull request #347 from deathcap/avname
autoVersion: use ping version.name instead of .protocol. Closes GH-345
2016-02-16 09:35:14 +01:00
deathcap
d8b95d7755 Compress compressedNbt on write 2016-02-16 00:31:00 -08:00
deathcap
c6050a3e2a autoVersion: use ping version.name instead of .protocol. Closes GH-345 2016-02-15 22:44:40 -08:00
Romain Beaumont
dc0159e5e3 fix an error in writeCompressedNbt 2016-02-15 23:21:02 +01:00
Romain Beaumont
a698749387 fix state displaying in proxy 2016-02-15 23:18:57 +01:00
Romain Beaumont
86397e7d06 display error in proxy 2016-02-15 20:50:42 +01:00
Romain Beaumont
88c20cf795 Merge pull request #346 from deathcap/lengthprefixednbt
Add compressedNbt data type, used in MC 1.7
2016-02-15 11:22:52 +01:00
deathcap
b25ac14a13 Change to compressedNbt, and add zlib gunzip decompression 2016-02-14 23:16:35 -08:00
deathcap
a929294177 Fix offset of NBT payload after 2-byte length 2016-02-14 22:54:33 -08:00
deathcap
1a22263c03 Add optionalLengthPrefixedNbt data type, used in MC 1.7 2016-02-14 22:37:16 -08:00
Romain Beaumont
e2e0d7a930 Release 0.17.2 2016-02-12 15:24:35 +01:00
Romain Beaumont
bff7feda75 fix readUUID (wrong use of Buffer.slice) 2016-02-12 15:23:58 +01:00
Romain Beaumont
2c3e166ce8 Release 0.17.1 2016-02-12 14:56:53 +01:00
Romain Beaumont
e0939cc63d endian-toggle is not a devDependency 2016-02-12 14:55:38 +01:00
Romain Beaumont
b396686c6d use correct timeout default values (see http://wiki.vg/Protocol#Keep_Alive), fix #341 2016-02-12 14:49:33 +01:00
Romain Beaumont
9ea3652b6b Release 0.17.0 2016-02-12 14:46:32 +01:00
Romain Beaumont
4d99e1a00c add minecraft-protocol-forge plugin to README 2016-02-12 14:41:47 +01:00
Romain Beaumont
9783ae7074 Merge pull request #344 from deathcap/chatextra
Fix client_chat example extra array iteration. Closes GH-343
2016-02-10 11:21:26 +01:00
deathcap
a807bdd872 Fix client_chat example extra array iteration. Closes GH-343 2016-02-09 20:30:40 -08:00
Romain Beaumont
d93c0da39d Merge pull request #342 from PrismarineJS/greenkeeper-update-all
Update all dependencies 🌴
2016-02-09 15:40:55 +01:00
greenkeeperio-bot
8734de4f61 chore(package): update dependencies
http://greenkeeper.io/
2016-02-09 15:36:15 +01:00
Romain Beaumont
119d485fb1 Merge pull request #326 from deathcap/forge
Forge client support (support integrating with node-minecraft-protocol-forge)
2016-02-07 09:33:00 +01:00
Romain Beaumont
77d4583d06 Merge pull request #340 from deathcap/connection-lost
Log when connection lost in client_echo example
2016-02-07 09:19:23 +01:00
deathcap
dc9768eaf5 autoVersion plugin: add hooks to allow Forge/FML to extend this plugin 2016-02-07 00:08:53 -08:00
deathcap
cc73c2de24 Remove unrelated change to client_echo 2016-02-07 00:08:12 -08:00
deathcap
91f7e23338 Log when connection lost in client_echo example 2016-02-07 00:05:55 -08:00
deathcap
9423a2329d Move tagHost from options to client object
Ref https://github.com/PrismarineJS/node-minecraft-protocol/issues/338
Move all the plugin-mutable options to client
2016-02-06 23:31:10 -08:00
deathcap
d059f23f90 Move Forge-specific code to node-minecraft-protocol-forge 2016-02-06 23:27:32 -08:00
Romain Beaumont
783a96a44d Merge pull request #339 from deathcap/no-exclude
Remove client chat exclusion from server
2016-02-07 01:31:22 +01:00
deathcap
f9e302c08e Remove client chat exclusion from server 2016-02-06 16:06:45 -08:00
deathcap
14740447dd Update var to const/let in forgeHandshake 2016-02-02 22:21:21 -08:00
deathcap
9e9a5cb3d8 Integrate Forge support with auto-versioning support 2016-02-02 22:17:37 -08:00
deathcap
4468707268 Merge branch 'master' into forge 2016-02-02 22:00:11 -08:00