Commit graph

433 commits

Author SHA1 Message Date
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
Andrew Kelley
7213da38c4 Merge pull request #47 from mappum/master
Switched from constructors to functions in serialization code
2013-03-18 13:22:04 -07:00
Matt Bell
367b8a96da Switched from constructors to functions in serialization code 2013-03-18 13:02:57 -07:00
Andrew Kelley
d335243cec Merge pull request #46 from mappum/master
Added benchmark script
2013-03-16 09:18:32 -07:00
Matt Bell
169fa1c986 Added benchmark script 2013-03-15 23:13:05 -07:00
Andrew Kelley
cf73d4dad9 Release 0.7.9 2013-03-13 23:34:31 -04:00
Andrew Kelley
09a80dddd2 all tests passing with newest protocol 2013-03-13 23:27:15 -04:00
Andrew Kelley
07505da2e8 Merge pull request #44 from mappum/master
Updated to latest protocol
2013-03-13 19:41:10 -07:00
Matt Bell
4a366d75b5 Added stringArray datatype 2013-03-13 17:57:18 -07:00
Matt Bell
5f6abad700 Updated to protocol 60 (1.5.0) 2013-03-13 17:06:28 -07:00
Andrew Kelley
72fec007fc update README 2013-02-12 13:58:53 -05:00
Andrew Kelley
5a1491ba78 Release 0.7.8 2013-02-10 21:06:45 -05:00
Andrew Kelley
8e6d11b09e minor refactor 2013-02-10 21:05:42 -05:00
Andrew Kelley
2d5fda6635 server: ability to change motd and maxPlayers. closes #36 2013-02-10 17:58:02 -05:00
Andrew Kelley
adc47b0f62 fix incorrect playerCount in ping. closes #41 2013-02-10 17:51:47 -05:00
Andrew Kelley
8daacd3b08 Release 0.7.7 2013-02-03 22:14:15 -05:00
Andrew Kelley
93068b935d don't ever remove the 'error' handler from the socket.
fixes crashing with an unhandled error
2013-02-03 22:13:15 -05:00
Andrew Kelley
deccaf0c53 Release 0.7.6 2013-02-03 18:57:43 -05:00
Andrew Kelley
acccaeefeb fix case hole in onlineModeExceptions 2013-02-03 18:53:34 -05:00
Andrew Kelley
5cc7a8fbee Release 0.7.5 2013-02-03 18:22:44 -05:00
Andrew Kelley
cd7f867d95 ability to exempt usernames from online mode or offline mode 2013-02-03 18:21:16 -05:00
Andrew Kelley
666a24ed9e Release 0.7.4 2013-02-03 16:36:53 -05:00
Andrew Kelley
76339a4b84 server: online mode: don't log in client until username verification 2013-02-03 16:35:49 -05:00
Andrew Kelley
1ca600d756 Release 0.7.3 2013-02-03 15:38:52 -05:00
Andrew Kelley
1a434b9743 client emits more predictable 'end' event 2013-02-03 15:36:55 -05:00
Andrew Kelley
bb76dc8b0a Revert "Removed socket delays to reduce latency"
This reverts commit 6442e8d6b0.

Reverting until we can figure out why this is causing test failures.
2013-02-03 15:36:17 -05:00
Andrew Kelley
edb7fe83e7 Release 0.7.2 2013-02-03 14:36:15 -05:00
Andrew Kelley
b335f201a8 fix objectData writer 2013-02-03 14:32:14 -05:00