Commit graph

986 commits

Author SHA1 Message Date
roblabla
df8cfa5c4c Add checkTimeoutInterval 2015-11-19 20:53:18 +01:00
Romain Beaumont
0569f51d61 Merge pull request #304 from rom1504/redefine_slot
add optionalNbt, use it directly in protocol.json in packets and for defining slot
2015-11-19 15:11:09 +01:00
Romain Beaumont
581de8234b update to protodef 0.2.1 2015-11-19 15:03:38 +01:00
Romain Beaumont
d25c4a2017 add optionalNbt, use it directly in protocol.json in packets and for defining slot 2015-11-15 17:48:25 +01:00
Romain Beaumont
c9290e664b properly use protodef nbt inside prismarine-nbt 2015-11-15 03:25:14 +01:00
Romain Beaumont
9a6e7f8f42 fix nbt type, fix #294 2015-11-15 02:37:31 +01:00
Romain Beaumont
30d0939968 use prismarine-nbt 0.1.0 and fix some npm warnings 2015-11-15 02:33:32 +01:00
roblabla
3b9d8f3835 Prepare for next development iteration 2015-11-12 02:16:52 +01:00
roblabla
6fe8abfc30 0.16.0 2015-11-12 02:12:47 +01:00
Robin Lambertz
f68bee7ed3 Merge pull request #293 from rom1504/prepare_for_release
prepare 0.16.0 release
2015-11-12 01:56:15 +01:00
Robin Lambertz
825aca9a1f Merge pull request #298 from rom1504/remove_utils
use protodef utils, fix #295
2015-11-12 01:54:47 +01:00
Robin Lambertz
cd3655daca Merge pull request #299 from rom1504/add_doc
update documentation : fix #296
2015-11-09 17:29:14 +01:00
Romain Beaumont
379944d81d update documentation : fix #296
* move mc.ping to the bottom as it isn't the most important part of nmp
* add documentation about createServer options : fix #206
* add states, supportedVersions, createSerializer, createDeserializer
2015-11-09 17:23:15 +01:00
Romain Beaumont
d86a59c393 use protodef utils, fix #295 2015-11-09 15:40:04 +01:00
Romain Beaumont
b64beabec2 add recent changes to 0.16 history 2015-11-09 12:23:24 +01:00
Robin Lambertz
3007740135 Merge pull request #274 from rom1504/use_protocols
use protodef
2015-11-09 02:42:45 +01:00
Romain Beaumont
787f8d3423 fix gamemode3 in proxy : fix #146
* correctly generate the same uuidv3 than the vanilla server does in offline mode : fix #282
* remove "one player online mode" in the proxy : it doesn't make sense to identify all players as the user/passwd given in the cli. Now both servers in offline mode.
2015-11-08 23:34:15 +01:00
Romain Beaumont
23b077b76f fix compression in proxy, fix #292 2015-11-08 23:34:15 +01:00
Romain Beaumont
f45c6dff49 use protodef:
* move general datatypes to protodef along with their tests
* move states to states.js file
* use one protodef serializer by state and direction instead of one big serializer for everything (same thing for the deserializer)
* define a packet as a protodef type using a switch and a container, and adding each minecraft packet as a type (packet_ + name)
* use mapper type from protodef to convert id to name in packet definition
* use general string type : pstring
* divide by 10 the number of iteration in the benchmark to get back to a reasonable test execution time
2015-11-08 23:29:51 +01:00
Romain Beaumont
d6bc7074d0 add ursa update in 0.16 HISTORY.md 2015-11-01 19:17:14 +01:00
Romain Beaumont
cb6babd4f0 prepare 0.16.0 release 2015-11-01 19:15:23 +01:00
Robin Lambertz
75303f412f Merge pull request #270 from rom1504/split_tests
split the tests in 3 files, fix #265
2015-10-13 22:24:14 +02:00
Robin Lambertz
10f5721489 Merge pull request #287 from rom1504/use_ursa_node4
update ursa for node4 compatibility
2015-10-13 22:20:19 +02:00
Robin Lambertz
5593c69416 Merge pull request #264 from rom1504/mocha_benchmarks
use mocha for benchmark (allow better mocha grepping + it's cleaner)
2015-10-13 22:20:11 +02:00
Romain Beaumont
5410edbdca update ursa for node4 compatibility
see fd9c897240
2015-10-13 21:40:24 +02:00
Robin Lambertz
971e442d88 Merge pull request #285 from rom1504/patch-1
use bufferEqual instead of buffertools
2015-10-13 19:04:43 +02:00
Romain Beaumont
c288801ffb bump buffer-equal in nmp: 0.0.1 use node Buffer.equal when available 2015-10-13 17:16:26 +02:00
Romain Beaumont
0da2b14607 change dependency from buffertools to buffer-equal in proxy 2015-10-13 17:15:49 +02:00
Romain Beaumont
30fd138ae9 use bufferEqual instead of buffertools
native modules are annoying
2015-10-13 17:11:51 +02:00
Robin Lambertz
a80765549c Merge pull request #283 from rom1504/patch-1
Enable nmp server compression
2015-10-13 00:10:56 +02:00
Romain Beaumont
4e3a4a0efc Trying to enable nmp server compression 2015-10-12 14:17:45 +02:00
Robin Lambertz
c55865ef33 Merge pull request #278 from basicer/patch-1
Fix createServer
2015-10-08 09:46:42 +02:00
Rob Blanckaert
1efc14be78 Fix createServer 2015-10-07 20:50:38 -04:00
Robin Lambertz
36d75fd3b6 Merge pull request #276 from rom1504/update_mc_data
minecraft-data bump to 15w40b + 76 in 1.9
2015-10-05 23:51:36 +02:00
Romain Beaumont
de89622827 minecraft-data bump to 15w40b + 76 in 1.9 2015-10-05 21:06:32 +02:00
Robin Lambertz
d7e74f7f9e Merge pull request #259 from basicer/thenable-before-ping
Allow beforePing to receive a callback.
2015-10-04 22:13:40 +02:00
Rob Blanckaert
16452d4a4c Allow beforePing to receive a callback to call with its result when
it accepts three arguements. Allows async processing while
calculating response.
2015-10-04 13:46:07 -04:00
Robin Lambertz
cf3eeb71c3 Merge pull request #273 from rom1504/update_mc_wrap
fix the bug in mcwrap : using batch.concurrency(1) is needed
2015-10-02 15:46:34 +02:00
Romain Beaumont
c0b744a3a5 fix the bug in mcwrap : using batch.concurrency(1) is needed 2015-10-02 15:33:41 +02:00
Robin Lambertz
9de632977c Merge pull request #272 from rom1504/update_mc_wrap
update mcwrap again, should be enough this time
2015-10-02 14:00:50 +02:00
Romain Beaumont
1625d6b3dd update mcwrap again, should be enough this time 2015-10-02 12:57:11 +02:00
Robin Lambertz
14abcb8d32 Merge pull request #271 from rom1504/update_mc_wrap
update minecraft-wrap : hopefully this will finally give us enough information to fix the problem
2015-10-02 12:46:45 +02:00
Romain Beaumont
b2b56565d2 update minecraft-wrap : hopefully this will finally give us enough information to fix the problem 2015-10-02 12:40:58 +02:00
Romain Beaumont
92b4b2bf8d split the tests in 3 files, fix #265 2015-10-02 02:02:54 +02:00
Robin Lambertz
a37560eb50 Merge pull request #268 from rom1504/remove_readPackets_dep_in_client
remove dependency to readPackets from client.js : fix #267
2015-10-02 01:35:47 +02:00
Robin Lambertz
4c14c8f859 Merge pull request #269 from roblabla/feature-fixTests
Fix tests : client.session.username doesn't exist
2015-10-02 01:34:19 +02:00
roblabla
8ce13dd9e2 Fix tests : client.session.username doesn't exist 2015-10-02 01:30:23 +02:00
Robin Lambertz
5207141cec Merge pull request #262 from roblabla/feature-useNodeYggdrasil
Use node-yggdrasil. Fix validation problem
2015-10-02 01:24:38 +02:00
Robin Lambertz
c5d4848dfd Merge pull request #263 from rom1504/enable_client_connection_tests
Enable client connection tests
2015-10-02 01:24:31 +02:00
roblabla
c889f2c5f7 Use node-yggdrasil. Fix validation problem 2015-10-02 01:19:41 +02:00