Commit Graph

  • e9f095de42 Add ClientSettingsPacket and PluginMessagePacket. Improve Packet string representation. joo 2017-08-24 02:14:53 +0100
  • 3269a022a8 Add KeepAlivePacket test to ConnectTest and derived tests. joo 2017-08-22 18:12:51 +0100
  • b79e7b5f28 Add tests for early and outgoing packet listeners. joo 2017-08-22 17:50:16 +0100
  • 9497aae8fa Make FakeServer class more reusable, and extract it into its own module. joo 2017-08-22 14:06:17 +0100
  • f1d04e6610 start.py: add --dump-packets option. joo 2017-08-21 21:06:39 +0100
  • 593c98f168 Add support for early and outgoing packet listeners. joo 2017-08-21 21:06:28 +0100
  • 9765e936c9 Fix incorrect packet IDs for PlayerPositionAndLookPacket for old protocol versions. joo 2017-08-20 07:35:14 +0100
  • 46e058dd08 Update all tests, docs and code to use new packet names. joo 2017-08-09 20:53:54 +0100
  • f1ae765458 Add docstring about legacy packet names to packets module. joo 2017-08-09 19:32:07 +0100
  • 4a7d06c3cf
    Add proper matrix for travis Ammar Askar 2017-08-09 12:40:09 -0400
  • 997a59efb0
    Revert "List out the python versions we need for travis" Ammar Askar 2017-08-09 12:33:05 -0400
  • ef790d2f08 List out the python versions we need for travis Ammar Askar 2017-08-09 12:31:34 -0400
  • 304f08bf8c Configure Travis to use "dist: precise" to allay build errors. joo 2017-08-09 17:04:03 +0100
  • 61b07f52f2 better packet names to match new packet structure TheSnoozer 2017-08-09 10:14:29 +0200
  • 64cf23436b the class 'Type' needs to have '__slots__ = ()', otherwise every instance of 'Position' will have an unnecessary empty '__dict__' allocated TheSnoozer 2017-08-09 10:07:40 +0200
  • 2f0dbf5cbb fix flake error as suggested TheSnoozer 2017-08-08 23:49:20 +0200
  • 7eef61bfde use 'zlib.decompressobj' to handle the 'faulty' compression correctly as suggested in https://github.com/ammaraskar/pyCraft/pull/68 TheSnoozer 2017-08-08 20:29:25 +0200
  • 0c64623696 fix wrong import; note we don't need to consider legacy import inside the packets module since this packet just got added before the structure changed TheSnoozer 2017-08-08 20:27:40 +0200
  • ab71aeeb7d Revert "deal with faulty compression's" TheSnoozer 2017-08-08 20:09:04 +0200
  • 346b3081ec fix broken tests TheSnoozer 2017-08-08 16:22:56 +0200
  • 4a508f935b use namedtuple for position type and use it as subclass for ClientExplosion.Record TheSnoozer 2017-08-08 15:26:04 +0200
  • 8552c6efe5 regorganize packet structure as outlined in https://github.com/ammaraskar/pyCraft/pull/68 TheSnoozer 2017-08-08 15:07:33 +0200
  • f8781c19c8 The packet IDs of Entity Velocity (0x3E), Update Health (0x41), Combat Event (0x2D), and Client Status (0x03) changed in [protocol 336 (snapshot 17w31a)](http://wiki.vg/index.php?title=Pre-release_protocol&oldid=13265) TheSnoozer 2017-08-08 10:31:30 +0200
  • 6137436d03 feedback: add write method TheSnoozer 2017-08-05 14:23:03 +0200
  • 5349ff2730 feedback: we can use enum since subclass packets do no vary depending on the type id TheSnoozer 2017-08-05 14:06:19 +0200
  • d8fc742862 feedback: pass x, y, z as arguments since types classes are supposed to abstract away the python types and sending them over the network and calling an encode method before sending breaks that a little. TheSnoozer 2017-08-05 14:04:27 +0200
  • 9ab2e1ae69 fix tox -e pylint-errors TheSnoozer 2017-08-05 01:52:03 +0200
  • fdb5a0bb72 fix tox -e flake TheSnoozer 2017-08-05 01:49:16 +0200
  • cc466bb0ea fixed an issue with mc 1.8.8 where velocity is not being sent and self.data is negative TheSnoozer 2017-08-03 00:51:41 +0200
  • 6fbf75203c add Multi Block Change (client bound) TheSnoozer 2017-08-02 17:53:51 +0200
  • 93227e26fa add Block Change Packet (client bound) TheSnoozer 2017-08-02 16:21:00 +0200
  • ca30ff2e74 add spawn object (client bound) TheSnoozer 2017-08-01 23:28:46 +0200
  • 3ad5d1abd5 add Explosion Packet (client bound) TheSnoozer 2017-07-31 23:11:38 +0200
  • 81f2ae4070 add Combat Event Packet (client bound) TheSnoozer 2017-07-31 21:49:21 +0200
  • fecb1d10e9 add Client Status Packet and allow client to respawn when issuing '/respawn' TheSnoozer 2017-07-31 14:34:03 +0200
  • 0dc333237b add Update Health Packet (client bound) TheSnoozer 2017-07-31 11:21:46 +0200
  • 6f52ceac0d add Entity Velocity Packet (client bound) TheSnoozer 2017-07-31 10:53:10 +0200
  • 9caff502ca add ClientSpawnPlayer packet TheSnoozer 2017-07-31 09:50:07 +0200
  • 42ede3f83d deal with faulty compression's TheSnoozer 2017-07-31 01:02:02 +0200
  • 82a5dd0cdb better packet names to match new packet structure TheSnoozer 2017-08-09 10:14:29 +0200
  • f77b446095 the class 'Type' needs to have '__slots__ = ()', otherwise every instance of 'Position' will have an unnecessary empty '__dict__' allocated TheSnoozer 2017-08-09 10:07:40 +0200
  • f020d0f814 fix flake error as suggested TheSnoozer 2017-08-08 23:49:20 +0200
  • 62e265a8c4 use 'zlib.decompressobj' to handle the 'faulty' compression correctly as suggested in https://github.com/ammaraskar/pyCraft/pull/68 TheSnoozer 2017-08-08 20:29:25 +0200
  • 4896ff4e9e fix wrong import; note we don't need to consider legacy import inside the packets module since this packet just got added before the structure changed TheSnoozer 2017-08-08 20:27:40 +0200
  • 07641cd12b Revert "deal with faulty compression's" TheSnoozer 2017-08-08 20:09:04 +0200
  • 7110fc8b22 fix broken tests TheSnoozer 2017-08-08 16:22:56 +0200
  • c8c5c5c6f5 use namedtuple for position type and use it as subclass for ClientExplosion.Record TheSnoozer 2017-08-08 15:26:04 +0200
  • c197f84f9d regorganize packet structure as outlined in https://github.com/ammaraskar/pyCraft/pull/68 TheSnoozer 2017-08-08 15:07:33 +0200
  • 3ad95d512d The packet IDs of Entity Velocity (0x3E), Update Health (0x41), Combat Event (0x2D), and Client Status (0x03) changed in [protocol 336 (snapshot 17w31a)](http://wiki.vg/index.php?title=Pre-release_protocol&oldid=13265) TheSnoozer 2017-08-08 10:31:30 +0200
  • d69400e32f feedback: add write method TheSnoozer 2017-08-05 14:23:03 +0200
  • 82c77b23b6 feedback: we can use enum since subclass packets do no vary depending on the type id TheSnoozer 2017-08-05 14:06:19 +0200
  • 6b85729be3 feedback: pass x, y, z as arguments since types classes are supposed to abstract away the python types and sending them over the network and calling an encode method before sending breaks that a little. TheSnoozer 2017-08-05 14:04:27 +0200
  • 01761d4e0c fix tox -e pylint-errors TheSnoozer 2017-08-05 01:52:03 +0200
  • 60b14ba58b fix tox -e flake TheSnoozer 2017-08-05 01:49:16 +0200
  • 153def4a0e fixed an issue with mc 1.8.8 where velocity is not being sent and self.data is negative TheSnoozer 2017-08-03 00:51:41 +0200
  • dc7e00d6bc add Multi Block Change (client bound) TheSnoozer 2017-08-02 17:53:51 +0200
  • 320d24ab91 add Block Change Packet (client bound) TheSnoozer 2017-08-02 16:21:00 +0200
  • fb997099f3 add spawn object (client bound) TheSnoozer 2017-08-01 23:28:46 +0200
  • 7690eef2d2 add Explosion Packet (client bound) TheSnoozer 2017-07-31 23:11:38 +0200
  • 226254630e add Combat Event Packet (client bound) TheSnoozer 2017-07-31 21:49:21 +0200
  • b64d9520c2 add Client Status Packet and allow client to respawn when issuing '/respawn' TheSnoozer 2017-07-31 14:34:03 +0200
  • 8d8395b5d5 add Update Health Packet (client bound) TheSnoozer 2017-07-31 11:21:46 +0200
  • 5fb22b1eb5 add Entity Velocity Packet (client bound) TheSnoozer 2017-07-31 10:53:10 +0200
  • 51bad31cf7 add ClientSpawnPlayer packet TheSnoozer 2017-07-31 09:50:07 +0200
  • 357340e6dc deal with faulty compression's TheSnoozer 2017-07-31 01:02:02 +0200
  • 89a1bfb796 Update README.rst joo 2017-08-04 16:15:55 +0100
  • 9e7e75f9a7 Increment package version to 0.5.0. 1.12.1 joo 2017-08-03 19:08:36 +0100
  • 33cd42848e Add version data for Minecraft 1.12.1 (protocol 338). joo 2017-08-03 18:48:36 +0100
  • 5aa2d3df59 Add support for Minecraft 17w31a and 1.12.1-pre1 (protocols 336 and 337). joo 2017-08-03 18:31:00 +0100
  • cf464d2da2 Add compression tests to test_connection. joo 2017-08-03 13:04:47 +0100
  • cab8d56746 Revert "Remove unnecessary fileno method from FileObjectWrapper" This partially addresses issue #65. joo 2017-07-18 13:33:16 +0100
  • f450ef5ff4
    Add test for reactors Ammar Askar 2017-07-16 20:02:50 -0700
  • d686b6487f
    Add testing for MapPacket Ammar Askar 2017-07-16 15:17:11 -0700
  • 5b261b840e
    Refactor out the action of writing out the packet header. Ammar Askar 2017-07-16 13:38:04 -0700
  • 4ce8c7f6ca
    Fix flake errors in test file Ammar Askar 2017-07-16 02:53:52 -0700
  • 8859e0f7bf
    Add test coverage for PlayerList packet Ammar Askar 2017-07-16 02:42:16 -0700
  • da967a4e56
    Minor coverage improvement for packets Ammar Askar 2017-07-16 01:14:18 -0700
  • c87d7bc6f3
    Remove unnecessary fileno method from FileObjectWrapper Ammar Askar 2017-07-16 01:03:47 -0700
  • d8226d266f
    Improve tests of types.py Ammar Askar 2017-07-16 01:00:14 -0700
  • ca4fd6680e
    Connect to localhost instead of the socket's binding address. Ammar Askar 2017-07-16 00:19:30 -0700
  • 2cf1d3cb03 Fix incorrect packet ID for PlayerPositionAndLookPacket. Fix: PlayerPositionAndLookPacket.apply() does not correctly restrict angles. joo 2017-07-03 10:32:46 +0100
  • 991f0b3da6 Increment package version to 0.4.0. 1.12 joo 2017-06-09 09:25:56 +0100
  • 5b5f36048c Update README.rst. joo 2017-06-08 06:52:46 +0100
  • ece5fd903d Fix incorrect packet ID for MapPacket. joo 2017-06-08 06:10:40 +0100
  • 8d1dcec3e2 Add version data for Minecraft 1.12 (protocol 335). joo 2017-06-07 22:06:01 +0100
  • bcf22b8312 Add version data for Minecraft pre-release 1.12-pre7 (protocol 334). joo 2017-06-02 21:32:11 +0100
  • 0cc96f7dc5 Add version data for Minecraft pre-release 1.12-pre6 (protocol 333). joo 2017-05-29 17:31:04 +0100
  • b7290cf327 Add support for Minecraft pre-release 1.12-pre5 (protocol 332). joo 2017-05-20 04:17:52 +0100
  • a1570bd3a9 Add version data for Minecraft pre-releases 1.12-pre3 and 1.12-pre4 (protocols 330 and 331). joo 2017-05-19 12:22:42 +0100
  • 3f4571d9e9 Update testing configuration: (1) Add py35 job to Travis. (2) To address issue #57: run tests that connect to Mojang's auth server exactly once, during the py35 job. (3) Measure coverage exactly once, during the py35 job; always submit the result to coveralls. (4) Fix miscellaneous errors in generate_travis_yml.py. joo 2017-05-19 11:58:14 +0100
  • 19cdf80952 Require cryptography>=1.5 -- see issue #60. joo 2017-05-19 10:43:51 +0100
  • 028ef3f802 Add version data for Minecraft pre-release 1.12-pre2 (protocol 329). joo 2017-05-12 00:52:31 +0100
  • 0d42c18211 Add version data for Minecraft pre-release 1.12-pre1 (protocol 328). joo 2017-05-11 10:16:11 +0100
  • 0ffb08327a Add version data for Minecraft snapshot 17w18b (protocol 327). Nigel Todman 2017-05-05 03:11:59 -0400
  • 3115778bde Added 17w18a Nigel Todman 2017-05-05 02:43:19 -0400
  • 0fccbc4f80 Merge pull request #1 from ammaraskar/master Nigel Todman 2017-05-05 02:42:01 -0400
  • 623d2f00c9 Merge pull request #58 from Veritas83/patch-1 joo 2017-05-04 06:06:33 +0100
  • 5805d6e476 Added 17w18a Nigel Todman 2017-05-03 23:23:19 -0400
  • e2c4c97ea5 Add version data for Minecraft snapshots 17w16a-17w17b (protocols 322-325). joo 2017-04-28 19:48:27 +0100
  • a77092572c Update README.rst joo 2017-04-17 11:07:22 +0100