Dylan K. Taylor
a39f61a33d
Release 4.16.0-BETA1
4.16.0-BETA1
2023-03-04 16:18:01 +00:00
Dylan K. Taylor
aaec21f544
Compressor: Use minCompressionThreshold exclusively
...
closes #5589
2023-03-04 15:07:50 +00:00
Dylan K. Taylor
0fcd2e7894
Merge branch 'stable' into next-minor
2023-02-28 19:23:25 +00:00
Dylan K. Taylor
369e0855a7
Update composer dependencies
2023-02-28 19:17:46 +00:00
Dylan K. Taylor
a6cf39b94e
Update composer dependencies
2023-02-25 20:39:01 +00:00
dependabot[bot]
17afd38274
Bump phpstan/phpstan from 1.10.1 to 1.10.3 ( #5593 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 1.10.1 to 1.10.3.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/1.10.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.1...1.10.3 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 20:36:33 +00:00
dependabot[bot]
8f024cb382
Bump docker/build-push-action from 3.3.0 to 4.0.0 ( #5545 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 3.3.0 to 4.0.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v3.3.0...v4.0.0 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 20:04:34 +00:00
Dylan K. Taylor
e7209679fb
...
2023-02-24 22:23:00 +00:00
Dylan K. Taylor
da054736b1
Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable
2023-02-24 22:19:38 +00:00
Dylan K. Taylor
d92173cded
4.15.3 is next
2023-02-24 22:18:34 +00:00
Dylan K. Taylor
308cdb6863
Release 4.15.2
4.15.2
2023-02-24 22:18:34 +00:00
Dylan K. Taylor
ae50b952f1
Accept 1.19.63 (same protocol, different protocol version)
2023-02-24 22:15:58 +00:00
Dylan K. Taylor
f44946cb49
...
2023-02-23 22:00:24 +00:00
Dylan K. Taylor
f704bfb63a
Use BedrockData 2.0.0
2023-02-23 21:52:17 +00:00
Dylan K. Taylor
9acb4d64db
Added generated constants for available BedrockData files
...
this makes it easier to detect unused files, detect removed files, and also avoid typos in usages.
2023-02-23 21:45:12 +00:00
Dylan K. Taylor
8234360c8d
Avoid creating batch buffers just to determine whether a batch should be globally compressed
...
Instead, sum together the lengths of encoded packet buffers and use that to decide whether to build the buffer or not.
2023-02-22 22:43:10 +00:00
Dylan K. Taylor
6a64486f55
StandardPacketBroadcaster: Improve performance when broadcasting small packets
...
In refactors during PM4, I stripped out packet buffer caching, as it was problematic when events alter packets in undetectable ways.
However, I never cleaned this part of the code up properly after enabling DataPacketSendEvent to include multiple packets and multiple targets, so we were still individually encoding the packet(s) for every single session if the sum total of the sizes was below 256 bytes.
This change encodes packets once in the StandardPacketBroadcaster and retains their buffers to post to the session's send buffer directly if the resulting batch is below compression threshold.
This code is still not optimal (see ##5589), but fixing this brings broadcasting performance back to PM3 levels, without any of PM3's problems.
2023-02-22 21:52:12 +00:00
dependabot[bot]
6ec778d0af
Bump phpstan/phpstan from 1.9.18 to 1.10.1 ( #5588 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 1.9.18 to 1.10.1.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/1.10.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/1.9.18...1.10.1 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-22 13:47:54 +00:00
Dylan K. Taylor
75bb4f8da6
Merge branch 'stable' into next-minor
2023-02-21 18:32:58 +00:00
Dylan K. Taylor
efdd7a186d
World: fixed population timer sometimes not being stopped
2023-02-21 18:31:33 +00:00
Dylan K. Taylor
c4ecb3d128
Merge branch 'stable' into next-minor
2023-02-21 15:37:06 +00:00
Dylan K. Taylor
b574d49d36
4.15.2 is next
2023-02-21 15:23:25 +00:00
Dylan K. Taylor
47e9ecd257
Release 4.15.1
4.15.1
2023-02-21 15:23:25 +00:00
Dylan K. Taylor
799739fe86
Updated build/php submodule to pmmp/PHP-Binaries@b2207cf70d
2023-02-21 15:22:38 +00:00
Armen Deroian
59a04c971f
Getter and setter for gravity ( #5584 )
...
closes #5525
2023-02-21 15:01:22 +00:00
dependabot[bot]
168af31fd7
Bump phpstan/phpstan from 1.9.17 to 1.9.18 ( #5585 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 1.9.17 to 1.9.18.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/1.10.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/1.9.17...1.9.18 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 18:39:29 +00:00
Dylan K. Taylor
871bd169a8
Timings: remove unnecessary code
2023-02-19 17:58:12 +00:00
Dylan K. Taylor
4dbcd714bd
NetworkSession: fixed some segments of recv/send logic not being covered by their respective network timingsÂ
2023-02-19 17:21:10 +00:00
Dylan K. Taylor
d5e92b4ae6
...
2023-02-19 16:53:04 +00:00
Dylan K. Taylor
2a3288c4f9
Avoid useless throwaway PacketBatch objects
2023-02-19 16:50:03 +00:00
Dylan K. Taylor
9cdb641936
Added encode packet timings
...
these changes required some new APIs in BedrockProtocol.
2023-02-19 16:47:20 +00:00
Dylan K. Taylor
b56b35b10d
ItemEntity: fixed a bunch of suspicious logic in entityBaseTick()
...
closes #5580
2023-02-17 20:14:38 +00:00
Dylan K. Taylor
324bc27b5a
Merge branch 'stable' into next-minor
2023-02-17 19:59:28 +00:00
Dylan K. Taylor
71aad310c6
stfu
2023-02-17 16:39:46 +00:00
Dylan K. Taylor
38828e2b42
4.15.1 is next
2023-02-17 16:37:34 +00:00
Dylan K. Taylor
9a6d7b505c
Release 4.15.0
4.15.0
2023-02-17 16:37:34 +00:00
Dylan K. Taylor
1e3b025916
1.19.62
2023-02-17 16:36:32 +00:00
Dylan K. Taylor
396d64c60b
4.14.2 is next
2023-02-15 15:19:39 +00:00
Dylan K. Taylor
d7a0f5362e
Release 4.14.1
4.14.1
2023-02-15 15:19:38 +00:00
Dylan K. Taylor
c5dcd268ad
CS
2023-02-15 15:04:41 +00:00
Dylan K. Taylor
910c4c4b24
Updated BedrockProtocol
2023-02-15 15:02:00 +00:00
Dylan K. Taylor
2fd6e769e6
NetworkSession: Improved packet budgeting
...
this fixes players getting kicked during server lag spikes.
closes #5532
2023-02-15 14:59:05 +00:00
zSALLAZAR
69155015c9
Double quote array expansions to avoid re-splitting elements. ( #5570 )
...
See: https://github.com/koalaman/shellcheck/wiki/SC2068
2023-02-13 12:24:47 +00:00
zSALLAZAR
6854830b6e
start.sh: Use -n instead of ! -z ( #5567 )
...
See https://github.com/koalaman/shellcheck/wiki/SC2236
2023-02-13 12:21:35 +00:00
Dylan K. Taylor
2c413768a5
Merge branch 'stable' into next-minor
2023-02-11 17:15:12 +00:00
Dylan K. Taylor
fbaf8e3fc8
Update composer dependencies
2023-02-11 17:13:12 +00:00
Dylan K. Taylor
c62845e92a
4.14.1 is next
2023-02-08 20:21:43 +00:00
Dylan K. Taylor
c7930ce9ec
Release 4.14.0
4.14.0
2023-02-08 20:21:42 +00:00
Dylan K. Taylor
475888b031
InGamePacketHandler: do not process repeated skin change requests for the same full skin ID
...
this fixes a feedback loop with persona skins in 1.19.60.
2023-02-08 20:16:41 +00:00
Dylan K. Taylor
40b90bb722
InGamePacketHandler: log a debug when processing skin change requests
2023-02-08 19:47:12 +00:00