Commit Graph

301 Commits

Author SHA1 Message Date
Dylan K. Taylor
93e149e91c Rewiring release-item action to fix bows 2017-08-20 22:14:31 +01:00
Dylan K. Taylor
159b2e3d5e Merge branch 'master' into mcpe-1.2 2017-08-19 21:42:33 +01:00
Dylan K. Taylor
e0307411da Cleaned up PlayerList handling 2017-08-19 19:36:15 +01:00
Encritary
bedfca8698 Fix some type errors on custom ExplodePacket use (#1297) 2017-08-19 08:16:10 +01:00
Dylan K. Taylor
e15eefc58f ... 2017-08-18 13:58:33 +01:00
Dylan K. Taylor
8853452feb Updated for 1.2.0.18 2017-08-18 12:36:04 +01:00
Dylan K. Taylor
eda2473e78 New LevelEventPacket constants 2017-08-16 12:53:53 +01:00
Dylan K. Taylor
5fc50aeda5 Found an unknown field in StartGamePacket 2017-08-16 10:10:42 +01:00
Dylan K. Taylor
9be1b929a5 Added PhpDoc for packet field types and changed float x,y,z to Vector3 2017-08-13 20:02:07 +01:00
Dylan K. Taylor
6480f7a989 Found an unknown field in TextPacket and added some docs 2017-08-13 18:20:06 +01:00
Dylan K. Taylor
1576a79644 more packets 2017-08-13 17:43:33 +01:00
Dylan K. Taylor
02cbf800d0 Added encode/decode for ModalFormResponsePacket 2017-08-12 19:33:16 +01:00
Dylan K. Taylor
8958b3c51c Many many changes related to inventory transactions, fixed item dropping, fixed creative menu 2017-08-11 19:57:30 +01:00
Dylan K. Taylor
c1ff7bbef4 Added creative-inventory magic slot numbers and renamed some constants 2017-08-11 12:31:11 +01:00
Dylan K. Taylor
74ee94b385 Duct tape for inventory transactions, removed ContainerSetSlotPacket 2017-08-10 20:05:15 +01:00
Dylan K. Taylor
5208ad885c Added crafting use-ingredient fake transaction source 2017-08-10 18:42:14 +01:00
Dylan K. Taylor
51be88c698 Fixed AdventureSettings not working 2017-08-10 13:01:20 +01:00
Dylan K. Taylor
0dc8362536 Added custom player permission level 2017-08-10 11:34:34 +01:00
Dylan K. Taylor
9bae4d8ef6 updates for 1.2.0.11 2017-08-10 11:15:23 +01:00
Dylan K. Taylor
bb4808c23e attacking entities working
just moved some code :P
2017-08-10 10:49:14 +01:00
Dylan K. Taylor
590003d7c1 Fixed PlayerListPacket 2017-08-09 19:51:39 +01:00
Dylan K. Taylor
75644b5df2 s/windowid/windowId 2017-08-08 12:37:26 +01:00
Dylan K. Taylor
3ad1b1ba7f Added some ContainerSetDataPacket constants 2017-08-08 12:19:11 +01:00
Dylan K. Taylor
7958fffa07 Move some code around to fix block placing, breaking, and throwing snowballs 2017-08-07 12:28:07 +01:00
Dylan K. Taylor
d9da9accbc Fix packet buffers when encoding twice 2017-08-06 17:21:52 +01:00
Dylan K. Taylor
49506659e0 More constants 2017-08-06 17:21:51 +01:00
Dylan K. Taylor
7886918140 Cleaned up some bad code in DataPacket, added encode/decodeHeader and made encode/decodePayload protected 2017-08-06 17:21:51 +01:00
Dylan K. Taylor
8a151dc373 Fixed PlayerSkinPacket for 1.2.0.7 2017-08-06 17:21:51 +01:00
Dylan K. Taylor
58a12fdfa3 Updated for 1.2.0.7 2017-08-06 17:21:51 +01:00
Dylan K. Taylor
50dffeb6a1 Day 3, part 1 2017-08-06 17:21:51 +01:00
Dylan K. Taylor
63d2b341b9 Day 2 2017-08-06 17:21:51 +01:00
Dylan K. Taylor
77cd8e7799 More broken mess to spawn 1.2 2017-08-06 17:21:51 +01:00
Dylan K. Taylor
8a02dbb15a fix crash when var_dumping packets 2017-08-03 08:47:10 +01:00
Dylan K. Taylor
306bf7be5f Moved dimension id constants to their own interface (PHP needs enums) 2017-07-31 16:38:01 +01:00
Dylan K. Taylor
0b47324fe3 Add some constants to AnimatePacket 2017-07-31 16:03:45 +01:00
Dylan K. Taylor
3e141afe48 Exposed LoginPacket chain data to allow plugins to access this data 2017-07-29 14:27:16 +01:00
Dylan K. Taylor
f32e880542 Fixed really dumb copy bug breaking crafting 2017-07-22 12:04:52 +01:00
Dylan K. Taylor
6de8415c79 Merge network refactors 2017-07-14 13:04:02 +01:00
Dylan K. Taylor
2a7b736f18 Heap of bugfixes, cleanup and PHP 7 upgrades 2017-07-13 19:18:56 +01:00
Dylan K. Taylor
3a214b7ce6 Cleaned up isEncoded mess 2017-07-13 12:21:26 +01:00
Dylan K. Taylor
6341d3a0dc don't break the preprocessor 2017-07-13 12:09:03 +01:00
Dylan K. Taylor
72d1948f30 Improved batch handling 2017-07-13 12:04:47 +01:00
Dylan K. Taylor
5283975f20 Move inventory ID constants to their own interface
ContainerSetContentPacket will be removed in 1.2, and these aren't specific to ContainerSetContentPacket anyway.
2017-07-12 20:04:36 +01:00
Dylan K. Taylor
a5c6c8b973 Added some fields to new packets
gave up on EventPacket because it's a mess, and StructureBlockUpdate is a job all by itself
2017-07-12 19:31:20 +01:00
Dylan K. Taylor
4731bf0a16 Fix autogenerated version numbers (didn't mean to commit this)
I'm working with a beta version >_>
2017-07-12 16:36:04 +01:00
Dylan K. Taylor
30df0c2418 Refactor a bunch of network-related things for easier auto-generation of protocol stuff 2017-07-12 16:32:39 +01:00
Dylan K. Taylor
6bcc8cea8e Fixed BossEventPacket breaks, now shut up and go away 2017-07-11 15:32:46 +01:00
Dylan K. Taylor
2726f2a011 Solved packet encode/decode boilerplate code issue
Something as simple as forgetting the reset() when encoding would cause lots of problems which could go unnoticed. This should be fully backwards-compatible but needs more tests.
2017-07-07 13:59:09 +01:00
Dylan K. Taylor
1493cde07f Added pause-game LevelEvent constant 2017-07-05 17:51:53 +01:00
Dylan K. Taylor
4a7c40edd5 ExplodePacket records have a signed Y coordinate -_- 2017-06-26 23:09:20 +01:00