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
Shoghi Cervantes
cf542ac73a
Added End Portal frame bounding box
2014-08-30 23:06:50 +02:00
Shoghi Cervantes
3bf39df255
Added cactus bounding box
2014-08-30 23:06:27 +02:00
Shoghi Cervantes
910e5e6181
Added stairs bounding box
2014-08-30 23:01:33 +02:00
Shoghi Cervantes
a396b8c220
Fixed #2021
2014-08-30 21:45:32 +02:00
Shoghi Cervantes
ec1fe6a083
Fixed EntityShootBowEventEvent crash
2014-08-30 19:07:17 +02:00
Shoghi Cervantes
706c97b9b1
Made shooting bow use its durability
2014-08-30 18:46:09 +02:00
Shoghi Cervantes
a04516a879
Added EntityShootBowEvent, made bow require an arrow
2014-08-30 18:43:32 +02:00
Shoghi Cervantes
0f6dfd39b8
Made EntityDamageByEntityEvent call EntityDamageEvent handlers
2014-08-30 18:41:00 +02:00
Shoghi Cervantes
36ee6d9966
Added arrow and suicide death messages
2014-08-30 18:30:39 +02:00
Shoghi Cervantes
23793e0fc4
Added check for invalid entity attack
2014-08-30 18:24:24 +02:00
Shoghi Cervantes
3409d332e7
Added survival check to movements
2014-08-30 17:57:30 +02:00
Shoghi Cervantes
ca1b67a675
hmm
2014-08-30 17:07:50 +02:00
Shoghi Cervantes
f5eed4f12b
Disable RakLib port checking by default
2014-08-30 16:14:09 +02:00