3921 Commits

Author SHA1 Message Date
Shoghi Cervantes
7d387fe6aa Fixed TravisTest output 2014-09-07 19:54:13 +02:00
Shoghi Cervantes
4f7a6a06be Fixed TravisTest pipes 2014-09-07 19:47:31 +02:00
Shoghi Cervantes
344c84cfa6 Added --disable-readline CLI argument 2014-09-07 19:42:36 +02:00
Shoghi Cervantes
bd721a13a3 Merge branch 'master' of github.com:PocketMine/PocketMine-MP 2014-09-07 19:33:01 +02:00
Shoghi Cervantes
92b0b4d43c Implemented basic Travis-CI test 2014-09-07 19:32:21 +02:00
Shoghi Cervantes
d0b0fbf992 Merge pull request #2064 from PEMapModder/patch-2
Fixed wrong cases
2014-09-07 09:02:54 +02:00
PEMapModder
ab334e6962 Fixed wrong cases
I know this doesn't matter at all, but it is ugly in IDEs.
2014-09-07 13:21:05 +08:00
Yosshi999
1ad6438e60 Fixed Player's slot[0] disappears on loging in 2014-09-07 11:37:54 +09:00
Yosshi999
4ecec42c9d Fixed HeldItem were swapped in mining 2014-09-07 11:29:17 +09:00
Shoghi Cervantes
84e62598ce Implemented attack cooldown 2014-09-06 16:52:52 +02:00
Shoghi Cervantes
ad7acb93b6 Added cactus neighbour block check 2014-09-05 11:16:24 +02:00
Shoghi Cervantes
ac4b4b08fd Fixed Level::setBlock() old calls 2014-09-05 11:00:13 +02:00
Shoghi Cervantes
d3c308c5a8 Fixed possible Player crash on save 2014-09-05 10:50:19 +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
f140fef52d Possible fix for level save issues, related to #1985 #1982 #1758 2014-09-04 12:37:27 +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
0eac084aa7 Added extra documentation to Level::setBlock() 2014-09-03 11:44:30 +02:00
Shoghi Cervantes
e17ecf5795 Improved Arrow / Item movement 2014-09-03 10:55:14 +02:00
Shoghi Cervantes
e94ddcabe0 Fixed dropped items going too fast 2014-09-01 23:37:31 +02:00
Shoghi Cervantes
acf7eb1ce9 Remove scheduled updates from entities 2014-09-01 23:30:35 +02:00
Shoghi Cervantes
dcfb7a7ac4 Fixed #2037 2014-09-01 17:47:28 +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
ff48eb3d4d Added better Entity/Tile scheduled updates 2014-09-01 11:59:46 +02:00
Shoghi Cervantes
e047b6a870 Fixed bows not getting damaged 2014-09-01 11:43:48 +02:00
Shoghi Cervantes
c5626bae34 Do not set Level to null, closes #2032 2014-09-01 11:29:44 +02:00
Shoghi Cervantes
3eac08f5ba Possible fix for #2027, properly check Player onGround flag 2014-09-01 02:32:16 +02:00
Shoghi Cervantes
cc2555bb88 Fixed crash when chests are closed with viewers 2014-09-01 02:26:23 +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
bcdb6d8c2e Fixed timings name 2014-09-01 01:28:42 +02:00
Shoghi Cervantes
eff63a661e Player creative check refactor 2014-08-31 10:49:20 +02:00
Shoghi Cervantes
5a756d215d Fixed creative players dropping their inventory 2014-08-31 10:45:38 +02:00
Shoghi Cervantes
422262d585 Fixed infinite Entity recursion on chunk load 2014-08-31 01:06:53 +02:00
Shoghi Cervantes
b761a97660 Fixed crash due to class name conflict 2014-08-31 01:05:15 +02:00
Shoghi Cervantes
7579cd763a Added Trapdoor bounding box 2014-08-30 23:57:57 +02:00
Shoghi Cervantes
6bc5f60011 Added Cobble Wall bounding box 2014-08-30 23:52:06 +02:00
Shoghi Cervantes
3eb8ca0d13 Added Soul Sand bounding box 2014-08-30 23:47:39 +02:00
Shoghi Cervantes
a23352be88 Added Ladder bounding box 2014-08-30 23:45:08 +02:00
Shoghi Cervantes
fa5f00a1ff Added Cake bounding boxe 2014-08-30 23:42:07 +02:00
Shoghi Cervantes
d3a05adede Added Doors bounding boxes 2014-08-30 23:38:56 +02:00
Shoghi Cervantes
f9182bd0f8 Added Iron bars bounding box 2014-08-30 23:30:10 +02:00
Shoghi Cervantes
edad52c6ea Added Glass Pane bounding box 2014-08-30 23:30:01 +02:00
Shoghi Cervantes
cd5e16f017 Added Fence Gate bounding box 2014-08-30 23:20:59 +02:00
Shoghi Cervantes
310a7d6c04 Added Fence bounding box 2014-08-30 23:18:37 +02:00
Shoghi Cervantes
ccea26c978 Added Farmland bounding box 2014-08-30 23:07:55 +02:00