6763 Commits

Author SHA1 Message Date
Dylan K. Taylor
30d2318bb7 Merge pull request #1383 from pmmp/quoted-command-args
Quoted command args & allow playernames with spaces
2017-09-15 14:04:48 +01:00
Dylan K. Taylor
63634d7e7d Added compaction and sorting for repeated slot changes in a single transaction
Now items should be able to move around the crafting grid correctly.
2017-09-15 13:32:17 +01:00
Dylan K. Taylor
d941bf8e74 Add vanilla-style crafting grid item evacuation server-side when closing the window in case something goes wrong 2017-09-15 13:22:53 +01:00
Dylan K. Taylor
8c9d9626ab Merge branch 'new-pack-codes' 2017-09-14 19:53:07 +01:00
Dylan K. Taylor
6b34c47c96 Merge branch 'master' into mcpe-1.2 2017-09-14 18:16:45 +01:00
Dylan K. Taylor
77241e14ce Bumped to ALPHA8 to account for AsyncTask API changes 2017-09-14 17:49:12 +01:00
Dylan K. Taylor
15b08c1417 Added capability to dump AsyncWorkers' memory (#1379)
This now actually works with PHP 7.2 + latest pthreads, before it was too unstable.
2017-09-14 16:45:48 +01:00
Dylan K. Taylor
4d1daecd91 oops! 2017-09-14 11:01:47 +01:00
Dylan K. Taylor
53e5db5142 Updated PreProcessor submodule 2017-09-14 10:58:46 +01:00
Dylan K. Taylor
ad72fe6232 Make use of awesome new pack() codes for floats 2017-09-14 10:41:53 +01:00
Dylan K. Taylor
8b33f711d0 Allow spaces in player names 2017-09-14 10:15:35 +01:00
Dylan K. Taylor
319735db3a Add support for quoting command arguments
Un-escape quotes in inputted strings
2017-09-14 10:15:30 +01:00
Dylan K. Taylor
c283d87494 Some minor cleanup of PocketMine.php 2017-09-13 19:14:31 +01:00
Dylan K. Taylor
be27e03126 Some minor AutoUpdater cleanup, stop hardcoding everything 2017-09-13 18:51:06 +01:00
Dylan K. Taylor
c1c290cd39 Beware matching items that aren't actually correct
This would only ever happen if we received the actions in the wrong order, but that wouldn't surprise me.
2017-09-13 11:37:10 +01:00
Dylan K. Taylor
5267c571e9 add handling for -100 fake source type (evacuate crafting table contents) 2017-09-13 11:15:31 +01:00
Dylan K. Taylor
0fac3b9a9d Added encode for InventoryTransactionPacket and refactor some stuff 2017-09-13 11:14:04 +01:00
Dylan K. Taylor
23a38400e2 Added CraftingGrid and BigCraftingGrid, WIP stuff for crafting
moving whole stacks in & out of the crafting grid works now, splitting stacks is fucked up because the transaction system can't handle the same slot changing multiple times in one transaction
2017-09-12 19:34:06 +01:00
Dylan K. Taylor
297172d111 Send creative inventory for all gamemodes, fixed recipe book 2017-09-12 14:40:16 +01:00
David Schwartz
825d4f9702 Location cleanup (#1380)
There's no sense rewriting code that the parent constructor already implements.
2017-09-12 12:18:35 +01:00
Dylan K. Taylor
1d31958ce6 Updated preprocessor submodule 2017-09-12 09:12:38 +01:00
Dylan K. Taylor
130a60f2b2 Fixed ItemFactory::isRegistered() returns false for blocks 2017-09-11 18:23:26 +01:00
Dylan K. Taylor
07268e4b37 Added API methods to determine if a block or item is already registered 2017-09-11 16:22:55 +01:00
Dylan K. Taylor
441efc4ae2 Merge branch 'master' into mcpe-1.2 2017-09-11 14:40:25 +01:00
Dylan K. Taylor
88bd7713c5 Fix preprocessor 2017-09-11 09:42:31 +01:00
Dylan K. Taylor
aaa3b6e59a Added explicit AsyncTask->storeLocal(), removed AsyncTask->__construct() object storage (#1322)
Far too often I see people using IDEs which generate the constructors for them and then accidentally unintentionally store things in the object store. This parent constructor behaviour is unexpected. If a developer wants to store something, they should now do so explicitly by calling storeLocal().
2017-09-10 20:31:28 +01:00
Dylan K. Taylor
25adac8859 Added support for Composer (#323) 2017-09-10 19:23:34 +01:00
Dylan K. Taylor
8d0b881762 fixed command arg types 2017-09-10 13:56:34 +01:00
Dylan K. Taylor
16cb75ef38 Merge branch 'master' into mcpe-1.2 2017-09-09 21:58:30 +01:00
Dylan K. Taylor
3b9689674d Merge remote-tracking branch 'origin/php/7.0' 1.7dev-27 2017-09-09 21:57:44 +01:00
Dylan K. Taylor
7f5d8cc900 Always log stack traces regardless of whether log-debug is enabled 2017-09-09 19:27:26 +01:00
Dylan K. Taylor
8761256246 Be more clear about WHY not to use source installs in production 2017-09-09 19:21:32 +01:00
Dylan K. Taylor
8c363cb571 Added capability to specify arguments to PocketMine.php when running start.ps1
Example: .\start.ps1 --disable-ansi --debug.level=2
2017-09-09 18:44:18 +01:00
Dylan K. Taylor
10b765e17a Merge branch 'php/7.0' into mcpe-1.2 2017-09-09 18:08:47 +01:00
Dylan K. Taylor
0eb866bf25 Updated AvailableCommandsPacket 2017-09-09 14:23:19 +01:00
Dylan K. Taylor
c46caa38e1 merge 2017-09-09 11:33:00 +01:00
Dylan K. Taylor
17d949f476 Fixed SPL being reported as incompatible when it's actually not found 2017-09-09 11:25:59 +01:00
Dylan K. Taylor
c569f55933 Fixed can't find sources when PocketMine.php is run from anywhere other than the repository root 2017-09-09 11:22:56 +01:00
Dylan K. Taylor
01d8d216ca Yet another merge commit 2017-09-09 00:53:03 +01:00
Dylan K. Taylor
f1ccee505b Submodule update (this is getting annoying) 2017-09-09 00:51:20 +01:00
Dylan K. Taylor
a61adb5991 Merge branch 'php/7.0' 2017-09-08 21:40:25 +01:00
Dylan K. Taylor
cae1a3bb4b Updated DevTools submodule 2017-09-08 21:38:14 +01:00
Dylan K. Taylor
6681bd250a Merge branch 'php/7.0' 2017-09-08 20:37:09 +01:00
Dylan K. Taylor
38293913ee Updated DevTools submodule 2017-09-08 20:36:32 +01:00
Dylan K. Taylor
8493ce8a35 Merge branch 'php/7.0' 2017-09-07 20:07:16 +01:00
Dylan K. Taylor
9b7868238c Improved Travis Test, capture error output from console, test phar 2017-09-07 20:03:58 +01:00
Dylan K. Taylor
953c1ef4ec Fixed formatting issues in Travis test script 2017-09-07 20:03:54 +01:00
Dylan K. Taylor
021a9a4820 Merge branch 'php/7.0' 2017-09-07 19:33:01 +01:00
Dylan K. Taylor
5b7565664c Removed WeakRef from Travis CI 2017-09-07 19:32:04 +01:00
Dylan K. Taylor
ebdfbe6bb9 Removed flight controls hack for spectator mode
THEY FINALLY FIXED IT
2017-09-07 19:06:36 +01:00