1
0
Fork 0
cuberite-2a/src
Tiger Wang eb4432bb62 Tentative fix for player-limit race condition (#3862)
* Attempts to fix #2257

Derived from d233e9843148313c71fbaba96ccff660e47b07b1

* Changed player count type to int

* Clarified certain actions
2017-07-28 17:54:40 +01:00
..
Bindings Remove smart pointer macros 2017-07-21 14:41:51 +01:00
BlockEntities Added basic ocelot behavior (#3829) 2017-07-12 12:42:02 +02:00
Blocks Break the cactus block when it grows next to a block. (#3851) 2017-07-18 15:14:52 +02:00
Entities Tentative fix for player-limit race condition (#3862) 2017-07-28 17:54:40 +01:00
Generating Remove smart pointer macros 2017-07-21 14:41:51 +01:00
HTTP Remove smart pointer macros 2017-07-21 14:41:51 +01:00
Items BigFlower fixes (#3826) 2017-07-07 16:37:53 +02:00
Mobs Creepers explode when burned by flint and steel (#3865) 2017-07-22 22:05:09 +01:00
Noise Added NoiseSpeedTest project. 2016-11-15 07:38:00 +01:00
OSSupport Remove alignment macros 2017-07-21 14:41:51 +01:00
PolarSSL++ Remove smart pointer macros 2017-07-21 14:41:51 +01:00
Protocol Tentative fix for player-limit race condition (#3862) 2017-07-28 17:54:40 +01:00
Resources New icon colors (#3675) 2017-06-03 18:49:02 +02:00
Simulator Increment fire block iterator 2017-07-21 14:42:38 +01:00
UI Handle middle mouse drag (#3847) 2017-07-13 15:43:48 +02:00
WorldStorage Remove smart pointer macros 2017-07-21 14:41:51 +01:00
AllocationPool.h MSVC Debug builds: Added operator new redirection to provide more info. (#3781) 2017-06-19 11:09:16 +02:00
BiomeDef.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
BiomeDef.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
BlockArea.cpp BlockArea: Added the GetBounds function. 2017-07-22 19:57:25 +02:00
BlockArea.h BlockArea: Added the GetBounds function. 2017-07-22 19:57:25 +02:00
BlockID.cpp Fixed RasPi builds of unit tests. 2016-08-04 20:47:53 +02:00
BlockID.h BigFlower fixes (#3826) 2017-07-07 16:37:53 +02:00
BlockInServerPluginInterface.h Placing a fluid from bucket calls plugin hooks. 2015-04-14 10:49:01 +02:00
BlockInfo.cpp cBlockInfo static initialisation (#3832) 2017-07-03 18:34:27 +02:00
BlockInfo.h cBlockInfo static initialisation (#3832) 2017-07-03 18:34:27 +02:00
BlockTracer.h Tracer replacement (#3704) 2017-05-11 13:34:36 +01:00
BoundingBox.cpp SelfTests: Moved BoundingBox test to a separate project. 2016-06-18 13:12:09 +02:00
BoundingBox.h Bindings: Fixed cBoundingBox API. 2016-06-05 18:23:16 +02:00
BrewingRecipes.cpp Minor cBrewingRecipes cleanup (#3731) 2017-05-28 20:08:23 +02:00
BrewingRecipes.h Minor cBrewingRecipes cleanup (#3731) 2017-05-28 20:08:23 +02:00
Broadcaster.cpp Removed ClientHandle.h dependencies from common headers. 2016-11-18 20:00:04 +01:00
Broadcaster.h Added support for additional data in the ParticleEffect Packet 2015-05-07 03:47:46 +01:00
BuildInfo.h.cmake Added abilty to set build info 2014-09-10 16:07:00 +01:00
ByteBuffer.cpp Use CMake's Android generators to crosscompile 2016-12-12 14:32:32 +00:00
ByteBuffer.h Spectators added (#2852) 2016-10-12 14:38:45 +02:00
CMakeLists.txt Removed the LeakFinder for Windows. (#3777) 2017-06-19 11:05:19 +02:00
ChatColor.cpp Refactored cChatColor 2014-07-19 11:09:39 -07:00
ChatColor.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
CheckBasicStyle.lua StyleCheck: Add "else has to be on a separate line" (#3412) 2016-10-20 19:09:18 +02:00
Chunk.cpp Break the cactus block when it grows next to a block. (#3851) 2017-07-18 15:14:52 +02:00
Chunk.h Added bed entity (#3823) 2017-07-07 09:31:45 +02:00
ChunkData.cpp Out of world blocks are now always considered air blocks 2016-04-23 09:54:34 +03:00
ChunkData.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
ChunkDataCallback.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
ChunkDef.h Store cChunk::m_BlockEntities in a map (#3717) 2017-05-22 22:27:55 +02:00
ChunkMap.cpp Simulators: Added area-based wakeup. 2017-07-16 10:01:19 +02:00
ChunkMap.h Simulators: Added area-based wakeup. 2017-07-16 10:01:19 +02:00
ChunkSender.cpp 1.9 / 1.9.2 / 1.9.3 / 1.9.4 protocol support (#3135) 2016-05-14 20:12:42 +01:00
ChunkSender.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
ChunkStay.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
ChunkStay.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
ClientHandle.cpp Tentative fix for player-limit race condition (#3862) 2017-07-28 17:54:40 +01:00
ClientHandle.h Remove smart pointer macros 2017-07-21 14:41:51 +01:00
Color.cpp Leather Armor can now be dyed. 2015-07-15 14:05:36 -06:00
Color.h Lua plugin cColor (#3833) 2017-07-12 12:30:43 +02:00
CommandOutput.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
CommandOutput.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
CompositeChat.cpp CompositeChat: Use shorter JSON format. 2016-12-16 00:07:23 +01:00
CompositeChat.h Fixed cCompositeChat's constructor LuaAPI bindings. 2016-09-25 12:42:05 +02:00
CraftingRecipes.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
CraftingRecipes.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Cuberite.vcxproj.user Renamed leftover strings to Cuberite / Server, as needed. 2016-01-01 21:05:09 +01:00
Cuboid.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Cuboid.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
DeadlockDetect.cpp DeadlockDetect now lists some tracked CS's stats. 2017-01-18 09:03:05 +01:00
DeadlockDetect.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
Defines.h Handle middle mouse drag (#3847) 2017-07-13 15:43:48 +02:00
EffectID.h Update tolua and export EffectID 2017-06-29 18:58:48 +02:00
Enchantments.cpp FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
Enchantments.h Updated links and docs (#3488) 2016-12-19 17:08:19 +01:00
Endianness.h Fixes compilation failures on MacOSX 10.10 2015-07-09 11:15:37 -06:00
FastRandom.cpp FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
FastRandom.h Tentative fix for player-limit race condition (#3862) 2017-07-28 17:54:40 +01:00
ForEachChunkProvider.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
FurnaceRecipe.cpp Use CMake's Android generators to crosscompile 2016-12-12 14:32:32 +00:00
FurnaceRecipe.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Globals.cpp Moved source to src 2013-11-24 14:19:41 +00:00
Globals.h Tentative fix for player-limit race condition (#3862) 2017-07-28 17:54:40 +01:00
IniFile.cpp Revert "Issue3136" 2016-04-14 12:40:46 +03:00
IniFile.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
Inventory.cpp Off-hand/shield slot functional, save and load slot, bow + arrow functional (#3725) 2017-05-24 08:09:58 +02:00
Inventory.h Off-hand/shield slot functional, save and load slot, bow + arrow functional (#3725) 2017-05-24 08:09:58 +02:00
Item.cpp Added armor durability reduction when player is attacked. 2017-07-02 07:45:49 +02:00
Item.h APIDump: Reformatted the docs to include type information. 2016-09-12 23:21:15 +02:00
ItemGrid.cpp cItemGrid bounds check (#3837) 2017-07-09 22:54:56 +02:00
ItemGrid.h cItemGrid bounds check (#3837) 2017-07-09 22:54:56 +02:00
LightingThread.cpp Lighting Optimisations (#3785) 2017-06-20 09:28:33 +02:00
LightingThread.h Lighting Optimisations (#3785) 2017-06-20 09:28:33 +02:00
LineBlockTracer.cpp LineBlockTracer: Fixed a math rounding error failure. 2017-05-28 20:59:37 +02:00
LineBlockTracer.h Tracer replacement (#3704) 2017-05-11 13:34:36 +01:00
LinearInterpolation.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
LinearInterpolation.h Unified the doxy-comment format. 2015-07-31 16:49:10 +02:00
LinearUpscale.h Fixed RasPi builds of unit tests. 2016-08-04 20:47:53 +02:00
Logger.cpp Increase robustness of the logging subsystem 2015-09-15 16:19:49 +01:00
Logger.h Add command line argument for disabling the logfile 2017-06-03 21:40:35 +02:00
LoggerListeners.cpp Use CMake's Android generators to crosscompile 2016-12-12 14:32:32 +00:00
LoggerListeners.h Increase robustness of the logging subsystem 2015-09-15 16:19:49 +01:00
Map.cpp FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
Map.h Improved maps 2015-07-14 21:46:30 +01:00
MapManager.cpp Improved maps 2015-07-14 21:46:30 +01:00
MapManager.h Improved maps 2015-07-14 21:46:30 +01:00
Matrix4.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
MemorySettingsRepository.cpp Initial implementation of IniFile overloading 2015-05-16 10:46:51 +01:00
MemorySettingsRepository.h Fixed RasPi builds of unit tests. 2016-08-04 20:47:53 +02:00
MobCensus.cpp Fixed warnings in MSVC. 2015-06-02 12:51:43 +02:00
MobCensus.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
MobFamilyCollecter.cpp Made -Weverything an error. 2015-05-24 12:56:56 +01:00
MobFamilyCollecter.h Fixed spaces around single-line comments. 2014-07-17 19:13:23 +02:00
MobProximityCounter.cpp Silenced and fixed many warning messages across multiple files. 2015-07-29 09:49:30 -06:00
MobProximityCounter.h CheckBasicStyle: checks spaces around * and &. 2015-05-09 12:58:55 +02:00
MobSpawner.cpp FastRandom: Remove discrepancy between arg and return value type. (#3846) 2017-07-21 12:06:21 +02:00
MobSpawner.h FastRandom: Remove discrepancy between arg and return value type. (#3846) 2017-07-21 12:06:21 +02:00
MonsterConfig.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
MonsterConfig.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
NetherPortalScanner.cpp Work on NetherPortalScanner. Setup portal scanner to reset PortalCooldown. Changed where player is spawned. Added a_InitSpawn flag to CreateAndInitializeWorld. 2015-06-13 16:09:43 -05:00
NetherPortalScanner.h Prevent Nether teleportation loops 2016-04-04 17:53:08 +03:00
OverridesSettingsRepository.cpp Proper fix for #3136 (#3143) 2016-04-18 23:04:13 +01:00
OverridesSettingsRepository.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
ProbabDistrib.cpp FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
ProbabDistrib.h FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
RCONServer.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
RCONServer.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
RankManager.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
RankManager.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Root.cpp Add command line argument for disabling the logfile 2017-06-03 21:40:35 +02:00
Root.h Add support for alternate config file locations (#3578) 2017-02-22 14:10:32 +01:00
Scoreboard.cpp Added GetTeamNames to cScoreboard (#3217) 2016-05-29 19:12:18 +02:00
Scoreboard.h Added GetTeamNames to cScoreboard (#3217) 2016-05-29 19:12:18 +02:00
Server.cpp Tentative fix for player-limit race condition (#3862) 2017-07-28 17:54:40 +01:00
Server.h Tentative fix for player-limit race condition (#3862) 2017-07-28 17:54:40 +01:00
SetChunkData.cpp Store cChunk::m_BlockEntities in a map (#3717) 2017-05-22 22:27:55 +02:00
SetChunkData.h Remove smart pointer macros 2017-07-21 14:41:51 +01:00
SettingsRepositoryInterface.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
SpawnPrepare.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
SpawnPrepare.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Statistics.cpp Made -Weverything an error. 2015-05-24 12:56:56 +01:00
Statistics.h Fixed spaces around single-line comments. 2014-07-17 19:13:23 +02:00
Stopwatch.h Added PieceStructures generator. 2015-12-01 10:35:07 +01:00
StringCompression.cpp Fixed type-casting-related warnings. 2016-08-24 22:26:53 +02:00
StringCompression.h Unified the doxy-comment format. 2015-07-31 16:49:10 +02:00
StringUtils.cpp Remove stricmp macro in favour of NoCaseCompare 2017-07-21 14:41:51 +01:00
StringUtils.h PieceGenerator: Added rotation-aware vertical connectors. 2017-02-13 16:50:35 +01:00
Tracer.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Tracer.h Tracer replacement (#3704) 2017-05-11 13:34:36 +01:00
Vector3.h Vector3: Removed useless NormalizeCopy overload from LuaAPI. 2016-07-18 22:11:39 +02:00
VoronoiMap.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
VoronoiMap.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
WebAdmin.cpp Remove smart pointer macros 2017-07-21 14:41:51 +01:00
WebAdmin.h Remove smart pointer macros 2017-07-21 14:41:51 +01:00
World.cpp Remove smart pointer macros 2017-07-21 14:41:51 +01:00
World.h Remove smart pointer macros 2017-07-21 14:41:51 +01:00
XMLParser.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
main.cpp Removed the LeakFinder for Windows. (#3777) 2017-06-19 11:05:19 +02:00