Commit graph

327 commits

Author SHA1 Message Date
roblabla
c27a40cde2 Fix benchmark 2015-03-06 23:10:05 +00:00
roblabla
50f216cdaf Remove template string from proxy.js 2015-03-06 22:58:58 +00:00
roblabla
2c3db82fcf Release 0.13.0 2015-03-06 20:32:09 +00:00
roblabla
502f8947f3 Add missing entries in changelog of README 2015-03-06 20:06:59 +00:00
roblabla
6d2bd31242 Update README 2015-03-06 19:54:27 +00:00
roblabla
28b75aab79 Use published prismarine-nbt 2015-03-06 18:51:26 +00:00
roblabla
18b9355ca9 Update the tests. Two of them are temporarely stubbed 2015-03-06 17:20:18 +00:00
roblabla
cc4b11992e DNS is slow, check if host is IP to bypass dns check 2015-03-06 17:20:06 +00:00
roblabla
e94876d30a Properly close chat example when connection fails or errors 2015-03-06 16:43:05 +00:00
roblabla
d8b1ce68ac Remove debug template string from protocol.js 2015-03-03 17:11:36 +00:00
roblabla
c1ced61d47 Make proxy able to spot discrepencies in input/output buffer. 2015-03-03 12:43:46 +00:00
roblabla
77f702e9cb Fix position andslot 2015-03-03 12:36:26 +00:00
roblabla
e37a820709 Fix readRaw, writeRaw 2015-03-03 12:35:51 +00:00
roblabla
a2b06f70a2 Automatic compression of packet header in writeRaw 2015-03-03 02:01:04 +00:00
roblabla
c45c4d3cf4 more protocol.js fixes 2015-03-03 02:00:34 +00:00
roblabla
db4c25883e Fix tests, fix small bug in protocol.js 2015-02-27 14:35:22 +00:00
roblabla
de0ea4f3f6 Add nbt support 2015-02-24 23:45:16 +00:00
roblabla
25f2658895 Don't output huge packets 2015-02-24 23:44:59 +00:00
roblabla
9349774592 Fix a bunch of bugs in the packet defs 2015-02-22 22:55:41 +00:00
roblabla
31f6d8380e Publish debugging tool, fix bugs in protojs 2015-02-22 22:13:22 +00:00
roblabla
04ebd393d6 Add state to the returned packet. Fix a couple broken packets. Fix UUID 2015-02-22 20:49:48 +00:00
roblabla
ab24877359 Refactoring more code. Fix writing bug 2015-02-22 00:41:41 +00:00
roblabla
863f329ac0 Make code more DRY 2015-02-21 21:04:41 +00:00
roblabla
79cf229835 Remove meaningless debug messages 2015-02-20 20:08:49 +00:00
roblabla
66a6584a6a Fix tests, fix lots of bugs in protocol.js 2015-02-20 01:05:15 +00:00
roblabla
42de90c758 Fix error handling and global leak in client.js 2015-02-20 01:04:43 +00:00
roblabla
43b29cf904 Loop should be recursive, otherwise messages disappear 2015-02-19 20:36:37 +00:00
roblabla
8a81039e88 Fix infinite loop 2015-02-05 18:25:59 +00:00
roblabla
f29f501ea7 Packets are async. Stalls at crypto.randomBytes 2015-02-05 18:02:34 +00:00
Will Franzen
426a01249c Start on parsing compressed packets 2015-01-02 11:50:54 -06:00
roblabla
d657371b6b Fix compression. Implement position. Add some debugging utilities. 2015-01-01 22:20:47 +00:00
Will Franzen
00241c4044 Fix crash when trying to write to socket 2014-12-31 12:26:59 -06:00
Will Franzen
52078273fe Fix silly typos 2014-12-31 12:24:13 -06:00
Will Franzen
2c02ebfde9 Merge branch 'zlib-compression' into packets-1.8
Conflicts:
	lib/protocol.js
2014-12-31 12:19:49 -06:00
Will Franzen
17e78c11f6 Implement @roblabla's changes 2014-12-31 12:17:17 -06:00
Will Franzen
3121c0fdcc Switch to varint where I was doubting wiki.vg 2014-12-30 13:06:48 -06:00
Will Franzen
46e5637a3c Fix stupid typos 2014-12-30 12:59:57 -06:00
Will Franzen
b12beb3265 Implement title packet 2014-12-30 12:55:38 -06:00
Will Franzen
255957c6ef Implement world_border packet 2014-12-30 12:40:30 -06:00
Will Franzen
7efeba68de Change protocol version number 2014-12-30 12:24:39 -06:00
Will Franzen
29a93f319e Start on updating protocol to 1.8 2014-12-30 12:23:58 -06:00
Will Franzen
675d358dec Finish adding compression to pipeline (see note)
It's 3 AM and I know theres a pretty big chance none of this code makes sense.
Everything needs to be tested, as well as I need to figure out if encryption
comes after compression or not.
2014-12-30 02:55:04 -06:00
Will Franzen
b73884e236 Add listener for compression request 2014-12-30 02:15:08 -06:00
Will Franzen
cfa30d9e1d Add packets to protocol and threshold to client 2014-12-30 02:08:21 -06:00
Robin Lambertz
ba4d871984 Merge pull request #106 from mrfrase3/patch-1
Update yggdrasil.js to fix bug when reloading session
2014-12-15 22:29:19 +01:00
Frase
bcbcf5ef7f Update yggdrasil.js to fix bug
This fixes a crash that occurs on line 310 of index.js where it tries to read the value of client.session.selectedProfile.id which doesn't exist if the session was acquired by a refresh with old auth details.
2014-11-22 21:01:59 +08:00
roblabla
09cdf6c77d Add missing \n at the end of Public Pem causing errors. 2014-11-09 20:14:25 +00:00
roblabla
baaac91055 Set no delay on stream if it's TCP. Fixes #38 2014-10-29 00:30:33 +01:00
Robin Lambertz
33e9c39af6 Merge pull request #100 from ryush00/patch-1
Update README for new ping results post-1.7
2014-10-27 22:08:37 +01:00
roblabla
6357df8637 Add pure-js implementation alternative to URSA. 2014-10-21 21:15:43 +02:00