roblabla
2f90252eaa
Merge upstream, fix mistakes in examples
2014-03-16 18:14:55 +01:00
roblabla
244ad8ed39
Use ProtocolLib naming scheme. Use hasOwnProperty instead of equality
2014-03-16 18:06:57 +01:00
Andrew Kelley
36b57663b6
Merge pull request #76 from danny8376/somefix
...
fix chat problem with multi-byte characters
2014-02-22 12:54:23 -05:00
DannyAAM
aa0402979e
modify some packet variable name
...
fix chat problem with multi-byte characters
2014-02-22 18:52:24 +08:00
Andrew Kelley
4e48226c8c
rename github.com/superjoe30 to github.com/andrewrk
2014-01-23 21:36:25 -05:00
deathcap
0cd3ed13d9
Add packet names
2014-01-13 21:56:56 -08:00
Robin Lambertz
d1490e928a
Expose yggdrasil to API consumer
...
The Yggdrasil library should be exposed to API consumer.
2014-01-10 12:55:16 +01:00
Andrew Kelley
c6d228d7de
Merge pull request #69 from roblabla/feature-mc1.7
...
Feature mc1.7
2014-01-05 22:01:59 -08:00
roblabla
018fb6407f
Add new chat client example
2014-01-06 00:57:29 +01:00
roblabla
875d10ed0b
Protocol 1.7 support, Yggdrasil login support, new Client State API
2014-01-06 00:57:18 +01:00
Matt Bell
2b594399ea
Reduced benchmark execution time
2014-01-02 16:58:09 -08:00
Xabier de Zuazo
63dea28bab
Merge pull request #68 from Darthfett/master
...
Cleanup code
2013-11-19 17:58:15 -08:00
darthfett
9b274df54a
Cleanup: terminate all statements with semicolons, remove unnecessary semicolons, remove unused variables, add hasOwnProperty checks in 'for x in y' loops.
2013-11-19 16:55:30 -07:00
Matt Bell
5e75cdf75d
Updated protocol version to support 1.6.4
2013-09-26 15:35:41 -07:00
Andrew Kelley
8b7abe27e7
Release 0.11.5
2013-08-26 18:36:08 -04:00
Andrew Kelley
3002927466
Merge pull request #62 from dividuum/master
...
New way to handle conditional fields in packets
2013-08-26 13:14:38 -07:00
Florian Wesch
de220e1fa1
set unavailable fields to null
2013-08-26 14:22:53 +02:00
Florian Wesch
170566d700
New way to handle conditional fields in packets
...
Some packets have conditional fields. The previous way to handle
those was to provide a single condition for each packet type
which determined if additional fields are appended to the packet.
Unfortunately this is not enough for some packets: They have
complex conditions that cannot be expressed this way.
This diff changes the way conditional fields are handled: For
each field in each packet there is a new optional 'condition'
function which will be called with the packet data. Only if
the 'condition' function returns true, the field is de/encoded.
This diff also adds new (previously missing) conditions.
2013-08-26 13:00:28 +02:00
Xabier de Zuazo
65fc158d97
Release 0.11.4
2013-08-12 23:26:46 +02:00
Xabier de Zuazo
bdc703a3f0
0x03: server chat packet test fixed
2013-08-07 19:16:05 +02:00
roblabla
6a530522a6
Add an unlimited string length for server chat packet
2013-08-07 19:05:59 +02:00
Xabier de Zuazo
5c8f29bdff
Release 0.11.3
2013-07-13 12:14:48 +02:00
Xabier de Zuazo
c0a66738a3
packet 0x2c: writing fixed, UUID format simplified
2013-07-12 13:19:34 +02:00
Xabier de Zuazo
634ad002f4
Release 0.11.2
2013-07-11 12:33:09 +02:00
Xabier de Zuazo
8e06879cda
README: added propertyArray example
2013-07-11 12:09:10 +02:00
Xabier de Zuazo
c597436b70
packet 0x2c: properties updated to support 1.6.2 version (elementList added)
2013-07-11 12:08:46 +02:00
Xabier de Zuazo
6b09737dec
Added packet 0x85 (Tile Editor Open)
2013-07-11 08:15:53 +02:00
Xabier de Zuazo
ae2046d991
packet 0xfe (ping): some fields renamed, put the correct protocol version in mc.ping()
2013-07-11 08:15:53 +02:00
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