Commit graph

460 commits

Author SHA1 Message Date
Matt Bell
f3657f74e0 Bumped protocol version for 1.6.2 2013-07-10 21:33:17 -07:00
Xabier de Zuazo
fe38206fad README: server example code little typo fixed 2013-07-09 11:18:26 +02:00
Xabier de Zuazo
7df40739dc Release 0.11.0 2013-07-09 10:20:37 +02:00
Xabier de Zuazo
c7c4365f38 README: version 1.6.1 support, examples updated 2013-07-09 08:13:17 +02:00
Xabier de Zuazo
8e02b4f0b0 examples updated to work with 1.6.1 2013-07-09 08:11:09 +02:00
Xabier de Zuazo
a4ba03d6a2 remove .test.js.swp file 2013-07-09 07:27:20 +02:00
Xabier de Zuazo
634af718f8 gitignore: added test/npm-debug.log 2013-07-09 07:23:48 +02:00
Xabier de Zuazo
cd6b27aeac tests fixed: parse properly the new JSON chat messages 2013-07-08 10:55:42 +02:00
Xabier de Zuazo
767f64153b improved 0x64 packet support, code refactorized using an optional_fields hash 2013-07-08 10:07:07 +02:00
Xabier de Zuazo
c9a081fd6a client ping fixed 2013-07-07 20:25:59 +02:00
Xabier de Zuazo
e46fd6f1c7 packet 0x27: leash from int to ubyte 2013-07-07 19:15:39 +02:00
Xabier de Zuazo
058d6eb12e packet 0x64 (OpenWindow): support for the optional entityId field 2013-07-07 12:29:18 +02:00
Xabier de Zuazo
1ac3e12099 packet 0xfe (ping): updated to support 1.6.1 2013-07-07 11:04:15 +02:00
Xabier de Zuazo
9c3f671a22 packet 0x13: added jumpBoost field 2013-07-07 10:24:49 +02:00
Xabier de Zuazo
dcbaf3836e packet 0x27: leash from bool to int 2013-07-07 09:13:53 +02:00
Matt Bell
1df9f9071f Added tests for new datatypes 2013-07-07 09:05:05 +02:00
Matt Bell
e46a98a5a5 Updated to protocol version 73 (1.6.1) 2013-07-07 09:05:05 +02:00
Xabier de Zuazo
b334a6781d Release 0.10.1 2013-05-05 04:09:05 +02:00
Xabier de Zuazo
2665649363 protocol version updated to support minecraft 1.5.2 2013-05-05 04:08:12 +02:00
Xabier de Zuazo
c6b9d2c1d0 Release 0.10.0 2013-04-15 07:35:48 +02:00
Xabier de Zuazo
b98e1b25a0 README: added links to the mentioned github users 2013-04-15 07:03:28 +02:00
Xabier de Zuazo
75d9229793 README: added how to enable debugging output 2013-04-15 06:52:32 +02:00
Xabier de Zuazo
664c7e380a print sent and received packet contents in debug mode 2013-04-15 06:40:09 +02:00
Xabier de Zuazo
a48d6dcdd8 Merge pull request #55 from stith/patch-1
Connect to a server's SRV record if they specify one
2013-04-14 21:21:51 -07:00
Matt Stith
88255413ce Only look for SRV records if necessary
Vanilla client implementation only looks for SRV records when the server port isn't specified, so let's mirror that behavior.
2013-04-15 00:09:04 -03:00
Xabier de Zuazo
28bb69564f README: added npm version badge 2013-04-14 12:21:28 +02:00
Xabier de Zuazo
120da4a20f packet 0x66 (Click Window): shift field renamed to mode 2013-04-14 11:27:53 +02:00
Matt Stith
d0664f37b4 Connect to a server's SRV record if they specify one 2013-04-13 17:23:31 -03:00
Xabier de Zuazo
8760ff55bc in packet 0x66, "shift" must be of type byte instead of boolean 2013-04-13 16:41:53 +02:00
Andrew Kelley
7a5bcf02d8 Release 0.9.0 2013-04-08 11:04:35 -04:00
Andrew Kelley
d236604e24 Merge pull request #53 from roblabla/patch-1
Fix packet 0xce, "create" should be a byte.
2013-04-08 08:02:58 -07:00
Robin Lambertz
6c945b6265 Fix packet 0xce, "create" should be a byte.
Renamed "create" to "action", and made it a byte. 
According to wiki.vg, 0 is create, 1 to remove, and 2 to update.
2013-04-08 15:35:35 +02:00
Andrew Kelley
ba768dbdee Release 0.8.1 2013-04-07 15:08:51 -04:00
Andrew Kelley
7ec4cfc2bf Merge pull request #52 from onddo/some-proto-fixes
Some Minecraft Protocol fixes
2013-04-07 11:58:48 -07:00
Xabier de Zuazo
cf6fae5302 bugfix: debug undefined in inde.js 2013-04-07 20:47:12 +02:00
Xabier de Zuazo
ab0237e5e6 "hash" varible moved inside joinServerRequest function 2013-04-07 12:04:29 +02:00
Xabier de Zuazo
bcef115c07 debug message printing when you are trying to connect to an online server without credentials 2013-04-07 12:02:31 +02:00
Xabier de Zuazo
a9afd32ad3 fixed C2 calculation bug (fixes #35) 2013-04-07 11:55:20 +02:00
Xabier de Zuazo
34e06bdd48 added entity metadata debugging message 2013-04-06 21:48:39 +02:00
Xabier de Zuazo
086d47b725 errors printing in readEntityMetadata() improved 2013-04-06 19:48:22 +02:00
Xabier de Zuazo
353f156d1a fix buffer length checking bug in readSlot() 2013-04-06 19:34:10 +02:00
Andrew Kelley
bb1918da98 Release 0.8.0 2013-04-06 11:08:33 -04:00
Andrew Kelley
1015a9787b Merge pull request #50 from onddo/packetid-3e-3f-fix
Fixed parsing package IDs 0x3e and 0x3f
2013-04-06 07:43:53 -07:00
Xabier de Zuazo
e176938682 Protocol version updated to 1.5.1 2013-04-06 05:41:40 +02:00
Xabier de Zuazo
936ba5832d added debug output for read/written packet ids 2013-04-06 05:04:47 +02:00
Xabier de Zuazo
b699d5506a added debug() method for NODE_DEBUG=mc-proto 2013-04-06 05:02:36 +02:00
Xabier de Zuazo
0ff49078ff friendlyFire on 0xd1 package id changed from bool to byte type 2013-04-06 04:48:05 +02:00
Xabier de Zuazo
38f46998e3 Unrecognized packetId error printing id in hex 2013-04-06 04:45:32 +02:00
Andrew Kelley
11b11f0dc3 Merge pull request #48 from mappum/master
Fixed bug where the wrong type was used when serializing entityMetadata
2013-03-18 16:46:36 -07:00
Matt Bell
2c00c9f8be Fixed bug where the wrong type was used when serializing entityMetadata 2013-03-18 14:13:03 -07:00