Rorkh
798fdb0709
Snipe skeleton achievment
2021-10-02 21:18:18 +01:00
Tiger Wang
028a5735c5
Spectation: add dedicated pathway for spectator mode ( #5303 )
...
* Spectation: add dedicated pathway for spectator mode
+ Sync player rotation with spectated entity.
+ Add dedicated infrastructure to cPlayer for handling spectation, instead of misusing entity riding.
* Avoid infinite recursion when exiting spectation, fixes #5296
* AttachTo: Change parameter to reference
2021-09-29 22:17:03 +00:00
Rorkh
6bbbc52d02
Permission-based player chat message formatting ( #5304 )
...
+ Permissions for chat message format access
2021-09-23 21:49:34 +01:00
Ethan Jones
7b0872aecc
BungeeGuard style proxy security and OnlyAllowBungee config ( #5291 )
2021-09-23 21:09:52 +01:00
Ethan Jones
3b47eaadb8
Ignore dead movement ( #5292 )
...
* Ignore player updates from dead players #5289
* move the condition down a bit, add parentheses
Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
2021-09-16 07:31:16 +00:00
Ethan Jones
9712c5507c
Don't allow players in adventure mode to break blocks ( #5293 )
2021-09-15 17:33:45 +00:00
Ethan Jones
af93c297f4
Ignore dead entities and spectator players on pressure plates ( #5294 )
2021-09-15 17:33:18 +00:00
Ethan Jones
f09258d24e
CMake MinGW bug - https://gitlab.kitware.com/cmake/cmake/-/issues/5939 ( #5295 )
2021-09-15 17:32:01 +00:00
Ethan Jones
799bc419ff
Add LittleBigBug to CONTRIBUTORS ( #5297 )
...
I agree to the license terms :)
2021-09-15 17:31:22 +00:00
Tiger Wang
11ca2cf4c0
Disconnect: call HandleOutgoingData one last time
...
* Fixes #5285
2021-08-26 21:55:09 +01:00
Alexander Harkness
4b8952e438
Use more URL-Encoding when sending API requests.
2021-08-23 09:35:03 +01:00
Bart Ribbers
a78de88ac3
Fix typo in message send when getting achievements ( #5282 )
2021-08-21 11:07:16 +01:00
JK2K
503b3c220f
Slime spawinig in swamps ( #5281 )
...
* test commit
* hook test/ .gitignore
* Slime add light limitation
* Slime spawning moon light
* Casting fix for clang
* Removal of redundant changes
Extracted moon phases amount to const
2021-08-20 11:58:08 +00:00
Rorkh
383867b6b0
Haybale damage reduction implementation ( #5277 )
...
* Haybale damage reduction impl
* Update Pawn.cpp
2021-08-04 10:58:54 +02:00
Tiger Wang
c6de5e9bc5
Remove one level of indent in statistics serialiser
2021-07-31 12:11:29 +01:00
Tiger Wang
de329dc5ad
It is time to remove the statistics upgrade map
2021-07-31 12:11:29 +01:00
Rorkh
4221e08f3a
Paintings: add sound effects, remove critical hitting ( #5276 )
2021-07-28 21:51:59 +01:00
Tiger Wang
6a4460383e
Update to mybed 3.0.0 ( #5275 )
2021-07-27 20:34:14 +00:00
Alexander Harkness
940e03d0ec
Update Core ( #5274 )
2021-07-25 19:50:19 +03:00
Kiryu144
36a97d441b
Added y bounds checking for cPlayer::PlaceBlock ( #5194 )
2021-07-23 10:14:01 +01:00
Mattes D
179d6da490
Setting command-block's command requires a permission. ( #5270 )
2021-07-20 18:48:05 +00:00
x12xx12x
094cd6174f
Update README.md ( #5262 )
2021-07-10 21:06:31 +00:00
Alexander Harkness
4bb359f067
Update build script names to be more intuitive.
...
See: e77a4ab46d
2021-07-10 21:59:18 +01:00
KingCol13
1d1fa91401
Chorus fruit teleport ( #5259 )
...
* Outline function for teleporting.
* Created new handler for chorus fruit.
* Fixed AttemptTeleport failing.
* Better names, working sound effect.
* Corrected naming.
* Remove stray LOGD.
* Offset teleport to middle of block.
* Style Fixes
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* Style Fixes 2
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* Move FindTeleportDestination to static cPawn method.
* cBoundingBox interface.
* Cleanup includes.
* Maybe exported to API?
* Change a_World to reference, add to APIDesc.
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
2021-07-10 20:05:00 +00:00
Tiger Wang
e9265b1d01
Symmetry in MultiVersionProtocol to fix a crash ( #5261 )
...
+ Add HandleOutgoingData, which tests for m_Protocol before calling DataPrepared.
* Change std::function to bool + if/else to handle incoming data; it's almost certainly faster.
* Fixes #5260
2021-07-10 20:04:49 +00:00
KingCol13
68776c4d59
Item frame maps ( #5258 )
...
+ Send map data when item frame spawns.
+ Add some casts to placate compiler warnings.
* size_t for array access.
* Mark chunk dirty when rotation or item in item frame is changed.
2021-07-09 18:45:53 +01:00
Tiger Wang
4ec44751e2
ProtoProxy: encrypt in-place
2021-07-06 21:33:03 +01:00
Tiger Wang
fe82551f32
Replace chunk coordinates magic with numeric_limits
2021-07-06 21:33:03 +01:00
Tiger Wang
06a2b1211b
Invalidate m_LastStreamedChunk when player position doesn't match
...
So teleporting to and back doesn't cause chunk sending to stop.
* Fixes #4531
2021-07-06 21:33:03 +01:00
Tiger Wang
bab5794f76
Remove some unused typedefs
2021-07-06 21:33:03 +01:00
Tiger Wang
e735faf755
Protocol: call the encryptor once before sending data
2021-07-06 21:33:03 +01:00
Tiger Wang
8a08b3d3b7
Remove outdated comment and redundant check
...
Refactoring made the comment no longer true.
The check isn't needed since no packets are sent, and Destroy does nothing, if m_HasSentDC.
2021-07-06 21:33:03 +01:00
Tiger Wang
3e8c945a09
Lighters: don't activate TNT when crouched
...
* Fixes #5247
2021-06-28 21:54:21 +01:00
Tiger Wang
17048fc1e3
Documentation: add statistics descriptions
2021-06-28 21:54:21 +01:00
Tiger Wang
208616041f
Documentation: update chat colour link
2021-06-28 21:54:21 +01:00
Tiger Wang
3252b3d4dc
Remove spammy LOGD output
2021-06-28 21:54:21 +01:00
Tiger Wang
b98e2c17e0
Don't flush ClientHandle data multiple times
...
* Change cWorld::m_Players to a vector
2021-06-28 21:54:21 +01:00
Tiger Wang
8b62245dfb
Remove LUA_PLUGIN_NAME_VAR_NAME
2021-06-28 21:54:21 +01:00
Tiger Wang
ddf352e1e3
Remove orphaned API symbols
...
https://github.com/cuberite/cuberite/issues/5195#issue-860458139
2021-06-28 21:54:21 +01:00
Tiger Wang
81f63b6a09
Re-export SetBlockMeta
...
* Fixes #5195
2021-06-28 21:54:21 +01:00
Tiger Wang
04f02a675d
Protocol: use dedicated packet for 1 block change
...
It's six bytes smaller.
2021-06-28 21:54:21 +01:00
Tiger Wang
93611b8437
SetBedPos: make World parameter non-null
...
* Fixes #5190
2021-06-28 21:54:21 +01:00
Tiger Wang
2109057119
Windows: do not include sdkddkver before defining WIN32_WINNT
...
Including that header before defining the macro defaults the SDK to the latest version, not what we want.
2021-06-28 21:54:21 +01:00
Tiger Wang
91c1d1c58a
Windows backtrace: fprintf to fputs
2021-06-28 21:54:21 +01:00
Alexander Harkness
17820b94f6
Double slabs are not transparent blocks
...
Fixes #4630
2021-06-27 17:21:44 +01:00
liuxsdev
ba07db937c
add missing ";;" in case statement ( #5251 )
2021-06-26 07:32:56 +00:00
Tiger Wang
ecc8ffbd80
Compile the entire Lua stack as C++
...
* Fixes #5216
2021-06-25 10:17:53 +01:00
Alexander Harkness
e77a4ab46d
Compile with 4 threads on Jenkins builds, the build slaves were upgraded
2021-06-23 23:52:31 +01:00
x12xx12x
5b8b6eeaa8
fixed crash on lua DoExplosion call
2021-06-23 17:13:35 +01:00
x12xx12x
cc9f7c06b3
Add optional prefix parameter to LOG functions ( #5229 )
...
Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
2021-06-22 23:09:06 +01:00