summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h (unfollow)
Commit message (Expand)AuthorFilesLines
2014-06-08Added queue for adding entities to cWorld.Mattes D1-1/+2
2014-05-26Revert "Add more move checks"madmaxoft1-1/+1
2014-05-19cCompositeChat message type is now formattedTiger Wang1-2/+2
2014-05-16Add more move checksHowaner1-1/+1
2014-05-11Statistic Managerandrew1-0/+2
2014-05-11Rename HandleBlockDigCancel to FinishDigAnimtion.Howaner1-2/+2
2014-05-09Add DIG_STATUS_CANCELLED packet and add item resend, when a block can't place/break.Howaner1-0/+3
2014-05-05Add MC|ItemName plugin message.Howaner1-0/+3
2014-05-01More ClientHandle fixes.madmaxoft1-1/+1
2014-05-01Fixed crashes in the SSL HTTP connection.madmaxoft1-1/+1
2014-04-26Further refactored, Reverted Minecart changearchshift1-1/+3
2014-04-25Refactored SendChat(), placing the message-type formatting into its own function.archshift1-0/+3
2014-04-17Modified many thingsdaniel09161-3/+0
2014-04-16Fixed conflicting enchantments checkingdaniel09161-1/+1
2014-04-15Code Optimizationdaniel09161-2/+3
2014-04-15Modified namesdaniel09161-2/+2
2014-04-14Implemented the 1.7.6 protocol and authenticator.madmaxoft1-1/+7
2014-04-14A client UUID is generated when the server is in offline mode.madmaxoft1-1/+6
2014-04-13Fixed invisibility enchantmentsdaniel09161-0/+1
2014-04-13Added Yggdrasil Authentication Systemdaniel09161-1/+5
2014-04-12Added complete Enchanting Systemdaniel09161-1/+4
2014-04-07Added deleted things for mergingdaniel09161-0/+3
2014-04-07Fixed merge conflictdaniel09161-3/+0
2014-04-04Fixed some Clang warnings in protocols.madmaxoft1-1/+1
2014-04-02Fixed All signedness warnings in HTTPServer.cppTycho1-1/+1
2014-03-31Simplified and fixed slabs, fixes #835Tiger Wang1-2/+2
2014-03-11Unified Vector classesandrew1-1/+1
2014-03-09CheckBlockInteractionsRate() fixed & enabledTiger Wang1-1/+3
2014-03-08Split cClientHandle::HandleEntityAction() into three seperate functions HandleEntityCrouch, HandleEntityLeaveBed and HandleEntitySprinting.Jan-Fabian Humann1-1/+3
2014-02-20cClientHandle manages the client-registered plugin channels.madmaxoft1-26/+46
2014-02-18Map decorators; Map clientsandrew1-0/+2
2014-02-18Implemented paintings, fixes #689Tiger Wang1-0/+2
2014-02-16Add Locale to ClientHandleHowaner1-1/+6
2014-02-15Implemented cCompositeChat.madmaxoft1-1/+3
2014-02-13IDCount Serializationandrew1-2/+2
2014-02-13Implementation of in-game mapsandrew1-0/+2
2014-02-07Improved chat messaging functionsTiger Wang1-1/+1
2014-02-05Fixed explosions bugTiger Wang1-11/+2
2014-02-04Improved Type safety of eBlockFaceTycho1-5/+5
2014-01-31Some updates for enchanting (2)daniel09161-0/+3
2014-01-21Scoreboard protocol supportandrew1-0/+4
2014-01-19Removed unneeded paramtersTiger Wang1-1/+1
2014-01-19Changed SendBlockEntity format slightlyTiger Wang1-2/+1
2014-01-19Improved command blocksTiger Wang1-0/+2
2014-01-18Parse the MC|AdvCdm plugin messageandrew1-0/+3
2014-01-13Added handshake processing to protocol 1.7.madmaxoft1-0/+6
2014-01-09Added cClientHandle::SendPluginMessage().madmaxoft1-0/+1
2014-01-07Plugin messages are received and handed to plugins.madmaxoft1-0/+1
2013-12-22Implented BroadcastParticleEffectSTRWarrior1-0/+1
2013-12-20Fixed the rest of constructor reorders.madmaxoft1-9/+0
2013-12-16Removed some old cRedstone remnantsTiger Wang1-1/+0
2013-12-16Fixed cClientHandle::Tick() being called from two threads.madmaxoft1-0/+4
2013-12-15Moved reading flags to the protocol.STRWarrior1-1/+1
2013-12-15Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() functionSTRWarrior1-0/+2
2013-12-14Forgot to commit the ClientHandle.STRWarrior1-0/+2
2013-12-12Unknown packet type extended to 32 bits.madmaxoft1-1/+1
2013-12-07Renamed animation functionTiger Wang1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-15alignment fixes :)Daniel O'Brien1-1/+1
2013-11-15finished #143 I believeDaniel O'Brien1-1/+1
2013-11-15added cProtocol function to pass xp to clientDaniel O'Brien1-0/+1
2013-11-08cProtocol::SendWindowOpen() signature changed.madmaxoft1-3/+3
2013-11-05Removed the obsolete SendWholeInventory(cInventory &) function.madmaxoft1-1/+0
2013-09-16Fixed missing newline.Alexander Harkness1-0/+1
2013-09-16Vanilla like maximum and default view distancetonibm191-3/+2
2013-09-14Set the minimum viewdistance to 3.madmaxoft1-1/+1
2013-09-08Fixed client spawning.madmaxoft1-6/+3
2013-09-06Implemented SteerVehicle packet.madmaxoft1-0/+1
2013-09-06Implemented SteerVehicle packet.madmaxoft1-0/+1
2013-08-29Implemented xoft's suggestions [SEE DESC]Tiger Wang1-1/+1
2013-08-28Fixed Minecart spawning issuesTiger Wang1-1/+1
2013-08-25Fixed public thing in ClientHandleTiger Wang1-3/+3
2013-08-23Double slabs work *choke choke*Tiger Wang1-1/+1
2013-08-20Added a delay between the kick packet and socket close.madmaxoft1-0/+4
2013-08-18Added cWindow property manipulation API.madmaxoft1-1/+1
2013-08-14ClientHandle no longer queues chat messages.madmaxoft1-9/+0
2013-08-14Player counts are now properly handled.madmaxoft1-0/+4
2013-08-13Clients are now ticked in cServer first, then in cWorld once they get assigned a world.madmaxoft1-10/+15
2013-08-01ClientHandle: alpha-sorted the HandleXXX functions declarationsmadmaxoft1-15/+15
2013-07-30Tab completion packet is handled and sent.madmaxoft1-50/+52
2013-07-29Added the "Edit Sign" packet sent to the client placing a sign.madmaxoft1-0/+1
2013-07-28Implemented basic eating support.madmaxoft1-4/+4
2013-07-07Improved function names for protocol packet sending; alpha-sorted the function listsmadmaxoft@gmail.com1-8/+12
2013-07-05Unmounting vehicles implemented in the 1.6.1 waymadmaxoft@gmail.com1-0/+1
2013-07-03Fixed player moving between worlds.madmaxoft@gmail.com1-0/+10
2013-06-18Added a crude limiter for explosions sent to client.madmaxoft@gmail.com1-1/+15
2013-06-18More TNT fixes.madmaxoft@gmail.com1-1/+1
2013-06-09Added SetTicksUntilWeatherChange/GetTicksUntilWeatherChange. to set/get the amount of ticks before the weather changes. Added SendBlockChange to Lua to create "fake" blocksnielsbreu@gmail.com1-1/+1
2013-06-04Implemented proper player crouching.madmaxoft@gmail.com1-1/+1
2013-05-08Refactored window clicking code to use different click actionsmadmaxoft@gmail.com1-1/+1
2013-04-19Fixed Linux compilation, slight code cleanupmadmaxoft@gmail.com1-1/+1
2013-04-18Initial implementation of explosions and TNT blockkeyboard.osh@gmail.com1-0/+1
2013-04-13Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com1-2/+2
2013-04-04Fixed personal crafting grid not being tossed on inventory close.madmaxoft@gmail.com1-1/+1
2013-03-18Added support for the packet #28 (0x1C): ENTITY_VELOCITYkeyboard.osh@gmail.com1-0/+1
2013-03-03Player can sit in minecarts (but not move them yet)madmaxoft@gmail.com1-0/+1
2013-02-21Moved the Speed member into cEntity class instead of its descendants.madmaxoft@gmail.com1-1/+1
2013-02-18Minecarts can now be placed.madmaxoft@gmail.com1-0/+1
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-15/+26
2013-01-05Not sending multiple DC packets to the client.madmaxoft@gmail.com1-1/+2
2012-12-26Adjusted the protocol framework to support different types of falling block spawning.madmaxoft@gmail.com1-1/+3
2012-12-24Added the 1.4.6 protocolmadmaxoft@gmail.com1-1/+2
2012-11-12Fixed block breaking in survival.luksor111@gmail.com1-0/+5
2012-11-11Hopefully a fix for crash when chunks are added to a client being destroyed.madmaxoft@gmail.com1-9/+11
2012-11-01Refactored the world time.madmaxoft@gmail.com1-2/+3
2012-10-21Added jukeboxes (patch contributed by Luksor)madmaxoft@gmail.com1-41/+42
2012-10-18Converted some const char*s and std::strings to AStringsfaketruth1-0/+1
2012-09-30Added falling block entities. Sand and gravel now properly fall downfaketruth1-0/+1
2012-09-29Beds can be slept in now (it doesn't change the time though)faketruth1-0/+2
2012-09-29Made beds placeablefaketruth1-1/+5
2012-09-25Added the block dig animation packet (patch contributed by l0udPL)madmaxoft@gmail.com1-0/+8
2012-09-25Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247)madmaxoft@gmail.com1-5/+5
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-0/+0
2012-09-23Source files cleanup: OSSupport-related files in a separate subfolder, renamed.madmaxoft@gmail.com1-1/+1
2012-09-23Tweaked logging.madmaxoft@gmail.com1-37/+37
2012-09-11Merged in a patch for sounds by l0udPLmadmaxoft@gmail.com1-0/+1
2012-09-06Officially added 1.3.2 protocol supportmadmaxoft@gmail.com1-7/+0
2012-09-06ClientHandle: added an overflow buffer for outgoing data, it fixes the "bad packet id" problem with 1.3.2.madmaxoft@gmail.com1-0/+1
2012-09-05Added the possibility of reserved player slots by implementing the HandleHandshake hook!faketruth1-0/+1
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-2/+2
2012-08-31Progress on the 1.3.2 protocol.madmaxoft@gmail.com1-1/+1
2012-08-31Another possible deadlock in cClientHandle averted. Hope this is the one.madmaxoft@gmail.com1-0/+3
2012-08-30Added a basic protocol recognizer and the base for 1.3.2 protocol.madmaxoft@gmail.com1-3/+1
2012-08-30cProtocol handles the initial handshake up to player loginmadmaxoft@gmail.com1-7/+7
2012-08-29Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself.madmaxoft@gmail.com1-7/+2
2012-08-28Moved all packet-serializing code into cProtocol125; half the packet classes aren't needed anymore.madmaxoft@gmail.com1-3/+0
2012-08-27Cut out all packet handling to a separate cProtocol descendantmadmaxoft@gmail.com1-53/+51
2012-08-26git-svn-id: http://mc-server.googlecode.com/svn/trunk@795 0a769ca7-a7f5-676a-18bf-c427514a06d6madmaxoft@gmail.com1-0/+2
2012-08-26Fixed compilation problem on Linux (FS case sensitivity sux)madmaxoft@gmail.com1-1/+1
2012-08-25cWorld doesn't use cPackets.madmaxoft@gmail.com1-0/+4
2012-08-25Removed cPackets from cChunk.madmaxoft@gmail.com1-0/+3
2012-08-24cPickup doesn't use cPackets.madmaxoft@gmail.com1-0/+1
2012-08-24Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com1-0/+6
2012-08-19Window, Chest, Furnace and Pawn are not using cPackets at allmadmaxoft@gmail.com1-0/+4
2012-08-19Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle.madmaxoft@gmail.com1-28/+23
2012-08-19Another handful of packets rewritten.madmaxoft@gmail.com1-6/+14
2012-08-18Chat packet handled in the new way; fixed missing packet sending for inventory slot.madmaxoft@gmail.com1-2/+2
2012-08-18Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects.madmaxoft@gmail.com1-9/+11
2012-08-17Packets now parse themselves from a cByteBuffer object (1st part of packeting rewrite, http://forum.mc-server.org/showthread.php?tid=524 )madmaxoft@gmail.com1-2/+5
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-239/+239
2012-06-09Bonemeal is consumed in survival mode when used on growable blocksmadmaxoft@gmail.com1-1/+1
2012-06-07Bonemeal works on crops, melons, pumpkins, saplings and grass. Plant growing has been refactored into separate functions callable from Lua, too.madmaxoft@gmail.com1-0/+3
2012-05-07Updated version text to include 1.2.5; ChunkSender doesn't serialize chunk packets for chunks without a clientmadmaxoft@gmail.com1-1/+1
2012-04-11Moved the commands /coords /viewdistance and /regeneratechunks from cServer.cpp to the Core pluginfaketruth1-0/+1
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-0/+3
2012-03-26Added the supported client version to banner; shamelessly added myself to the authors list ;)madmaxoft@gmail.com1-0/+7
2012-03-24Added the new 1.2.4's PlayerAbilities packet; restructures packet files for less files, more dense.madmaxoft@gmail.com1-4/+1
2012-03-14Split chunk data into separate arrays; decoupled most sources from cChunk.h dependencymadmaxoft@gmail.com1-1/+1
2012-03-13Fixed a few warnings, lifted up the block interactinos limit to 20 (10 was not enough for Creative mode)madmaxoft1-1/+1
2012-03-11Not sending chunks to the client twicemadmaxoft@gmail.com1-2/+3
2012-03-10Using references instead of pointers for sending packetsmadmaxoft@gmail.com1-2/+1
2012-03-09cClientHandles have a unique ID now to distinguish themfaketruth1-4/+8
2012-03-05ChunkSender: Chunks are now compressed and sent to clients from a separate threads, proper passive waiting between threads. Not much tested, just appears to work :)madmaxoft@gmail.com1-0/+2
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-8/+3
2012-02-23Made the viewdistance settable by users and default in settings.ini. The default is 9.madmaxoft@gmail.com1-3/+10
2012-02-17Chunk coords mostly "upgraded" to include the Y coord for future compatibilitymadmaxoft@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-27/+49
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-9/+15
2012-02-04Fixed a bug in source/cClientHandle.hadmin@omencraft.com1-1/+1
2012-02-03cClientHandle: split packet handling into separate functions for claritymadmaxoft@gmail.com1-20/+80
2012-02-02cClientHandle: gotten rid of the obnoxious m_pState, now using direct members insteadmadmaxoft@gmail.com1-11/+58
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-4/+4
2012-01-19Terrain generation is synchronous again, async generation has bugs.faketruth1-0/+1
2011-12-28 - Added chicken to eatingmtilden@gmail.com1-1/+1
2011-12-27 - Added basic ping handling.mtilden@gmail.com1-2/+5
2011-12-27Slightly cleaner block change interactions static in headermtilden@gmail.com1-0/+2
2011-12-26Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld()faketruth1-0/+1
2011-12-26 - Cleaned up PLI Packet and its creation/sending and fixed bug of player not being removed on scoreboard (forgot to send color in the removal packet)mtilden@gmail.com1-0/+5
2011-12-25Chunks are generated in a separate thread allowing players to keep on playing and chatting while chunks are generated. This means, however, that cWorld::GetChunk() does not always return a chunk and is something you need to be aware of. I am not entirely sure if all this is completely stable, but I think so :Ofaketruth1-1/+2
2011-11-12Put view distance back to 13. Didn't mean to change that.admin@omencraft.com1-1/+1
2011-11-11Found and fixed a bug not letting users place blocks in water or lava.admin@omencraft.com1-1/+1
2011-11-04Added (Probably incorrectly) a cRedstone class. Also, palcing a redstone torch will recursively light any redstone wire it's connected to. Removing a torch from an active wire will unlight the entire length. Class needs to be updated to make use of non deprecated function. Current deprecated function warning drastically slows redstone performance.admin@omencraft.com1-0/+1
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-0/+1
2011-10-26Moved GAMEMODE declaration to a single place... cPacket.h. Player can't take damage any more but can still sometimes die on spawn. Not sure why. Falling through the void does not kill you yet.admin@omencraft.com1-1/+0
2011-10-26Creative mode now breaks blocks without providing block drops. Need to work with Player's Inventory for proper creative mode support. GAMEMODE is declared and set twice.admin@omencraft.com1-0/+1
2011-10-03MCServer c++ source filesfaketruth1-0/+70