Dylan K. Taylor
8cd31c2dc4
Fixed crashes starting RCON
2017-06-21 18:15:57 +01:00
Dylan K. Taylor
86742fcf30
Workaround for flight controls fail on teleport (TODO: fix this properly)
2017-06-20 20:10:20 +01:00
Dylan K. Taylor
4341fb8347
AddEntityPacket's attributes encoding is still non-standard -_-
...
I thought they fixed this...
2017-06-11 18:09:58 +01:00
Dylan K. Taylor
789df942b6
Don't try to order packets sent with immediate priority, fixes #1026
2017-06-11 13:04:43 +01:00
Dylan K. Taylor
61b857a81c
Fixed ExplodePacket
...
fixed-float my ass!
2017-06-10 19:54:04 +01:00
Dylan K. Taylor
2024e9ecdf
Fixed extremely stupid zero-length bug in BinaryStream
...
pls don't kill me 😢
2017-06-10 18:33:54 +01:00
Dylan K. Taylor
78c09267e5
Typehinted things in BinaryStream, sorted some methods and related bugfixes
2017-06-07 13:53:10 +01:00
Dylan K. Taylor
51b0673b4b
Bite the bullet and enable strict types on everything
2017-06-07 12:53:16 +01:00
Dylan K. Taylor
b9a87ed147
New fields for InventoryActionPacket
...
TODO: use this packet
2017-06-05 20:04:20 +01:00
Dylan K. Taylor
742f593758
Added a new constant to ContainerSetContentPacket
2017-06-05 19:15:30 +01:00
Dylan K. Taylor
1e9ff44890
New field for MobEquipmentPacket
...
If anyone wants to play with the off-hand, the window ID is 0x77 ;)
2017-06-05 19:10:00 +01:00
Dylan K. Taylor
55c4e35407
Added a new PlayerActionPacket constant
...
thanks @jojoe77777
2017-06-05 18:37:53 +01:00
Dylan K. Taylor
54453d0b0a
Refactored entity IDs in packets for consistency and to clarify on types
2017-06-05 15:41:27 +01:00
Dylan K. Taylor
4cd97a7c7a
Fixed UpdateAttributesPacket not being registered for reading
2017-06-05 14:14:50 +01:00
Dylan K. Taylor
2b02fcfe2c
fixed #992
2017-06-04 16:54:35 +01:00
Dylan K. Taylor
138fb88431
More default packet fields
2017-06-04 14:53:31 +01:00
Dylan K. Taylor
5baf59ca56
fix #990
2017-06-03 20:25:24 +01:00
Dylan K. Taylor
902957cb53
more defaults for optional fields, close #985
2017-06-03 17:41:40 +01:00
Dylan K. Taylor
3463bea932
add defaults to MobEffectPacket
...
these fields may be unspecified if we are only removing effects
2017-06-03 15:21:24 +01:00
Dylan K. Taylor
22ba017965
Binary strict types ( #969 )
...
* Some Binary cleanup, type-hints and strict types
yes, I know this is very crashy... that's good, because it highlights unexpected behaviour
* added some default values
2017-06-03 09:39:45 +01:00
Dylan K. Taylor
8bb0e8d398
Fixed a mistake in DropItemPacket encode
2017-06-02 17:52:10 +01:00
Dylan K. Taylor
e4e4ef5f2a
Fixed preprocessor issues with signed bytes and floats, close #967
2017-06-02 12:50:48 +01:00
Dylan K. Taylor
2db6ea6b18
Updated creative inventory data
...
some items will show wrong damage values due to a bug in meta handling on master
2017-06-02 11:00:36 +01:00
Dylan K. Taylor
b6ae92e1a7
Updated crafting data and item serialization for 1.1, fixed #963
2017-06-02 10:36:14 +01:00
Dylan K. Taylor
846e3b6f1e
New fields for StartGamePacket
2017-06-01 19:48:06 +01:00
Dylan K. Taylor
0e525ac1c3
Autogenerated data for 1.1.0.55
2017-06-01 19:24:17 +01:00
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
77b1b565a4
Stop silently blocking people
2017-05-19 12:11:40 +01:00
Dylan K. Taylor
36c95660e6
Fixed some logic issues with async compression
2017-05-19 11:30:23 +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