Commit graph

1547 commits

Author SHA1 Message Date
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
Robin Lambertz
fdc01db825 Pass the original error around, and emit an error event on the client 2013-01-29 17:39:33 +00:00
Robin Lambertz
d6b3a91751 client.end should have a string argument, not an Error object. 2013-01-29 11:05:10 +00:00
Robin Lambertz
997071ef41 Changed if(typeof var === undefined) to if(var). Made errors error objects. 2013-01-29 08:53:23 +00:00
Robin Lambertz
866e489914 Merge branch 'master' into bugfix-serverAsserts 2013-01-29 01:23:06 +00:00
Robin Lambertz
529355782e Added errors in case of wrong MetaData or wrong Chunk Data 2013-01-29 01:05:33 +00:00
Robin Lambertz
5b67cec4e0 ups. Fixed a syntax error. 2013-01-29 00:48:01 +00:00
Robin Lambertz
619a2cded1 Merge remote-tracking branch 'original/master' 2013-01-29 00:45:21 +00:00
Robin Lambertz
f514480087 Merge remote-tracking branch 'original/master' into bugfix-serverAsserts 2013-01-29 00:44:35 +00:00
Robin Lambertz
eaa895120a Original skeleton changes. 2013-01-29 00:44:00 +00:00
Andrew Kelley
484a2bd34f fix ping tests. closes #28 2013-01-28 19:24:03 -05:00
Andrew Kelley
3402260b7b Release 0.6.6 2013-01-28 22:46:31 +00:00
Andrew Kelley
79e61a4890 fix ping module to pass tests 2013-01-28 22:46:30 +00:00
Robin Lambertz
b5516a81b3 Fixes #20 for real this time... 2013-01-28 22:46:29 +00:00
Jan Buschtöns
e8e78e2942 Add latency measurement to lib/ping.js 2013-01-28 22:46:29 +00:00
Andrew Kelley
ba29fa59d7 Release 0.6.6 2013-01-27 19:40:56 -05:00
Andrew Kelley
e59ac0f76d fix ping module to pass tests 2013-01-27 19:36:36 -05:00
Robin Lambertz
efe2e7f775 Fixes #20 for real this time... 2013-01-27 19:36:36 -05:00
Andrew Kelley
fd39844fea Merge pull request #27 from CubixCraft/ping-latency
Add latency measurement to lib/ping.js
2013-01-27 16:00:37 -08:00
Jan Buschtöns
654a268aa6 Add latency measurement to lib/ping.js 2013-01-28 00:56:59 +01:00
Andrew Kelley
77e84b15fc Release 0.6.5 2013-01-26 22:50:48 -05:00
Andrew Kelley
035f69919d better error reporting. add test 2013-01-26 22:46:47 -05:00
Andrew Kelley
2434b49528 createServer: allow empty options 2013-01-26 22:13:24 -05:00
Andrew Kelley
c53f31af0e add .jshintrc 2013-01-26 22:13:06 -05:00