165 Commits

Author SHA1 Message Date
Dylan K. Taylor
750462aa75 Fix large signed varint/negative number CPU leak 2016-10-27 10:55:03 +01:00
Dylan K. Taylor
bd1b18d9af Fix issues on 64-bit systems -_- (hate php) 2016-10-27 10:55:02 +01:00
Dylan K. Taylor
df88e9272e Fix DisconnectionScreen, add getBool() and putBool() methods, update some packets 2016-10-27 10:55:02 +01:00
Dylan K. Taylor
ff40c0a070 NBT updates and tile spawns fixed 2016-10-27 10:55:01 +01:00
Tatsuyuki Ishi
affed33066 Add length check assertions 2016-10-27 10:55:00 +01:00
Dylan K. Taylor
9cde63a327 Base inventory fixes 2016-10-27 10:55:00 +01:00
Dylan K. Taylor
dd0c5efb56 Initial spawn on 0.16 2016-10-27 10:55:00 +01:00
Dylan K. Taylor
88d14e9923 Remove redundant ifndefs 2016-10-23 15:14:59 +01:00
Dylan K. Taylor
2fba1073dd Fix wrong comment 2016-10-12 13:24:00 +01:00
dktapps
23e4ca64e4 Remove dupe load() causing reload debug spam
This call is completely redundant.
2016-10-10 14:10:37 +01:00
SOFe
58ff381557 PhpStorm automated formatting (#11)
* PhpStorm reformatting

* Tuned PhpStorm reformatting

* Improved ItemIds and BlockIds formatting

* Tuned more PhpStorm reformatting

* Improved string concatenation
2016-10-03 19:05:48 +08:00
SOF3
e913b16804
Fixed some lines indented with 4 spaces rather than tabs 2016-10-03 00:58:34 +08:00
SOF3
6fc435da0e
Imports rearrangement 2016-10-03 00:43:46 +08:00
Tatsuyuki Ishi
a3e3a5f631 RNG: XorShift128 adapted from php-random library
Fixes world generation problems on 32-bit systems
2016-09-30 19:19:53 +01:00
Tux
8e9a078ff9 Use built-in random_bytes functionality 2016-09-06 11:47:58 +01:00
PEMapModder
085ff56362 Clearer Config::__construct() documentation. 2016-03-21 14:41:49 +08:00
Intyre
a43db5ca25
fixed #4006 2016-02-28 22:54:56 +01:00
PEMapModder
ccadb5f2bb Merge pull request #3526 from PEMapModder/patch-9
Fixed getNested() using cache desynchroinized from set()
2016-02-28 23:10:12 +08:00
PEMapModder
ed9888a2cb Fixed #3963, closes #3979, added hash for non-numeric seeds 2016-02-22 19:40:40 +08:00
Intyre
05530bedc6
Bump to 0.14.0.7, new packets and fixes 2016-02-16 00:43:59 +01:00
Intyre
a2734f6dc0
Merged master into php7 to support 0.13.1 2016-01-22 17:36:45 +01:00
Intyre
c3e756a712
Merge branch 'patch-19' of https://github.com/PEMapModder/PocketMine-MP into PEMapModder-patch-19 2015-12-20 00:30:53 +01:00
PEMapModder
815411968b Silence the ifconfig not found message 2015-11-20 00:34:29 +08:00
Shoghi Cervantes
ddc140af5e Updated to new pthreads version, updated RakLib 2015-09-27 13:37:27 +02:00
PEMapModder
a3ad5783b7 Fixed getNested() using cache desynchroinized from set() 2015-09-26 12:21:43 +08:00
Shoghi Cervantes
0bcf639a98 Changed how exceptions work and are logged, throw proper exceptions on tasks 2015-09-18 12:03:24 +02:00
Shoghi Cervantes
472fcfa4c7 Removed ThreadedFactory 2015-09-18 11:18:41 +02:00
Shoghi Cervantes
21c3d03000 Removed sleep from ServerKiller 2015-09-13 17:38:55 +02:00
Shoghi Cervantes
3ffdb8e552 Removed @deprecated classes, methods and properties, added some type hints 2015-09-12 17:10:11 +02:00
Shoghi Cervantes
29a5012c02 Merge remote-tracking branch 'origin/mcpe-0.12' into php7 2015-09-12 01:03:09 +02:00
Shoghi Cervantes
a1a1327415 Removed signed parameter in BinaryStream->getShort() in favor of getSignedShort() 2015-09-12 00:57:09 +02:00
Shoghi Cervantes
e137ac4c56 Base PHP7 work to make it "run" - READ NEXT LINES!
All plugins will need to bump the API if they want to use this.
NOTE THAT THIS IS NOT THE FINAL API 2.0.0 AND THAT THERE WILL BE MORE CHANGES.
To start updating, you might also want to read https://secure.php.net/manual/en/migration70.php and specifically https://secure.php.net/manual/en/migration70.incompatible.php

To compile PHP7 with some of the required dependencies, use https://gist.github.com/shoghicp/166ab26ce5cc7a390f45
ONLY LINUX IS TESTED, DO NOT ASK FOR OTHER PLATFORMS!

----- THIS VERSION IS NOT SUPPORTED -----

This version WILL crash randomly in unexpected places due to PHP7, pthreads, PocketMine or cosmic rays.

Handle with care, and store under direct sunlight for the best performance.
2015-09-10 21:29:29 +02:00
Shoghi Cervantes
bdf5c46793 Merge branch 'master' into mcpe-0.12 2015-08-31 17:51:07 +02:00
Shoghi Cervantes
244cef3b00 . <-- descriptive commit ftw! 2015-08-23 00:25:30 +02:00
Shoghi Cervantes
b47cebb1d5 PHP7 changes 2015-08-23 00:25:30 +02:00
Luca P.
1a9ec65983 Spelling fix 2015-08-22 15:58:45 +02:00
Shoghi Cervantes
3e2cce3c2c use cleanup 2015-08-07 21:26:24 +02:00
Shoghi Cervantes
554bfb4855 Added methods for adding custom names directly to items 2015-08-06 21:09:37 +02:00
Shoghi Cervantes
9456e20770 Added support for extra data, improved BinaryStream 2015-08-04 18:29:13 +02:00
Shoghi Cervantes
7fd053fb09 More changes! Alsp added Anvil block and BinaryStream 2015-08-03 18:04:13 +02:00
Shoghi Cervantes
5621ab0c49 Updated some packets for 0.12, UUIDs, other stuff! 2015-08-02 01:22:36 +02:00
SopaXorzTaker
4e76c30788 Update Utils.php
Correct a typo
2015-06-17 08:39:18 +03:00
Shoghi Cervantes
33e312c7d0
Added extra memory reportings (heap, stack), stop tasks faster, added extra timeouts fro ServerKiller 2015-06-13 15:37:02 +02:00
Shoghi Cervantes
7cf5df7e46 New console output formatting 2015-06-09 14:40:40 +02:00
Shoghi Cervantes
fe55023761 Better Terminal detection 2015-06-05 14:07:32 +02:00
Shoghi Cervantes
6e69e15dfd Moved network check out of level, added server killer for long stops 2015-06-05 11:46:33 +02:00
Shoghi Cervantes
f20d5b2c69 Fixed MainLogger 2015-05-29 11:38:18 +02:00
Shoghi Cervantes
3bb037204e
light population is now optional via pocketmine.yml 2015-05-28 23:39:09 +02:00
Shoghi Cervantes
03f178379e
Fixed items getting corrupted pickup delay, not being able to be killed by other damage sources 2015-05-28 22:17:12 +02:00
Shoghi Cervantes
f64caf6c96
Use best method to create identifier on linux 2015-05-23 14:10:42 +02:00