summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h (unfollow)
Commit message (Expand)AuthorFilesLines
2021-07-20Setting command-block's command requires a permission. (#5270)Mattes D1-2/+2
2021-07-06Invalidate m_LastStreamedChunk when player position doesn't matchTiger Wang1-4/+2
2021-05-03Add player statistics to API (#5193)nshah251-2/+4
2021-04-12More cProtocol cleanupTiger Wang1-10/+10
2021-04-12Unify multiprotocol entity animationsTiger Wang1-3/+1
2021-04-12Streamline player abilities handlingTiger Wang1-1/+1
2021-04-12Fix sending incorrect date values on world changeTiger Wang1-1/+4
2021-04-03Basic elytra flight (#5124)Damián Imrich1-9/+17
2021-03-30Player data loading cleanupTiger Wang1-6/+0
2021-03-28Fix chunk block changes being sent out of order (#5169)Tiger Wang1-1/+8
2021-03-20Change TimeOfDay to WorldDate (#5160)Tiger Wang1-1/+1
2021-03-19Don't send ping updates one packet at a timeTiger Wang1-1/+1
2021-03-08Do protocol decryption in-place (with CryptoAPI on Windows) (#5145)Tiger Wang1-1/+1
2021-03-05Adding Boss bar (#5025)12xx121-0/+6
2021-02-06Adds playerlist header and footer broadcasting (1.8-1.13)dImrich1-0/+1
2021-01-12Clarify cClientHandle, cPlayer ownership semanticsTiger Wang1-27/+8
2021-01-11zlib -> libdeflate (#5085)Tiger Wang1-11/+12
2020-12-26Streamline ClientHandle chunk send a littleTiger Wang1-5/+0
2020-12-26ViewDistance: unsigned -> signedTiger Wang1-10/+10
2020-12-18Ignore CanFly flag sent by the clientmathiascode1-1/+1
2020-12-18Warnings improvementsTiger Wang1-11/+11
2020-11-06Players are no longer kicked when clicking on bedrock (#5023)Tiger Wang1-4/+4
2020-10-03Remove SetProperty(...cPlayer)Tiger Wang1-1/+1
2020-10-02Fix instant mining of blocks not being recognised, tweak anti-cheat (#4938)KingCol131-0/+2
2020-09-12Reverse order of ChunkSender priorities (#4858)Tiger Wang1-1/+1
2020-09-12Use tracing for explosions (#4845)Tiger Wang1-1/+1
2020-07-19Implement "caching" in ChunkDataSerializerTiger Wang1-1/+1
2020-07-18Delete unused memberTiger Wang1-3/+0
2020-07-17cProtocolRecognizer goes on a diet (#4770)Tiger Wang1-1/+2
2020-07-14Introduce recipe book functionality (#4493)Tobias Wilken1-0/+10
2020-05-15Enable some more clang-tidy linter checks (#4738)peterbell101-1/+4
2020-05-04Improve entity position updates (#4701)Tiger Wang1-4/+2
2020-05-01Unify entity spawn packet sendingTiger Wang1-5/+1
2020-04-21Vector3 in Handlers (#4680)Mattes D1-1/+1
2020-04-20Delet SpawnObject paramsTiger Wang1-1/+1
2020-04-07Initial resource pack support (#4622)Mat1-0/+1
2020-03-28cClientHandle: Only allow m_State to increase (#4533)peterbell101-0/+4
2018-08-26Store and pass entity effect duration as an int not a short. (#4293)Alexander Harkness1-1/+1
2018-07-23recover hotbar selected slot after reconnect (#4249)changyong guo1-0/+1
2018-01-08Rewrite cClientHandle::HandleRightClick (#4089)9caihezi1-1/+2
2017-10-21Implement horse inventory (#4053)peterbell101-0/+4
2017-09-19Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly1-0/+1
2017-09-08Shutdown connection when disconnect packet sent (#3999)Alexander Harkness1-7/+1
2017-09-07Updated APIDoc (#3985)Lukas Pioch1-1/+1
2017-08-27Implement Forge protocol handshake support (#3869)satoshinm1-0/+29
2017-08-25Add cUUID class (#3871)peterbell101-15/+13
2017-08-21Fully implemented leashes (#3798)Pablo Beltrán1-0/+2
2017-08-13Replaced includes with forward declarationsLukas Pioch1-1/+1
2017-08-07Changed entity ownership model to use smart pointersTiger Wang1-0/+3
2017-08-06Removed unneeded includes (#3902)Lukas Pioch1-2/+0
2017-08-03Remove double includes part 2 (#3890)peterbell101-4/+1
2017-08-03Removed unused forward declarations (#3888)Lukas Pioch1-4/+0
2017-07-21Remove smart pointer macrospeterbell101-1/+1
2017-06-26Fixed memory leak in cClientHandle. (#3794)Mattes D1-1/+1
2017-05-21Clang 5.0 fixesLukas Pioch1-1/+1
2017-01-28Fixed ClientHandle:GetProtocolVersion returning wrong number.Mattes D1-1/+1
2016-12-16Initial support for the 1.11 protocol.Mattes D1-1/+1
2016-12-12Use CMake's Android generators to crosscompileTiger Wang1-1/+1
2016-11-19Fixed race conditions in cClientHandle's State.Mattes D1-11/+21
2016-11-13Add Lua API export for titles. (#3408)mohe20151-7/+7
2016-11-06Anticheat fastbreak (#3411)mohe20151-0/+6
2016-10-21Added SendMessageRaw for sending json string.Lukas Pioch1-0/+1
2016-10-12Spectators added (#2852)bibo381-0/+2
2016-09-03Improve cPlayer::DoMoveToWorld (#3113)LogicParrot1-1/+2
2016-08-29Proper respawn packets on dimension travelLogicParrot1-0/+3
2016-05-141.9 / 1.9.2 / 1.9.3 / 1.9.4 protocol support (#3135)Pokechu221-1/+2
2016-04-05Improved player freeze codeLogicParrot1-0/+2
2016-03-31Players never fall through unloaded chunks or end up inside solids on teleportLogicParrot1-0/+9
2016-02-05Bulk clearing of whitespaceLogicParrot1-54/+54
2016-01-17Fixed race conditionsLukas Pioch1-1/+1
2015-11-24Add enum for Sound and Particle EffectsDave Tucker1-1/+2
2015-10-05Improved the data structure for storing loaded chunkstycho1-1/+1
2015-08-20Fixed food drain bugsTiger Wang1-1/+8
2015-08-12Fix old style casts and implicit conversionsMatti Hänninen1-2/+2
2015-07-31Unified the doxy-comment format.Mattes D1-1/+1
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-1/+1
2015-07-14Improved mapsTiger Wang1-3/+1
2015-06-27use atomic for state, to avoid torn readstycho1-2/+2
2015-06-10Reinstate "Chunk queue collapsing"Tiger Wang1-4/+4
2015-06-07Revert "Chunk queue collapsing"worktycho1-4/+4
2015-06-05Made the list of chunks to stream an unordered_settycho1-4/+4
2015-06-02Added system and above action bar chat messagesjan641-0/+4
2015-05-09More style checking.Mattes D1-2/+2
2015-05-07Added support for additional data in the ParticleEffect Packettycho1-0/+2
2015-04-13Implement backend for /title commandScott Moore1-0/+7
2015-03-21Fixed signedness warnings in Protocol.Mattes D1-1/+1
2015-03-21Fixed signedness issues in protocols.Mattes D1-1/+1
2015-03-21Unified cByteBuffer types.Mattes D1-10/+12
2015-01-27Fixed a deadlock in cClientHandle network sending.Mattes D1-1/+5
2015-01-27Converted cServer to use the cNetwork API.Mattes D1-30/+50
2015-01-18Fixed warnings in 1.7 protocol.Mattes D1-2/+2
2014-12-24Refactored all player block placing to go through hooks.Mattes D1-3/+0
2014-12-11Cosmetic touchups.Mattes D1-2/+2
2014-12-09Fixed indent problems and added return definitions to CheckMultiLogin().Vincent1-1/+2
2014-12-08Changed CheckMultiLogin() to not have main body wrapped in an if statement.Vincent1-0/+1
2014-12-08Fixed compile errorsVincent1-1/+1
2014-12-08Moved the check into a new function and just calls that function and a blank FindAndDoWithPlayer added.Vincent1-0/+2
2014-12-07Fixed c++11 branch issues.Mattes D1-4/+7
2014-11-15Use LastPlacedSign instead of LastPlacedBlock.Howaner1-5/+2
2014-11-15Renamed m_UsedViewDistance to m_CurrentViewDistanceHowaner1-3/+3
2014-11-15Renamed m_SetViewDistance to m_RequestedViewDistanceHowaner1-3/+3
2014-11-15Fixed a security problem with signs.Howaner1-0/+6
2014-11-15Renamed GetSettedViewDistance() to GetRequestedViewDistance()Howaner1-2/+2
2014-11-14Use m_UsedViewDistance and m_SetViewDistance.Howaner1-7/+13
2014-10-20Migrated cSleep and cTimer to std::chronoTiger Wang1-5/+5
2014-10-19Fixed minor style issues.Mattes D1-1/+1
2014-10-16Merged branch 'fix_chunks'.Mattes D1-0/+1
2014-10-06Stream 4 chunks per tick. Added priority.Howaner1-3/+4
2014-10-06Better StreamNextChunk() methodHowaner1-0/+4
2014-10-05cClientHandle: Added protocol version knowledge.Mattes D1-0/+9
2014-10-03Improved furnacesTiger Wang1-1/+1
2014-10-02Optimized chunk loaderHowaner1-5/+5
2014-10-01cClientHandle: Alpha-sorted the sending functions.madmaxoft1-7/+7
2014-09-30Rewritten plugin messages, vanilla are being parsed directly.madmaxoft1-15/+40
2014-09-27Dropped support for <1.7.xTiger Wang1-1/+0
2014-09-26Fixed players custom name in 1.8Howaner1-1/+1
2014-09-18Exported player list states to extra functions.Howaner1-67/+71
2014-09-17Full BungeeCord compatibility.madmaxoft1-1/+13
2014-09-131.8: Fixed maps.Howaner1-2/+2
2014-09-111.8: Added ParticleEffect packet.Howaner1-1/+1
2014-09-09Added the player list to the 1.8 protocol.Howaner1-1/+1
2014-09-07Exported cClientHandle:GetIPString() to Lua API.Mattes D1-1/+1
2014-09-02Added SetCustomName() to players.Howaner1-1/+1
2014-08-28Fixed crashes and use std::swap.Hownaer1-1/+1
2014-08-28remove y-coord from chunksLO1ZB1-1/+1
2014-08-11Exported daylight cycle flag to the protocol.Howaner1-1/+1
2014-08-07Added SetDoDaylightCycle() and IsDaylightCycleEnabled() to cWorld.Howaner1-1/+1
2014-07-30Added beacon.Howaner1-1/+4
2014-07-30MojangAPI: Implemented UUID shortening and dashing.madmaxoft1-1/+7
2014-07-23Moar view distance!tonibm191-2/+2
2014-07-22Export SendEntityAnimation to ToLuaarchshift1-1/+1
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-3/+3
2014-07-18Fix failed merge and other issuesTiger Wang1-1/+1
2014-07-17Fixed spaces around single-line comments.madmaxoft1-7/+9
2014-07-17Fixed basic whitespace problems.madmaxoft1-7/+7
2014-07-16Store properties as Json::ValueTiger Wang1-4/+7
2014-07-14Player properties are now retrievedTiger Wang1-1/+4
2014-07-13Changed BroadcastSoundEffect function to take floating pos.Howaner1-1/+1
2014-07-13Revert failed fix for #31Tiger Wang1-4/+0
2014-06-29Fixed respawningTiger Wang1-1/+1
2014-06-27Added generic entity-collecting.Mattes D1-1/+1
2014-06-21Added cClientHandle::IsUUIDOnline function.madmaxoft1-2/+9
2014-06-12Portals animate and delay correctlyTiger Wang1-1/+1
2014-06-08Fixed deadlock when moving players to other worlds.Mattes D1-3/+3
2014-06-08Added queue for adding entities to cWorld.Mattes D1-1/+2
2014-05-31Implemented end and nether portalsTiger Wang1-1/+1
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