b4a149cce8
Fix some issues with entities in leveldb worlds
2017-07-02 13:37:30 +01:00
70bd9afd37
Updated leveldb implementation to support MCPE 1.1 worlds
2017-06-30 09:11:26 +01:00
56dfa7d000
Added some debug for ChunkRequestTask
2017-06-29 11:31:28 +01:00
390df00966
Remove useless condition
2017-06-29 10:38:24 +01:00
a365c831a8
Fixed some doc problems
2017-06-25 12:07:28 +01:00
0f79b19fdc
Removed masks for Y coordinates, fixed bugs related to out-of-bounds coordinates, fixed #914 ( #915 )
2017-06-21 10:55:38 +01:00
a4b8dd43e6
Removed useless confusing array indices in CompoundTag constructors ( #1116 )
2017-06-20 12:11:24 +01:00
e11f1e94e9
Cleaned up SubChunk implementation
2017-06-19 15:40:31 +01:00
8919d4a372
Some refactoring to allow for light updates to be executed asynchronously
2017-06-17 17:38:47 +01:00
8fc38c36f9
Fixed some derp Vector3 aliases
2017-06-16 13:48:53 +01:00
4765242397
Drop support for 32 bit systems/PHP ( #984 )
...
* Cutting out 32-bit and minor improvements to bootstrap
* Byeeeeee
* Removing legacy code
* added note to the issue template
as suggested by @xxFlare
2017-06-10 16:11:28 +01:00
3687b149b9
Fix a couple of bugs exposed by php 7.2.0alpha1
2017-06-10 14:51:28 +01:00
7870a8672e
Remove useless duplicate check
2017-06-09 16:02:30 +01:00
a302b4988f
Fixed bad values assigned to LongTags
...
PhpStorm you bitch... why didn't you tell me these were a problem?!
2017-06-08 19:28:29 +01:00
890f72dbf2
Type-hinted NBT tag constructors, made getValue() and setValue() more strict, fix dozens of assorted related bugs
2017-06-08 19:17:52 +01:00
4a7abb7033
Fix flat worlds crashing when generating
2017-06-08 13:47:13 +01:00
75863e2a44
OCD commit
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
7c14ffbcfa
More type fixes
2017-06-07 12:54:12 +01:00
db93827650
Fix world saving
2017-06-07 12:54:12 +01:00
51b0673b4b
Bite the bullet and enable strict types on everything
2017-06-07 12:53:16 +01:00
f0d12a0b30
Implemented asVector3(), asPosition() and asLocation()
...
Squash merge, closes #973
2017-06-07 16:40:45 +08:00
87e54d7a3a
Send block updates in batches
2017-06-06 11:40:30 +01:00
29e88d8592
Send area broadcasted packets in batches
...
- I don't know why it wasn't done like this to start with
- This provides a significant lightening of workload for large servers with lots of players in the same area because packets are only compressed once instead of for each player.
- Improves client-sided performance receiving these in batches instead of being spammed with many individual packets.
2017-06-05 23:39:16 +01:00
54453d0b0a
Refactored entity IDs in packets for consistency and to clarify on types
2017-06-05 15:41:27 +01:00
26577d9d5b
fixed a doc warning
2017-06-04 14:37:06 +01:00
2f4943ac90
Fixed some doc issues
2017-06-04 14:27:30 +01:00
4666560731
Removed some tags that don't exist in vanilla McRegion chunks
2017-06-04 13:04:06 +01:00
4ba3a3af3d
fix FloatingTextParticle
2017-06-03 20:51:48 +01:00
8779259734
Stop spawning entities to players twice
...
This will be done when the chunk is sent to the player anyway.
2017-05-29 15:57:05 +01:00
af06d78725
Merge changes from master
2017-05-24 09:54:11 +01:00
8cc1003956
Fixed FloatingTextParticle
2017-05-24 07:37:11 +01:00
0207b22110
Fixed Mojang world converters barfing on PocketMine-MP generated McRegion worlds
...
blame @shoghicp
2017-05-21 12:44:42 +01:00
905d3f1610
Only save batch buffer when compressing chunks
...
faster due to not needing to serialize, and reduces memory footprint of caching
2017-05-18 19:46:20 +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
046f17c9e2
Merge branch 'master' into mcpe-1.1
2017-05-08 17:43:09 +01:00
50f7d04044
Import cleanup
2017-05-07 16:55:10 +01:00
c383c7b0dd
Found an unknown field in LevelSoundEventPacket
2017-05-05 18:34:52 +01:00
8a7259aa73
Merge #826 : use getEffectLevel() instead of getAmplifier() + 1
...
Closes #412
2017-05-05 19:01:04 +08:00
56306f6636
Merge branch 'master' into mcpe-1.1
2017-05-04 21:15:49 +01:00
13fd8b681e
Added some sounds, fixed DestroyBlockParticle wrong particles for blocks with different meta values
2017-05-04 16:50:13 +01:00
eaef2bd169
Fixed some inspections
2017-05-04 12:19:50 +01:00
7aeb3129ac
Merge conflict resolution
2017-04-27 14:27:29 +01:00
2a59977440
Added various checks for region file validity ( #393 )
...
Check size, check header size, check location table offsets point to valid locations, check for shared offsets, prevent issues with corrupted or junk data
2017-04-27 09:14:02 +01:00
7a2ed232cc
Merge branch 'api3/network' into api3/network-mcpe-1.1
2017-04-24 13:56:19 +01:00
559504225a
Throw an exception before calling base entity constructor if skin is not set or invalid, close #835 ( #855 )
2017-04-24 09:50:55 +01:00
179210aa27
Merge branch 'api3/network' into api3/network-mcpe-1.1
2017-04-21 22:50:14 +01:00
6ece57e23e
Merge changes from master
2017-04-21 22:48:18 +01:00