Commit graph

585 commits

Author SHA1 Message Date
Robin Lambertz
2c93a4e796 Merge pull request #244 from rom1504/patch-1
Print some more info in order to fix https://github.com/PrismarineJS/node-minecraft-protocol/issues/194
2015-09-20 01:05:53 +02:00
roblabla
54337cc068 HISTORY.md update 2015-09-20 01:05:32 +02:00
Robin Lambertz
3bbb1eae6a Merge pull request #236 from roblabla/feature-cleanup
Clean up the mess in create/parse Packet. Deprecate ID and [state; ID]
2015-09-20 00:58:15 +02:00
Romain Beaumont
537a99562a use forEach for better speed for containers 2015-09-20 00:55:29 +02:00
roblabla
b85fa944d7 Remove on(id), on([state;id]) and onRaw 2015-09-20 00:55:29 +02:00
roblabla
b1441098f9 Only allow writing by packetName. Refactor whole internals to use packetNames 2015-09-20 00:55:29 +02:00
roblabla
56c9f3ed9a Index packetFields by name. Use packet names in test.js 2015-09-20 00:41:03 +02:00
Romain Beaumont
c467670880 bump minecraft-wrap + tilde 2015-09-19 23:06:57 +02:00
Romain Beaumont
7a0dd6b8cf Should print some more info in order to fix https://github.com/PrismarineJS/node-minecraft-protocol/issues/194 2015-09-19 22:45:39 +02:00
Robin Lambertz
3a7fad0f2d Merge pull request #242 from rom1504/use_mcdata_version
use minecraft-data version
2015-09-15 17:45:54 +02:00
Robin Lambertz
4a1b2bf052 Merge pull request #243 from roblabla/feature-usePacketNames
Use packet names instead of ID inside NMP's code.
2015-09-15 16:34:22 +02:00
roblabla
d490134492 Fix server.js 2015-09-15 14:31:06 +00:00
roblabla
cf4048d655 Fix createServer 2015-09-15 14:30:53 +00:00
roblabla
eac198bdf3 Fix createClient 2015-09-15 14:30:46 +00:00
roblabla
8be7394864 Fix ping 2015-09-15 14:30:34 +00:00
Romain Beaumont
a24b79608b use minecraft-data version 2015-09-15 15:34:38 +02:00
Robin Lambertz
a2abb70fc7 Merge pull request #237 from rom1504/use_minecraft_wrap
use minecraft-wrap : get the vanilla server wrapping out of node-minecraft-protocol
2015-09-15 14:54:26 +02:00
Robin Lambertz
c9b6ad8dbe Merge pull request #238 from rom1504/fix_quit_reason
Fix quit reason
2015-09-15 14:54:14 +02:00
Romain Beaumont
6bacdf33cc check if the reason contains the quoted reason instead of strict equality : make the tests work with the same code in 1.8 and 1.9 2015-09-14 22:52:11 +02:00
Romain Beaumont
6bad0f8461 Change quit reasons to json as is now required in 1.9 2015-09-14 22:52:01 +02:00
Romain Beaumont
eeed7b643c use minecraft-wrap : get the vanilla server wrapping out of node-minecraft-protocol 2015-09-14 22:14:13 +02:00
Robin Lambertz
74e4d415fb Merge pull request #233 from rom1504/play_numerical_ids
transform play numerical ids to names
2015-09-14 14:35:31 +02:00
Romain Beaumont
a62e7a2712 add direction variable in createPacketBuffer 2015-09-12 21:56:33 +02:00
Romain Beaumont
188848b364 improve error in sizeOf of serializer.js, fix remaining numerical id in createClient 2015-09-12 21:49:17 +02:00
Romain Beaumont
3b272159fd add field name in error in serializer.js 2015-09-12 21:49:17 +02:00
Romain Beaumont
9804d0983b transform play numerical ids to names, remove most entity metadata test values for compatibility 2015-09-12 21:49:17 +02:00
Romain Beaumont
498d9f2c81 make benchmark.js independent of ids (related with #232) 2015-09-12 21:49:17 +02:00
Robin Lambertz
18b09ea4bf Merge pull request #230 from roblabla/feature-addBitField
Add bitfields and anon containers
2015-09-12 02:51:39 +02:00
roblabla
150af656c7 Use power-assert instead of assert, otherwise stuff fail 2015-09-12 00:40:24 +00:00
roblabla
631d1cfc27 Update minecraft-data dependency 2015-09-12 00:40:24 +00:00
roblabla
f952db3cc6 Phase out native position. Implement entityMetadataLoop. 2015-09-12 00:40:24 +00:00
roblabla
b255eaadd1 Implement bitfields. Add tests for utils datatypes 2015-09-12 00:40:18 +00:00
roblabla
71c93bb3d6 Implement anonymous structure members 2015-09-11 22:42:50 +00:00
roblabla
a267cc1515 Revert "Fix anon structures not working in sizeOf"
This reverts commit 86f1f23053.
2015-09-11 22:39:16 +00:00
roblabla
2b98c09fba Slightly fix the broken error handling 2015-09-11 22:12:20 +00:00
roblabla
86f1f23053 Fix anon structures not working in sizeOf 2015-09-11 22:11:53 +00:00
Robin Lambertz
968617eab8 Merge pull request #180 from roblabla/feature-dataTypes-tests
Add tests for numeric dataType.
2015-09-08 15:17:00 +02:00
roblabla
dd2cfa1fa3 Add tests for numeric dataTypes 2015-09-08 13:09:08 +00:00
Robin Lambertz
e3b435af1b Merge pull request #224 from roblabla/feature-addExtendTypes
Add extend type support
2015-09-03 15:08:48 +02:00
roblabla
79ded321bf Add extend type support 2015-09-03 13:05:11 +00:00
roblabla
ee3b865daa Fix typo in option type 2015-09-03 13:05:11 +00:00
Robin Lambertz
388879bd4b Merge pull request #227 from roblabla/feature-addOption
Add option type
2015-09-02 19:37:04 +02:00
Robin Lambertz
5408d67097 Merge pull request #228 from rom1504/add_flying-squid
add flying-squid to users
2015-08-31 01:20:55 +02:00
Romain Beaumont
c7f950148a add flying-squid to users 2015-08-30 21:34:28 +02:00
roblabla
e260f15163 Fix error handling using undefined variables 2015-08-29 13:00:34 +00:00
roblabla
ed372e6f39 Add option type 2015-08-28 15:21:59 +00:00
Robin Lambertz
35c980465e Merge pull request #226 from roblabla/feature-betterErrors
[WIP] Better error handling, also some general cleanup
2015-08-28 17:13:18 +02:00
roblabla
7e145f763d First attempt at better error handling, also some general cleanup 2015-08-27 20:48:45 +00:00
Robin Lambertz
9d7e4b5943 Merge pull request #222 from roblabla/feature-introduceSwitch
Introduce switch and void, remove condition
2015-08-25 14:05:09 +02:00
roblabla
3282cf69c7 Introduce switch and void, remove condition 2015-08-25 11:55:25 +00:00