Commit graph

7 commits

Author SHA1 Message Date
Romain Beaumont
86b70f2544 Release 0.16.4 2015-12-22 00:07:27 +01:00
roblabla
df8cfa5c4c Add checkTimeoutInterval 2015-11-19 20:53:18 +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
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
917b6adda1 enable cross version with an option in createClient and createServer :
* put parsePacketData in deserializer and createPacketBuffer in serializer
* remove packets from the index and expose readPacket instead
* load packets when needed in various files
* make tests test every supported version
static cross version of #234, fix #65, fix #240
2015-09-29 22:44:28 +02:00
roblabla
f7e50721e8 Update the README and docs 2015-09-23 23:26:50 +02:00
Romain Beaumont
653e8d05ee split the readme.md into 2 new files : history.md and doc/readme.md, fix #183 2015-05-29 13:24:12 +02:00