Commit graph

1324 commits

Author SHA1 Message Date
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
Robin Lambertz
eccc9b7029 Merge pull request #266 from rom1504/update_mc_wrap
update minecraft-wrap : wrap.download now automatically checks the md5 of the file before and after downloading
2015-10-02 01:13:09 +02:00
Romain Beaumont
5962c259a0 remove dependency to readPackets from client.js : fix #267 2015-10-01 15:06:33 +02:00
Romain Beaumont
9e0cecfc6f update minecraft-wrap : wrap.download now automatically checks the md5 of the file before and after downloading 2015-10-01 14:25:07 +02:00
Romain Beaumont
449c8dee00 increase mocha timeout to 20s for benchmarks 2015-09-30 18:16:41 +02:00
Romain Beaumont
1d5f55235e use mocha for benchmark (allow better mocha grepping + it's cleaner) 2015-09-30 18:11:57 +02:00
Romain Beaumont
788ad29815 fix chat count problem in tests + line listener 2015-09-30 17:53:24 +02:00
Romain Beaumont
698a64f926 fix and enable online client connection test 2015-09-30 17:30:52 +02:00
Romain Beaumont
fd0d9f5a13 fix and enable offline client connection test 2015-09-30 17:23:47 +02:00
Robin Lambertz
8d9f37c2ba Merge pull request #257 from rom1504/static_cross_version
enable cross version with an option in createClient and createServer
2015-09-30 15:50:38 +02:00
Robin Lambertz
240d60c307 Merge pull request #261 from rom1504/update_mc_data
update mcData : 15w39c and 1.8.8
2015-09-30 15:40:20 +02:00
roblabla
6c3359598e Fix syntax error in test.js 2015-09-30 13:34:49 +02:00
Romain Beaumont
c9c537e393 remove some stuff I forgot in browser.js 2015-09-30 12:45:38 +02:00