Dylan K. Taylor
e96fa8b682
TODO: REVERT - Added a hack for InteractPacket spam issue
2017-06-12 19:50:31 +01:00
Dylan K. Taylor
bf3868c078
Missed one
2017-06-12 09:33:48 +01:00
Dylan K. Taylor
3167817e34
Fixed crash when memory hard limit is disabled, close #1074
2017-06-12 09:32:31 +01:00
Dylan K. Taylor
433b8369f5
Point updater to new host update.pmmp.io
2017-06-11 19:15:35 +01:00
Dylan K. Taylor
0612244b5e
Fixed warn-ops config being useless
2017-06-11 19:07:41 +01:00
Dylan K. Taylor
487233a101
Improved AutoUpdater error handling and made it more robust
2017-06-11 18:41:18 +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
9e99252817
Improved ListCommand and fixed crash when no players are online
...
I <3 closures
2017-06-11 10:56:16 +01:00
Dylan K. Taylor
75cc2d6914
Cleaned up Utils::getIP(), resolved strict-type issues, close #1062
2017-06-11 10:25:48 +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
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
Dylan K. Taylor
3687b149b9
Fix a couple of bugs exposed by php 7.2.0alpha1
2017-06-10 14:51:28 +01:00
Dylan K. Taylor
1aae9e03b6
Fixed reference parameter fail in UpdateCheckTask, close #1048
...
not sure _why_ this doesn't work... maybe something to do with the old property being a member of a threaded object?
2017-06-09 19:51:18 +01:00
Misteboss
c43ab12a9a
Fix spawnForced not specified in SetSpawnPositionPacket, close #1046 ( #1047 )
...
* Fix #1046
* Change spawnForced to false
2017-06-09 18:12:57 +01:00
Dylan K. Taylor
cd66f58526
Restrict XpSeed to the bounds of an int32, close #1040
2017-06-09 16:05:28 +01:00
Dylan K. Taylor
7870a8672e
Remove useless duplicate check
2017-06-09 16:02:30 +01:00
Dylan K. Taylor
eac756470a
Fixed trying to save health as a ShortTag, close #1039
2017-06-09 09:11:02 +01:00
Dylan K. Taylor
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
Dylan K. Taylor
2193adf844
Removed auto-generated stub comments
2017-06-08 19:22:52 +01:00
Dylan K. Taylor
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
Dylan K. Taylor
595e1ab52f
Added Plugins section to the issue template ( #1034 )
...
* Added Plugins section to the issue template
* break it down a little
2017-06-08 18:26:53 +01:00
Dylan K. Taylor
4a7abb7033
Fix flat worlds crashing when generating
2017-06-08 13:47:13 +01:00
Dylan K. Taylor
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
Dylan K. Taylor
1f630e57f2
Fixed vine block update crashes, close #1032
...
The meta->side array was the wrong way round (keys & values inverted).
2017-06-08 09:32:38 +01:00
Dylan K. Taylor
cc1d1b0f45
Fix type error in Furnace due to useless floor(), close #1031
2017-06-08 09:12:58 +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
c445db421f
Fixed stupid bug in resource pack chunk counting, close #1028
2017-06-07 13:29:13 +01:00
Dylan K. Taylor
e18a3ac933
Fixed UUID-related issues
2017-06-07 13:11:03 +01:00
Dylan K. Taylor
75863e2a44
OCD commit
2017-06-07 12:54:12 +01:00
Dylan K. Taylor
5aea9220c9
Fixed chat and some TextContainer documentation issues
2017-06-07 12:54:12 +01:00
Dylan K. Taylor
bd7205dd64
PhpStorm doesn't understand variable class names :(
2017-06-07 12:54:12 +01:00
Dylan K. Taylor
82a63ed18e
Added an assert to shut PhpStorm up
2017-06-07 12:54:12 +01:00
Dylan K. Taylor
cf07af8b55
Fix some strict type violations reported by PhpStorm (strict types <3)
2017-06-07 12:54:12 +01:00
Dylan K. Taylor
b775e8c88a
Fix Achievement bug (thanks strict types <3)
...
as if nobody ever noticed this... LMAO
2017-06-07 12:54:12 +01:00
Dylan K. Taylor
51091fe87b
Fix player data saving
2017-06-07 12:54:12 +01:00
Dylan K. Taylor
7c14ffbcfa
More type fixes
2017-06-07 12:54:12 +01:00
Dylan K. Taylor
db93827650
Fix world saving
2017-06-07 12:54:12 +01:00
Dylan K. Taylor
c2186041d6
Fix TranslationContainer issue
2017-06-07 12:53:16 +01:00
Dylan K. Taylor
481114281e
Server starts!
2017-06-07 12:53:16 +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
606b9b687d
Fix level ticking errors (these methods return floats >_<)
2017-06-07 12:53:15 +01:00
Dylan K. Taylor
45618c7cfe
Enable strict types for Server and add a bunch of type-hints
2017-06-07 12:53:15 +01:00
Dylan K. Taylor
3f03d9e683
Fixed DevTools getting disabled when a plugin throws an exception during load ( #1025 )
2017-06-07 11:12:47 +01:00
Matt
f0d12a0b30
Implemented asVector3(), asPosition() and asLocation()
...
Squash merge, closes #973
2017-06-07 16:40:45 +08:00
Dylan K. Taylor
9cc27b2719
Force sync 'compression' under the batch threshold
...
Since we aren't actually compressing these anyway, only writing a checksum, sending these asynchronously causes strange bugs due to race conditions.
2017-06-06 11:40:41 +01:00
Dylan K. Taylor
87e54d7a3a
Send block updates in batches
2017-06-06 11:40:30 +01:00
Dylan K. Taylor
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
Dylan K. Taylor
c6e800cf42
Use compression level 0 when batch size is below threshold
...
This isn't free, because of the adler32 checksum... but it's much lighter on performance for small packets.
2017-06-05 22:05:46 +01:00