Commit graph

1390 commits

Author SHA1 Message Date
Sceat
4cd893607c
Add related helper mapItem library
https://github.com/AresRPG/aresrpg-map-colors
2018-12-18 03:46:27 +02:00
Romain Beaumont
8bccc3cb75
Release 1.8.3 2018-12-15 18:48:21 +01:00
Romain Beaumont
c6e55e80b9
Merge pull request #602 from vlakreeh/master
Add skipValidation flag for authentication
2018-12-02 19:05:31 +01:00
Romain Beaumont
3326329f37
Merge pull request #603 from lefela4/patch-1
Update compression.js
2018-12-02 18:56:53 +01:00
lefela4
2fe18e9fed
Update compression.js
Ok. The issue is in the minecraft-protocol module, in compression.js line 55.

You need to replace this:
```js
zlib.inflate(chunk.slice(size), (err, newBuf) => {
```
to this:
```js
zlib.unzip(chunk.slice(size), { finishFlush: zlib.constants.Z_SYNC_FLUSH }, (err, newBuf) => { /** Fix by lefela4. */
```

The problem happen when the packet end with the byte 0000ffff. I made some rechearch and I figured out the those byte are made for sharing deflate-compressed data chunks between streaming HTTP clients. However, from my understanding of DEFLATE/zlib, you can instead send Z_FULL_FLUSH 0x0000FFFF bytes to reset the stream which should serve the same effect of individually decompressible chunks. I will sumbit a pull request for the issue. Hope my explanation are good!
Have a good day :)
2018-12-02 10:45:35 -05:00
Romain Beaumont
ed6d51e7c3
improve debug info in readme 2018-11-25 19:39:34 +01:00
Romain Beaumont
9c8f1817f7
update badges 2018-11-25 16:51:30 +01:00
vlakreeh
aff9c221f7 fix client not connecting with skipValidation flag 2018-11-09 11:11:21 -05:00
vlakreeh
297d40b17d add skipValidation flag for authentication 2018-11-09 11:06:12 -05:00
Romain Beaumont
40102f6158
make 1.13.2 the tested and supported 1.13.x version 2018-11-03 18:11:00 +01:00
Romain Beaumont
ee9697e5ed
Merge pull request #598 from PrismarineJS/1.13.2-pre1
add 1.13.2-pre1 support
2018-10-16 22:39:06 +02:00
Romain Beaumont
e00696f94c
update to mcdata 2.33.0 : fix version definition for 1.13.2-pre1 2018-10-16 22:35:45 +02:00
Romain Beaumont
822d9e12dd
fix slot value in packet tests and update some deps 2018-10-16 22:23:16 +02:00
Romain Beaumont
97edd67b07
add 1.13.2-pre1 support 2018-10-16 21:45:14 +02:00
Romain Beaumont
273337d630
add issue template 2018-10-08 22:30:45 +02:00
Romain Beaumont
d874b990cf
Release 1.8.2 2018-10-07 20:05:58 +02:00
Romain Beaumont
bbaf3f05ff
fix tcp_dns.js checking for SRV lookup 2018-10-07 20:05:28 +02:00
Romain Beaumont
ed25865f21
Merge pull request #595 from ShayBox/patch-1
Updated typings
2018-10-04 13:18:38 +02:00
Shayne Hartford
747924d359
Added error events 2018-10-03 07:43:40 -04:00
Shayne Hartford
566b766f84
Updated typings
Removed I from interfaces.
Renamed interfaces to be more clear.
Added TODO: Create typings on protodef to define here.
Added supportedVersions static strings.
Rearranged order of exports and properties.
Changed unused returns of functions from any to void (More strict).
Put entire typings inside module declaration.

