PEMapModder
41f94f7385
Fixed PlayerChatEvent::setRecipients() being useless
2014-10-04 20:10:12 +08:00
Shoghi Cervantes
602bdf27a5
Compatibility with pthreads > 2.0.8
2014-10-02 16:58:37 +02:00
Shoghi Cervantes
f8378c09ba
Fixed entities getting OnGround default to true
2014-09-30 13:13:31 +02:00
Shoghi Cervantes
5b6b789ab3
Improved exponentiation
2014-09-29 13:24:25 +02:00
Shoghi Cervantes
886ad8442c
Fixed #2055 Extra packet data sent on armor change
2014-09-28 17:31:44 +02:00
Shoghi Cervantes
2ded2013bf
Fixed auto-save configuration, made it global
2014-09-28 10:50:43 +02:00
Shoghi Cervantes
d720113ac9
Added non-threaded chunk generation, toggleable on pocketmine.yml
2014-09-26 11:18:46 +02:00
Shoghi Cervantes
1ac08ce404
Fixed Utils::getUniqueID() on Linux due to /proc/cpuinfo
2014-09-20 12:39:57 +02:00
Shoghi Cervantes
056ed4802f
Send project name on usage
2014-09-19 15:08:40 +02:00
Shoghi Cervantes
bcb65e9a48
Send build number on usage
2014-09-19 15:07:48 +02:00
Shoghi Cervantes
5404ba77d0
Throw exception when Server::dispatchCommand() is called with an invalid CommandSender
2014-09-19 10:30:35 +02:00
Shoghi Cervantes
d312d2a143
Possible fix for #2046 , removed embedded class names
2014-09-19 09:44:58 +02:00
Shoghi Cervantes
69ab0d433b
Removed old trigger_error()
2014-09-16 00:42:36 +02:00
Shoghi Cervantes
bb4c54106a
Added temporal workaround for pthreads version check
2014-09-15 18:55:15 +02:00
Shoghi Cervantes
c71689a919
Optimized server sleep times
2014-09-12 15:56:21 +02:00
Shoghi Cervantes
83eb9f778a
Level generators can be set in server.properties
2014-09-12 01:05:32 +02:00
Shoghi Cervantes
bb34e06754
Fix division by zero when the server goes too fast
2014-09-09 19:13:35 +02:00
Shoghi Cervantes
e06092cb99
Added Server::getTickUsage()
2014-09-09 18:46:20 +02:00
Shoghi Cervantes
57373b8c5e
TPS measurement improvement, moved interface handling to tick
2014-09-09 18:07:27 +02:00
Shoghi Cervantes
98e0583f34
Implemented Falling Sand
2014-09-05 10:50:06 +02:00
Shoghi Cervantes
020351e20f
Fixed #2052
2014-09-05 09:02:45 +02:00
Shoghi Cervantes
9980a0780a
Fixed Server::getTicksPerSecond()
2014-09-04 12:22:16 +02:00
Shoghi Cervantes
352497d88c
Improves server ticking.
...
As I was lying in my bed, I came to a solution for the tick problem.
While remembering how most of the time the server is sleeping,
and how the TPS drops once costly operations are ticked,
I reviewed mentally that part of the code, Server::tick().
Then I saw it: I was setting the next execution time
using the time after it was executed as the base, but it should
have been done using the tick start time - that way if something takes
longer, the server will catch up and won't drop the TPS
until the CPU hits its limit.
I got up, got to my computer, and checked that function.
It was exactly as I saw in a near-dream state, so I fixed it
and tested things if they worked right.
Now I'm fully awake and I can't sleep anymore, so I wrote this.
2014-09-04 01:04:09 +02:00
Shoghi Cervantes
ba08bfaa45
Do not report E_PARSE or E_COMPILE_ERROR crashes
2014-09-03 13:38:24 +02:00
Shoghi Cervantes
dea4513c34
Possible fix for #2041
2014-09-03 11:55:49 +02:00
Shoghi Cervantes
97c87aa8fa
Added __debugInfo() to Server and Level
2014-09-01 17:37:28 +02:00
Shoghi Cervantes
11f684d803
Improved CallbackTask timings data
2014-09-01 12:44:52 +02:00
Shoghi Cervantes
705e4da789
Tick entities on Level, show correct timing reports
2014-09-01 01:56:13 +02:00
Shoghi Cervantes
9b7a94b5ee
Fixed timings ticks getting reset
2014-09-01 01:50:28 +02:00
Shoghi Cervantes
fadff2cc5b
Removed debug code
2014-08-28 23:59:18 +02:00
Shoghi Cervantes
b9111b6f52
Fixed #1992
2014-08-28 23:19:44 +02:00
Shoghi Cervantes
e2986992c7
Fixed AxisAlignedBB infinite expansion
2014-08-28 21:11:49 +02:00
Shoghi Cervantes
eab86f5f90
Replaced array() with []
2014-08-28 17:04:22 +02:00
Shoghi Cervantes
e6234c4c4d
Removed cli_set_process_title() check
2014-08-27 12:45:14 +02:00
Shoghi Cervantes
f7e2d31f0a
Check player online status, closes #1983
2014-08-27 11:28:49 +02:00
Shoghi Cervantes
92cabced97
Ctrl+C handling and kill signals are working again
2014-08-25 23:24:18 +02:00
Shoghi Cervantes
bda597a71e
Moved spl to PocketMine-SPL
2014-08-25 20:54:53 +02:00
Shoghi Cervantes
fdd59e4506
Fixed default memory-limit values
2014-08-23 20:14:41 +02:00
Shoghi Cervantes
60ea4d0e96
Removed hardcoded Server name from source
2014-08-22 18:31:17 +02:00
Shoghi Cervantes
6077190a62
Deprecated Server::loadPlugin(Plugin) in favor of Server::enablePlugin(Plugin)
2014-08-22 17:43:29 +02:00
Shoghi Cervantes
db7222976e
Code cleanup
2014-08-21 17:26:41 +02:00
Shoghi Cervantes
daf1a8266d
Merge pull request #1906 from PocketMine/MoreEvents
...
Added more events, API 1.3.0
2014-08-18 13:55:35 +02:00
Shoghi Cervantes
16774e66e6
Fixed crashes when default level is not loaded
2014-08-18 13:42:20 +02:00
Shoghi Cervantes
6f30cd8a22
Removed PHP_VERSION constant on pocketmine namespace
2014-08-16 13:17:05 +02:00
Shoghi Cervantes
eee0eb5458
Added RemoteServerCommandEvent
2014-08-16 13:05:20 +02:00
Shoghi Cervantes
8725ad522f
Remove player unset limitations
2014-08-16 12:47:19 +02:00
Shoghi Cervantes
a7b44e3892
Stop submission of plugin syntax error crashes
2014-08-15 16:18:54 +02:00
Shoghi Cervantes
31b92b392e
Throw invalid event exception when a plugin tries to declare an abstract event
2014-08-15 16:15:12 +02:00
Shoghi Cervantes
f60e2860e8
Release strong weak references on close, closes #1883
2014-08-15 13:41:13 +02:00
Shoghi Cervantes
19d391b9b2
Added Exception handling on level loading
2014-08-13 10:48:53 +02:00