Dylan K. Taylor
57379b93ce
Fixed a mistake in metadata decoder
2017-05-27 14:18:40 +01:00
Dylan K. Taylor
954271b90f
Found unknown fields for SetSpawnPositionPacket
2017-05-27 13:13:19 +01:00
Dylan K. Taylor
af06d78725
Merge changes from master
2017-05-24 09:54:11 +01:00
Dylan K. Taylor
c5527db424
Be more clear about ProtocolInfo being automatically generated and add notice to not bother submitting PRs for changing version numbers ( #931 )
2017-05-21 13:58:01 +01:00
Dylan K. Taylor
aecff7c782
Revert "Improved handling of incompatible protocols"
...
This reverts commit 576702ffa97e16b1ca4cdee7d94460c661347ca7.
This crippled plugins which use data fromm LoginPacket :S
2017-05-21 13:27:27 +01:00
Dylan K. Taylor
fe8cb8cd86
Server->batchPackets() now only accepts DataPacket objects, fixed players receiving double PlayerListPackets with their own data
2017-05-17 17:15:42 +01:00
Dylan K. Taylor
a9afad10bc
BinaryStream no longer extends stdClass, fixed a couple of minor bugs
...
Seems :shoghi: used stdClass to silence IDEs, which before ALPHA5 would complain about myriad undefined fields due to lack of type checking (switch based on packet id 🤦 )
2017-05-15 19:28:39 +01:00
Dylan K. Taylor
b41fef0276
Fixed some field types
2017-05-15 16:38:02 +01:00
Dylan K. Taylor
fe3b5bac51
New fields for PlaySoundPacket and StopSoundPacket
2017-05-15 16:19:08 +01:00
Dylan K. Taylor
0a4d62b405
Added encode and decode methods for more packets
2017-05-15 15:56:59 +01:00
Dylan K. Taylor
b9ad0b99a5
Merge master into mcpe-1.1
2017-05-14 16:42:42 +01:00
Dylan K. Taylor
576702ffa9
Improved handling of incompatible protocols
...
Allow plugins to hack around incompatible protocol numbers 🙈
2017-05-14 16:15:15 +01:00
Dylan K. Taylor
69f64dd802
BossEventPacket
...
lots of stuff doesn't work (not implemented in MCPE, bug, or are we doing something wrong???)
2017-05-13 17:33:56 +01:00
Dylan K. Taylor
11169b0777
add ifndef for BatchPacket
2017-05-13 14:57:48 +01:00
Dylan K. Taylor
71af694cc1
Use getBool() more
2017-05-10 11:30:24 +01:00
Dylan K. Taylor
c51c8ae700
Standardised attributes encoding
2017-05-10 10:48:53 +01:00
Dylan K. Taylor
df577bddc2
Updated LevelSoundEventPacket constants (again)
2017-05-09 14:02:51 +01:00
Dylan K. Taylor
50f7d04044
Import cleanup
2017-05-07 16:55:10 +01:00
Dylan K. Taylor
c383c7b0dd
Found an unknown field in LevelSoundEventPacket
2017-05-05 18:34:52 +01:00
Dylan K. Taylor
702c129a97
Added basic support back for block-crack animations when breaking blocks
...
TODO: improve this to take stuff like swimming, ladders, enchanted tools into account, fix wrong tool break time calculations for bad tools (pmmp/PocketMine-MP#211 )
2017-05-05 09:40:55 +01:00
Dylan K. Taylor
56306f6636
Merge branch 'master' into mcpe-1.1
2017-05-04 21:15:49 +01:00
Dylan K. Taylor
18f1376c65
Added handling for punch-block player action, added block punch particles
2017-05-04 21:11:47 +01:00
Dylan K. Taylor
40f2d7fcdc
Updated LevelSoundEventPacket sound constants
2017-05-04 16:00:49 +01:00
Dylan K. Taylor
eaef2bd169
Fixed some inspections
2017-05-04 12:19:50 +01:00
Dylan K. Taylor
7f09a2a26e
Added Announcement type to TextPacket
2017-04-27 16:10:42 +01:00
Dylan K. Taylor
7aeb3129ac
Merge conflict resolution
2017-04-27 14:27:29 +01:00
Dylan K. Taylor
84ec944b6b
Use short class names for unhandled packet logging, added some documentation
2017-04-27 12:16:24 +01:00
Dylan K. Taylor
dc71eb5246
Protocol updates for 1.1.0.9
2017-04-27 11:24:49 +01:00
Dylan K. Taylor
bf9b8722c9
Cleaned up batching checks
2017-04-26 22:02:45 +01:00
Dylan K. Taylor
2f87dfdcb0
Merge branch 'master' into mcpe-1.1
2017-04-25 18:05:32 +01:00
Dylan K. Taylor
716efe2549
Fixed a stupid mistake in AddEntityPacket
2017-04-25 18:04:41 +01:00
Dylan K. Taylor
fcff6961a8
Bump for 1.1.0.8 and removed LoginPacket zlib hack
2017-04-22 11:10:13 +01:00
Dylan K. Taylor
db4027cdb2
New fields for MovePlayer and MoveEntity packets
2017-04-22 00:58:18 +01:00
Dylan K. Taylor
e22bb213af
Oops
2017-04-22 00:47:01 +01:00
Dylan K. Taylor
a356e36340
Autogenerated data for 1.0.7.0
...
Did they actually _change_ anything or just trying to keep it on par with the game version? >_<
2017-04-21 13:22:36 +01:00
Dylan K. Taylor
5ce860c2f5
Updated AnimatePacket with extra float handling
2017-04-20 15:39:12 +01:00
Dylan K. Taylor
6c5ca9b256
Protocol updates for 1.1.0.5
2017-04-20 13:54:55 +01:00
Dylan K. Taylor
c5eccc8e1c
Minor improvements to Batch encoding
2017-04-15 19:40:06 +01:00
Dylan K. Taylor
a327a74ece
Protocol changes for 1.1.0.3, fixed red sky, fixed crashes
2017-04-14 15:17:56 +01:00
Dylan K. Taylor
f3ab45e7d5
Merged in 1.0.6 changes, added autogenerated data for 1.1.0.3 (doesn't work yet) and deliberately made the same merge error as Mojang
2017-04-14 13:00:43 +01:00
Dylan K. Taylor
cdf6d200ef
More protocol changes for 1.1, fixed resource packs
2017-04-14 12:48:50 +01:00
Dylan K. Taylor
7c66af5994
"Fixed" resource packs
...
TODO: new fields
2017-04-12 11:54:47 +01:00
Dylan K. Taylor
172d7339f9
Autogenerated data for 1.0.6.52
2017-04-12 11:11:37 +01:00
Dylan K. Taylor
894beed59b
Removed time stopping fields from SetTimePacket and fixed #526
...
TODO: rules
2017-04-11 20:13:37 +01:00
Dylan K. Taylor
022f33b256
Fixed encoding of StartGamePacket, fixed world name not showing up in settings screen
2017-04-03 16:04:15 +01:00
Dylan K. Taylor
9c25ec3afd
Some protocol changes for 1.1.0.0
2017-04-01 19:20:30 +01:00
Dylan K. Taylor
e47c7ea55f
A bunch of really dirty hacks to get 1.1.0.0 working
...
Mojang: once again, what the hell have you done.
2017-04-01 19:18:15 +01:00
Dylan K. Taylor
07f32765ba
Merge branch 'api3/network_mcpe-1.0.5' into api3/network
2017-03-26 18:52:30 +01:00
Dylan K. Taylor
788bd6fc20
Fixed resource packs/login sequence fail, added basic safety restrictions for packet sending before clients are logged in
...
close #452
2017-03-26 14:42:23 +01:00
Dylan K. Taylor
bb79684480
Merge branch 'api3/network' into api3/network_mcpe-1.0.5
2017-03-25 21:31:48 +00:00