1
0
Commit Graph

8068 Commits

Author SHA1 Message Date
Mattes D
35a3a1b9f4 cByteBuffer: Improved SingleThreadAccessChecker performance.
But it's still poor and unusable for regular testing.
2015-01-03 22:24:12 +01:00
Mattes D
7a400bdcd1 Merge pull request #1691 from tonibm19/patch-3
Added player count to webadmin
2014-12-30 10:34:37 +01:00
tonibm19
48b0f4daa4 Use cRoot:Get():GetServer():GetNumPlayers() instead of a custom function. 2014-12-30 10:31:16 +01:00
tonibm19
b621fb511f Added player count to webadmin
Now it shows the number of online players near the memory use
2014-12-29 20:21:57 +01:00
worktycho
dcdecc0ca7 Add make as a required program for *nix 2014-12-26 14:27:26 +00:00
Mattes D
19ff14752e MobHead: Fixed wither spawning. 2014-12-25 20:41:27 +01:00
Mattes D
9e4528793a ProtoProxy: Log block change packet details. 2014-12-25 20:41:12 +01:00
Mattes D
eddbce64be MobHeads: fixed regular head placement. 2014-12-25 20:41:12 +01:00
Mattes D
8730643720 Merge pull request #1687 from mc-server/StyleCheckTravis
Style check travis
2014-12-25 20:23:32 +01:00
Mattes D
f5005fd2f8 Travis style check in the right folder. 2014-12-25 09:11:25 +01:00
Mattes D
e8c8aca779 Travis: Added lua installation before build. 2014-12-25 08:59:28 +01:00
Mattes D
ff65e77c57 Added basic style checking to Travis builds. 2014-12-25 08:49:47 +01:00
Mattes D
7d35e84578 Fixed tools compilation.
Fixes errors introduced in 081e7ddd02.
2014-12-25 08:47:35 +01:00
Mattes D
9e478c6f29 Fixed door placement. 2014-12-25 01:00:51 +01:00
Mattes D
1af6210466 Fixed forgotten big flower handler. 2014-12-25 00:51:24 +01:00
Mattes D
3da6e4374e Fixed basic style. 2014-12-25 00:44:09 +01:00
Mattes D
f59740b262 APIDump: Added details about client handle in OnServerPing hook. 2014-12-25 00:36:01 +01:00
Mattes D
081e7ddd02 cIsThread: Fixed a race condition on thread start. 2014-12-25 00:34:54 +01:00
Mattes D
1d593134da Merge pull request #1686 from mc-server/PlaceBlockRefactor
Place block refactor
2014-12-25 00:31:56 +01:00
Mattes D
5609d76ed7 APIDump: Updated the player block placement documentation.
The hooks now have fewer parameters but are called on all player-placed blocks (#1618).
2014-12-24 20:02:51 +01:00
Mattes D
f07784b92f Fixed redstone dust placement on upside-down slabs. 2014-12-24 19:44:15 +01:00
Mattes D
e09348c05d ByteBuffer: SingleThreadAccessChecker is request-only.
It slows the server down way too much, so it can't be turned on by default.
2014-12-24 09:13:58 +01:00
Mattes D
63de5f8a55 Replaced a std::hash specialization with explicit type.
std::hash is problematic in gcc / clang, one has a class, the other a struct.
2014-12-24 08:38:37 +01:00
Mattes D
9c5463be1e gcc compilation fix. 2014-12-24 07:32:31 +01:00
Mattes D
ccdf03daaf Refactored all player block placing to go through hooks.
Fixes #1618.
2014-12-24 07:20:17 +01:00
Mattes D
075b19c7cb Added Vector3::TurnCW() and Vector3::TurnCCW() 2014-12-24 06:43:28 +01:00
Alexander Harkness
3dd94bac5e Fixed too many slashes. 2014-12-23 14:50:47 +00:00
Alexander Harkness
fc21b1cc10 Better installation script. 2014-12-23 11:54:09 +00:00
Alexander Harkness
9693251da4 Fixed armhf download URL. 2014-12-23 08:08:23 +00:00
worktycho
9fde173142 Init Mojang API pointer
Fixes CID 90583
2014-12-23 00:41:46 +00:00
Mattes D
f3268612fd Merge pull request #1684 from jonfabe/DepthStrider
Add Depth Strider enchantment
2014-12-22 14:45:50 +01:00
Jonathan Fabian
fbd0cf74bd Fix compile error on OS X introduced by commit ecf778bbec
The following error occurs on OS X with the order reversed: `MCServer/src/World.cpp:282:2: error: field 'm_LastSave' will be initialized after field 'm_LastUnload' [-Werror,-Wreorder] m_LastSave(0),`.    Reversing the order of initialization fixes this.
2014-12-21 23:02:02 -05:00
Jonathan Fabian
ae8c871565 Added Depth Strider enchantment 2014-12-21 22:25:27 -05:00
Mattes D
557dc5a93f ProtoProxy: Added a sanity check to metadata string lengths.
Fixes CID 66415.
2014-12-21 22:51:17 +01:00
Mattes D
f5b4c92a10 MCADefrag: Added a sanity check for chunk size.
Fixes CID 66448.
2014-12-21 22:50:32 +01:00
Mattes D
f232704203 WSSAnvil: Added clamping to entity coords.
Fixes CID 72854.
2014-12-21 22:37:48 +01:00
Mattes D
e192da5316 FastNBT: Added a sanity check for number of list items.
Fixes CID 55812.
2014-12-21 22:25:01 +01:00
Mattes D
afdd53729c cChunk: Fixed missing initialization.
Fixes CID 72670.
2014-12-21 22:19:53 +01:00
Mattes D
ecf778bbec cWorld: Moved initialization into constructor.
Fixes CID 71781.
2014-12-21 22:19:22 +01:00
Mattes D
fe00c99c95 cEndGen: Fixed unitialized member variables.
Fixes CID 43671.
2014-12-21 21:59:44 +01:00
Mattes D
c9697083e5 cNoise3DComposable: Fixed unitialized member variables.
Fixes CID 43665.
2014-12-21 21:56:34 +01:00
Mattes D
d4c3821eca Fixed coverity issues in protocols.
Fixes CID 73099, CID 66411.
2014-12-21 20:01:42 +01:00
Mattes D
9e9459a367 Fixed a possible division by zero. 2014-12-21 19:48:29 +01:00
Tiger Wang
0d6672bf5d Fixed crash on restart 2014-12-21 14:31:20 +00:00
Mattes D
d4c9daddb8 Merge pull request #1682 from Masy98/entities
Added Rabbits
2014-12-21 15:18:42 +01:00
Tiger Wang
9755c5ba69 Merge branch 'master' of https://github.com/mc-server/MCServer 2014-12-21 11:57:01 +00:00
Masy98
5695649bb9 Fixed damn empty line with no use 2014-12-20 13:04:42 +01:00
Masy98
7903ee485e Added Rabbit.h and Rabbit.cpp to the CMakeList 2014-12-20 11:41:23 +01:00
Masy98
3d2b1875a1 Fixed Rabbit size 2014-12-20 10:38:56 +01:00
Masy98
6e8e1c6d8d Added Rabbits 2014-12-20 10:31:34 +01:00