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
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
90f1efc667
Found use of extra bytes in Item serialization
...
No idea why these are separate from the NBT data, but this is what they do.
2017-04-02 19:29:14 +01:00
Dylan K. Taylor
f7e959d602
Fixed inventory crash, fixed crafting
2017-04-02 10:58:39 +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
f75cc93160
HOW did nobody notice this?!
2017-04-01 14:08:02 +01:00
Dylan K. Taylor
b24d516eda
Send TransferPacket with immediate priority, should fix #497
2017-04-01 10:40:05 +01:00
Dylan K. Taylor
845b124f89
Stop autosaving players who haven't joined yet, close #494
2017-03-31 20:33:15 +01:00
Dylan K. Taylor
16972bf9a5
Fix issues with writing negative numbers as non-zigzag varints, close #493
2017-03-31 18:59:40 +01:00
Dylan K. Taylor
87a52a4f35
Fixed yet another crash when level-settings.always-tick-players is set to true
2017-03-31 16:09:40 +01:00
Dylan K. Taylor
7f838a8c36
Fixed crashes due to adding players 'online' far too early, fixed some Player save logic
2017-03-31 13:45:28 +01:00
Dylan K. Taylor
b5f473a3df
Throw an exception when attempting to tick closed Levels
2017-03-31 13:14:05 +01:00
Dylan K. Taylor
40a6f4dee9
Elevated level close check to exception level
...
As an assertion, this will crash on save if the level is already closed due to the provider being null.
2017-03-30 19:41:42 +01:00
Dylan K. Taylor
69ac80518c
some improvements to the horrendous mess that is the handling of joining and quitting, fixed some crashes, probably caused some other crashes
...
I can't fix this completely because it's just too much of a fucking mess. NEED to separate network stuff from Player.
2017-03-30 19:33:47 +01:00
Dylan K. Taylor
45e5b6b04c
Do not subscribe to broadcast permissions until the player spawns
...
This is unnecessary since the player won't see any messages sent before they spawn anyway. This was also causing an occasional client-sided crash due to TextPackets being sent to players at bad times during the login sequence.
2017-03-30 16:29:18 +01:00
Dylan K. Taylor
cb059ea713
fix some PhpStorm inspections
2017-03-30 12:10:59 +01:00
Dylan K. Taylor
6b747f9272
Added basic API for working with titles
2017-03-29 20:02:16 +01:00
Dylan K. Taylor
3e76c3a6dd
Added handling for tile picking, added API for setting item lore
...
worked almost out of the box (some W10 equipment bugs though)
2017-03-28 18:47:51 +01:00
Dylan K. Taylor
52f2596dc5
Merge branch 'master' into api3/network
2017-03-28 12:27:40 +01:00
Dylan K. Taylor
2079e2fd88
Fixed entity visibility Player object memory leak, close #416
2017-03-28 12:26:02 +01:00
Dylan K. Taylor
217f66e180
Removed redundant method override leftover from 0.15
2017-03-28 12:25:54 +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
01440fb659
Fixed players receiving double SetEntityMotionPackets for themselves
2017-03-26 13:40:39 +01:00
Dylan K. Taylor
dda8c6cc8f
Removed a condition that's been useless almost since the beginning of PocketMine
...
This condition has been useless since before NBT was introduced to PocketMine.
If there was a use for it, it should have been placed BEFORE anything attempted to read from the NBT.
However, Server now handles bad data automatically now, so Server->getOfflinePlayerData() will never _not_ return a CompoundTag. Hence I've added a CompoundTag type-hint.
2017-03-26 13:20:46 +01:00
Dylan K. Taylor
1da870b298
Measure block break times in ticks instead of floating-point real-time
2017-03-26 10:36:19 +01:00
Dylan K. Taylor
7a36d80384
Fixed broken block-break timer logic causing creative players to be unable to remove fire after breaking blocks
...
This also causes some annoying issues with instabreak (false positives). Shoghi dude, this did _not_ fix those issues, only hid them and replaced them with different ones.
2017-03-26 10:36:19 +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
Dylan K. Taylor
4245274aec
Merge branch 'master' into api3/network
2017-03-25 21:26:46 +00:00
jasonwynn10
b9dfc7551a
Added Permission to bypass spawn protection, close #440 ( #451 )
2017-03-25 20:34:42 +00:00
Dylan K. Taylor
839a2ce07e
Merge branch 'patch-4' of https://github.com/SOF3/PocketMine-MP-Original
2017-03-25 16:58:46 +00:00
Dylan K. Taylor
34f833fa79
Do not save empty inventory slots
2017-03-25 12:02:09 +00:00
Dylan K. Taylor
c9cf3d5aa4
Throw an exception when something attempts to serialize Server ( #459 )
2017-03-25 10:33:05 +00:00
Dylan K. Taylor
5332887a0a
Fixed command name case sensitivity issue noted in #462
2017-03-25 10:26:06 +00:00
Dylan K. Taylor
5926bab323
Block light bug fixes ( #454 )
...
* Fixed an age-old light calculation bug causing solid blocks to filter their own light, fixed #375 , probably fixed #288
Light spread reduction should be done based on the _target's_ light filter level, not the source.
* Revert "Fix Glowing Obsidian lighting"
This hack is no longer necessary.
This reverts commit 35c33ba980887e9680d62bbcb65f8537bb063f2c.
* Fixed wrong light levels for torch and redstone torch
* Take adjacent light levels and opacity changes into account, block light will now spread when an obstruction is removed, close #455
* Added timings for Level->setBlock() and lighting updates
2017-03-24 17:56:26 +00:00
Dylan K. Taylor
0750b3ab59
Added pocketmine.yml option to disable the title ticker ( #447 )
...
This gets really spammy on some consoles when you stick it in the background, but I don't want to lose colour for the sake of that.
2017-03-24 16:03:10 +00:00
Dylan K. Taylor
96801be3d3
Fixed #453 multiple refs to the same cached NBT object tree
2017-03-23 11:40:49 +00:00
Dylan K. Taylor
2fb92c1c62
Fixed wrong constant value for EntityEventPacket::RESPAWN
2017-03-22 16:10:42 +00:00
Dylan K. Taylor
c040579e09
Fixed a mistake in spaced command handling
...
Nothing drastic, just a self-defeating line of code.
2017-03-21 15:11:48 +00:00
Dylan K. Taylor
9a35b4fbc8
Removed redundant TODO comment
2017-03-21 14:03:53 +00:00
Dylan K. Taylor
940b20c191
Implemented Absorption effect
...
This is a little buggy due to a client-sided bug. https://bugs.mojang.com/browse/MCPE-20520
TODO: add attribute save/restore
2017-03-21 13:23:57 +00:00
Dylan K. Taylor
c21768df26
Updated Effect constants, removed incorrect/misleading SWIFTNESS constant
...
So what? I'd rather crash plugins than have them suddenly behave strangely because SWIFTNESS is now an alias for SPEED instead of HASTE.
2017-03-21 11:49:18 +00:00
Dylan K. Taylor
2d927db264
Implemented Instant Health and Instant Damage effects
2017-03-21 11:38:08 +00:00
Dylan K. Taylor
a5a51fb9c5
Merge branch 'master' into api3/network_mcpe-1.0.5
2017-03-21 10:47:41 +00:00
Dylan K. Taylor
47f7af6739
Fixed usage reporting cannot be disabled
2017-03-20 21:26:20 +00:00
Dylan K. Taylor
b7a3230f73
Fixed botched effect override condition for equivalent amplifiers
2017-03-20 18:56:54 +00:00