Commit graph

353 commits

Author SHA1 Message Date
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
Robin Lambertz
374ec71447 Fixes a spelling in a function name 2013-01-27 02:46:52 +00:00
Robin Lambertz
4a7b1e48cd Fix a scope leak which caused tests to fail. Fixes #20 2013-01-27 02:44:02 +00:00
Robin Lambertz
ebc6af6a7e Added server encryption and online mode 2013-01-27 01:12:09 +00:00
Andrew Kelley
0eb72c2046 Release 0.6.4 2013-01-26 15:36:01 -05:00
Andrew Kelley
f8b2a48d62 Merge pull request #19 from roblabla/patch-1
Allow minecraft username instead of mojang email
2013-01-26 12:31:44 -08:00
Robin Lambertz
68b478ce35 Allow minecraft username instead of mojang email
For those accounts that didn't switch to mojang accounts. Fixes #18
2013-01-26 20:00:38 +00:00
Andrew Kelley
6958d1a747 README: remove the 'pre' from the version so people don't get confused 2013-01-26 14:18:26 -05:00
Andrew Kelley
b36b2b1089 Release 0.6.3 2013-01-22 09:02:02 -05:00
Andrew Kelley
804397928c y values when only 1 byte are always unsigned 2013-01-22 09:01:29 -05:00
Andrew Kelley
bac1e8510d Release 0.6.2 2013-01-19 21:08:37 -05:00
Andrew Kelley
75c52bdf00 0x0e: face is an unsigned byte 2013-01-19 17:45:42 -05:00
Andrew Kelley
dbb0a4ccbe add additional assertion 2013-01-12 05:17:17 -05:00
Andrew Kelley
314c7dd6e4 Release 0.6.1 2013-01-10 20:36:01 -05:00
Andrew Kelley
5a85aa454f fix incorrectly swapped stance and y on 0x0d
add test that would have caught the bug
2013-01-10 20:34:56 -05:00
Andrew Kelley
af98e294f8 Release 0.6.0 2013-01-08 03:01:09 -05:00
Andrew Kelley
2c9d1965db better test coverage 2013-01-08 03:00:37 -05:00
Andrew Kelley
0aa52864df simplify and fix entityMetadata parsing and serializing 2013-01-08 02:44:17 -05:00
Andrew Kelley
5b44fdfdf8 Release 0.5.2 2013-01-08 01:59:33 -05:00
Andrew Kelley
c03ac963d9 all writers finished and tested. closes #15 2013-01-08 01:53:30 -05:00
Andrew Kelley
817fb9b51e add writers for most data types 2013-01-08 00:50:43 -05:00
Andrew Kelley
10cb3e0100 test all packets 2013-01-07 23:36:14 -05:00
Andrew Kelley
5df31e4d88 refactor data types 2013-01-07 22:20:40 -05:00
Andrew Kelley
8a6d4bc725 add ushort writer 2013-01-07 22:14:14 -05:00
Andrew Kelley
a95fe18a4d add link to mineflayer in README 2013-01-07 14:42:28 -05:00
Andrew Kelley
d40c8c44e5 Release 0.5.1 2013-01-06 08:58:09 -05:00
Andrew Kelley
91e103d4b8 Merge pull request #14 from jonathanperret/master
No need to get ursa outputs via base64, get buffers directly
2013-01-06 05:57:39 -08:00
Jonathan Perret
beb65d0e3d No need to get ursa outputs via base64, get buffers directly 2013-01-06 11:20:58 +01:00
Andrew Kelley
0d2848dfc5 Release 0.5.0 2013-01-06 00:43:02 -05:00
Andrew Kelley
a50bf7926b 0x38: remove chunkColumnCount. Use meta.length 2013-01-05 23:02:47 -05:00
Andrew Kelley
ab54392f46 Release 0.4.0 2013-01-05 16:54:21 -05:00
Andrew Kelley
08f71f11dc add chunkCount to 0x38
changed some more things for more API consistency

 * 0x33: compressedData -> compressedChunkData
 * 0x38: meta.chunkX -> meta.x
 * 0x38: meta.chunkZ -> meta.z
 * 0x38: meta.primaryBitMap -> meta.bitMap
 * 0x38: add chunkCount
2013-01-05 16:51:42 -05:00
Andrew Kelley
37d1cdcca1 fix chat test. passes on windows now too. 2013-01-05 15:52:46 -05:00
Andrew Kelley
afc11251a0 Release 0.3.0 2013-01-05 05:21:09 -05:00
Andrew Kelley
5f769caebc minor API update
* move constants.STRING_MAX_LENGTH -> protocol.STRING_MAX_LENGTH
 * expose protocol.version
 * expose protocol.minecraftVersion
 * expose protocol.sessionVerson
 * expose protocol.parsePacket
 * expose protocol.createPacketBuffer
2013-01-05 05:17:27 -05:00
Andrew Kelley
1fb0577fd9 installation instructions 2013-01-05 00:55:24 -05:00
Andrew Kelley
b9bea65e50 expose constants; update README 2013-01-04 23:22:48 -05:00
Andrew Kelley
3e7501b215 update README 2013-01-04 23:16:48 -05:00
Andrew Kelley
a6ee5ca026 Release 0.2.0 2013-01-04 22:55:48 -05:00
Andrew Kelley
cbb5be36b9 test passing: correct reason for kicking clients when shutting down 2013-01-04 22:53:54 -05:00
Andrew Kelley
2e75851fd6 test passing: clients can log in and chat 2013-01-04 22:47:54 -05:00
Andrew Kelley
5e0ae2713a Client also emits 'packet' events for every packet 2013-01-04 21:57:17 -05:00
Andrew Kelley
68b29db639 passing test: server kicks clients that do not send keepalive packets 2013-01-04 21:56:19 -05:00
Andrew Kelley
150c89cc6d passing test: pinging a real minecraft server 2013-01-04 21:42:31 -05:00
Andrew Kelley
38194ee9b4 add test, ping, and 2 API changes
* passing test: responds to ping requests
 * `mc.ping` - ping a server for info
 * `createServer`: `options.timeout` -> `options.checkTimeoutInterval`
 * `Client` emits `connect` event
2013-01-04 21:33:19 -05:00