1a5e3b2ad0
Fixed outdated movement problem, fixed #1171
2017-07-06 10:40:03 +01:00
394f420059
Fixed chunks not loading when respawning and some minor spawn sequence cleanup ( #1153 )
...
* Fixed chunks not loading when respawning and some minor spawn sequence cleanup
* This causes too much unexpected behaviour to be useful
Revert "Make use of Mojang's pitch hack, close #821 "
This reverts commit c2dfef700f
.
* Removed delayed-teleport system and cleaned up movement reset for dead players
* Fixed health resetting to max when quitting and rejoining
2017-07-05 10:31:16 +01:00
d474f73665
Move base offset to Human from Player
...
fixes jojoe77777/Slapper#58
2017-07-03 19:58:07 +01:00
c2dfef700f
Make use of Mojang's pitch hack, close #821
2017-07-03 13:35:27 +01:00
82fd0e8d47
Added debug for view distance setting
2017-06-29 09:46:02 +01:00
d92a6240d8
Moved spawn check to sendChunk() instead of sendNextChunk(), fix #828
...
doesn't make sense to put it anywhere else regardless...
2017-06-27 13:36:26 +01:00
1dd8fc008b
Fixed players taking forever to spawn when generating a new world
2017-06-26 18:37:20 +01:00
ecfcf49984
Added basic encode/decode for gamerules data and added GameRulesChangedPacket
...
needed it for tests
Squashed:
oops
PhpStorm you asshole
2017-06-25 15:43:08 +01:00
c09a5ab301
Revert botched fix that broke teleports
...
Revert "Do chunk orders and sending during onUpdate() when we know the player has been constructed"
This reverts commit 080b35bf53
.
2017-06-21 17:51:16 +01:00
03826d9cbc
Fixed player spawnpoints glitching and not saving
2017-06-21 12:17:26 +01:00
080b35bf53
Do chunk orders and sending during onUpdate() when we know the player has been constructed
2017-06-21 11:54:05 +01:00
e9c46da7f0
Fixed glitching on respawn due to player 1.62 position offset
2017-06-21 11:27:50 +01:00
69ae37d191
Added no PvP flag for spectator mode, fixes nodamage sound in spectator
2017-06-21 09:42:26 +01:00
86742fcf30
Workaround for flight controls fail on teleport (TODO: fix this properly)
2017-06-20 20:10:20 +01:00
a4b8dd43e6
Removed useless confusing array indices in CompoundTag constructors ( #1116 )
2017-06-20 12:11:24 +01:00
a724395148
Added exception handling to Player->close(), mitigates #1060 and #1101
2017-06-19 13:37:38 +01:00
be7b057fa5
Improved metadata sending and made it less spammy
...
Add changed properties to a list to send in a group on tick in a single packet
2017-06-17 20:00:45 +01:00
8637e0224f
Check protocol version before anything else
2017-06-17 19:30:37 +01:00
0cf3914f5d
Player base offset doesn't change with scale, close #943 , close #945
2017-06-17 12:59:41 +01:00
e96fa8b682
TODO: REVERT - Added a hack for InteractPacket spam issue
2017-06-12 19:50:31 +01:00
0612244b5e
Fixed warn-ops config being useless
2017-06-11 19:07:41 +01:00
c43ab12a9a
Fix spawnForced not specified in SetSpawnPositionPacket, close #1046 ( #1047 )
...
* Fix #1046
* Change spawnForced to false
2017-06-09 18:12:57 +01:00
d358e13868
Strict type all the things and fix lots of assorted bugs exposed by strict types ( #993 )
...
Strict type all the things
2017-06-08 11:21:51 +01:00
78c09267e5
Typehinted things in BinaryStream, sorted some methods and related bugfixes
2017-06-07 13:53:10 +01:00
c445db421f
Fixed stupid bug in resource pack chunk counting, close #1028
2017-06-07 13:29:13 +01:00
5aea9220c9
Fixed chat and some TextContainer documentation issues
2017-06-07 12:54:12 +01:00
82a63ed18e
Added an assert to shut PhpStorm up
2017-06-07 12:54:12 +01:00
cf07af8b55
Fix some strict type violations reported by PhpStorm (strict types <3)
2017-06-07 12:54:12 +01:00
51091fe87b
Fix player data saving
2017-06-07 12:54:12 +01:00
7c14ffbcfa
More type fixes
2017-06-07 12:54:12 +01:00
c2186041d6
Fix TranslationContainer issue
2017-06-07 12:53:16 +01:00
51b0673b4b
Bite the bullet and enable strict types on everything
2017-06-07 12:53:16 +01:00
e83ffd5afe
Fixed players don't see teleport movement, close #921
2017-06-05 16:47:12 +01:00
54453d0b0a
Refactored entity IDs in packets for consistency and to clarify on types
2017-06-05 15:41:27 +01:00
efea39e0a4
Change buffer unread assertion to debug
...
I lost count of how many times I changed this now... what happened to the other times?
2017-06-04 19:19:50 +01:00
d4bb078566
Fixed some formatting issues in Player
2017-06-04 18:32:45 +01:00
2f4943ac90
Fixed some doc issues
2017-06-04 14:27:30 +01:00
087a994393
Workaround for some plugins crashing clients during PlayerLoginEvent
2017-06-02 17:06:01 +01:00
63358a8065
Merge branch 'master' into mcpe-1.1
2017-05-30 09:45:20 +01:00
0ad16c1919
Added PlayerDataSaveEvent, resolved #487 ( #920 )
...
* Added PlayerDataSaveEvent, resolved #487
* Added getPlayer() to PlayerDataSaveEvent
may return an IPlayer
* Fixed quit messages
This TranslationContainer vs. string mess... >_<
2017-05-29 18:50:45 +01:00
954271b90f
Found unknown fields for SetSpawnPositionPacket
2017-05-27 13:13:19 +01:00
af06d78725
Merge changes from master
2017-05-24 09:54:11 +01:00
23ed3334c2
added creative mode check for block picking
2017-05-23 16:26:29 +01:00
aecff7c782
Revert "Improved handling of incompatible protocols"
...
This reverts commit 576702ffa9
.
This crippled plugins which use data fromm LoginPacket :S
2017-05-21 13:27:27 +01:00
60f5c7ccef
Async chunk compression and serialization is now non-optional
2017-05-18 12:19:27 +01:00
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
0a4d62b405
Added encode and decode methods for more packets
2017-05-15 15:56:59 +01:00
b9ad0b99a5
Merge master into mcpe-1.1
2017-05-14 16:42:42 +01:00
576702ffa9
Improved handling of incompatible protocols
...
Allow plugins to hack around incompatible protocol numbers 🙈
2017-05-14 16:15:15 +01:00
4a9acf564c
Silence PlayerFallPacket unhandled spam
...
we're not using this packet
2017-05-13 19:26:57 +01:00