summaryrefslogtreecommitdiffstats
path: root/source/Server.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2013-09-28Minor startup streamliningTiger Wang1-4/+3
2013-08-19Fixed WorldTickThread reporting wrong time durations for each tick.madmaxoft1-1/+1
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-2/+1
2013-08-17The server Tick thread ticks PluginManager.madmaxoft1-0/+5
2013-08-14Server counts the players correctly.madmaxoft1-1/+1
2013-08-14Player counts are now properly handled.madmaxoft1-0/+45
2013-08-13Clients are now ticked in cServer first, then in cWorld once they get assigned a world.madmaxoft1-13/+35
2013-08-12Removed cServer::BroadcastChat() and cServer::SendMessage().madmaxoft1-36/+10
2013-08-11Each world now ticks in a separate thread.madmaxoft1-1/+1
2013-08-11Removed cServer::m_pState, dissolved into direct member variables.madmaxoft1-91/+50
2013-08-11Moved MaxPlayers and Description from cWorld to cServer.madmaxoft1-29/+35
2013-08-03Removed some stuff again.Alexander Harkness1-14/+0
2013-08-03Revert "Rm'd startup credits & mv'd to README"Alexander Harkness1-0/+17
2013-08-03Rm'd startup credits & mv'd to READMETiger Wang1-17/+0
2013-08-03Updated inbuilt commands descriptionTiger Wang1-5/+4
2013-06-29Advanced RCON: Command output is sent to the RCON client.madmaxoft@gmail.com1-4/+8
2013-06-27Added a basic RCON protocolmadmaxoft@gmail.com1-2/+5
2013-06-22Plugins can modify message in the OnChat() hook handler.madmaxoft@gmail.com1-1/+1
2013-04-03Server: removed the artificial cap on reported tick durationmadmaxoft@gmail.com1-7/+4
2013-03-23Added auto-kill-with-dump to LeakFinder if the allocated memory grows over 1 GiB.madmaxoft@gmail.com1-0/+8
2013-03-05IPv6 support + removed cTCPLink from Lua APImadmaxoft@gmail.com1-5/+25
2013-03-04Moved client socket accepting into a separate thread object, cListenThreadmadmaxoft@gmail.com1-93/+46
2013-03-04Starting an IPv6 support / cSocket rewritemadmaxoft@gmail.com1-6/+1
2013-02-15Plugins can now bind console commandsmadmaxoft@gmail.com1-83/+21
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-11/+2
2012-11-20Added "primaryserverversion" to the "help" list.madmaxoft@gmail.com1-0/+1
2012-11-20Added primary server version interface to cRoot and "primaryserverversion" console command.madmaxoft@gmail.com1-0/+19
2012-11-11Settings.ini is read only once on server startmadmaxoft@gmail.com1-34/+31
2012-10-20Use leakfinder in debug builds to dump all currently used memory via the "dumpmem" console command.madmaxoft@gmail.com1-0/+23
2012-10-19Removed unused [Physics].Water section from settings.ini.madmaxoft@gmail.com1-8/+2
2012-09-25Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247)madmaxoft@gmail.com1-8/+8
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-13/+13
2012-09-23Source files cleanup: OSSupport-related files in a separate subfolder, renamed.madmaxoft@gmail.com1-2/+2
2012-09-23Source files cleanup: Mobs-related files in a separate subfolder, renamed.madmaxoft@gmail.com1-1/+1
2012-09-23Source files cleanup: Protocol-related files in a separate subfoldermadmaxoft@gmail.com1-1/+1
2012-09-20Refactored windows.madmaxoft@gmail.com1-1/+0
2012-09-06Officially added 1.3.2 protocol supportmadmaxoft@gmail.com1-1/+2
2012-09-04Fixed a possible race condition in cClientHandle's packet sending code; prepared for moving cSocket out of cClientHandle's ownership.madmaxoft@gmail.com1-1/+1
2012-09-04Removed OS dependencies from CryptoPP; Removed unused modules that didn't compile on some platformsmadmaxoft@gmail.com1-1/+4
2012-08-30Implemented 1.3.2 protocol encryption using CryptoPP, up to Client Status packet (http://wiki.vg/Protocol_FAQ step 14)madmaxoft@gmail.com1-0/+18
2012-08-27Cut out all packet handling to a separate cProtocol descendantmadmaxoft@gmail.com1-18/+0
2012-08-24Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com1-14/+32
2012-08-18Chat packet handled in the new way; fixed missing packet sending for inventory slot.madmaxoft@gmail.com1-36/+15
2012-08-15Console command "chunkstats" now lists each world and also totalsmadmaxoft@gmail.com1-26/+1
2012-08-15Added a true "all chunks saved" message for the save-all console command (FS #215)madmaxoft@gmail.com1-1/+1
2012-06-19Fixed a possible crash when restarting / stopping the server.madmaxoft@gmail.com1-0/+1
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-738/+738
2012-06-12Updated the crafting recipes architecture to better support crafting hooks. Removed the old recipe file and implementation altogether.madmaxoft@gmail.com1-1/+0
2012-06-09More ini settings save their defaultsmadmaxoft@gmail.com1-6/+2
2012-05-30Added more statistics to the "chunkstats" server console commandmadmaxoft@gmail.com1-1/+19
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-64/+79
2012-04-11Moved the commands /coords /viewdistance and /regeneratechunks from cServer.cpp to the Core pluginfaketruth1-60/+0
2012-04-10Added the permission "builtin.regeneratechunk" needed for regenerating chunks using a command.madmaxoft@gmail.com1-0/+5
2012-04-10Added the "/regeneratechunk" command that regenerates either current chunk or a chunk specified with x, z parameters. TODO: permissions - we don't want guests erasing our chunks!madmaxoft@gmail.com1-1/+28
2012-03-26Added the supported client version to banner; shamelessly added myself to the authors list ;)madmaxoft@gmail.com1-3/+5
2012-03-19Fixed player heads always pointing north (new EntityHeadLook packet)madmaxoft@gmail.com1-3/+7
2012-03-14Split chunk data into separate arrays; decoupled most sources from cChunk.h dependencymadmaxoft@gmail.com1-1/+1
2012-03-10Fixed a few obsoleted functionsmadmaxoft@gmail.com1-3/+3
2012-03-10Using references instead of pointers for sending packetsmadmaxoft@gmail.com1-1/+1
2012-03-10Fixed *nix threading issue;madmaxoft@gmail.com1-3/+3
2012-03-09cClientHandles have a unique ID now to distinguish themfaketruth1-5/+5
2012-03-05Fixed a potential deadlock ( http://forum.mc-server.org/showthread.php?tid=374 )madmaxoft@gmail.com1-4/+9
2012-02-28Improved threading performance by reducing thread-hopping in queue locks (cs unlocked before event set)madmaxoft@gmail.com1-3/+5
2012-02-26Attempt at fixing crashes with disconnecting playersmadmaxoft@gmail.com1-0/+9
2012-02-26Using cSocketThreads for client outgoing packets. Unfortunately had to put in one intermediate thread (cServer::cNotifyWriteThread) to avoid deadlocks. Still, seems we have a proper multithreading for clients and no more per-client threads, yay :)madmaxoft@gmail.com1-24/+136
2012-02-26Extended SocketThreads for writing support (unusable in cClientHandle due to too many deadlock possibilities)madmaxoft@gmail.com1-1/+1
2012-02-23Made the viewdistance settable by users and default in settings.ini. The default is 9.madmaxoft@gmail.com1-13/+34
2012-02-17Lots of logging addedmadmaxoft@gmail.com1-1/+1
2012-02-16git-svn-id: http://mc-server.googlecode.com/svn/trunk@281 0a769ca7-a7f5-676a-18bf-c427514a06d6faketruth1-1/+1
2012-02-16New server command "unload" to manually unload unused chunksmadmaxoft@gmail.com1-1/+9
2012-02-16Fixed logging in cServermadmaxoft@gmail.com1-1/+1
2012-02-13Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it.madmaxoft@gmail.com1-17/+17
2012-02-08cSocketThreads plugged in for cClientHandle reading. Sending still kept the old way. Please help me test this commit thoroughly, this is a change that can break on subtleties.madmaxoft@gmail.com1-49/+16
2012-02-05Now showing proper error messages when sockets fail :)faketruth1-3/+3
2012-02-02cSocket API fix (possible invalid pointer)madmaxoft@gmail.com1-8/+14
2012-02-01Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients;madmaxoft@gmail.com1-8/+101
2012-02-01Introducing StringUtils - the place to be if you are a generic string routine :) No more sprintf()!madmaxoft@gmail.com1-39/+17
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-11/+7
2012-01-22Improved Core's WebAmin interface a bit.faketruth1-3/+9
2012-01-21Bug FS#131 http://www.mc-server.org/support/index.php?do=details&task_id=131 should be fixedfaketruth1-0/+1
2012-01-19Terrain generation is synchronous again, async generation has bugs.faketruth1-2/+1
2012-01-01Fixed the numchunks console command.faketruth1-1/+1
2011-12-26Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld()faketruth1-10/+0
2011-12-25Code improvementslapayo94@gmail.com1-1/+18
2011-12-23Added thread names to cThread so when debugging in Visual Studio you actually know what thread you're looking atfaketruth1-2/+2
2011-11-01You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yetfaketruth1-19/+19
2011-10-31Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth1-3/+5
2011-10-23Abstracted sockets some more to ensure the same behavior over the entire program and on multiple platforms.faketruth1-58/+24
2011-10-21Compiles for linuxfaketruth1-0/+1
2011-10-03MCServer c++ source filesfaketruth1-0/+553