Commit graph

1520 commits

Author SHA1 Message Date
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
Andrew Kelley
174481fc2a more robust 0x28 test 2013-02-02 15:19:37 -05:00
Andrew Kelley
9c476600ea Release 0.7.1 2013-02-02 02:45:33 -05:00
Andrew Kelley
88b519a236 Merge pull request #34 from mappum/master
Removed socket delays to reduce latency
2013-02-01 17:40:22 -08:00
Matt Bell
6442e8d6b0 Removed socket delays to reduce latency 2013-02-01 17:33:03 -08:00
Andrew Kelley
4dcd961d5e Merge pull request #33 from roblabla/patch-1
README still had MC_EMAIL instead of MC_USERNAME
2013-01-31 08:54:32 -08:00
Robin Lambertz
70d0d68194 README still had MC_EMAIL instead of MC_USERNAME
The tests use the MC_USERNAME environment.
2013-01-31 09:04:38 +00:00
Andrew Kelley
4313e7e98d batch is a devDependency only now 2013-01-30 23:39:25 -05:00
Andrew Kelley
ef9917b252 Release 0.7.0 2013-01-30 20:04:45 -05:00
Andrew Kelley
df3f95e1ff don't require both email and username. closes #32
This change breaks backwards compatibility.

`createClient` no longer takes an `email` argument. Instead, the
`username` argument is used to authenticate and determine the
case correct username.

There is a special case if you leave out the `password` argument.
In this case, `username` is used to connect directly to the server,
and you may get kicked if the server is in online mode.
2013-01-30 19:56:43 -05:00
Andrew Kelley
9c12b6d3d3 Merge pull request #31 from roblabla/patch-1
Change encryption-enabled option to encryption.
2013-01-29 10:44:05 -08:00
Robin Lambertz
0ade43b9a5 Change encryption-enabled option to encryption.
Stays consistent with the examples.
2013-01-29 18:28:25 +00:00
Andrew Kelley
29dea42ea7 Release 0.6.7 2013-01-29 12:52:07 -05:00
Andrew Kelley
5f4f8c529d Merge pull request #29 from roblabla/bugfix-serverAsserts
Bugfix server asserts. closes #22
2013-01-29 09:42:47 -08:00