Romain Beaumont
3b7ae54b88
add minecraft datatype file for minecraft specific packets
2015-05-13 02:58:07 +02:00
Romain Beaumont
6f460e1626
move varint, bool, string, ustring and buffer to utils.js
2015-05-13 02:43:52 +02:00
Romain Beaumont
355a3cb1cd
more numeric types move
2015-05-13 02:19:56 +02:00
Romain Beaumont
6660a3aa39
put getField in a utils.js file, create a datatypes dir in src/ make it compile by gulp, move byte to numeric.js
2015-05-13 02:04:26 +02:00
Robin Lambertz
cf65197e12
Merge pull request #159 from rom1504/move_protocol_def_to_json
...
Move protocol def to json
2015-05-12 14:25:01 +02:00
Romain Beaumont
04a3f72130
readCondition now return value==null when the condition is not met instead of returning null (when read returns null it means there was an error), check if value is null in readContainer and parsePacketData and don't include it if so, improve "field x missing" error message in test.js a bit
2015-05-09 16:08:54 +02:00
Romain Beaumont
63b332ce38
remove condition property checks, also remove that property from the schema
2015-05-09 06:21:39 +02:00
Romain Beaumont
faed176631
add new condition type :
...
* protocol.js : new read, write and sizeOf methods and add check for condition type inside read
* update protocol.json
* update protocol_schema.json
* some fixes in test.js to handle the new condition type
2015-05-09 05:58:12 +02:00
Romain Beaumont
9c9f358a5d
add current json schema (and a small validate.js test using jsonschema module) : makes it easier to fully understand the format
2015-05-09 04:06:33 +02:00
Romain Beaumont
ffa11996c4
remove function test in evalCondition : a condition is now never a function
2015-05-08 04:05:46 +02:00
Romain Beaumont
a1ec6138b7
convert protocol_def.js to protocol.js
2015-05-08 03:52:57 +02:00
Romain Beaumont
b350229160
hexa to hexa string from json convertion
2015-05-08 03:37:42 +02:00
Romain Beaumont
ea2e97d59f
removing comments before transformation to json : they'll have to go somewhere else
2015-05-08 03:25:40 +02:00
Romain Beaumont
9abe799715
transform typeArgs function into object
2015-05-08 03:22:37 +02:00
Romain Beaumont
bf8a7899ae
transform condition functions into objects
2015-05-08 03:08:30 +02:00
Romain Beaumont
e47feb1cf6
encapsulate condition evaluation
2015-05-08 02:26:45 +02:00
Romain Beaumont
d37d801e01
move protocol definition in separate file
2015-05-08 02:13:07 +02:00
roblabla
5efdc824c1
Change github reported version to fix npm cache bugs
2015-05-04 12:50:38 +00:00
Robin Lambertz
477e003845
Merge pull request #158 from rom1504/svg_badges
...
svg badges
2015-04-28 14:52:33 +02:00
Romain Beaumont
5afcc93b83
svg badges
2015-04-28 12:08:38 +02:00
roblabla
c034373da7
Revert "Fix stackoverflow in recursion"
...
This reverts commit 29302ad683
.
2015-04-26 13:44:03 +00:00
roblabla
c2acd84f4c
Revert "Let's use process.nextTick to avoid multiple gigs of ram usage :D"
...
This reverts commit 4601abb333
.
2015-04-26 13:43:56 +00:00
roblabla
4601abb333
Let's use process.nextTick to avoid multiple gigs of ram usage :D
2015-04-26 13:14:53 +00:00
roblabla
9705990eb4
Merge branch 'master' of github.com:PrismarineJS/node-minecraft-protocol
2015-04-26 13:05:41 +00:00
roblabla
29302ad683
Fix stackoverflow in recursion
2015-04-26 13:03:28 +00:00
roblabla
482d32427d
Use it.skip instead of commenting
2015-04-26 13:02:59 +00:00
Robin Lambertz
1315da4111
Merge pull request #155 from rom1504/patch-1
...
reorganize badges in readme
2015-04-19 23:56:54 +02:00
Romain Beaumont
4f9ce7c449
All README badges on second line
2015-04-16 22:07:18 +02:00
Romain Beaumont
d29fc9e218
only the npm badge on the same line as the title so the other badges show up on npm
2015-04-16 19:07:49 +02:00
Romain Beaumont
6eb06e6740
reorganize badges in readme
2015-04-16 15:13:36 +02:00
roblabla
f0a7c1b22d
Release 0.13.4
2015-04-14 13:05:13 +00:00
roblabla
f6601b4295
Bump ursa-purejs version
2015-04-14 12:43:59 +00:00
roblabla
5806bd5a7d
Avoid crashing when decrypting fails
2015-04-14 12:38:16 +00:00
roblabla
37e2f10cd7
Silence debug message, and make it much more useful
2015-04-10 21:45:03 +00:00
Robin Lambertz
26e6a38813
Merge pull request #137 from deathcap/webclient
...
Expose the Client class to browser. Refactor net-specific code out of Client.
2015-03-29 22:21:13 +02:00
Dennis Bartlett
2cf441ab83
Merge pull request #147 from rom1504/improve_test
...
Add tests using the minecraft server jar to circle ci
2015-03-29 14:02:20 -05:00
Romain Beaumont
73ed7e2cdd
removes some console.log
2015-03-29 18:33:45 +02:00
Romain Beaumont
dfb7aacb5a
fix path again
2015-03-29 18:29:19 +02:00
Romain Beaumont
0e918c496c
check where to save the jar
2015-03-29 18:28:11 +02:00
Romain Beaumont
f8352d5f7b
fix wget
2015-03-29 18:26:48 +02:00
Romain Beaumont
e120aca4f9
fix mc_server path
2015-03-29 18:23:01 +02:00
Romain Beaumont
f71a27a331
checks what the server output is
2015-03-29 18:18:58 +02:00
Romain Beaumont
8886cc5344
checks if server jar exists
2015-03-29 18:12:54 +02:00
Romain Beaumont
4f3973db11
fix environment variable in circle.yml
2015-03-29 18:05:06 +02:00
Romain Beaumont
50fb2ae89d
update circle.yml to download minecraft-server.jar
2015-03-29 18:02:54 +02:00
Romain Beaumont
b8742032b9
remove npm install --dev
2015-03-29 17:56:25 +02:00
deathcap
bbbd022f33
Move network-specific code out of client.js
2015-03-28 23:24:23 -07:00
deathcap
c968cbefe5
Expose the Client class to browser
2015-03-28 23:14:39 -07:00
Josh Wolfe
23945f54c3
slightly cleaner readPosition
2015-03-26 18:47:46 -07:00
Robin Lambertz
158beb3cc3
Merge pull request #141 from bschlenk/master
...
added hook for before client receives ping
2015-03-26 16:44:32 +01:00