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
deathcap
09ecdcfcff
Merge branch 'master' into forge
2016-02-02 21:58:00 -08:00
Romain Beaumont
b0061cdeb7
Merge pull request #337 from rom1504/var_to_es6
...
much let, very const
2016-02-02 09:29:03 +01:00
Romain Beaumont
8569b65594
make autoVersion use const
2016-02-02 09:24:01 +01:00
Romain Beaumont
a222c4fd49
const has better scopes rules than var !
2016-02-02 09:20:37 +01:00
Romain Beaumont
779ffd7ba9
much let, very const
...
fix #335
2016-02-02 09:20:37 +01:00
Romain Beaumont
0ba187d97a
Merge pull request #331 from deathcap/dynxver
...
Add dynamic cross-protocol support
2016-02-02 09:04:23 +01:00
deathcap
a3a2d3d6f1
Move wait_connect to client object
2016-02-01 21:42:53 -08:00
deathcap
a8bc7d1343
Move options back to client parameters
2016-02-01 21:07:32 -08:00
deathcap
58fd1eab35
Lookup version using minecraft-data postNettyVersionsByProtocolVersion
2016-02-01 21:02:42 -08:00
deathcap
c2913daae0
Update to minecraft-data ^0.19.1
2016-02-01 09:48:12 -08:00
Romain Beaumont
e9d959e219
Merge pull request #320 from deathcap/clientstream
...
Add 'stream' option to client, generic stream alternative to TCP/IP host/port options
2016-02-01 10:25:48 +01:00
Romain Beaumont
c23db885fa
let's not compute the size of the varInt 2 times
2016-02-01 10:18:01 +01:00