Commit Graph

14410 Commits

Author SHA1 Message Date
Dylan K. Taylor
2486dabd8a Fire: extract more unrelated changes from #4617 2021-12-06 01:04:59 +00:00
Dylan K. Taylor
4f3a60ac90 Merge branch 'stable' into next-minor 2021-12-05 16:07:23 +00:00
Dylan K. Taylor
98c31cf07b Update version number 2021-12-05 16:07:20 +00:00
Dylan K. Taylor
9256afd439 Call BlockSpreadEvent when spreading fire to incinerated blocks 2021-12-05 16:06:29 +00:00
Dylan K. Taylor
300d194185 CS again 2021-12-05 01:09:03 +00:00
Dylan K. Taylor
13340a21d3 fix CS 2021-12-05 01:01:16 +00:00
Dylan K. Taylor
27f599793a tools: added old-but-gold server-ping.php 2021-12-05 01:00:24 +00:00
Dylan K. Taylor
527e975fa9 shut 2021-12-05 00:45:23 +00:00
Dylan K. Taylor
8e37f86480 Avoid file_put_contents() when overwriting files
this fixes many cases of corruption during disk-full situations - file_put_contents() would write an empty file, destroying the original data.
fixes #3152
2021-12-05 00:26:48 +00:00
Dylan K. Taylor
8e8cee45b8 Config: use JSON_THROW_ON_ERROR for encoding 2021-12-04 21:44:12 +00:00
Dylan K. Taylor
1a046c6cd5 LevelDB: fixed server crash when corrupted / invalid blockstate NBT is encountered 2021-12-04 18:17:17 +00:00
Dylan K. Taylor
e61aaaccca LevelDB: removed hack for problem fixed by 1f9400f901 2021-12-04 16:20:57 +00:00
marshall
1b86355c40 Server: Suppress "Minecraft network interface running" messages if RakLibInterface registration is cancelled (#4603) 2021-12-02 20:29:01 +00:00
Dylan K. Taylor
1669d33f7e Updated DevTools submodule to pmmp/DevTools@39510af5bc 2021-12-02 00:58:15 +00:00
Dylan K. Taylor
2da65c5a6e 4.0.1 is next 2021-12-01 22:33:58 +00:00
Dylan K. Taylor
468faa464b Release 4.0.0 4.0.0 2021-12-01 22:33:52 +00:00
Dylan K. Taylor
59de045ecb PM4 LET'S GOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
Merge branch 'master' into stable
2021-12-01 22:19:37 +00:00
Dylan K. Taylor
bd8308cc6f changelog: mention pocketmine subdirectory removal 2021-12-01 22:15:38 +00:00
Dylan K. Taylor
edc3bae172 Merge branch 'stable' 2021-12-01 22:11:44 +00:00
Dylan K. Taylor
06e7030817 Prepare changelog for 4.0.0 2021-12-01 22:09:34 +00:00
Dylan K. Taylor
cb0af44ccb start.sh: improve errors when PHP isn't found 2021-11-30 23:51:35 +00:00
Dylan K. Taylor
d535f02096 Make nicer errors for PHP binary not being found 2021-11-30 23:45:25 +00:00
Dylan K. Taylor
7665f4f443 start.sh: remove 7 2021-11-30 23:43:17 +00:00
Dylan K. Taylor
20d6b69813 3.26.2 is next 2021-11-30 22:27:42 +00:00
Dylan K. Taylor
6b7d0307af Release 3.26.1 3.26.1 2021-11-30 22:27:42 +00:00
Dylan K. Taylor
baeac2eb07 Fixed tiles not being sent with chunks 2021-11-30 22:19:28 +00:00
Dylan K. Taylor
2850ea1e89 4.0.0-BETA16 is next 2021-11-30 19:27:05 +00:00
Dylan K. Taylor
d560cf17fc Release 4.0.0-BETA15 4.0.0-BETA15 2021-11-30 19:27:04 +00:00
Dylan K. Taylor
3f6efd0018 Merge branch 'stable' 2021-11-30 19:20:40 +00:00
Dylan K. Taylor
aea124af74 Fix inconsistent class name 2021-11-30 19:17:26 +00:00
Dylan K. Taylor
8620e67d88 Protocol changes for 1.18.0 2021-11-30 19:16:38 +00:00
Dylan K. Taylor
d5f81fe261 3.26.1 is next 2021-11-30 18:53:36 +00:00
Dylan K. Taylor
0aeac3af7d Release 3.26.0 3.26.0 2021-11-30 18:53:36 +00:00
Dylan K. Taylor
9931c1d50a Protocol changes for 1.18.0 2021-11-30 18:46:29 +00:00
Dylan K. Taylor
d21a3d8750 4.0.0-BETA15 is next 2021-11-30 01:26:07 +00:00
Dylan K. Taylor
6d62b06ce6 Release 4.0.0-BETA14 4.0.0-BETA14 2021-11-30 01:26:07 +00:00
Dylan K. Taylor
8be92d16fe Merge branch 'stable' 2021-11-30 01:19:54 +00:00
Dylan K. Taylor
8079ae341a Updated build/php submodule to pmmp/php-build-scripts@bd329dba08 2021-11-30 01:19:14 +00:00
Dylan K. Taylor
ba295dc7dc Always use LF in .neon files 2021-11-30 01:16:28 +00:00
Dylan K. Taylor
38325c8573 Updated translations 2021-11-30 01:14:21 +00:00
Dylan K. Taylor
f239b077b9 Fixed PHPStan complaints 2021-11-30 00:36:38 +00:00
Dylan K. Taylor
6f8f460a6c Partially revert "ConsoleReaderChildProcess: Commit suicide in more cases"
This reverts commit cbe0f44c4f.

This achieves the same result as the reverted commit wrt. process in the
same manner (writing a keepalive into the socket and checking if it
failed to send). However, it does _not_ allow the process to die on
reaching pipe EOF, since this can cause many spams of subprocesses when
stdin is actually not a tty (e.g. in a Docker container).
2021-11-30 00:27:52 +00:00
Dylan K. Taylor
882df94bcb ConsoleReaderThread: fixed zombie process leak 2021-11-29 23:45:10 +00:00
Dylan K. Taylor
4a8ca603a1 Log a message when forceShutdown() is called for anything other than a graceful shutdown 2021-11-28 18:53:34 +00:00
Dylan K. Taylor
52f0c4f3ed Removed dodgy test using invalid block metadata 2021-11-27 22:51:14 +00:00
Dylan K. Taylor
e2815eed60 BlockFactory: remap a bunch more invalid states 2021-11-27 20:07:58 +00:00
Dylan K. Taylor
932a88764c composer commands suck 2021-11-27 04:07:25 +00:00
Dylan K. Taylor
9540193766 Fixed everything lighting on fire 2021-11-27 03:54:30 +00:00
Dylan K. Taylor
cc23e0b7a1 Updated DevTools submodule to pmmp/DevTools@6af57741e6 2021-11-27 03:52:32 +00:00
Dylan K. Taylor
1f9400f901 World: automatically remap invalid blockstates on chunk load
this fixes a wide range of blocks with invalid blockstates becoming update! blocks on the client.

The most common occurrence of this was air with nonzero metadata left behind by world editors which set blockIDs but not block metadata. This caused large ghost structures of update! blocks to appear from nowhere.

The performance impact of this is very minimal (20 microseconds per chunk load in timings, compared to average 660 microseconds to load tiles).
2021-11-27 01:12:30 +00:00