Commit Graph

  • fb9a74e879 gitignore files generated by install-local-protocol.sh Dylan K. Taylor 2024-05-13 11:52:31 +01:00
  • 554775841e Added script for linking local versions of Bedrock* deps for testing Dylan K. Taylor 2024-05-13 11:48:23 +01:00
  • 373dd9938c Update composer dependencies Dylan K. Taylor 2024-05-13 11:36:56 +01:00
  • f772bb7384 WoodenStairs can be a fuel (#6345) Hugo_ 2024-05-13 10:34:18 +02:00
  • 5ef247620a Attach permission doc to every release Dylan K. Taylor 2024-05-07 12:46:31 +01:00
  • 1b082f99e9 DefaultPermissions: fixed typo Dylan K. Taylor 2024-05-07 12:34:42 +01:00
  • 371eccd007 Make access modifier consistent with parent abstract class (#6341) Max 2024-05-07 07:02:50 -04:00
  • 12179aa03a Merge branch 'minor-next' into major-next Dylan K. Taylor 2024-05-06 15:42:49 +01:00
  • 9b6a0c9945 Bump phpstan/phpstan-strict-rules from 1.5.3 to 1.5.5 (#6335) dependabot[bot] 2024-05-06 15:41:59 +01:00
  • ab3be50b49 Bump phpstan/phpstan from 1.10.66 to 1.10.67 (#6337) dependabot[bot] 2024-05-06 15:41:50 +01:00
  • 27dc43f131 Bump shivammathur/setup-php from 2.30.2 to 2.30.4 (#6339) dependabot[bot] 2024-05-06 15:41:40 +01:00
  • d67f5a5c6f Bump symfony/filesystem from 6.4.6 to 6.4.7 (#6342) dependabot[bot] 2024-05-06 15:41:28 +01:00
  • ed158f8a1b Server: include uptime in crash restart throttle message this makes it clearer why the wait duration is chosen instead of it looking random. Dylan K. Taylor 2024-04-29 16:36:14 +01:00
  • d70a7d34a7 Living: don't knockback or do hurt FX when attacked during cooldown players were switching from a weaker tool to a stronger one to get double knockback in PvP. while it's intended that we don't cancel the second attack during hit cooldown if the damage is higher (the first damage is subtracted to prevent doubling up), we don't want them to get double knockback. this behaviour now matches vanilla to the best of my observations. Dylan K. Taylor 2024-04-29 15:51:25 +01:00
  • be6754494f 5.15.1 is next Dylan K. Taylor 2024-04-25 11:52:31 +01:00
  • d273ccf87c Release 5.15.0 5.15.0 Dylan K. Taylor 2024-04-25 11:52:30 +01:00
  • 737f5066a0 Fully cover codegen in CI Dylan K. Taylor 2024-04-25 11:48:22 +01:00
  • 10238d7934 Removed beta change Dylan K. Taylor 2024-04-25 11:39:09 +01:00
  • 6077748caa Changes for 1.20.80 Dylan K. Taylor 2024-04-25 11:31:41 +01:00
  • 50e2c469a5 Bump phpstan/phpstan-strict-rules from 1.5.2 to 1.5.3 (#6326) dependabot[bot] 2024-04-08 14:24:59 +01:00
  • fa87602661 Bump build/php from f9601e5 to 084822a (#6323) dependabot[bot] 2024-04-08 14:24:48 +01:00
  • d3c9c137ad Bump symfony/filesystem from 6.4.3 to 6.4.6 (#6327) dependabot[bot] 2024-04-08 14:24:11 +01:00
  • 37322e0d50 Armor: only make sound when the item was equipped by player action this ensures the greatest amount of consistency with vanilla. Dylan K. Taylor 2024-04-08 14:05:24 +01:00
  • 55cf24aa02 5.14.2 is next Dylan K. Taylor 2024-04-05 18:41:27 +01:00
  • 3590d84d03 Release 5.14.1 5.14.1 Dylan K. Taylor 2024-04-05 18:41:27 +01:00
  • 68f8fa8caf Update pmmpthread required version Dylan K. Taylor 2024-04-05 18:40:43 +01:00
  • 1ad190024a 5.14.1 is next Dylan K. Taylor 2024-04-05 18:16:22 +01:00
  • 769a149057 Release 5.14.0 5.14.0 Dylan K. Taylor 2024-04-05 18:16:19 +01:00
  • ea339355bb Merge branch 'minor-next' into stable Dylan K. Taylor 2024-04-05 17:30:59 +01:00
  • b9288c238b Update BedrockBlockUpgradeSchema Dylan K. Taylor 2024-04-05 17:29:16 +01:00
  • 16f29c775e tools/generate-blockstate-upgrade-schema: added support for generating newFlattenedName with value transforms as seen in pmmp/BedrockBlockUpgradeSchema@ebd768e5b2, this enables use of newFlattenedName in more places (by allowing the flattened values to be transformed before building the new ID), as well as reducing the number of remappedStates in general by compacting stuff which was partially transformed like color silver -> light_gray. Dylan K. Taylor 2024-04-05 17:13:38 +01:00
  • e30e27dd57 Fix CS Dylan K. Taylor 2024-04-03 15:43:43 +01:00
  • cd6634d34b Bump shivammathur/setup-php from 2.30.0 to 2.30.2 (#6315) dependabot[bot] 2024-04-03 15:37:13 +01:00
  • f013079ff6 Fixed MainLogger BC break Dylan K. Taylor 2024-04-03 15:31:37 +01:00
  • c4abac4606 Bump build/php from 6f619bf to f9601e5 (#6321) dependabot[bot] 2024-04-03 14:03:46 +01:00
  • 11fbc8db6f Make use of pmmpthread 6.1.0 for Thread::getRunningCount() ThreadManager doesn't count these correctly anymore since pmmpthread since thread-safe statics aren't copied anymore. Dylan K. Taylor 2024-04-02 19:40:44 +01:00
  • 022362a01a Update pocketmine/errorhandler to 0.7.0 Dylan K. Taylor 2024-04-02 19:37:07 +01:00
  • 98380e46bf Ignore non-fatal error types in crash handlers ErrorToExceptionHandler currently prevents these from appearing by turning them into exceptions, but this won't always be the case. For example, in the future we may not want to turn ALL types of E_* errors into exceptions (e.g. E_DEPRECATED). Dylan K. Taylor 2024-04-02 19:22:40 +01:00
  • dad9a7e6cd Merge branch 'stable' into minor-next Dylan K. Taylor 2024-04-02 16:35:31 +01:00
  • de6a91dabc Rework consistency check to tolerate dynamic type IDs we don't actually care about the specific values, only whether all the blocks and their states have been correctly registered. I'd prefer to track all of the state data permutations, but the APIs for that are private, so tracking the number of permutations will have to suffice (this should be good enough to detect bugs anyway, and also takes way less space). Dylan K. Taylor 2024-03-30 13:56:05 +00:00
  • 0615afa766 Bump phpstan/phpstan from 1.10.65 to 1.10.66 (#6317) dependabot[bot] 2024-04-01 16:12:31 +01:00
  • d5919dc094 ... Dylan T 2024-03-25 17:24:52 +00:00
  • 09904dc519 workaround for callback-validator not understanding arrow functions Dylan T 2024-03-25 14:58:21 +00:00
  • f799cfaba6 Implemented sound when equipping armor (#6303) ipad54 2024-03-25 17:15:54 +03:00
  • 11f119551d Bump phpstan/phpstan from 1.10.62 to 1.10.65 (#6308) dependabot[bot] 2024-03-25 10:55:22 +00:00
  • 2584314202 NetherRoots: fix placement on soul soil (#6299) ShockedPlot7560 2024-03-25 11:53:16 +01:00
  • 337e462c8f Added new banner patterns (#6298) ipad54 2024-03-25 13:52:21 +03:00
  • b680a1693c Added sound when picking sweet berries (#6287) ipad54 2024-03-19 13:18:30 +03:00
  • 0e5395c59b PocketMine-MP.phar self-extraction to decompressed cache (#6217) Dylan T 2024-03-18 16:48:17 +00:00
  • 94e0bf954b Bump docker/build-push-action from 5.2.0 to 5.3.0 (#6288) dependabot[bot] 2024-03-18 15:08:13 +00:00
  • 556b00d11f Bump phpstan/phpstan from 1.10.60 to 1.10.62 (#6289) dependabot[bot] 2024-03-18 15:06:50 +00:00
  • 981f49ff56 CS Dylan K. Taylor 2024-03-15 18:03:44 +00:00
  • f527a4c8fe Added --no-log-file command line option while this would be more user-friendly as a config option, configs are a pain because they aren't initialized until after the server log has already been set up. In any case, I foresee that people will likely want to bake this into Dockerfiles directly anyway. Dylan K. Taylor 2024-03-15 17:53:50 +00:00
  • 7148c7a222 Log rotate (#4032) Dylan T 2024-03-15 16:44:37 +00:00
  • e31fd122d9 BlockStateReader: micro optimize unread properties check this has a pretty much insignificant performance impact, but reduces the cost of this check to basically 0. Dylan K. Taylor 2024-03-14 17:54:26 +00:00
  • e781c64540 Merge branch 'minor-next' into major-next Dylan K. Taylor 2024-03-14 12:47:18 +00:00
  • a835069564 Merge remote-tracking branch 'origin/stable' into minor-next Dylan K. Taylor 2024-03-14 12:47:04 +00:00
  • b77193b987 ZlibCompressor: Increase max decompression size to accommodate larger skins again, very annoying that we have to account for this (it makes it easier for attackers to waste CPU time and memory), but we don't really have much of a choice. Dylan K. Taylor 2024-03-14 12:34:30 +00:00
  • 11ca208d93 RakLib: Allow larger number of split packet parts some persona skins are insanely bloated and get split into hundreds of parts. it's quite annoying that we have to accommodate this, but we can't keep allowing players to experience login timeouts without an obvious indication what's wrong. Dylan K. Taylor 2024-03-14 12:32:26 +00:00
  • 8d7f1a8557 BlockStateUpgraderTest: fixed tests for 7ff0ae19d6 Dylan K. Taylor 2024-03-13 18:35:07 +00:00
  • 7ff0ae19d6 BlockStateUpgrader: a simple yet hard-to-explain optimization Prior to this commit, upgrade schemas would be applied to blockstates with the same version, as there wasn't any way to know if they should be applied or not given Mojang's tendency to forget to bump the version. However, it occurred to me that we only need to do this if there are multiple schemas present for the same version ID, which is rarely the case. This allows skipping costly logic for blockstates on the newest version (the common case), reducing the time taken to process the blockstate for upgrading by over 30%. Overall, this translates into less than 10% real performance improvement for chunk loading, but it's still a worthwhile improvement. Dylan K. Taylor 2024-03-13 18:19:51 +00:00
  • 1de66cb0de RegistryTrait: added fast path optimization this reduces VanillaBlocks access time from 360 ns to 230 ns on my machine - an improvement of about 35%. Dylan K. Taylor 2024-03-13 17:11:06 +00:00
  • 9f3533d870 Improved logging for block decode errors this is still noisy, but less so than before. this also adds logging to places where it was previously missing. Dylan K. Taylor 2024-03-13 16:42:23 +00:00
  • 2d24fac067 5.13.1 is next Dylan K. Taylor 2024-03-13 14:59:21 +00:00
  • f193a990b0 Release 5.13.0 5.13.0 Dylan K. Taylor 2024-03-13 14:59:21 +00:00
  • c11c0679e3 Fix CS Dylan K. Taylor 2024-03-13 14:55:54 +00:00
  • ba48f258f3 Support for 1.20.70 Dylan K. Taylor 2024-03-13 14:53:27 +00:00
  • e105c9bd76 5.12.2 is next Dylan K. Taylor 2024-03-13 13:48:59 +00:00
  • 23f4632409 Release 5.12.1 5.12.1 Dylan K. Taylor 2024-03-13 13:48:56 +00:00
  • 264ce06cbf Updated composer dependencies Dylan K. Taylor 2024-03-12 16:51:12 +00:00
  • a6202d0442 BlockStateUpgrader: calculate output version ID in a less stupid way this improves the performance by a conservative 10%. Dylan K. Taylor 2024-03-12 11:48:48 +00:00
  • 8ec304e66e BlockStateUpgradeSchema: avoid unnecessary property access and calculation this was costing a surprisingly large 5-10% of the processing time for blockstate data. Dylan K. Taylor 2024-03-12 11:45:08 +00:00
  • cbffbd23f9 Bump docker/build-push-action from 5.1.0 to 5.2.0 (#6281) dependabot[bot] 2024-03-12 09:30:29 +00:00
  • 9d7aec5891 Bump phpstan/phpstan from 1.10.59 to 1.10.60 (#6282) dependabot[bot] 2024-03-12 09:30:03 +00:00
  • ac8dbf8640 BlockStateUpgrader: extract state remap to its own function Dylan K. Taylor 2024-03-06 12:56:49 +00:00
  • dbc7105e5b Merge branch 'resource-pack-ack-receipts' into minor-next Dylan K. Taylor 2024-03-04 15:46:31 +00:00
  • 3b97d067a3 Merge remote-tracking branch 'origin/stable' into minor-next Dylan K. Taylor 2024-03-04 15:40:10 +00:00
  • b0390a39fd Update composer dependencies Dylan K. Taylor 2024-03-04 15:17:48 +00:00
  • 5cb69e00d0 NetworkSession: remove hardcoded limit this is already covered by the dynamic Game Packets rate limit, which is much more effective at dealing with this anyway. Dylan K. Taylor 2024-03-04 14:36:40 +00:00
  • 781e3643dd Clean up Dylan K. Taylor 2024-03-04 14:25:47 +00:00
  • 2ca50ecd36 Bump shivammathur/setup-php from 2.29.0 to 2.30.0 (#6273) dependabot[bot] 2024-03-04 11:54:53 +00:00
  • 5ad63f27bb Update RakLib (again) Dylan K. Taylor 2024-03-02 01:02:57 +00:00
  • f13eaaab05 Update RakLib Dylan K. Taylor 2024-03-02 00:08:49 +00:00
  • 72f3c0b4b9 NetworkSession: fixed timings not being stopped when handling uncompressed packets Dylan K. Taylor 2024-03-01 17:36:40 +00:00
  • b9a1ef1357 Throttle resource pack sending using ack receipts this isn't the best solution, as it limits the download speed somewhat, but it's relatively simple and works quite well. closes #3127 Dylan K. Taylor 2024-03-01 17:07:19 +00:00
  • 4abc36275c Remove newline Dylan K. Taylor 2024-03-01 17:02:44 +00:00
  • 4b5ac53276 Fixes Dylan K. Taylor 2024-03-01 17:01:32 +00:00
  • 90409b50d1 Allow offering different resource packs to different players (#6249) Jason Wynn 2024-03-01 09:53:59 -05:00
  • bc2abf4b15 First shot at packet ack receipt support this will be useful for preventing resource pack sending from overloading the network. it's not the best solution for that (since it means the RTT will limit the pack download speed), but it's easier than implementing congestion control and will work fine in most cases. Dylan K. Taylor 2024-03-01 14:41:53 +00:00
  • b2c97cf2f1 5.12.1 is next Dylan K. Taylor 2024-02-28 18:14:41 +00:00
  • a35c3406a8 Release 5.12.0 5.12.0 Dylan K. Taylor 2024-02-28 18:14:37 +00:00
  • 54ea404d80 Merge branch 'minor-next' into stable Dylan K. Taylor 2024-02-28 17:39:25 +00:00
  • 98042f844f Merge remote-tracking branch 'origin/stable' into minor-next Dylan K. Taylor 2024-02-28 17:36:21 +00:00
  • a0cca53f52 Fixed mismatched predictions due to NBT key order differences this is a pain :( It appears the client always sorts the keys in alphabetical order due to use of std::map. However I'm not sure of the exact ordering behaviour, so it needs to be investigated. Dylan K. Taylor 2024-02-27 16:07:43 +00:00
  • 6872118355 Update BedrockProtocol to release version Dylan K. Taylor 2024-02-27 14:15:31 +00:00
  • efd113bdc8 Integrate pmmp/BedrockProtocol@65b3d0b341 Dylan K. Taylor 2024-02-26 17:09:09 +00:00
  • 34a5f91aa9 5.11.3 is next Dylan K. Taylor 2024-02-26 14:45:48 +00:00
  • aee3656415 Release 5.11.2 5.11.2 Dylan K. Taylor 2024-02-26 14:45:47 +00:00
  • c58e599eb2 Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable Dylan K. Taylor 2024-02-26 14:35:40 +00:00
  • 47f0119660 InGamePacketHandler: added an extra check Dylan K. Taylor 2024-02-26 14:35:21 +00:00