Romain Beaumont
9c1925a1f2
Merge pull request #500 from PrismarineJS/trying_to_fix_autoversion
...
trying to fix autoversion in online mode
2017-07-12 13:21:10 +02:00
Romain Beaumont
936a12e6e0
fix ping
2017-07-12 13:17:00 +02:00
Romain Beaumont
eb5764e7ab
fix autoversion in online mode.
...
Explanation:
in this specific case, we were changing the state of the client to hanshaking (in autoVersion.js) before a connection was made (using setSocket), the consequence is the serializer was already piped to the framer when setSocket was called, and setSocket doesn't unpipe before piping. The consequence of that was the framer was piped 2 times, the packet was sent 2 times and the server kicked us.
My solution is piping the serializer to the framer in Client constructor.
Then if the state is changed, it will anyway automatically unpipe before repiping.
Other places correctly unpipe before piping.
Autoversion is now the default in nmp too
2017-07-12 13:07:25 +02:00
Romain Beaumont
2d4f4a05e1
trying to fix autoversion in online mode
2017-07-09 13:21:54 +02:00
Romain Beaumont
aa96950ac5
Merge remote-tracking branch 'origin/master'
2017-06-19 15:50:29 +02:00
Romain Beaumont
08353123c0
Release 1.3.1
2017-06-19 15:50:11 +02:00
Romain Beaumont
3e118345d6
Merge pull request #493 from PrismarineJS/greenkeeper/require-self-0.2.1
...
Update require-self to the latest version 🚀
2017-06-19 15:44:10 +02:00
Romain Beaumont
1a4d9f1e84
fix version checking bug with 1.12 and share vanilla server instance between tests
2017-06-19 15:28:24 +02:00
Romain Beaumont
b445e7fb94
fix kicking message in test for 1.12
2017-06-19 14:57:28 +02:00
Romain Beaumont
d9d1b7a56e
fix 1.12 tests : implement anon fields, set varint test value to 1 for some switch, implement bitfield, don't assume non-anon containers for packets
2017-06-19 14:34:13 +02:00
Romain Beaumont
4e468b09dc
Merge pull request #496 from plexigras/auto-version-fix
...
improved automatic version resolution
2017-06-19 14:01:12 +02:00
plexigras
2a6973ab42
simplified autoversion fallback
2017-06-17 20:17:52 +02:00
plexigras
6a3acff5de
improved version getter
2017-06-14 14:54:25 +02:00
Romain Beaumont
a876274307
Release 1.3.0
2017-06-12 15:36:46 +02:00
Romain Beaumont
ed5f3981e8
1.12 support
2017-06-12 15:35:37 +02:00
Romain Beaumont
59bb1ac95c
Release 1.2.0
2017-06-08 14:49:59 +02:00
greenkeeper[bot]
50a62eb3c0
chore(package): update require-self to version 0.2.1
2017-06-07 02:25:38 +00:00
Romain Beaumont
20dd0710f2
parallel circle ci testing of clientTest.js ( #373 ) ( #449 )
...
parallel testing with circle ci, solve #373
2017-05-10 02:49:13 +02:00
Romain Beaumont
b4c80d325e
Merge pull request #489 from PrismarineJS/17w18b
...
* 17w18b support
2017-05-05 14:19:50 +02:00
Romain Beaumont
e2dbb671fe
the logger still has bugs, removing automatic tests for 17w18b (but nmp does support it)
2017-05-05 14:19:40 +02:00
Romain Beaumont
a49d2add38
17w18b support
2017-05-05 14:07:53 +02:00
Romain Beaumont
87768f5d76
use protodef addProtocol
2017-04-22 14:10:47 +02:00
Romain Beaumont
2610273529
can't run the 17w15a tests because the snapshot vanilla server logging is broken
2017-04-13 15:07:15 +02:00
Romain Beaumont
062cf370ab
increase the java
2017-04-13 14:52:32 +02:00
Romain Beaumont
730aab3c92
17w15a support
2017-04-13 14:07:33 +02:00
greenkeeper[bot]
160aec16cb
Add Greenkeeper badge 🌴 ( #478 )
...
* docs(readme): add Greenkeeper badge
https://greenkeeper.io/
* Update README.md
2017-03-14 16:59:48 +01:00
Romain Beaumont
1e74dc2c1b
fix version checking for lower versions
2017-03-12 13:51:07 +01:00
Romain Beaumont
a55d2bc42c
produce a decent error when connecting with the wrong version
2017-03-12 12:23:13 +01:00
Robin Lambertz
5126b96954
Merge pull request #463 from roblabla/feature-addErrorHandler
...
Add errorHandler option
2017-02-27 13:35:10 +01:00
Robin Lambertz
beeea8978d
Merge branch 'master' into feature-addErrorHandler
2017-02-27 13:20:10 +01:00
Romain Beaumont
1683d21214
Release 1.1.3
2017-02-26 20:07:51 +01:00
Romain Beaumont
c72d0373e8
requires node 6 in package.json
2017-02-26 19:59:56 +01:00
deathcap
3ff7ac64c1
Remove babel/gulp in favor of native ES6
2017-02-26 19:58:45 +01:00
Romain Beaumont
ce1ee7d7e3
Release 1.1.2
2017-02-26 19:48:37 +01:00
Romain Beaumont
3d3916bb93
some fixes for last protodef
2017-02-26 19:46:17 +01:00
roblabla
4b99245a80
Add errorHandler option
2017-01-28 23:50:33 +01:00
Romain Beaumont
a4db7a10a7
1.11.2 support, fix #458
2016-12-29 12:42:34 +01:00
Romain Beaumont
4a68150be2
Release 1.1.1
2016-12-02 14:04:03 +01:00
Romain Beaumont
9994ca8f63
Merge pull request #434 from roblabla/bugfix-pluginChannelRegister
...
Fix the REGISTER channel type
2016-11-16 20:35:42 +01:00
Romain Beaumont
9c089244b3
use a different data dir for each version in tests
2016-11-16 01:02:15 +01:00
Romain Beaumont
35dcd92234
update to yggdrasil 0.2.0
2016-11-16 00:52:17 +01:00
Romain Beaumont
2c7b41c81e
update mcdata, add 1.11 to tested versions and update version list in readme
2016-11-16 00:29:51 +01:00
roblabla
8c02735af1
Fix the REGISTER channel type
2016-10-17 18:00:54 +02:00
Greenkeeper
a23e21c0c0
chore(package): update gulp-sourcemaps to version 2.0.0 ( #429 )
...
https://greenkeeper.io/
2016-10-11 16:32:22 +02:00
Romain Beaumont
09786ffe4f
Release 1.1.0
2016-10-08 13:59:09 +02:00
Romain Beaumont
c8e42121ea
add doc for client.end, closes #424
2016-08-11 18:40:26 +02:00
Romain Beaumont
10b3cba5f8
add doc
2016-08-10 20:06:40 +02:00
Romain Beaumont
a0717a1232
add logic for custom channel, and corresponding examples
2016-08-10 19:27:50 +02:00
Romain Beaumont
1dcd119d93
fix version in pluginChannels, add writeChannel, add two examples for a vanilla channel (MC|Brand)
2016-08-10 18:54:06 +02:00
plexigras
947c4c0587
added serverside plugin channel support
2016-08-10 17:07:12 +02:00