Commit graph

1281 commits

Author SHA1 Message Date
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
Dennis Bartlett
ce0e351b3a Update README.md 2015-02-22 12:57:52 -06:00
Dennis Bartlett
1963c72745 Merge pull request #119 from gitter-badger/gitter-badge-3
Add a Gitter chat badge to README.md
2015-02-22 12:56:50 -06:00
The Gitter Badger
26d16a0463 Added Gitter badge 2015-02-22 18:49:51 +00:00
Robin Lambertz
80566e0c33 Merge pull request #118 from wtfaremyinitials/editorconfig
Add an editorconfig file.
2015-02-22 19:20:50 +01:00
Robin Lambertz
1a4a74314d Merge pull request #116 from wtfaremyinitials/ignore-dsstore
Add .DS_Store to .gitignore.
2015-02-22 19:19:15 +01:00
Will Franzen
2fe306dd26 Create .editorconfig file 2015-02-22 11:58:42 -06:00
Will Franzen
10759dffb4 *facepalm* 2015-02-22 11:27:44 -06:00
Will Franzen
459eb9c2d1 Create a pointer index.js in the root dir 2015-02-22 11:09:28 -06:00
Will Franzen
3871485ef0 Add .DS_Store to .gitignore
Make us Mac user's lives easier
2015-02-22 10:54:58 -06:00
Will Franzen
9078e1cfeb Add support for sourcemaps 2015-02-22 10:49:29 -06:00
Will Franzen
8927b6032c Fix dumb gulp issues 2015-02-22 10:45:15 -06:00
Will Franzen
423305a19d Set up gulpp 2015-02-22 10:27:46 -06: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
Robin Lambertz
39fe1b5c29 Merge pull request #71 from deathcap/feature-browserify
Expose only protocol.js when used with browserify.
2015-02-21 13:30:43 +01: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
Robin Lambertz
fe7a2a7c01 Update gitter badge
The new room is under CraftJS org
2015-02-18 23:14:09 +01:00
Robin Lambertz
98cfb4ae37 Merge pull request #107 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2015-02-12 12:02:04 +01: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
The Gitter Badger
fb7eba4667 Added Gitter badge 2014-11-30 18:00:48 +00: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