1
0
cuberite-2a/source
faketruth f47c852186 Fixed crashing bug in cClientHandle::~cClientHandle
When there are players in the server, and a client connects as far as the handshake and then disconnects, the server crashed.
This is because there is no m_Player yet after the handshake, and the destructor uses m_Player without checking if it exists

git-svn-id: http://mc-server.googlecode.com/svn/trunk@163 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-01-02 19:03:19 +00:00
..
md5 MCServer c++ source files 2011-10-03 18:41:19 +00:00
packets - implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory) 2012-01-01 04:55:17 +00:00
AllToLua.bat MCServer c++ source files 2011-10-03 18:41:19 +00:00
AllToLua.pkg MCServer c++ source files 2011-10-03 18:41:19 +00:00
Bindings.cpp CreativeInventory Update 2012-01-01 18:45:28 +00:00
Bindings.h CreativeInventory Update 2012-01-01 18:45:28 +00:00
BlockID.h Updated redstone and pistons some mode. If you break an extended piston the piston extension will now also break. When a redstone device is broken by something other than a person the redstone circuit should now update. 2011-11-07 22:59:29 +00:00
cAggressiveMonster.cpp - Linux compatible fixes including updated makefile 2011-12-26 09:09:47 +00:00
cAggressiveMonster.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cAuthenticator.cpp Code improvements 2011-12-25 13:44:22 +00:00
cAuthenticator.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cBlockEntity.h Patch with diff file created by Sebi (implemented some stuff like lava physics, drops are deleted when in lava, water is now slower, lava gives actual damage etc.). Pistons now work mostly as they should. They do not yet show the motion animation and do not emit sound. They do extend, push, and retract as they should though. Right now the only way to activate a piston is to light redstone wire adjacent to it with a redstone torch. 2011-11-06 09:23:20 +00:00
cBlockingTCPLink.cpp Compiles for linux 2011-10-21 21:25:29 +00:00
cBlockingTCPLink.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cBlockToPickup.cpp - implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory) 2012-01-01 04:55:17 +00:00
cBlockToPickup.h - improved and simplified the door system (shorter, clearer) 2011-12-25 01:40:31 +00:00
cCavespider.cpp - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cCavespider.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cChatColor.cpp - Make Color was using 2 extra characters which took 2 characters off the 16 max (including color codes) for scoreboard display 2011-12-26 01:07:35 +00:00
cChatColor.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cChestEntity.cpp - Chests open and close on clients when opened/closed 2011-12-29 13:16:23 +00:00
cChestEntity.h M$ BS... 2011-12-29 13:39:15 +00:00
cChicken.cpp - Implemented Drops from Burning animals 2011-12-28 02:10:05 +00:00
cChicken.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cChunk.cpp Fixed the numchunks console command. 2012-01-01 16:20:52 +00:00
cChunk.h Fixed the numchunks console command. 2012-01-01 16:20:52 +00:00
cChunk.inl.h Made a couple of functions in cChunk inline, this should speed up several block operations on chunks 2011-12-31 21:08:23 +00:00
cChunkGenerator.cpp The missing file! cChunkGenerator.h/cpp 2011-12-25 12:55:20 +00:00
cChunkGenerator.h The missing file! cChunkGenerator.h/cpp 2011-12-25 12:55:20 +00:00
cChunkLoader.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cChunkLoader.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cChunkMap.cpp Fixed the numchunks console command. 2012-01-01 16:20:52 +00:00
cChunkMap.h Fixed the numchunks console command. 2012-01-01 16:20:52 +00:00
cClientHandle.cpp Fixed crashing bug in cClientHandle::~cClientHandle 2012-01-02 19:03:19 +00:00
cClientHandle.h - Added chicken to eating 2011-12-28 11:27:36 +00:00
cCow.cpp - Implemented Drops from Burning animals 2011-12-28 02:10:05 +00:00
cCow.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cCraftingWindow.cpp Code improvements 2011-12-25 13:44:22 +00:00
cCraftingWindow.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cCreativeInventory.cpp - implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory) 2012-01-01 04:55:17 +00:00
cCreativeInventory.h - implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory) 2012-01-01 04:55:17 +00:00
cCreeper.cpp - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cCreeper.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cCriticalSection.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cCriticalSection.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cCuboid.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cCuboid.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cDoors.h - improved and simplified the door system (shorter, clearer) 2011-12-25 01:40:31 +00:00
cEnderman.cpp - Implemented Drops from Burning animals 2011-12-28 02:10:05 +00:00
cEnderman.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cEntity.cpp Made some functions in cChunk and cNoise inline, this should significantly increase chunk generation speed 2011-12-26 02:13:40 +00:00
cEntity.h Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld() 2011-12-26 21:54:08 +00:00
cEvent.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cEvent.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cFileFormatUpdater.cpp You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yet 2011-11-01 21:57:08 +00:00
cFileFormatUpdater.h Player data is saved and loaded as human readable JSON now. 2011-10-31 21:30:14 +00:00
cFireSimulator.cpp - water slacks fire now 2011-12-29 00:44:19 +00:00
cFireSimulator.h - water slacks fire now 2011-12-29 00:44:19 +00:00
cFluidSimulator.cpp - Pickups should now burn in fire 2011-12-29 02:44:21 +00:00
cFluidSimulator.h - water slacks fire now 2011-12-29 00:44:19 +00:00
cFurnaceEntity.cpp - Chests open and close on clients when opened/closed 2011-12-29 13:16:23 +00:00
cFurnaceEntity.h Prepared some parts of the code for multi world support, I created lots of TODO's 2011-10-31 00:52:20 +00:00
cFurnaceRecipe.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cFurnaceRecipe.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cFurnaceWindow.cpp Code improvements 2011-12-25 13:44:22 +00:00
cFurnaceWindow.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cGenSettings.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cGenSettings.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cGhast.cpp - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cGhast.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cGroup.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cGroup.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cGroupManager.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cGroupManager.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cHeartBeat.cpp Compiles for linux 2011-10-21 21:25:29 +00:00
cHeartBeat.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cInventory.cpp CreativeInventory Update 2012-01-01 18:45:28 +00:00
cInventory.h CreativeInventory Update 2012-01-01 18:45:28 +00:00
cItem.cpp - implemented the fire simulation in native c++ (cFireSimulator) 2011-12-28 21:00:35 +00:00
cItem.h - implemented the fire simulation in native c++ (cFireSimulator) 2011-12-28 21:00:35 +00:00
cLadder.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cLavaSimulator.cpp - water slacks fire now 2011-12-29 00:44:19 +00:00
cLavaSimulator.h - water slacks fire now 2011-12-29 00:44:19 +00:00
cLog.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cLog.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cLuaCommandBinder.cpp Fixed crash when client only sends a space in the chat 2011-11-02 01:20:40 +00:00
cLuaCommandBinder.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cMakeDir.cpp Fixed bug in cMakeDir where it would only create directories named "world" 2011-10-26 13:07:39 +00:00
cMakeDir.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cMCLogger.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cMCLogger.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cMonster.cpp - Implemented Drops from Burning animals 2011-12-28 02:10:05 +00:00
cMonster.h - Implemented Drops from Burning animals 2011-12-28 02:10:05 +00:00
cMonsterConfig.cpp - Animals burn now when moving into lava or fire 2011-12-29 22:55:25 +00:00
cMonsterConfig.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cNoise.cpp Made some functions in cChunk and cNoise inline, this should significantly increase chunk generation speed 2011-12-26 02:13:40 +00:00
cNoise.h Made some functions in cChunk and cNoise inline, this should significantly increase chunk generation speed 2011-12-26 02:13:40 +00:00
cNoise.inc Made some functions in cChunk and cNoise inline, this should significantly increase chunk generation speed 2011-12-26 02:13:40 +00:00
cPassiveAggressiveMonster.cpp - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cPassiveAggressiveMonster.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cPassiveMonster.cpp - improved Simulator system 2011-12-26 20:57:12 +00:00
cPassiveMonster.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cPawn.cpp - Animals burn now when moving into lava or fire 2011-12-29 22:55:25 +00:00
cPawn.h - Initial food handling by cedeel 2011-12-29 15:31:48 +00:00
cPickup.cpp - Pickups should now burn in fire 2011-12-29 02:44:21 +00:00
cPickup.h Very alpha water physic for pickups (The swim now) 2011-12-24 01:36:15 +00:00
cPig.cpp - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cPig.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cPiston.cpp Redstone clocks now work. even one clocks. torches don't update themselves when placed yet, but redstone wire updates the torch. Fixed a bug with piston animations. 2011-11-09 01:31:19 +00:00
cPiston.h Added Sebi's changes to pistons and item drops. 2011-11-07 18:19:38 +00:00
cPlayer.cpp CreativeInventory Update 2012-01-01 18:45:28 +00:00
cPlayer.h CreativeInventory Update 2012-01-01 18:45:28 +00:00
cPlugin_Lua.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cPlugin_Lua.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cPlugin.cpp It's a Squirrel!! 2011-11-08 01:25:01 +00:00
cPlugin.h It's a Squirrel!! 2011-11-08 01:25:01 +00:00
cPluginManager.cpp It's a Squirrel!! 2011-11-08 01:25:01 +00:00
cPluginManager.h It's a Squirrel!! 2011-11-08 01:25:01 +00:00
cRecipeChecker.cpp - Crafting fixed in 1.0.0 2011-12-21 20:42:34 +00:00
cRecipeChecker.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cRedstone.cpp Some more changes to redstone. 2011-11-10 17:03:35 +00:00
cRedstone.h Redstone clocks now work. even one clocks. torches don't update themselves when placed yet, but redstone wire updates the torch. Fixed a bug with piston animations. 2011-11-09 01:31:19 +00:00
cReferenceManager.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cReferenceManager.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cRoot.cpp Added thread names to cThread so when debugging in Visual Studio you actually know what thread you're looking at 2011-12-23 14:26:29 +00:00
cRoot.h You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yet 2011-11-01 21:57:08 +00:00
cSandSimulator.cpp - Animals burn now when moving into lava or fire 2011-12-29 22:55:25 +00:00
cSandSimulator.h - Pickups should now burn in fire 2011-12-29 02:44:21 +00:00
cSemaphore.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cSemaphore.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cServer.cpp Fixed the numchunks console command. 2012-01-01 16:20:52 +00:00
cServer.h Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld() 2011-12-26 21:54:08 +00:00
cSheep.cpp - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cSheep.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cSign.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cSignEntity.cpp Prepared some parts of the code for multi world support, I created lots of TODO's 2011-10-31 00:52:20 +00:00
cSignEntity.h Prepared some parts of the code for multi world support, I created lots of TODO's 2011-10-31 00:52:20 +00:00
cSilverfish.cpp - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cSilverfish.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cSimulator.cpp - improved Simulator system 2011-12-26 20:57:12 +00:00
cSimulator.h - improved Simulator system 2011-12-26 20:57:12 +00:00
cSimulatorManager.cpp - improved Simulator system 2011-12-26 20:57:12 +00:00
cSimulatorManager.h - improved Simulator system 2011-12-26 20:57:12 +00:00
cSkeleton.cpp - Implemented Drops from Burning animals 2011-12-28 02:10:05 +00:00
cSkeleton.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cSleep.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cSleep.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cSlime.cpp - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cSlime.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cSocket.cpp Abstracted sockets some more to ensure the same behavior over the entire program and on multiple platforms. 2011-10-23 00:18:44 +00:00
cSocket.h Abstracted sockets some more to ensure the same behavior over the entire program and on multiple platforms. 2011-10-23 00:18:44 +00:00
cSpider.cpp - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cSpider.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cSquid.cpp - Implemented Drops from Burning animals 2011-12-28 02:10:05 +00:00
cSquid.h - improved Simulator system 2011-12-26 20:57:12 +00:00
cStairs.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cStringMap.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cStringMap.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cSurvivalInventory.cpp CreativeInventory Update 2012-01-01 18:45:28 +00:00
cSurvivalInventory.h CreativeInventory Update 2012-01-01 18:45:28 +00:00
cTCPLink.cpp Abstracted sockets some more to ensure the same behavior over the entire program and on multiple platforms. 2011-10-23 00:18:44 +00:00
cTCPLink.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cThread.cpp Added thread names to cThread so when debugging in Visual Studio you actually know what thread you're looking at 2011-12-23 14:26:29 +00:00
cThread.h Added thread names to cThread so when debugging in Visual Studio you actually know what thread you're looking at 2011-12-23 14:26:29 +00:00
cTimer.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cTimer.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cTorch.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cTracer.cpp Fixes: 2011-12-22 16:30:40 +00:00
cTracer.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cWaterSimulator.cpp - water slacks fire now 2011-12-29 00:44:19 +00:00
cWaterSimulator.h - water slacks fire now 2011-12-29 00:44:19 +00:00
cWebAdmin.cpp It's a Squirrel!! 2011-11-08 01:25:01 +00:00
cWebAdmin.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cWebPlugin.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
cWebPlugin.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
cWindow.cpp CreativeInventory Update 2012-01-01 18:45:28 +00:00
cWindow.h - Linux compatible fixes including updated makefile 2011-12-26 09:09:47 +00:00
cWindowOwner.h - Chests open and close on clients when opened/closed 2011-12-29 13:16:23 +00:00
cWolf.cpp - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cWolf.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cWorld.cpp Fixed the numchunks console command. 2012-01-01 16:20:52 +00:00
cWorld.h Fixed the numchunks console command. 2012-01-01 16:20:52 +00:00
cWorldGenerator_Test.cpp Some kind of 'template' world generator that right now just generates an all dirt world. You can use this to test new algorithms 2011-12-26 23:23:05 +00:00
cWorldGenerator_Test.h Some kind of 'template' world generator that right now just generates an all dirt world. You can use this to test new algorithms 2011-12-26 23:23:05 +00:00
cWorldGenerator.cpp - Linux compatible fixes including updated makefile 2011-12-26 09:09:47 +00:00
cWorldGenerator.h Moved the actual world generation from cChunk.cpp to a more isolated file cWorldGenerator.cpp 2011-12-26 02:39:43 +00:00
cZombie.cpp - Implemented Drops from Burning animals 2011-12-28 02:10:05 +00:00
cZombie.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
cZombiepigman.cpp - Implemented Drops from Burning animals 2011-12-28 02:10:05 +00:00
cZombiepigman.h - Fixed Bug #99 -> Mobs no longer bother you in creative mode 2011-12-25 22:47:12 +00:00
Defines.h - Implemented function to check item category 2011-12-25 17:47:01 +00:00
Endianness.h Added cRedstone to project file 2011-11-04 16:05:18 +00:00
FileDefine.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
lua5.1.dll Added m_IP to player class and binding to get IP for LUA. (Probably should use m_pState) 2011-11-09 22:17:30 +00:00
LuaFunctions.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
main.cpp It's a Squirrel!! 2011-11-08 01:25:01 +00:00
ManualBindings.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
ManualBindings.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
Matrix4f.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
Matrix4f.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
MCSocket.h Abstracted sockets some more to ensure the same behavior over the entire program and on multiple platforms. 2011-10-23 00:18:44 +00:00
MemoryLeak.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
MersenneTwister.h - Linux compatible fixes including updated makefile 2011-12-26 09:09:47 +00:00
PacketID.h - implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory) 2012-01-01 04:55:17 +00:00
SquirrelBindings.cpp It's a Squirrel!! 2011-11-08 01:25:01 +00:00
SquirrelBindings.h It's a Squirrel!! 2011-11-08 01:25:01 +00:00
tolua_base.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
tolua++.exe MCServer c++ source files 2011-10-03 18:41:19 +00:00
tolua++.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
Vector3d.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
Vector3d.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
Vector3f.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
Vector3f.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
Vector3i.cpp MCServer c++ source files 2011-10-03 18:41:19 +00:00
Vector3i.h MCServer c++ source files 2011-10-03 18:41:19 +00:00
virtual_method_hooks.lua MCServer c++ source files 2011-10-03 18:41:19 +00:00