7ec886faa2
Updated PocketMine-NBT dependency with string corruption fix
...
This fix doesn't fix existing data, but it will prevent the bug happening in the future by capping the length of strings to 32767 bytes, and throwing an exception if too long.
2018-02-11 16:36:50 +00:00
610e62e2cd
Timings: don't return the paste we just sent in the response
2018-02-11 11:56:16 +00:00
906442136b
Merge branch 'legacy/alpha11'
2018-02-11 09:56:10 +00:00
3600542d78
Timings: fixed pastes not working after ubuntu pastebin update
1.7dev-703
2018-02-11 09:55:52 +00:00
3b36d46a8f
Living: don't reset attack time on regaining health
...
fixes #2004 and related bugs
2018-02-10 20:53:39 +00:00
63fa6a36a9
Merge branch 'pr/1982'
2018-02-08 12:09:29 +00:00
e0ed877494
Protocol changes for 1.2.10 release
...
Looks like they reverted near enough everything they did in the beta.
1.7dev-698
2018-02-08 11:19:04 +00:00
bab2daf711
Protocol changes for 1.2.10 release
...
Looks like they reverted near enough everything they did in the beta.
2018-02-08 11:18:46 +00:00
5858025d90
Updated PocketMine-NBT dependency to fix CompoundTag bugs
2018-02-07 19:49:52 +00:00
dbac2abafb
TextFormat: make colour matching regex less absurd
2018-02-07 11:31:49 +00:00
266d1cb935
Updated Composer dependencies
2018-02-07 10:22:31 +00:00
ffbb44673f
Enchantment: fix mistake in Protection translation key
2018-02-07 10:15:31 +00:00
a84a8ecc14
Fixed 32-bit accident
...
gud fuckup
2018-02-06 21:39:15 +00:00
687886e70b
PermissibleBase: remove useless destructor
2018-02-06 21:10:42 +00:00
bad323f5cc
PocketMine.php: move stuff out of do{}while(false) that doesn't need to be in there
2018-02-06 19:13:57 +00:00
ca9f700fb0
PocketMine.php: refactor timezone handling into its own class
...
This removes lots of bloat from PocketMine.php, and this is also important for reusability across threads.
2018-02-06 19:09:24 +00:00
c51cc6b2fe
Drop support for Zephir entirely
...
This extension hasn't been maintained in 4 years and it doesn't make sense to update it to PHP 7, since :shoghi: just dumped a blob of PHP into zephir. It's not worth the hassle of updating.
I prefer to modularise and then C-ify modules, so that they can be reused on their own.
2018-02-06 18:40:36 +00:00
03c66f0f86
PocketMine.php: clean up dependencies checking
2018-02-06 18:38:09 +00:00
610b041631
PocketMine.php: remove unused import
2018-02-06 18:25:59 +00:00
75289b1498
kill(): fix bug when running with POSIX extension but without pcntl
...
SIGKILL constant is defined by pcntl, not by posix. If pcntl is not compiled then bugs can occur when trying to kill() the server (such as during a crash).
2018-02-06 17:55:18 +00:00
4eea54780a
start.cmd: pause on exit with error code in CMD
...
Closing the command window immediately when an error occurs is particularly unhelpful. This keeps the command window open so that the user can see what went wrong.
[ci skip]
2018-02-06 17:49:12 +00:00
e860d32b3a
Merge branch 'text-container-move'
2018-02-06 13:13:19 +00:00
c4486d9ad7
Tile: Cleaned up utterly pointless overcomplicated code for inventories
2018-02-06 13:01:54 +00:00
8222b16d9a
LevelDB: fixed leftover usage of the old CompoundTag API
2018-02-06 11:16:14 +00:00
dcb53b1cbb
RCON: Use PTHREADS_INHERIT_NONE - these threads don't need baggage from upstairs
2018-02-05 17:27:00 +00:00
a52a2f6d26
RCON: register autoloader on RCON threads
...
fixes #1993
Interesting that this bug was never noticed before. Maybe because of the class getting loaded by PocketMine.php previously.
2018-02-04 22:24:19 +00:00
906d7eb176
Lang: Move TranslationContainer and TextContainer to \pocketmine\lang namespace
...
why the hell were they ever put in \pocketmine\event in the first place??
This change was suggested many months ago but I forgot all about it.
2018-02-04 20:03:30 +00:00
bf3f5532ac
Server: duct tape for very early startup crashes
...
Exceptions occurring early in the start sequence (before BaseLang is initialized) will result in the server hanging and not killing process as expected. This works around that issue.
2018-02-04 19:53:11 +00:00
07bf1c9e22
Bump API version for release
1.7dev-677
api/3.0.0-ALPHA11
2018-02-04 18:06:02 +00:00
b659a3d39f
Server: more shutdown debug
2018-02-04 10:14:35 +00:00
68b30108be
CrashDump: fix mis-reporting Composer dependency exceptions as plugin crashes
...
this is still not foolproof but whatever.
2018-02-03 19:27:59 +00:00
f223fb2876
Use realpath() to determine correct file path case for DATA and PLUGIN_PATH
...
fixes issues where cleanPath() doesn't remove these paths from crash traces
2018-02-03 19:21:13 +00:00
8bb785b7af
Update pthreads for Travis
2018-02-03 14:17:42 +00:00
806a2005d7
added missing dependency check for OpenSSL
...
this is managed by Composer now so I didn't think to check it.
2018-02-03 01:03:59 +00:00
c794ced0ad
fix dependencies order
2018-02-03 01:03:08 +00:00
f993358c5f
fixed extremely stupid bug with player spawns
...
This was causing new players to inexplicably spawn in the wrong place when joining a world for the first time which had a different level name than folder name. With LevelDB worlds, this caused them to spawn wayyyy up at y=32767 for no good reason.
2018-02-02 16:00:28 +00:00
1c12be6bf2
README: Remove IRC
...
these channels have been dead for years.
2018-02-02 09:31:13 +00:00
a1d9b8486e
README: Be more clear about "getting latest phar"
...
We don't want people to be using latest development builds, but that's the first thing people see when visiting Jenkins. We want them using releases instead.
2018-02-02 09:28:22 +00:00
9397356ce4
Server: fix crash when specifying settings.async-workers on the command-line
2018-02-01 17:58:49 +00:00
e56e363dcc
DataPacket: rename split-screen bytes
2018-01-31 12:07:26 +00:00
18b287c3ea
AsyncTask: Remove cleanObject() and calls to it
...
This is no longer needed. Doing worker GC (via collect()) frees the allocated memory anyway, so this function is now redundant.
2018-01-30 16:45:49 +00:00
9014eb72e9
TeleportCommand: Fixed the bug fix again
...
This all comes from a shitty bugfix by @PEMapModder. Should be applied globally really, but it wasn't - and not properly tested either :P
2018-01-30 15:08:11 +00:00
82948726ed
Beware threads/workers might not inherit \pocketmine\PATH
...
if the inherit flags don't include PTHREADS_INHERIT_CONSTANTS, this code would fail. Store the Composer autoloader path in advance instead.
2018-01-30 14:50:19 +00:00
c601816586
Terminal::hasFormattingCodes() workaround for STDOUT not being defined
...
#1979
This isn't a full solution because formatting codes are still not applied correctly if the calling thread doesn't inherit classes.
2018-01-30 10:54:04 +00:00
54f7a88fbb
Added getXuid()
2018-01-30 01:25:27 +03:00
d2d1df0447
MainLogger: Remove redundant condition
...
these are always ThreadedLoggerAttachments anyway, this code doesn't make sense.
2018-01-29 12:24:00 +00:00
f9b1afe4cf
Fixed race condition causing exception log messages to sometimes not get written to disk when kill() is used
...
Synchronize with the logger thread when logging an exception or killing. This forces the main thread to wait for disk write to complete when logging exceptions or killing the process.
2018-01-29 12:04:23 +00:00
033cb8bd63
oops, wrong namespace
2018-01-28 13:08:11 +00:00
0ed9fcb641
Restrict VerifyLoginTask exception handling to known exceptions
...
everything else should produce a nice big stack trace for debugging purposes, because everything else is probably bugs
This fixes random exception error messages getting relayed to the client when a user does stupid things like editing the source code without knowing what they are doing.
2018-01-28 13:07:09 +00:00
efac23d4af
Updated to new RakLib version
2018-01-27 19:10:55 +00:00