Commit graph

908 commits

Author SHA1 Message Date
Romain Beaumont
3d720b29e6 update protodef 2016-02-23 19:59:44 +01:00
Romain Beaumont
705b89f091 enabling the debug on circle ci is not a good idea 2016-02-23 19:53:29 +01:00
Romain Beaumont
00b539d0c7 fix tests and fix #360 2016-02-23 19:37:47 +01:00
Romain Beaumont
88bb301693 fix packet test 2016-02-23 19:11:12 +01:00
Romain Beaumont
d78d87b9fc update to new minecraft-data protocol schema 2016-02-23 18:42:01 +01:00
Romain Beaumont
93449427cd Release 0.18.2 2016-02-21 19:44:30 +01:00
Romain Beaumont
836b36640a update protodef 2016-02-21 19:40:10 +01:00
Romain Beaumont
ba2d791d75 Merge pull request #371 from rom1504/dont_crash_after_an_error
don't stop after an error
2016-02-20 17:48:16 +01:00
Romain Beaumont
3b50ea9eb7 Merge pull request #369 from rom1504/custom_packets
add an optional property to add custom packets to createClient and createServer
2016-02-20 17:46:50 +01:00
Romain Beaumont
33772fafb8 don't stop after an error
https://github.com/nodejs/node/issues/3045#issuecomment-142955116 #367
2016-02-20 17:19:48 +01:00
Romain Beaumont
91ccac44df index custom packets by version 2016-02-20 17:19:36 +01:00
Romain Beaumont
eba07e6b90 add an optional property to add custom packets to createClient and createServer 2016-02-20 17:19:36 +01:00
Romain Beaumont
6fb6b35cc5 disable online test for now
until we save the tokens or something like that, which bypass the mojang server limits
2016-02-20 17:18:56 +01:00
Romain Beaumont
93593911e6 fix tab_complete in 1.9, fix #368 2016-02-20 01:44:53 +01:00
Romain Beaumont
bfc7429cbc Release 0.18.1 2016-02-19 23:50:26 +01:00
Romain Beaumont
95939a4aad Merge pull request #362 from rom1504/new_numericals
https://github.com/roblabla/ProtoDef/pull/50 : update to new numerical names
2016-02-19 23:48:01 +01:00
Romain Beaumont
25e2cdcf62 update long and packages 2016-02-19 23:43:30 +01:00
Romain Beaumont
09b491f39e https://github.com/roblabla/ProtoDef/pull/50 : update to new numerical names 2016-02-19 16:58:30 +01:00
Romain Beaumont
fd8ad9b461 Release 0.18.0 2016-02-19 12:35:12 +01:00
Romain Beaumont
e35678701c update minecraft-data to 0.20.4 2016-02-19 12:32:53 +01:00
Romain Beaumont
94db80c676 fix readCompressedNbt, fix #359 2016-02-19 02:09:42 +01:00
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