Commit graph

576 commits

Author SHA1 Message Date
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
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
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
roblabla
8d1705410b Update HISTORY.md 2015-08-24 18:35:52 +00:00
Robin Lambertz
ccbb60b587 Merge pull request #221 from roblabla/feature-newTypeSyntax
Add the new type syntax support. Old type syntax doesn't work
2015-08-24 20:30:19 +02:00
roblabla
ba8a3790aa Add the new type syntax support. Old type syntax doesn't work 2015-08-24 18:25:56 +00:00
Robin Lambertz
5ca49a21ab Merge pull request #219 from rom1504/updateMcDataDependency
bump minecraft data : now multi version support
2015-08-21 18:54:41 +02:00
Romain Beaumont
3892fb6de3 bump minecraft data : now multi version support 2015-08-21 16:19:46 +02:00
Robin Lambertz
c365478955 Merge pull request #215 from roblabla/feature-countType
Add countType support
2015-08-17 21:27:09 +02:00
Robin Lambertz
f2091cd513 Merge pull request #217 from rom1504/create_download_server
create downloadServer.js : remove version from circle.yml, fix #216
2015-08-17 20:11:11 +02:00
Romain Beaumont
a2bb6c1d39 check the status code when downloading the vanilla server 2015-08-17 20:08:40 +02:00
Romain Beaumont
3a2fca87b9 create downloadServer.js : remove version from circle.yml, fix #216 2015-08-17 19:16:32 +02:00