Commit graph

268 commits

Author SHA1 Message Date
Robin Lambertz
f80b2aa1b3 Fix nullable state code not working. 2014-05-14 23:49:37 +02:00
Robin Lambertz
9181fe9517 Merge pull request #89 from innoying/patch-3
Fix Spawn Object Packet Parsing
2014-05-14 23:46:24 +02:00
Robin Lambertz
2804fcda44 Merge pull request #87 from innoying/patch-1
Fix entityMetadata reads
2014-05-14 23:46:12 +02:00
Robin Lambertz
70a38779a6 Merge pull request #88 from innoying/patch-2
Fix team scoreboard
2014-05-14 23:45:51 +02:00
Luke Young
61b7a0c20a Better condition fix 2014-05-14 13:46:29 -05:00
Luke Young
5f349d338d Revert "Fix team scoreboard"
This reverts commit 95bacd4bfd.
2014-05-14 13:45:46 -05:00
Luke Young
833df2039c Fix Spawn Object Packet Parsing
If read fails a pre-condition within a container, skip it
2014-05-14 13:44:43 -05:00
Luke Young
95bacd4bfd Fix team scoreboard
Because the team scoreboard values are optional, they should not always be included in the written response.
2014-05-13 23:42:13 -05:00
Luke Young
97bf07b3ad Fix entityMetadata reads
Seems to have been broken at some point. This pull request fixes it.
2014-05-13 23:01:08 -05:00
Robin Lambertz
a885ab9de2 Merge pull request #83 from deathcap/more-raw
Emit a 'raw' event for all raw buffers (in addition to per-packet-type)
2014-04-30 12:18:36 +02:00
deathcap
cda8847b44 Emit a 'raw' event for all raw buffers (in addition to per-packet-type) 2014-04-29 19:58:23 -07:00
Andrew Kelley
3e2f7032bb readme: clean up installation instructions. closes #81 2014-04-14 20:55:20 -07:00
roblabla
1c4bced44d Fix typo in type name of packet play.0x04 2014-04-13 18:05:54 +02:00
roblabla
19c252ae6a Another tiny mistake fixed 2014-04-13 18:04:28 +02:00
roblabla
19434979bd Fix couple in protocol 2014-04-13 14:25:45 +02:00
roblabla
a679994d89 Release 0.12.1 2014-04-12 12:34:19 +02:00
roblabla
d7f3e5cd05 Support 1.7.6 protocol 2014-04-11 20:03:24 +02:00
roblabla
23ecbd3675 Release 0.12.0 2014-04-11 19:40:15 +02:00
Robin Lambertz
05d1b8e1ed Merge pull request #80 from roblabla/feature-opportunisticParsing
Add opportunistic parsing and raw read/write.
2014-04-11 19:37:49 +02:00
roblabla
879dd3a5e4 Quickfix : type in UUID field 2014-04-11 17:07:33 +02:00
roblabla
c1a5b8294b woops, add back the 'packet' event 2014-04-11 02:08:17 +02:00
roblabla
b7dd1ba04e Remove old debug code 2014-04-11 01:48:42 +02:00
roblabla
0a4b365242 Add opportunistic parsing. 2014-04-11 01:48:06 +02:00
Robin Lambertz
82c45bc041 Merge pull request #79 from roblabla/feature-containers
Container and array data types
2014-04-08 17:01:52 +02:00
roblabla
457df31b0b Container, array, buffer and count types added 2014-04-04 10:32:20 +02:00
roblabla
c0ba7f8127 Proper generic read/write/sizeOf functions 2014-04-01 15:43:57 +02:00
Robin Lambertz
6711c19fd6 Merge pull request #77 from roblabla/feature-packetnames
Allow sending and listening for packets by "name" v2
2014-04-01 15:13:42 +02:00
roblabla
7b9f170fb2 Fix bug in sizeOfMatchArray making the tests fail 2014-03-31 00:07:30 +02:00
roblabla
ffef3f97b5 Merge branch 'master' into feature-packetnames
Conflicts:
	lib/protocol.js
2014-03-31 00:01:49 +02:00
roblabla
2d40fec760 Fix #73 - this string should be unlimited 2014-03-16 18:52:17 +01:00
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