97 Commits

Author SHA1 Message Date
Shoghi Cervantes
016b08ecf2 Added block order detection, added support for non-sectioned level formats 2014-07-30 12:57:00 +02:00
Shoghi Cervantes
81faddafb0 Fixed crash when using Level scheduled block update ReversePriorityQueue 2014-07-28 19:18:28 +02:00
Shoghi Cervantes
f93d5339bc Use correct syntax 2014-07-26 17:06:22 +02:00
Striker209MPE
b3e9bb8fec Fixed an error related to AIR constant
A E_NOTICE error happened: "Use of undefined constant AIR - assumed 'AIR'"

should be fixed
2014-07-25 11:44:08 +02:00
William Teder
987f54ba08 Edit syntax to confirm with rest of document. 2014-07-24 15:13:12 -05:00
Striker209MPE
3eae7a1875 Fixed error with useBreakOn parameters
A E_RECOVERABLE_ERROR error happened: "Argument 1 passed to pocketmine\block\Block::getDrops() must be an instance of pocketmine\item\Item, null given

AND

A E_RECOVERABLE_ERROR error happened: "Argument 1 passed to pocketmine\block\Generic::onBreak() must be an instance of pocketmine\item\Item, null given

are fixed
2014-07-24 22:10:33 +02:00
williamtdr
e5337d8949 Make Fire check more efficent - by @Tschrock 2014-07-23 09:46:30 -05:00
williamtdr
2066e92f84 Revert "Proper Fire ID checking. Fix #1756."
This reverts commit cd943f52a1587ae509d918e612f601126970fce3.
2014-07-23 09:08:18 -05:00
williamtdr
cd943f52a1 Proper Fire ID checking. Fix #1756. 2014-07-23 08:58:26 -05:00
williamtdr
c3424beda9 Revert "Update Level.php"
This reverts commit da9dfabae40cb731e90e2f41e41543160b67c4d5.
2014-07-22 13:59:23 -05:00
williamtdr
b6506d1db8 Revert "Corrected parameters for setBlock()"
This reverts commit 2f3a011ed3ec7a8af9c77b5ac4ed7778ed1c0898.
2014-07-22 13:59:16 -05:00
Falkirks
2f3a011ed3 Corrected parameters for setBlock() 2014-07-22 07:05:13 -07:00
Falkirks
da9dfabae4 Update Level.php 2014-07-21 18:15:54 -07:00
williamtdr
4c83e9bb56 Update Level.php 2014-07-21 20:04:58 -05:00
williamtdr
14d86339fc Fixed previous error. 2014-07-21 18:27:50 -05:00
williamtdr
ccf34a9db8 #1745 part 2! 2014-07-21 15:29:40 -05:00
williamtdr
97af1b6008 Fix #1745 2014-07-21 13:02:24 -05:00
williamtdr
16d33b01f4 Fix #1663 2014-07-21 10:51:30 -05:00
Shoghi Cervantes
bd2cb4b851 Fixed #1614, possible solution for #1678 2014-07-15 13:17:29 +02:00
Shoghi Cervantes
79e864f4f1 Added far-generated loaded chunk to garbage collection 2014-07-14 12:46:03 +02:00
Shoghi Cervantes
0db009b08f Improved chunk generation queue 2014-07-14 03:10:25 +02:00
Shoghi Cervantes
6c442551f7 Fixed client crashing (temp.), fixed clients not spawning. (Fixes #1640 #1636 #1590 #1573) 2014-07-14 02:19:14 +02:00
Shoghi Cervantes
a7944502cd Added small things 2014-07-12 19:27:51 +02:00
Shoghi Cervantes
9a4ead54e3 Added more timings 2014-07-12 15:23:06 +02:00
Shoghi Cervantes
9bdd294a66 Implemented global, tasks timings 2014-07-12 14:09:29 +02:00
Shoghi Cervantes
4a072b4163 Better chunk unload queues 2014-07-11 01:15:52 +02:00
Shoghi Cervantes
828f7f1590 Fall damage is now working 2014-07-10 16:16:11 +02:00
Shoghi Cervantes
4d0b184ca4 Fixed #1591, handle player disconnect and level change killing 2014-07-10 12:35:19 +02:00
Shoghi Cervantes
589fde27c0 Reorder chunk unloading to leave chunks in memory for the GC time before removal 2014-07-10 01:32:18 +02:00
Shoghi Cervantes
6cb55da9c7 Added correct save parameters to chunk unloading 2014-07-10 01:30:59 +02:00
Shoghi Cervantes
0251ae93d8 Fixed #1578 Chunk garbage collection not marking chunks as unused 2014-07-10 01:17:51 +02:00
Shoghi Cervantes
6b361389ad Fixed mirrored chunk sending 2014-07-06 12:36:23 +02:00
Shoghi Cervantes
cbbdb42092 Added LevelUnloadEvent 2014-07-06 00:06:03 +02:00
Shoghi Cervantes
81492acb0c Added LevelSaveEvent 2014-07-06 00:02:27 +02:00
Shoghi Cervantes
637d9da5a6 Fixed worker pool AsyncTask storage 2014-07-05 22:02:14 +02:00
Shoghi Cervantes
22552cdd72 Improved chunk sending, moved chunk encoding and compression to another thread 2014-07-05 20:41:44 +02:00
Shoghi Cervantes
417cb94ea3 Use chunk unload queues in Level 2014-07-05 16:28:49 +02:00
Shoghi Cervantes
519922b550 Improved chunk ticking 2014-07-05 14:05:39 +02:00
Shoghi Cervantes
cc36f8f997 Fixed kick messages 2014-06-27 23:26:35 +02:00
Shoghi Cervantes
3abec0a3c0 Modified Level::useBreakOn() to use events for creative block breaking 2014-06-26 12:03:02 +02:00
Shoghi Cervantes
396a3ff225 Limited block change packets to players using that chunk 2014-06-23 16:09:51 +02:00
Shoghi Cervantes
31a7410acd Fixed players and entities getting despawned 2014-06-23 15:25:44 +02:00
Shoghi Cervantes
496c004efc Changed default view-distance 2014-06-22 23:25:43 +02:00
Shoghi Cervantes
6f9becdbb3 Added Empty chunk detection 2014-06-22 22:29:46 +02:00
Shoghi Cervantes
0be2bd911f Fixed block updates not getting broadcasted 2014-06-22 21:56:58 +02:00
Shoghi Cervantes
0e36107878 Fixed update ticks 2014-06-22 21:32:49 +02:00
Shoghi Cervantes
279a438ae6 Fixed spawning of Tile entities via chunk packets 2014-06-22 18:05:42 +02:00
Shoghi Cervantes
0d5eb149ab Fixed Level not saving chunks on auto save 2014-06-22 16:20:00 +02:00
Shoghi Cervantes
557618c87d Fixed Level not saving chunks on unload 2014-06-22 16:15:37 +02:00
Shoghi Cervantes
e381313747 New player chunk load queues with ACK notification 2014-06-21 19:41:06 +02:00