dea75a0687
RegionLoader: do not attempt to auto-repair chunks with oversized lengths
...
In the old days, we used to try to correct this problem by adjusting the region header to match the
length found at the start of the chunk payload. However, this has a very good chance to cause corruption
of other chunks, since we can't do any fast overlap checks (an upsize might cause the chunk's alloocated
area to overlap into another one, causing corruption when either chunk's space gets written to).
This corruption risk has become more problematic since the
introduction of region garbage sector reuse, since a broken location
header could cause chunks to trash each others' saved data.
In addition, if there is a length mismatch, there's a good chance that the oversized chunk itself will
already be corrupted, so we'd just fail trying to decompress it later on.
So, instead of trying to fix this automatically, we bail and hope this doesn't occur often enough for
users to get upset, and allow external offline tools to attempt to repair the mess instead.
2020-12-27 18:50:52 +00:00
873e8740e0
3.17.2 is next
2020-12-23 22:20:24 +00:00
260c55f23a
Release 3.17.1
3.17.1
2020-12-23 22:20:19 +00:00
9ed430acb9
CrashDump: fixed a bug in crashdump generation
2020-12-23 21:53:12 +00:00
f0241043de
CrashDump: add server uptime to crash information
2020-12-23 20:26:18 +00:00
135f1c95e4
phpstan 0.12.64
2020-12-23 20:04:40 +00:00
5431807e43
Split tests up into multiple jobs
...
this gives a more granular view of test failures and also allows independent steps to run in parallel.
2020-12-23 19:48:39 +00:00
d49ae832e8
actions: rename cache miss fallback build step
2020-12-21 21:32:27 +00:00
ff9d013005
build: hash composer cache by lockfile instead of composer.json
...
this ensures a cache refresh when transitive dependencies are updated.
2020-12-20 23:58:37 +00:00
b0e1317818
Merge branch 'stable' of https://github.com/pmmp/pocketmine-mp into stable
2020-12-20 23:53:26 +00:00
8653afb0fb
Updated composer dependencies
2020-12-20 23:53:09 +00:00
995b56aaa0
Fixed Composer package cache
2020-12-20 23:49:28 +00:00
3ecddf312d
build.sh: sort configure parameters
2020-12-20 22:49:39 +00:00
470243ca6f
experimental: build PHP in a separate build job
2020-12-20 22:30:47 +00:00
3f21e59917
Bump phpstan/phpstan-strict-rules from 0.12.5 to 0.12.7 ( #3976 )
2020-12-18 13:44:19 +00:00
fdd74a4f46
Bump phpstan/phpstan-phpunit from 0.12.16 to 0.12.17 ( #3975 )
2020-12-18 13:15:05 +00:00
a43b46a93c
Merge branch 'stable' of https://github.com/pmmp/pocketmine-mp into stable
2020-12-18 00:33:10 +00:00
0604dfc9e5
phpstan 0.12.63
2020-12-18 00:32:55 +00:00
dd2c3db285
Fixed a bucket of lava disappearing when used in a furnace ( #3973 )
...
fixes #2385
2020-12-17 23:57:34 +00:00
c95e283507
fix CXXFLAGS
2020-12-14 22:02:16 +00:00
6afbd1f55c
Squashed commit of the following:
...
commit 1f42169f0f929958f7d68a68f194c6f3492b7eb4
Author: Dylan K. Taylor <odigiman@gmail.com >
Date: Mon Dec 14 21:23:44 2020 +0000
... install it in the right fucking place
commit d2a88abeda5fa937d3f508c4e0300a949af97846
Author: Dylan K. Taylor <odigiman@gmail.com >
Date: Mon Dec 14 21:14:21 2020 +0000
Build PHP using system libraries to reduce rebuild time
2020-12-14 21:58:58 +00:00
0682c93f5a
Drop bcmath dependency
...
we haven't used bcmath since the days of 32-bit.
2020-12-14 20:59:07 +00:00
da90ae85da
Updated composer dependencies
2020-12-14 19:24:36 +00:00
e87127f309
readme: drop travis badge in favour of GH Actions badge
2020-12-11 22:38:14 +00:00
0237a50d90
thank you for your service travis
2020-12-11 22:26:53 +00:00
8b53e4150e
Setup GitHub Actions ( #3966 )
2020-12-11 22:25:08 +00:00
1c43538238
Fix that a hoe gets damage applied to it, when it's used to break a block ( #3967 )
...
closes #3965
2020-12-11 21:14:52 +00:00
68887105b2
Utils::cleanPath(): drop the square braces
...
this looks ugly, as well as breaking plugin crash detection (which tbh is too fragile, but it is what it is ...)
2020-12-09 20:26:08 +00:00
104e90b794
CrashDump: more robust core crash detection
2020-12-08 23:27:03 +00:00
994062f6dc
CrashDump: fixed plugin detection on eval()'d code
...
it's possible we could clean the path up to detect which plugin caused the crash, but for now I'll be happy to not have them showing up as core crashes ...
2020-12-08 23:11:29 +00:00
69a41a5ed4
3.17.1 is next
2020-12-08 21:02:14 +00:00
3903b70ef5
Release 3.17.0
3.17.0
2020-12-08 21:02:13 +00:00
692e63ad7c
Protocol changes for 1.16.200
2020-12-08 20:31:17 +00:00
4d1be4d41d
McRegion: do not create a region file when trying to read a chunk that doesn't exist
...
fixes #3953
2020-12-07 18:44:49 +00:00
5f0310a8b6
3.16.2 is next
2020-12-07 17:16:11 +00:00
9b01fb3d89
Release 3.16.1
3.16.1
2020-12-07 17:16:10 +00:00
f28405fcfb
phpstan 0.12.59
2020-12-07 17:12:55 +00:00
9c07c206f6
Updated DevTools submodule to pmmp/DevTools@1606a4307b
2020-12-05 20:02:14 +00:00
d0d701f232
Updated build/php submodule to pmmp/php-build-scripts@a42c7df20a
2020-12-05 19:42:41 +00:00
07cae8a129
Updated composer dependencies
2020-12-05 19:40:30 +00:00
6869ee1c2d
Clean up nonsensical code in NetworkBinaryStream->getSlot()
2020-12-05 01:24:41 +00:00
26155acff2
register HellBiome ( #3950 )
2020-12-04 11:58:49 +00:00
b550cf5163
phpunit 9.4.4
2020-12-01 17:32:27 +00:00
48fa19fdcd
PermissionAttachmentInfo::__construct() never throws an exception
2020-12-01 17:30:35 +00:00
bac986d0b2
Fixed crash when executing command /version with multiple authors declared in 'author' ( #3940 )
...
closes #3902
2020-12-01 15:47:55 +00:00
215bac8dd7
phpstan 0.12.58
2020-11-30 22:11:43 +00:00
3709ba172b
Sync composer dependencies
2020-11-30 22:02:01 +00:00
ef034f2d68
PermissionAttachment: better document the apparently nonsensical code responsible for making sure the entire permission system doesn't burn down
2020-11-28 16:05:16 +00:00
ab18332572
PermissionManager: fixed nonsensical PHPDoc type
2020-11-27 19:54:05 +00:00
48595630fc
[ci skip] update crash issue template
2020-11-27 17:38:14 +00:00