Now works in strict mode.
Suggestion: Add typings to protodef so createSerializer and createDeserializer have valid types.
2018-10-03 07:37:19 -04:00
Romain Beaumont
eac4f3d8ac
Release 1.8.1 2018-09-25 23:44:24 +02:00
Romain Beaumont
c3589ce01d
update mcdata : fix loadpath bug for 1.13.1 2018-09-25 23:44:24 +02:00
Romain Beaumont
12cea6e435
fix circle ci badge 2018-09-25 23:17:12 +02:00
Romain Beaumont
b1ba01ed3c
run standard 1.12 --fix 2018-09-25 23:09:37 +02:00
Romain Beaumont
6988345f98
Merge pull request #586 from lluiscab/lluiscab/fix-client_echo
Fixed client echo crash on /say
2018-09-24 22:10:12 +02:00
Romain Beaumont
26267ab043
Merge branch 'master' into lluiscab/fix-client_echo 2018-09-24 22:09:46 +02:00
Romain Beaumont
0bd2e559bd
run standard 1.12 --fix 2018-09-24 22:08:11 +02:00
greenkeeper[bot]
dcb9f0d2c4
chore(package): update standard to version 12.0.0 2018-09-24 22:08:11 +02:00
Romain Beaumont
fd92809f90
Merge pull request #590 from PrismarineJS/greenkeeper/debug-4.0.0
Update debug to the latest version 🚀
2018-09-24 22:03:24 +02:00
Romain Beaumont
dac5836753
move index.d.ts to src 2018-09-24 22:01:16 +02:00
greenkeeper[bot]
bb0fdb8565 fix(package): update debug to version 4.0.0 2018-09-11 15:24:46 +00:00
bangbang93
ac44a23e94 revert .gitignore 2018-08-30 19:13:34 +08:00
bangbang93
b657f9d930 cleanup code 2018-08-30 10:08:35 +08:00
bangbang93
7e42b04dc0 types init 2018-08-29 19:15:10 +08:00
lluiscab
9a9eaedaf5 Executed standard --fix 2018-08-27 12:44:20 +02:00
lluiscab
a563893a62 Fixed client echo crash on /say 2018-08-27 12:31:24 +02:00
Romain Beaumont
efef72ee9a
Merge pull request #585 from DeliciousJaffa/master
Update default version to 1.13.1
2018-08-26 20:53:49 +02:00
Jaffa
5fb660aa13
Update default version to 1.13.1 2018-08-26 19:17:48 +01:00
Romain Beaumont
73411fc5be
Add contribute section in readme 2018-08-26 19:55:29 +02:00
Romain Beaumont
63c194266f
Release 1.8.0 2018-08-26 16:09:39 +02:00
Romain Beaumont
9bc4ddadb6
add 1.13.1 to readme 2018-08-26 16:01:55 +02:00
Romain Beaumont
966c15f8ab
Make tested version 1.13.1 instead of 1.13 2018-08-26 16:01:28 +02:00
Romain Beaumont
adb02a2457
delete old circle.yml and old .editorconfig (standard!) 2018-08-26 04:58:20 +02:00
Romain Beaumont
761fe16f86
Improve test reliability and speed and move to circle ci 2
* increase vanilla server ram in tests
* add more logs
* handle client error properly
* don't wait for chat to be sent back from the server to wait 10s in clientTest
2018-08-26 04:54:17 +02:00
Romain Beaumont
465a98b989
end the client in all cases in clientTest.js
fix #535
2018-08-26 02:23:39 +02:00
Romain Beaumont
8583cd25df
Release 1.7.0 2018-08-26 01:45:28 +02:00
Romain Beaumont
d8c643163d
add 1.13 support in readme 2018-08-26 01:43:37 +02:00
Romain Beaumont
0fde94e7d3
Merge pull request #581 from lluiscab/patch-2
Fix: Join specified server if SRV records could not be resolved
2018-08-26 01:42:29 +02:00
Romain Beaumont
e638bafd3a
Merge pull request #580 from lluiscab/patch-1
Fix autoVersion
2018-08-26 01:34:24 +02:00
Romain Beaumont
9f02601a3e
Merge pull request #578 from PrismarineJS/greenkeeper/readable-stream-3.0.0
Update readable-stream to the latest version 🚀
2018-08-26 01:31:59 +02:00