Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adding basic Banner functionality (#4806) | 12xx12 | 2021-03-15 | 4 | -7/+60 |
| | | | | | | + Added item and block for banners Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Do protocol decryption in-place (with CryptoAPI on Windows) (#5145) | Tiger Wang | 2021-03-08 | 5 | -156/+145 |
| | |||||
* | Some emplace_back replacements (#5149) | 12xx12 | 2021-03-07 | 1 | -1/+1 |
| | | | * replace push_back with emplace_back when a new object was created in the function call | ||||
* | Mitigate MSVC crash (#5146) | Tiger Wang | 2021-03-06 | 1 | -8/+8 |
| | | | Reference: http://ci.appveyor.com/project/Cuberite/cuberite/builds/38087390/job/p857ibg3x87naw36/messages | ||||
* | Adding Boss bar (#5025) | 12xx12 | 2021-03-05 | 12 | -35/+380 |
| | | | | | + Add boss bar Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Prepare ChunkData for BlockState storage (#5105) | Tiger Wang | 2021-03-05 | 2 | -155/+200 |
| | | | | | | | | | | | | | | | | | | | | | | | * Rename ChunkData Creatable test * Add missing Y-check in RedstoneWireHandler * Remove ChunkDef.h dependency in Scoreboard * Prepare ChunkData for BlockState storage + Split chunk block, meta, block & sky light storage + Load the height map from disk - Reduce duplicated code in ChunkData - Remove saving MCSBiomes, there aren't any - Remove the allocation pool, ref #4315, #3864 * fixed build * fixed test * fixed the debug compile Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> | ||||
* | Mark UNREACHABLE with intrinsics | Tiger Wang | 2021-02-20 | 7 | -35/+10 |
| | |||||
* | Adds playerlist header and footer broadcasting (1.8-1.13) | dImrich | 2021-02-06 | 7 | -310/+332 |
| | |||||
* | Fix debug macro situation (#5114) | Tiger Wang | 2021-01-26 | 1 | -2/+2 |
| | | | Use the standard NDEBUG. | ||||
* | MultiVersionProtocol: fix two crashes | Tiger Wang | 2021-01-19 | 3 | -82/+58 |
| | | | | | | | | | | | | First one: add missing exception handler in ProcessProtocolIn Second: remove faulty logic dealing with incomplete packets. `a_Data = a_Data.substr(m_Buffer.GetUsedSpace() - m_Buffer.GetReadableSpace());` was incorrect; it attempted to apply a length derived from m_Buffer to an unrelated a_Data. Its purpose was to give cProtocol the data the client sent, minus initial handshake bytes. However, we can use the knowledge that during initial handshake, there is no encryption and every byte can be written unchanged into m_Buffer, to just call cProtocol with a data length of zero. This will cause it to parse from m_Buffer - wherein we have already written everything the client sent - with no a_Data manipulation needed. Additionally, removed UnsupportedButPingableProtocolException (use of exception as control flow) and encode this state as m_Protocol == nullptr, id est "no protocol for this unsupported version", which is then handled by cMultiVersionProtocol itself. | ||||
* | Clarify cClientHandle, cPlayer ownership semantics | Tiger Wang | 2021-01-12 | 3 | -15/+10 |
| | | | | | | | | + A cPlayer, once created, has a strong pointer to the cClientHandle. The player ticks the clienthandle. If he finds the handle destroyed, he destroys himself in turn. Nothing else can kill the player. * The client handle has a pointer to the player. Once a player is created, the client handle never outlasts the player, nor does it manage the player's lifetime. The pointer is always safe to use after FinishAuthenticate, which is also the point where cProtocol is put into the Game state that allows player manipulation. + Entities are once again never lost by constructing a chunk when they try to move into one that doesn't exist. * Fixed a forgotten Super invocation in cPlayer::OnRemoveFromWorld. * Fix SaveToDisk usage in destructor by only saving things cPlayer owns, instead of accessing cWorld. | ||||
* | zlib -> libdeflate (#5085) | Tiger Wang | 2021-01-11 | 16 | -290/+268 |
| | | | | | | + Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite | ||||
* | ViewDistance: unsigned -> signed | Tiger Wang | 2020-12-26 | 1 | -1/+1 |
| | |||||
* | Prepare for 1.15+ (#4856) | Tiger Wang | 2020-12-21 | 15 | -43206/+43211 |
| | | | | | + Add type-safe container for states * Split registry Blocks into BlockTypes, BlockStates so the block types enumeration can be #included without too much penalty * Ensure Registry uses type-safe container | ||||
* | Comment and code style fix | Tiger Wang | 2020-12-21 | 1 | -2/+2 |
| | | | | | + Add static keyword - Don't capture everything in lambda | ||||
* | Ignore CanFly flag sent by the client | mathiascode | 2020-12-18 | 1 | -6/+2 |
| | |||||
* | Warnings improvements | Tiger Wang | 2020-12-18 | 5 | -34/+24 |
| | | | | | | | | | * Turn off global-constructors warning. These are needed to implement cRoot signal handler functionality * Add Clang flags based on version lookup instead of a compile test. The CMake config process is single threaded and slow enough already * Reduced GetStackValue verbosity + Clarify EnchantmentLevel, StayCount, AlwaysTicked, ViewDistance signedness + Give SettingsRepositoryInterface a move constructor to simplify main.cpp code - Remove do {} while (false) construction in redstone handler | ||||
* | Adding new monster types to enum and saving/loading for easier future implementation (#4941) | 12xx12 | 2020-11-23 | 9 | -24/+436 |
| | | | | | | | | | | | * added new monster types to enum added string <-> enum conversion in namespace serializer added loading functions added to saving * renamed zombie pigman to zombified piglins in enum Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Ender Crytal Fix and report proper cmake file for luabindingscheck fail (#5017) | 12xx12 | 2020-11-06 | 5 | -14/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed network fixed explosion fixed ticking added network broadcast to Setter method added nullptr protection using macros in 1.10 Protocol_1_10.cpp revealed functions to LUA API small fixups, typos, less functions used fixed more doc readded info that saving is done only if the beam is displayed made the constructor transfer all needed members fixed wrong commit removed default parameters on SpawnEnderCrystal fixed wrong metadata moved call to destroy in the right place fixed some typos Fixed Ender Crystal * fixed documentation * fixed doc and added proper error message * Parameters, arrows * Parameters Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Add beam target, configurable base visibility to Ender Crystals (#5010) | 12xx12 | 2020-10-29 | 6 | -0/+89 |
| | | | | | * Fixes #4990 Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 2020-10-05 | 14 | -150/+71 |
| | | | | | | | | | | | | | | | * Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Remove SetProperty(...cPlayer) | Tiger Wang | 2020-10-03 | 3 | -4/+4 |
| | | | | Enchantment table, anvil windows are already opened one per-player. | ||||
* | Added end portal and enchanting table block entities | 12xx12 | 2020-09-20 | 2 | -17/+49 |
| | |||||
* | Style, no need to tag struct with s | Tiger Wang | 2020-09-18 | 1 | -9/+9 |
| | |||||
* | Remove unused ServerPort argument | Tiger Wang | 2020-09-18 | 5 | -21/+20 |
| | |||||
* | Add State enum to protocol | Tiger Wang | 2020-09-18 | 8 | -62/+55 |
| | |||||
* | Remove unused ServerPort member | Tiger Wang | 2020-09-18 | 2 | -3/+1 |
| | |||||
* | Cleanup Protocol classes | Tiger Wang | 2020-09-18 | 5 | -49/+46 |
| | | | | * Visibility, static, ordering changes | ||||
* | Use tracing for explosions (#4845) | Tiger Wang | 2020-09-12 | 3 | -17/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | * TNT: Implement tracing algorithm + Add intensity tracing * Fix iterating over all players to SendExplosion, even those not in range * Implemented TNT entity interaction * Fixed misaligned destruction tracing * Finalise TNT algorithm - Remove BlockArea and just use chunks Using SetBlock makes it so that we can update everything properly, and does appear to be faster. * BlockInfo learns about explosion attentuation * Rename Explodinator parameters * TNT: pull block destruction into common function Co-authored-by: Alexander Harkness <me@bearbin.net> | ||||
* | Unused/duplicate function cleanup | Tiger Wang | 2020-08-29 | 4 | -26/+2 |
| | | | | | * FaceIntToBlockFace in 1.8/1.9 protocol merged - Removed undefined permissions stuff in Player header | ||||
* | 1.13+: Send length-prefixed server Brand string | Tiger Wang | 2020-08-28 | 2 | -18/+4 |
| | | | | Ref: 5176c22656a8fb5485ab04100daa93bb761bb8f6 | ||||
* | ChunkDataSerializer: don't repeatedly mallocate | Tiger Wang | 2020-08-21 | 2 | -163/+206 |
| | | | | + Store an instance of the class, the way it seems it is meant to be used. | ||||
* | CompressPacket: reserve CompressedSize, not the uncompressed size | Tiger Wang | 2020-08-21 | 1 | -3/+3 |
| | | | | + Assign the length data to a_CompressedData to overwrite it, mirroring the behaviour of cByteBuffer::ReadAll | ||||
* | Consolidate various Chunk serialisers under one roof | Tiger Wang | 2020-08-21 | 2 | -141/+43 |
| | | | | * Merge most into WriteSectionDataSeamless | ||||
* | Made cProtocol::Version, EntityMetadata enums less verbose | Tiger Wang | 2020-08-21 | 11 | -273/+273 |
| | |||||
* | Remove complex templated SendBlockChange | Tiger Wang | 2020-08-21 | 4 | -94/+48 |
| | | | | If we're sending enough blocks to have virtual calls be an issue, we should resend the chunk instead. | ||||
* | Adding block entity transmission to 1.13 (#4829) | 12xx12 | 2020-08-19 | 2 | -1/+38 |
| | | | | | | + Adding block entity transmission to 1.13 + Added HandlePacketSetBeaconEffect Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | Add statistics palette for 1.15 & 1.16 | Tiger Wang | 2020-08-19 | 4 | -6/+171 |
| | |||||
* | Add Statistics and Achievements for newer Network standards | 12xx12 | 2020-08-19 | 13 | -23/+413 |
| | |||||
* | Revert "Hotpatch optional for macOSX builds on buildserver" | Alexander Harkness | 2020-08-06 | 1 | -4/+4 |
| | | | | This reverts commit 5e3f51f5ff39ac7219f1f0fcbc27340949f95ade. | ||||
* | imprementing plugin message to send server brand (#4786) | 12xx12 | 2020-08-05 | 1 | -2/+6 |
| | | | | | | * fixed issue #4773 Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | Delete unreferenced variable | Tiger Wang | 2020-08-05 | 1 | -1/+0 |
| | |||||
* | Adjust incorrect palette inclusions | Tiger Wang | 2020-08-05 | 3 | -3/+3 |
| | |||||
* | Hotpatch optional for macOSX builds on buildserver | Alexander Harkness | 2020-08-05 | 1 | -4/+4 |
| | |||||
* | Add WakeUp/AddBlock distinction | Tiger Wang | 2020-08-02 | 1 | -1/+0 |
| | | | | | | * WakeUp is for singular changes (block breaking for example). The simulator should check blocks around the position and discover other affected blocks as it sees fit * AddBlock is for when you know a whole area is to be updated; chunk loading, or area wakeups for example + Prepares for correct handling of destroyed blocks after removal of SolidBlockHandler in the redstone simulator | ||||
* | Correct Serialise393/477 version annotations | Tiger Wang | 2020-07-28 | 1 | -2/+3 |
| | |||||
* | 1.14 connection support | Tiger Wang | 2020-07-26 | 16 | -64/+560 |
| | |||||
* | Fix incorrect big flower translation | Tiger Wang | 2020-07-26 | 1 | -4/+6 |
| | | | | * Upgrade palette had incorrect values for upper half of large flowers | ||||
* | Remove some unused inclusions | Tiger Wang | 2020-07-20 | 10 | -40/+22 |
| | |||||
* | Remove GetProtocolVersion unneeded comments | Tiger Wang | 2020-07-20 | 4 | -7/+4 |
| | |||||
* | Remove ProtocolPalettes | Tiger Wang | 2020-07-19 | 3 | -172/+0 |
| | |||||
* | Inherit constructors, remove duplication | Tiger Wang | 2020-07-19 | 8 | -84/+19 |
| | |||||
* | Remove Waterlogged value from registry | Tiger Wang | 2020-07-19 | 5 | -19887/+19887 |
| | | | | | | (apparently they're going to remove it, we don't want such a large breaking change) * Also alpha sort ids, parameters | ||||
* | Use 1.13.1 block palette | Tiger Wang | 2020-07-19 | 2 | -18/+47 |
| | |||||
* | Implement "caching" in ChunkDataSerializer | Tiger Wang | 2020-07-19 | 6 | -196/+114 |
| | | | | + When sending a chunk to multiple clients, group them by protocol version and send the same data | ||||
* | Reduce duplication in CompressPacket | Tiger Wang | 2020-07-19 | 1 | -42/+76 |
| | | | | | | - Remove line 1742 that wrote data which was then immediately cleared * Store the compress/no compress threshold in a constant - Remove adding a noncompressed header in SendPacket, CompressPacket handles everything now | ||||
* | 1.13.1, 1.13.2 connection support | Tiger Wang | 2020-07-19 | 4 | -13/+185 |
| | |||||
* | Add 1.13.1 to 1.15.2 mappings | Tiger Wang | 2020-07-19 | 13 | -15/+29585 |
| | |||||
* | Use cMultiVersionProtocol's buffer | Tiger Wang | 2020-07-18 | 4 | -37/+33 |
| | |||||
* | Delete duplicated status request handlers | Tiger Wang | 2020-07-18 | 15 | -535/+181 |
| | | | | Here we go again... | ||||
* | 1.13 items support | Tiger Wang | 2020-07-18 | 16 | -85/+25686 |
| | | | | + Add 1.16 block and item definitions | ||||
* | Initial work on 1.13 entity metadata (#4539) | Mat | 2020-07-17 | 3 | -177/+1075 |
| | | | | | | | * Initial work on 1.13 entity metadata * Largely complete metadata Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | cProtocolRecognizer goes on a diet (#4770) | Tiger Wang | 2020-07-17 | 6 | -1153/+235 |
| | | | - Removed inheritance from cProtocol | ||||
* | Introduce recipe book functionality (#4493) | Tobias Wilken | 2020-07-14 | 13 | -11/+299 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce recipe book functionality The recipe book helps especially new players. Missing it gives the impression that cuberite is not as advanced as it is. The handling of the recipe book uses the following functions: - Unlock Recipes (https://wiki.vg/index.php?title=Protocol&oldid=14204#Unlock_Recipes) to make recipes available and show the notification for new recipes. Initialization is done on player login for known ones, the update is done when new items are discovered. - Craft Recipe Request (https://wiki.vg/index.php?title=Protocol&oldid=14204#Craft_Recipe_Request) when the user selects a recipe from the recipe book to fill the slots. Known recipes are initialized on player login via `Unlock Recipes` with `Action` 0. As soon as a new recipe is discovered this is added via `Unlock Recipes` with `Action` 1. To be able to know and recognize new recipes the player class is extended with `KnownItems` and `KnownRecipes`. As soon as a player touches an item this is compared to the list of `KnownItems`, if the item is unknown the recipes are checked for this item and the other ingredients are checked with the list of `KnownItems`. If a full match is discovered the recipe is unlocked with the client and stored in the `KnownRecipes`. To unlock recipes the recipe ID is sent to the client. A mapping file (for protocol 1.12.2) translated the minecraft recipe names to ids. The crafting.txt is extended with and minecraft recipe names is possible. Limitations: Only a single recipe is added to the crafting area. Multiple clicks or shift click does not increase the number of builds. Co-authored-by: peterbell10 <peterbell10@live.co.uk> * Address first issues mentioned by @peterbell10 - Some linting - Extract loading of recipe specific protocol mapping into a function - Build `RecipeNameMap` only once - Use `std::optional` - Extract `LoadRecipe` from `Window` * Start to implement new suggestions * Update with suggestions from @peterbell10 * Some minor cleanup * Update protocol packet IDs * Remove unused include * Include header in cmake * Change a vector to integer counter * Change dromedaryCase method names to PascalCase * Address suggestions from @madmaxoft * Read Protocol subdirectories to load recipe books To load all recipebooks iterate over the `Protocol` subdirectories to find mapping files. Co-authored-by: peterbell10 <peterbell10@live.co.uk> | ||||
* | Reduced packet spam when entities idle | Tiger Wang | 2020-07-06 | 1 | -1/+1 |
| | | | | * Try not to send look packets when nothing's changed. | ||||
* | Made grass spreader prettier | Tiger Wang | 2020-07-06 | 2 | -2/+2 |
| | |||||
* | Protocol: Avoid crashing on invalid sign text | Peter Bell | 2020-05-29 | 1 | -1/+1 |
| | |||||
* | Upgrade to C++17 [CMake] (#4717) | Tiger Wang | 2020-05-16 | 1 | -9/+2 |
| | | | * Make our CMake slightly less insane | ||||
* | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2020-05-15 | 4 | -9/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate | ||||
* | Update submodules (#4727) | peterbell10 | 2020-05-09 | 10 | -52/+41 |
| | | | | | | | | | | | | | Closes #4708 This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed: * jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced with some helper functions in JsonUtils.cpp * SQLiteCpp changed how it builds with external sqlite libraries, now expecting them to be installed. The simplest path was to remove sqlite from cuberite's submodule and just use SQLiteCpp's internal version. | ||||
* | Fixed various MSVC warnings. | Mattes D | 2020-05-06 | 1 | -0/+1 |
| | |||||
* | Fix one definition rule violations | Tiger Wang | 2020-05-04 | 4 | -18/+14 |
| | |||||
* | Improve entity position updates (#4701) | Tiger Wang | 2020-05-04 | 9 | -208/+200 |
| | | | | | | | | | * Make puking pickups fly nicer * Improve entity position updates * Move determination of whether a delta is too big for a packet into the protocol handlers + Less jittery movement + Generalise CollectEntity to take any entity | ||||
* | Unify entity spawn packet sending | Tiger Wang | 2020-05-01 | 8 | -367/+212 |
| | |||||
* | Unify 1.8 and 1.9 | Tiger Wang | 2020-04-22 | 4 | -2359/+156 |
| | | | | - Deleted ridiculous amount of duplicated code | ||||
* | Delet SpawnObject params | Tiger Wang | 2020-04-20 | 7 | -8/+8 |
| | | | | | | * Fix #4679 awkward... | ||||
* | Using Super. | Mattes D | 2020-04-16 | 12 | -36/+49 |
| | |||||
* | Use correct value for zombie villager in 1.13 | Mat | 2020-04-10 | 1 | -1/+1 |
| | |||||
* | Fix compilation, for real this time. | Alexander Harkness | 2020-04-10 | 4 | -0/+4 |
| | | | | I should go to sleep now... | ||||
* | Add Zombie Villagers | Bond-009 | 2020-04-10 | 5 | -18/+86 |
| | |||||
* | Initial resource pack support (#4622) | Mat | 2020-04-07 | 11 | -3/+107 |
| | |||||
* | Potion changes (#4601) | Mat | 2020-04-04 | 1 | -7/+7 |
| | | | | | * Correct protocol translation for potions * Update brewing recipes | ||||
* | Implement wither skeletons (#4563) | Mat | 2020-04-04 | 6 | -48/+29 |
| | |||||
* | Quick fix to make spawn eggs work (#4611) | Mat | 2020-04-03 | 1 | -1/+1 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 3 | -4/+5 |
| | | | | | | | | | The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values | ||||
* | Add protocol mob ID remapping (#4538) | Mat | 2020-03-29 | 11 | -5/+217 |
| | |||||
* | Fix build on Clang | Alexander Harkness | 2020-03-28 | 2 | -8/+8 |
| | |||||
* | Inventory changes (#4561) | Mat | 2020-03-28 | 2 | -12/+12 |
| | | | Co-Authored-By: peterbell10 <peterbell10@live.co.uk> | ||||
* | Enable functional packets in 1.13 | mathiascode | 2020-03-23 | 2 | -30/+0 |
| | |||||
* | Use LastSentPos for mob spawn packet in 1.11+ (#4490) | Mat | 2020-03-05 | 3 | -109/+4 |
| | |||||
* | Remove 1.13 from supported protocol list | mathiascode | 2020-02-24 | 1 | -3/+3 |
| | |||||
* | Added temporary block type mapping for 1.13+ protocols. | Mattes D | 2020-01-07 | 11 | -50/+297 |
| | |||||
* | ProtocolRecognizer: Updated to unique_ptr. | Mattes D | 2020-01-07 | 2 | -36/+20 |
| | |||||
* | Moved ProtocolBlockTypePalette functionality into BlockTypePalette. | Mattes D | 2019-12-28 | 3 | -186/+0 |
| | |||||
* | Fix clang8.0 build (#4399) | Bond-009 | 2019-09-24 | 1 | -9/+13 |
| | | | The protocol 13.0 PR broke clang 8.0 builds. | ||||
* | Add ProtocolBlockTypePalette (#4391) | E14 | 2019-09-22 | 3 | -0/+187 |
| | |||||
* | Protocol 1.9: Alpha-sort, add useful debugging code. | Mattes D | 2019-09-16 | 2 | -38/+47 |
| | |||||
* | Initial support for 1.13 clients | Tiger Wang | 2019-09-16 | 8 | -6/+669 |
| | | | | | + Can look at *shape* of world + Can look at *shape* of inventory | ||||
* | Fixed warnings in ChunkDataSerializer. | Mattes D | 2019-09-10 | 1 | -2/+2 |
| | |||||
* | Protocol: Use logical outgoing packet types. | Mattes D | 2019-09-10 | 17 | -517/+705 |
| | |||||
* | Fix building with clang 8.0 (#4346) | Bond-009 | 2019-08-11 | 4 | -28/+40 |
| | |||||
* | Fix player skin sending through BungeeCord (#4328) | DaPorkchop_ | 2019-04-22 | 1 | -5/+10 |
| | | | This fixes sending of player skins through BungeeCord by actually parsing the JSON instead of setting the player properties as a string. | ||||
* | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 2018-08-29 | 13 | -46/+17 |
| | | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work. | ||||
* | Store and pass entity effect duration as an int not a short. (#4293) | Alexander Harkness | 2018-08-26 | 7 | -31/+7 |
| | | | Fixes #4292. | ||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 6 | -5/+11 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Keep players in gmNotSet (#4248) | changyong guo | 2018-07-23 | 2 | -4/+4 |
| | | | | This allows players game mode to update to the default after portal to another world. Fixes #4207 | ||||
* | recover hotbar selected slot after reconnect (#4249) | changyong guo | 2018-07-23 | 8 | -0/+46 |
| | | | | | | | 1. implement protocol message SendHeldItemChange 2. add save / load inventory equipped item slot in JSON 3. send held item slot message after player connect to server Fixes #4189 | ||||
* | cIsThread: Reset m_ShouldTerminate after the thread has stopped (#4258) | peterbell10 | 2018-07-22 | 1 | -2/+1 |
| | | | | | This allows threads to be restarted after stopping. Fixes #4257 | ||||
* | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 2018-05-02 | 5 | -182/+182 |
| | | | | | | | * Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there. | ||||
* | Deal with covered switches consistently (#4161) | peterbell10 | 2018-02-05 | 1 | -5/+1 |
| | | | | | | | * Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message() | ||||
* | Rewrite cClientHandle::HandleRightClick (#4089) | 9caihezi | 2018-01-08 | 5 | -8/+39 |
| | | | | | | | | | | | | | * Add hand parameter to distinguish main hand/off hand. * Add a new function cClientHandle::HandleUseItem to separate the functionality of using an item without a target block. This matches the protocol with client version >= 1.9 * Always actively update the status of a block if the placement fails (by out of reach or rejected by plugin). * Do not call plugin callback CallHookPlayerRightClick(-1, 255, -1, -1, 0, 0, 0) when using item. The CallHookPlayerUsingItem will still be called. Now at most one of CallHookPlayerRightClick, CallHookPlayerUsingBlock, CallHookPlayerUsingItem and CallHookPlayerEating will be called based on the type of action (not including the used version of callbacks). * Do not count using item as BlockInteractionsRate check (Using item takes time). * Now we can open chests(etc.) when sneaking as long as the player's hand is empty. This is what vanilla server does. | ||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 4 | -17/+18 |
| | | | | | | | * Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style. | ||||
* | Protocol: Fix potion metadata parsing (#4116) | peterbell10 | 2017-12-26 | 1 | -2/+2 |
| | |||||
* | Store Health as a float (#4073) | Fabian | 2017-11-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | * Fix #4024 * Fix clang error * Add comment * Fix behaviour * Save Health as float * Changed m_Health to float * Remove redundant static_cast * Fix casts | ||||
* | Implement horse inventory (#4053) | peterbell10 | 2017-10-21 | 2 | -2/+8 |
| | | | | | | | | | | * Implement horse inventory * Fix sign conversions * Add API doc for ItemCategory::IsHorseArmor * Improve HandleOpenHorseInventory comment and style fixes. | ||||
* | Fixed FreeBSD build (#4061) | Bond-009 | 2017-10-16 | 1 | -2/+5 |
| | |||||
* | Add support for release 1.12.2 (#4041) | peterbell10 | 2017-09-21 | 4 | -3/+108 |
| | |||||
* | Removed UTF-8 BOM (#4033) | Lukas Pioch | 2017-09-19 | 1 | -1/+1 |
| | |||||
* | Fix switch warnings (#4013) | peterbell10 | 2017-09-14 | 6 | -156/+189 |
| | | | | | | | | | | | | | | | * Fix switch warnings * Fix a variety of -Wswitch and -Wswitch-enum warnings * Remove unneeded -Wno-error flags * Reorganise some eMonsterType switches * Alpha sort eMonsterType cases in WriteMobMetadata and in cNBTChunkSerializer::AddMonsterEntity * List all mob types in protocol 1.12 and NBTChunkSerializer * cStructGenTrees::GetNumTrees: remove switch default * cWSSAnvil::LoadOldMinecartFromNBT: Log unhandled minecart type | ||||
* | Added assert to cProtocolRecognizer::GetPacketId. (#4001) | Lane Kolbly | 2017-09-04 | 5 | -17/+29 |
| | |||||
* | GetPacketID for protocol packet IDs (#3977) | Lane Kolbly | 2017-09-02 | 11 | -1359/+366 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Added GetPacketId method to protocol, implemented for all protocols. * Moved GetPacketID methods into a single file, alpha-sorted. * Fixed 1.12.1 HandlePacket switch statement. * Added SendLogin to the GetPacketId framework. * Added SpawnObject to GetPacketId framework. * Added missing sendEntityEquipment packet ID update for 1.12.1 * Added LeashEntity packet ID change to 1.12.1 * Alphabetized packet enum, added SpawnGlobalEntity to GetPacketId framework * Fixed clang errors * Indented cases, expanded comment for GetPacketId * Changed dyslexic comment. | ||||
* | Protocol Spawn Position Should Use LastSentPosition (#3929) | Lane Kolbly | 2017-08-30 | 2 | -24/+32 |
| | | | | | | + Added GetLastSentPos * Fixed spawn position bug in 1.8. | ||||
* | Update mbedtls to 2.5.1 (#3964) | peterbell10 | 2017-08-30 | 6 | -16/+42 |
| | | | | | | | | | | | | | | | | | | | | | | * Renaming changes: * macro prefix "POLARSSL" -> "MBEDTLS" * functions now prefixed with "mbedtls_" * rename PolarSSL++ -> mbedTLS++ * rename polarssl submodule * Use mbedtls' AES-CFB8 implementation. * Add cSslConfig to wrap mbedtls_ssl_config * Update cTCPLink and cBlockingSslClientSocket to use cSslConfig * Use cSslConfig in cHTTPServer * Use cSslConfig for cMojangAPI::SecureRequest * CI Fixes * Set -fomit-frame-pointer on the right target | ||||
* | Implement Forge protocol handshake support (#3869) | satoshinm | 2017-08-27 | 8 | -10/+471 |
| | |||||
* | Leashes work in 1.12.1 | mathiascode | 2017-08-26 | 2 | -24/+50 |
| | |||||
* | Don't assert when placing beds in older versions (#3916) | mathiascode | 2017-08-25 | 2 | -0/+2 |
| | |||||
* | Add cUUID class (#3871) | peterbell10 | 2017-08-25 | 10 | -229/+126 |
| | |||||
* | Minor changes (#3909) | mathiascode | 2017-08-24 | 5 | -5/+5 |
| | |||||
* | Implement protocol level chunk sparsing (#3864) | peterbell10 | 2017-08-21 | 2 | -176/+186 |
| | |||||
* | Fully implemented leashes (#3798) | Pablo Beltrán | 2017-08-21 | 9 | -0/+106 |
| | |||||
* | Represent cItem::m_Lore as an AStringVector (#3882) | peterbell10 | 2017-08-18 | 2 | -26/+7 |
| | | | | | | | | * Replace cItem::m_Lore with AStringVector * Reword deprecation warning * Fix lua bindings | ||||
* | Add support for 1.12.1 (#3908) | Bond-009 | 2017-08-17 | 4 | -6/+825 |
| | |||||
* | Replaced includes with forward declarations | Lukas Pioch | 2017-08-13 | 2 | -2/+5 |
| | |||||
* | Removed unneeded includes (#3902) | Lukas Pioch | 2017-08-06 | 1 | -1/+0 |
| | |||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 1 | -1/+0 |
| | |||||
* | Removed unused forward declarations (#3888) | Lukas Pioch | 2017-08-03 | 4 | -24/+1 |
| | |||||
* | Handle Teleport Confirmation Packet (#3884) | Lane Kolbly | 2017-08-02 | 2 | -4/+26 |
| | | | + Added code to drop incoming client position packets until the most recent teleport was confirmed. | ||||
* | cParsedNBT: Improved error reporting (#3876) | peterbell10 | 2017-07-30 | 2 | -2/+6 |
| | | | | | | * cParsedNBT: Improved error reporting * Fix typos | ||||
* | Tentative fix for player-limit race condition (#3862) | Tiger Wang | 2017-07-28 | 6 | -24/+24 |
| | | | | | | | | | | * Attempts to fix #2257 Derived from d233e9843148313c71fbaba96ccff660e47b07b1 * Changed player count type to int * Clarified certain actions | ||||
* | Handle incomplete packets in cProtocolRecognizer | peterbell10 | 2017-07-26 | 2 | -44/+58 |
| | |||||
* | Remove smart pointer macros | peterbell10 | 2017-07-21 | 1 | -1/+1 |
| | |||||
* | Handle middle mouse drag (#3847) | peterbell10 | 2017-07-13 | 2 | -0/+6 |
| | |||||
* | Added basic ocelot behavior (#3829) | Bond-009 | 2017-07-12 | 2 | -0/+36 |
| | |||||
* | Send player message when clicking on advancements or green book. (#3845) | Lukas Pioch | 2017-07-12 | 2 | -2/+24 |
| | |||||
* | Added bed entity (#3823) | Lukas Pioch | 2017-07-07 | 3 | -0/+40 |
| | | | | | | | | | | * Added bed entity * Export cBedEntity to lua * Set color of bed through item damage value * Added bed entity to APIDoc * NBT: Added loading and saving * Crafting recipes for the colored beds | ||||
* | Fixes double right click on entities till off-hand actions gets implemented (#3821) | Pablo Beltrán | 2017-07-03 | 1 | -2/+8 |
| | |||||
* | Protocol: Do not assume anything about unknown packets. (#3647) | Mattes D | 2017-06-16 | 1 | -35/+38 |
| | |||||
* | Added missing 1.12 packet changes | mathiascode | 2017-06-14 | 2 | -0/+30 |
| | |||||
* | Protocol 1.12: Fixed missing override specifier | Mattes D | 2017-06-14 | 1 | -3/+3 |
| | |||||
* | Added support for protocol 1.12 (#3757) | Lukas Pioch | 2017-06-14 | 5 | -3/+1589 |
| | |||||
* | Added WriteBlockEntity to 1.10 and 1.11 and fixed mob spawner | Lukas Pioch | 2017-06-09 | 6 | -2/+235 |
| | |||||
* | Exported boat | Lukas Pioch | 2017-05-24 | 3 | -3/+3 |
| | | | | | | | - NBT: Added saving / loading of material - Added the material in the item handler of the boat - Drop the correct boat if destroyed - APIDoc: Added desc and functions | ||||
* | Spawn eggs works again | Lukas Pioch | 2017-05-22 | 1 | -3/+5 |
| | |||||
* | Clang 5.0 fixes | Lukas Pioch | 2017-05-21 | 3 | -3/+3 |
| | | | | | - Added override keyword - Removed inherited member variables | ||||
* | Use FastWriter instead of StyledWriter | mathiascode | 2017-05-16 | 5 | -8/+9 |
| | |||||
* | VarInt metadata written correctly for boats (#3709) | peterbell10 | 2017-05-15 | 3 | -9/+9 |
| | | | | * Varint metadata written correctly for boats | ||||
* | Add 1.11 entity metadata (#3601) | Pokechu22 | 2017-03-03 | 4 | -5/+845 |
| | |||||
* | Corrected particles (#3577) | mathiascode | 2017-02-26 | 2 | -26/+18 |
| | | | Fixes wrong IDs causing particles to become unknown to the server. | ||||
* | Add 1.11.1/1.11.2 protocol (#3575) | mathiascode | 2017-02-21 | 6 | -13/+86 |
| | |||||
* | Added some blocks and items (#3503) | mathiascode | 2017-02-14 | 2 | -0/+20 |
| | |||||
* | Fixed ClientHandle:GetProtocolVersion returning wrong number. | Mattes D | 2017-01-28 | 2 | -4/+4 |
| | |||||
* | Track skin part and main hand preferences (#3498) | Pokechu22 | 2017-01-03 | 3 | -6/+38 |
| | |||||
* | Initial support for the 1.11 protocol. | Mattes D | 2016-12-16 | 13 | -441/+668 |
| | |||||
* | Removed ClientHandle.h dependencies from common headers. | Mattes D | 2016-11-18 | 1 | -0/+2 |
| | |||||
* | Added SendMessageRaw for sending json string. | Lukas Pioch | 2016-10-21 | 7 | -0/+42 |
| | |||||
* | Spectators added (#2852) | bibo38 | 2016-10-12 | 7 | -1/+67 |
| | |||||
* | Enclosed Clang pragmas with ifdef's (#3373) | bibo38 | 2016-09-06 | 1 | -4/+7 |
| | | | Fixes a warning in MSVC | ||||
* | Added support for the Minecraft 1.10 protocol(#210) (#3348) | bibo38 | 2016-09-02 | 7 | -37/+959 |
| | | | | | | | | | | * Added support for the Minecraft 1.10 protocol(#210) * Fixed the Clang compilation errors * Fixed wrong sound pitch value and fixed SendPlayerSpawn Metadata value. * Prefixed each enum item with the appropriate class name. | ||||
* | Proper respawn packets on dimension travel | LogicParrot | 2016-08-29 | 7 | -38/+10 |
| | |||||
* | Fixed type-casting-related warnings. | Mattes D | 2016-08-24 | 4 | -26/+22 |
| | |||||
* | Fixing string literal catching word letter as hexa-digit | ElNounch | 2016-08-17 | 2 | -2/+2 |
| | | | | | | Was sending "\x08C""uberite" as plugin identifier, aka a String of lenght (Varint 0x8c 0x75 ->) 14988 characters but only 7 provided Now sending "\x08""Cuberite" as plugin identifier, aka a String of lenght (Varint 0x08 ->) 8 characters, with 8 provided Fix BungeeCord compatibility | ||||
* | Dropped 1.7 support (#3253) | Mathias | 2016-07-21 | 7 | -3662/+2 |
| | |||||
* | CMake: Remove needless minimum version specifications. | Mattes D | 2016-07-18 | 1 | -2/+0 |
| | |||||
* | Fixes for boat entities (#3265) | beeduck | 2016-07-18 | 2 | -3/+87 |
| | | | protocol for vehicles now properly handled, protocol for boat paddles now properly handled, boats can no longer spawn underwater, boats now properly float, boat metadata now properly broadcasted. | ||||
* | 1.9 / 1.9.2 / 1.9.3 / 1.9.4 protocol support (#3135) | Pokechu22 | 2016-05-14 | 12 | -78/+5198 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Semistable update to 15w31a I'm going through snapshots in a sequential order since it should make things easier, and since protocol version history is written. * Update to 15w34b protocol Also, fix an issue with the Entity Equipment packet from the past version. Clients are able to connect and do stuff! * Partially update to 15w35e Chunk data doesn't work, but the client joins. I'm waiting to do chunk data because chunk data has an incomplete format until 15w36d. * Add '/blk' debug command This command lets one see what block they are looking at, and makes figuring out what's supposed to be where in a highly broken chunk possible. * Fix CRLF normalization in CheckBasicStyle.lua Normally, this doesn't cause an issue, but when running from cygwin, it detects the CR as whitespace and creates thousands of violations for every single line. Lua, when run on windows, will normalize automatically, but when run via cygwin, it won't. The bug was simply that gsub was returning a replaced version, but not changing the parameter, so the replaced version was ignored. * Update to 15w40b This includes chunk serialization. Fully functional chunk serialization for 1.9. I'm not completely happy with the chunk serialization as-is (correct use of palettes would be great), but cuberite also doesn't skip sending empty chunks so this performance optimization should probably come later. The creation of a full buffer is suboptimal, but it's the easiest way to implement this code. * Write long-by-long rather than creating a buffer This is a bit faster and should be equivalent. However, the code still doesn't look too good. * Update to 15w41a protocol This includes the new set passengers packet, which works off of the ridden entity, not the rider. That means, among other things, that information about the previously ridden vehicle is needed when detaching. So a new method with that info was added. * Update to 15w45a * 15w51b protocol * Update to 1.9.0 protocol Closes #3067. There are still a few things that need to be worked out (picking up items, effects, particles, and most importantly inventory), but in general this should work. I'll make a few more changes tomorrow to get the rest of the protocol set up, along with 1.9.1/1.9.2 (which did make a few changes). Chunks, however, _are_ working, along with most other parts of the game (placing/breaking blocks). * Fix item pickup packet not working That was a silly mistake, but at least it was an easy one. * 1.9.2 protocol support * Fix version info found in server list ping Thus, the client reports that it can connect rather than saying that the server is out of date. This required creating separate classes for 1.9.1 and 1.9.2, unfortunately. * Fix build errors generated by clang These didn't happen in MSVC. * Add protocol19x.cpp and protocol19x.h to CMakeLists * Ignore warnings in protocol19x that are ignored in protocol18x * Document BLOCK_FACE and DIG_STATUS constants * Fix BLOCK_FACE links and add separate section for DIG_STATUS * Fix bat animation and object spawning The causes of both of these are explained in #3135, but the gist is that both were typos. * Implement Use Item packet This means that buckets, bows, fishing rods, and several other similar items now work when not looking at a block. * Handle DIG_STATUS_SWAP_ITEM_IN_HAND * Add support for spawn eggs and potions The items are transformed from the 1.9 version to the 1.8 version when reading and transformed back when sending. * Remove spammy potion debug logging * Fix wolf collar color metadata The wrong type was being used, causing several clientside issues (including the screen going black). * Fix 1.9 chunk sending in the nether The nether and the end don't send skylight. * Fix clang build errors * Fix water bottles becoming mundane potions This happened because the can become splash potion bit got set incorrectly. Water bottles and mundane potions are only differentiated by the fact that water bottles have a metadata of 0, so setting that bit made it a mundane potion. Also add missing break statements to the read item NBT switch, which would otherwise break items with custom names and also cause incorrect "Unimplemented NBT data when parsing!" logging. * Copy Protocol18x as Protocol19x Aditionally, method and class names have been swapped to clean up other diffs. This commit is only added to make the following diffs more readable; it doesn't make any other changes (beyond class names). * Make thrown potions use the correct appearence This was caused by potions now using metadata. * Add missing api doc for cSplashPotionEntity::GetItem * Fix compile error in SplashPotionEntity.cpp * Fix fix of cSplashPotionEntity API doc * Temporarilly disable fall damage particles These were causing issues in 1.9 due to the changed effect ID. * Properly send a kick packet when connecting with an invalid version This means that the client no longer waits on the server screen with no indication whatsoever. However, right now the server list ping isn't implemented for unknown versions, so it'll only load "Old" on the ping. I also added a GetVarIntSize method to cByteBuffer. This helps clean up part of the code here (and I think it could clean up other parts), but it may make sense for it to be moved elsewhere (or declared in a different way). * Handle server list pings from unrecognized versions This isn't the cleanest way of writing it (it feels odd to use ProtocolRecognizer to send packets, and the addition of m_InPingForUnrecognizedVersion feels like the wrong technique), but it works and I can't think of a better way (apart from creating a full separate protocol class to handle only the ping... which would be worse). * Use cPacketizer for the disconnect packet This also should fix clang build errors. * Add 1.9.3 / 1.9.4 support * Fix incorrect indentation in APIDesc | ||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 12 | -284/+284 |
| | |||||
* | Changed the format of the MobHead data to allow MobHeads working on MInecraft 1.8 | bibo38 | 2016-01-11 | 2 | -2/+15 |
| | | | | | | The NBT format now carries the texture data and transmit it to the client. See: http://minecraft.gamepedia.com/Head#Block_entity Related to #2674 | ||||
* | Fixed not working packet decompression | bibo38 | 2016-01-10 | 1 | -13/+18 |
| | | | | | | | A compressed packed contains always the uncompressed size, but in the code this size was threatened as the compressed data size. This created a failure, when the client compressed a packet. See: http://wiki.vg/Protocol#With_compression Fixes #2841 Fixes #2467 | ||||
* | Fixed Clang warnings. | Mattes D | 2016-01-06 | 1 | -2/+2 |
| | |||||
* | Renamed leftover strings to Cuberite / Server, as needed. | Mattes D | 2016-01-01 | 1 | -1/+1 |
| | | | | Also upgraded the user setting file for MSVC to 2013. | ||||
* | Fixed problems in cBlockingSslClientSocket. | Mattes D | 2015-12-30 | 1 | -2/+2 |
| | |||||
* | Added GeoTrust Root Certificate | worktycho | 2015-12-22 | 1 | -1/+24 |
| | |||||
* | Added HTTPS links wherever they are supported. | Alexander Harkness | 2015-12-19 | 1 | -27/+23 |
| | |||||
* | Moved variables into scope, removed unused variables and fixed variables | Lukas Pioch | 2015-12-17 | 1 | -2/+1 |
| | |||||
* | allow horse control (still quite buggy) | Gargaj | 2015-12-15 | 1 | -1/+5 |
| | |||||
* | implement breeding | Gargaj | 2015-11-29 | 1 | -5/+21 |
| | |||||
* | fix escaped characters in signs (fixes #1736, fixes #2170) | Gargaj | 2015-11-24 | 1 | -1/+6 |
| | |||||
* | Add enum for Sound and Particle Effects | Dave Tucker | 2015-11-24 | 7 | -9/+11 |
| | | | | | | Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk> | ||||
* | changed mob age from char to int | Julian Laubstein | 2015-11-16 | 1 | -10/+7 |
| | |||||
* | idle/deflating creeper should be -1 | Gargaj | 2015-11-09 | 2 | -2/+2 |
| | | | | according to http://wiki.vg/Entities#Creeper | ||||
* | Update Loops required for JsonCPP | Lukas Pioch | 2015-10-26 | 2 | -8/+8 |
| | |||||
* | Improved types of utf 16 strings | tycho | 2015-10-02 | 1 | -3/+3 |
| | |||||
* | Merge pull request #2465 from electromatter/master | worktycho | 2015-09-27 | 1 | -0/+14 |
|\ | | | | | Added BungeeCord support for Protocol18x | ||||
| * | Merge branch 'master' into master | electromatter | 2015-09-22 | 7 | -219/+22 |
| |\ | |||||
| * | | added bungeecord support for protocol18x | Eric Chai | 2015-09-06 | 1 | -0/+14 |
| | | | |||||
* | | | Namechange to Cuberite | Mattes D | 2015-09-25 | 5 | -11/+11 |
| |/ |/| | |||||
* | | Refactored cProtocol Chat handling | tycho | 2015-09-21 | 7 | -219/+22 |
|/ | |||||
* | Merge pull request #2380 from cuberite/travis | Tiger Wang | 2015-08-20 | 1 | -1/+1 |
|\ | | | | | Use container-based infrastructure | ||||
| * | Use container-based infrastructure for Travis | Tiger Wang | 2015-08-20 | 1 | -1/+1 |
| | | |||||
* | | Fixed food drain bugs | Tiger Wang | 2015-08-20 | 1 | -4/+1 |
|/ | |||||
* | Fix old style casts and implicit conversions | Matti Hänninen | 2015-08-12 | 2 | -6/+6 |
| | |||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 2 | -9/+13 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 10 | -140/+138 |
| | |||||
* | Added Rabbit Metadata values. | bibo38 | 2015-07-17 | 1 | -8/+11 |
| | | | | | Added the Rabbit Types and the MoreCarrotTicks value. Types are selected randomly on creation. Fixes #1867 | ||||
* | Merge pull request #2348 from bibo38/customname | Tiger Wang | 2015-07-15 | 2 | -10/+27 |
|\ | | | | | Added CustomName and Health to sended Metadata of Monsters. | ||||
| * | Added CustomName and Health to sended Metadata of Monsters. | bibo38 | 2015-07-15 | 2 | -10/+27 |
| | | | | | | | | Fixes #2113 | ||||
* | | Merge pull request #2353 from SamJBarney/DyedArmor | Julian Laubstein | 2015-07-15 | 2 | -4/+24 |
|\ \ | | | | | | | Implements Dyed Leather Armor | ||||
| * | | Leather Armor can now be dyed. | Samuel Barney | 2015-07-15 | 2 | -4/+24 |
| |/ | | | | | | | * Created new color class to handle dye-related coloring | ||||
* | | Merge pull request #2349 from cuberite/maps | Tiger Wang | 2015-07-15 | 7 | -122/+56 |
|\ \ | | | | | | | Improved maps | ||||
| * | | Improved maps | Tiger Wang | 2015-07-14 | 7 | -122/+56 |
| |/ | |||||
* / | Support ageable mobs | Hallucino | 2015-07-14 | 1 | -15/+48 |
|/ | | | | Move ageable stuff in Monster directly | ||||
* | Fixes compilation failures on MacOSX 10.10 | Samuel Barney | 2015-07-09 | 1 | -1/+1 |
| | | | | | * Replace old c-style casts with c++ casts * Added `-Wno-error=old-style-cast` to Protocol18x.cpp | ||||
* | Fixed warnings generated by 64-bit MSVC. | Mattes D | 2015-07-07 | 2 | -8/+8 |
| | |||||
* | Fixed Middle-Click Button in the ClickWindow-Packet. | bibo38 | 2015-06-25 | 2 | -2/+2 |
| | | | | | | See http://wiki.vg/Protocol#Click_Window The MiddleClick has the button 2 and not 0. Now you can max an item in an inventory in Creative mode, without inventory desync. Bugfix #2260 | ||||
* | Check the return value of InflateString | Tiger Wang | 2015-06-18 | 1 | -2/+1 |
| | | | | Fixes #2256 | ||||
* | Removed version 29 serilization | tycho | 2015-06-16 | 2 | -62/+0 |
| | | | | This has been unused since support for <1.7 has been dropped. | ||||
* | Fix incorrent experience sending for 1.7 clients | jan64 | 2015-06-07 | 1 | -2/+2 |
| | |||||
* | Changed SendAboveActionBarMessage / SendSystemMessage to be a noop for < 1.8 clients | jan64 | 2015-06-03 | 1 | -1/+11 |
| | |||||
* | Added system and above action bar chat messages | jan64 | 2015-06-02 | 7 | -4/+196 |
| | |||||
* | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-28 | 7 | -0/+247 |
|\ | | | | | | | | | Conflicts: src/Inventory.cpp | ||||
| * | Merge pull request #1848 from scottwillmoore/ImplementTitleCommand | Mattes D | 2015-05-26 | 7 | -0/+247 |
| |\ | | | | | | | Implement backend for /title command | ||||
| | * | Implement backend for /title command | Scott Moore | 2015-04-13 | 7 | -0/+247 |
| | | | |||||
* | | | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -2/+6 |
| | | | |||||
* | | | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-23 | 2 | -7/+39 |
|\| | | |||||
| * | | Close Ssl Socket on destroy | Tiger Wang | 2015-05-23 | 1 | -1/+0 |
| | | | | | | | | | | | | * Fixes #2072 | ||||
| * | | Added Equifax root CA. | Mattes D | 2015-05-21 | 2 | -6/+39 |
| | | | | | | | | | | | | | | | | | | Fixes #2076. Closes #2081. Ref.: #2072. | ||||
* | | | Make -Werror disabling file only | tycho | 2015-05-19 | 1 | -0/+5 |
| | | | | | | | | | | | | Ad fix a load of warnings | ||||
* | | | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-19 | 4 | -16/+16 |
|\| | | | | | | | | | | | | | | Conflicts: src/Blocks/BlockLeaves.h | ||||
| * | | Merge pull request #2019 from mc-server/OverrideArgs | Alexander Harkness | 2015-05-19 | 4 | -16/+16 |
| |\ \ | | | | | | | | | Initial Implementation of command line arguments | ||||
| | * | | Initial implementation of IniFile overloading | tycho | 2015-05-16 | 4 | -16/+16 |
| | | | | |||||
* | | | | Fixed a lot of warnings | tycho | 2015-05-19 | 2 | -3/+3 |
|/ / / | |||||
* / / | Fixed inventory handling. | Mattes D | 2015-05-16 | 1 | -2/+2 |
|/ / | | | | | | | Fixes #2035. | ||||
* | | Fixed creative click-outside | Tiger Wang | 2015-05-12 | 1 | -1/+1 |
| | | | | | | | | * Fixes #1995 | ||||
* | | CheckBasicStyle: checks spaces around * and &. | Mattes D | 2015-05-09 | 1 | -2/+2 |
| | | |||||
* | | More style checking. | Mattes D | 2015-05-09 | 3 | -6/+6 |
| | | | | | | | | Spaces around some operators are checked. | ||||
* | | Added support for additional data in the ParticleEffect Packet | tycho | 2015-05-07 | 7 | -0/+71 |
| | | | | | | | | Also started refactoring how broadcasts are handled | ||||
* | | Merge pull request #1938 from jan64/master | Mattes D | 2015-05-04 | 2 | -3/+3 |
|\ \ | | | | | | | Change visual protocol name to include MCServer | ||||
| * | | Change visual protocol name to include MCServer | jan64 | 2015-05-04 | 2 | -3/+3 |
| | | | |||||
* | | | Entity improvements | Tiger Wang | 2015-05-04 | 1 | -1/+1 |
|/ / | | | | | | | | | | | | | | | •Pathfinder improvements •Fixes #1217 •Fixes #1933 Merge remote-tracking branch 'SafwatHalaby/water2' into fixes | ||||
* | | Updated MC versions in ProtocolRecognizer.h | wiseoldman95 | 2015-04-28 | 1 | -1/+1 |
| | | |||||
* | | Protocol 1.8: Limit the amount of displayed data on NBT parse failure. | Mattes D | 2015-04-20 | 1 | -1/+1 |
| | | |||||
* | | Fixed arm swing animation | Tiger Wang | 2015-04-17 | 1 | -1/+1 |
|/ | | | * Fixes #1861 | ||||
* | Added VarInt64, normalized cPacketizer datatype names. | Mattes D | 2015-03-22 | 5 | -673/+682 |
| | |||||
* | Unified cPacketizer across all protocols. | Mattes D | 2015-03-22 | 10 | -757/+857 |
| | |||||
* | Fixed signedness warnings in Protocol. | Mattes D | 2015-03-21 | 7 | -9/+9 |
| | |||||
* | Fixed signedness issues in protocols. | Mattes D | 2015-03-21 | 4 | -60/+74 |
| | |||||
* | Unified cByteBuffer types. | Mattes D | 2015-03-21 | 6 | -185/+241 |
| | | | | cByteBuffer now reads and writes any of the [U]Int<N> types. | ||||
* | Merge pull request #1810 from mc-server/paintings | Mattes D | 2015-03-15 | 2 | -10/+2 |
|\ | | | | | Paintings | ||||
| * | cPainting saving implemented | Tiger Wang | 2015-03-14 | 2 | -10/+2 |
| | | | | | | | | Additionally, it now inherits from cHangingEntity. | ||||
* | | Merge pull request #1734 from mc-server/pistons | Mattes D | 2015-03-14 | 1 | -3/+1 |
|\ \ | |/ |/| | Handle client 'leave bed' request | ||||
| * | Handle client 'leave bed' request | Tiger Wang | 2015-02-08 | 1 | -3/+1 |
| | | | | | | | | * Fixes #1728 | ||||
* | | 1.8 Protocol: Fixed a possible race condition. | Mattes D | 2015-02-24 | 1 | -5/+9 |
|/ | | | | Fixes #1759. | ||||
* | Protocol 1.7: Fixed Coverity issues. | Mattes D | 2015-02-08 | 1 | -4/+7 |
| | | | | Fixes CID 66411, CID 103166 and CID 103167. | ||||
* | Added IsOnGround() to cEntity | Howaner | 2015-02-07 | 1 | -6/+6 |
| | |||||
* | Removed cFile::ReplaceFileNameInvalidChars(). | Mattes D | 2015-01-27 | 1 | -1/+3 |
| | | | | Its only usage in cProtocol18 has been changed to a simple string replace - only the IPv6's colons were causing problems. | ||||
* | Protocol18: Fixed failure with invalig logfile names. | Mattes D | 2015-01-27 | 1 | -8/+15 |
| | |||||
* | Fixed warnings in 1.7 protocol. | Mattes D | 2015-01-18 | 1 | -106/+127 |
| | |||||
* | Fixed Linux compilation. | Mattes D | 2015-01-03 | 2 | -2/+2 |
| | |||||
* | Protocols: Ignore garbage data at the end of PluginMessage packets. | Mattes D | 2015-01-03 | 2 | -0/+21 |
| | | | | Fixes #1692. | ||||
* | Refactored all player block placing to go through hooks. | Mattes D | 2014-12-24 | 2 | -4/+4 |
| | | | | Fixes #1618. | ||||
* | Fixed coverity issues in protocols. | Mattes D | 2014-12-21 | 2 | -4/+11 |
| | | | | Fixes CID 73099, CID 66411. | ||||
* | cMojangAPI: Fixed a possible problem with thread termination order. | Mattes D | 2014-12-07 | 1 | -5/+17 |
| | |||||
* | Removed unused imports. | Howaner | 2014-11-29 | 2 | -2/+0 |
| | |||||
* | Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes. | Howaner | 2014-11-29 | 4 | -2/+4 |
| | |||||
* | Finished mob spawner implementation. | Howaner | 2014-11-18 | 1 | -0/+13 |
| | |||||
* | Merge branch 'master' into MobSpawner | Howaner | 2014-11-18 | 21 | -4806/+420 |
|\ | | | | | | | | | Conflicts: MCServer/Plugins/Core | ||||
| * | Merge pull request #1565 from mc-server/MergedIniFile | Mattes D | 2014-10-24 | 2 | -2/+2 |
| |\ | | | | | | | Merged ini file | ||||
| | * | Merged IniFile into main MCS sources. | Mattes D | 2014-10-23 | 2 | -2/+2 |
| | | | |||||
| * | | Merge branch 'master' into ChunkLoader | Howaner | 2014-10-23 | 5 | -96/+96 |
| |\| | | | | | | | | | | | | | | | | | | | Conflicts: src/ChunkSender.cpp src/ClientHandle.cpp src/World.h | ||||
| | * | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 5 | -94/+94 |
| | | | |||||
| | * | Properly exported cItemFrame and cHangingEntity to Lua. | Mattes D | 2014-10-21 | 2 | -2/+2 |
| | | | |||||
| * | | Merge branch 'master' into ChunkLoader | Howaner | 2014-10-21 | 9 | -28/+144 |
| |\| | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp | ||||
| | * | Merge pull request #1502 from mc-server/furnaces | Tiger Wang | 2014-10-18 | 7 | -7/+7 |
| | |\ | | | | | | | | | Improved furnaces | ||||
| | | * | Improved furnaces | Tiger Wang | 2014-10-03 | 7 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed progress bar on 1.8 * Fixed bugs * Improved code * Fixes #1068 * Fixes #1070 | ||||
| | * | | cMojangAPI: Don't update data if server is in offline mode. | Mattes D | 2014-10-17 | 2 | -3/+6 |
| | | | | |||||
| | * | | cMojangAPI: Added periodical refreshes. | Mattes D | 2014-10-06 | 2 | -19/+132 |
| | | | | |||||
| * | | | Merge branch 'master' into ChunkLoader | Howaner | 2014-10-06 | 2 | -1/+2 |
| |\| | | |||||
| | * | | cClientHandle: Added protocol version knowledge. | Mattes D | 2014-10-05 | 2 | -1/+2 |
| | |/ | |||||
| * / | Optimized chunk loader | Howaner | 2014-10-02 | 2 | -0/+2 |
| |/ | |||||
| * | Fixed a missing semicolon. | madmaxoft | 2014-09-30 | 1 | -1/+1 |
| | | |||||
| * | Rewritten plugin messages, vanilla are being parsed directly. | madmaxoft | 2014-09-30 | 4 | -13/+172 |
| | | | | | | | | This should finally fix the compatibility problems between 1.7 and 1.8 protocols with the changes in the vanilla plugin messages. | ||||
| * | Style fixes. | madmaxoft | 2014-09-29 | 1 | -3/+3 |
| | | |||||
| * | Plugin messages: Vanilla prefixes its payloads with VarInt lengths. | madmaxoft | 2014-09-28 | 1 | -4/+13 |
| | | |||||
| * | Revert "1.8: Fixed plugin messages." | madmaxoft | 2014-09-28 | 1 | -1/+3 |
| | | | | | | | | This reverts commit 04ee8c43dd17eb98d1e3d66ff691898e9f269b95. | ||||
| * | Protocol 1.8: Fixed possible crash on malformed packet. | madmaxoft | 2014-09-28 | 1 | -0/+5 |
| | | |||||
| * | Merge pull request #1466 from mc-server/endofsupport | Mattes D | 2014-09-28 | 18 | -4692/+11 |
| |\ | | | | | | | Removed protocols 1.2 to 1.6 | ||||
| | * | Compilation fix | Tiger Wang | 2014-09-28 | 1 | -1/+1 |
| | | | |||||
| | * | Bug fix | Tiger Wang | 2014-09-27 | 1 | -2/+15 |
| | | | |||||
| | * | Dropped support for <1.7.x | Tiger Wang | 2014-09-27 | 18 | -4700/+6 |
| | | | |||||
| * | | 1.8: Fixed plugin messages. | Howaner | 2014-09-27 | 1 | -3/+4 |
| |/ | |||||
* | | Merge branch 'master' into MobSpawner | Howaner | 2014-09-26 | 16 | -562/+4277 |
|\| | | | | | | | | | | | Conflicts: src/MobSpawner.h src/Mobs/Monster.h | ||||
| * | Merge branch 'master' into Fixes | Howaner | 2014-09-26 | 3 | -46/+46 |
| |\ | |||||
| | * | Merge pull request #1419 from mc-server/redstoneTests | worktycho | 2014-09-26 | 3 | -46/+46 |
| | |\ | | | | | | | | | Added test mocking to IncrementalRedstoneSimulator | ||||
| | | * | Merge branch 'master' into redstoneTests | Tycho | 2014-09-25 | 2 | -10/+11 |
| | | |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Simulator/IncrementalRedstoneSimulator.cpp | ||||
| | | * \ | Merge branch 'master' into redstoneTests | Tycho | 2014-09-25 | 16 | -527/+4240 |
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Mobs/Monster.h | ||||
| | | * \ \ | Merge branch 'master' into redstoneTests | Tycho | 2014-09-17 | 2 | -4/+17 |
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Blocks/ChunkInterface.h | ||||
| | | * | | | | Added first test to show the object can be created | Tycho | 2014-09-17 | 2 | -31/+31 |
| | | | | | | | |||||
| * | | | | | | Fixed players custom name in 1.8 | Howaner | 2014-09-26 | 9 | -57/+20 |
| |/ / / / / | |||||
| * | | | | | Protocol 1.8: Fixed plugin message packet. | madmaxoft | 2014-09-25 | 1 | -1/+3 |
| | | | | | | |||||
| * | | | | | Added cByteBuffer::WriteBEUShort(). | madmaxoft | 2014-09-25 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Merge pull request #1452 from Howaner/Fixes | Mattes D | 2014-09-25 | 1 | -5/+10 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | Fixes | ||||
| | * \ \ \ \ | Merge branch 'master' into Fixes | Howaner | 2014-09-25 | 2 | -10/+11 |
| | |\ \ \ \ \ | | | | |_|_|/ | | | |/| | | | |||||
| | * | | | | | Use the json writer to write sign texts. | Howaner | 2014-09-25 | 1 | -5/+10 |
| | | |_|_|/ | | |/| | | | | | | | | | Without this change the client disconnects if the text contains " | ||||
| * | | | | | Protocol 1.8: Handling packet compression properly. | madmaxoft | 2014-09-25 | 2 | -14/+39 |
| | | | | | | | | | | | | | | | | | | | | | | | | The compression didn't work with CommLog turned on. | ||||
| * | | | | | Protocol 1.8: Added checks for values presence. | madmaxoft | 2014-09-25 | 1 | -2/+8 |
| | |/ / / | |/| | | | | | | | | | | | | | Reported by @worktycho / Coverity. | ||||
| * | | | | 1.8 Protocol: Fixed problems with no-payload packets. | madmaxoft | 2014-09-25 | 1 | -6/+7 |
| | | | | | |||||
| * | | | | 1.7 Protocol: fixed potential problems with no-payload packets. | madmaxoft | 2014-09-25 | 1 | -4/+4 |
| |/ / / | |||||
| * | | | Fixed compiler warnings in 1.8 protocol. | madmaxoft | 2014-09-23 | 1 | -2/+2 |
| | | | | |||||
| * | | | Merge branch 'master' into EntityCustomName | Howaner | 2014-09-23 | 16 | -519/+4216 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp src/ClientHandle.h src/Protocol/Protocol.h src/Protocol/Protocol125.cpp src/Protocol/Protocol125.h src/Protocol/Protocol17x.cpp src/Protocol/Protocol17x.h src/Protocol/ProtocolRecognizer.cpp src/Protocol/ProtocolRecognizer.h src/World.cpp src/World.h | ||||
| | * | | | Updated README.md | Howaner | 2014-09-22 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Hotfixed 1.8 item reading. | Howaner | 2014-09-22 | 2 | -6/+6 |
| | | | | | |||||
| | * | | | Changed metadata reading again. | Howaner | 2014-09-22 | 2 | -173/+7 |
| | | | | | |||||
| | * | | | Fixed item nbt reading. | Howaner | 2014-09-22 | 2 | -3/+168 |
| | | | | | |||||
| | * | | | Code improvements. | Howaner | 2014-09-19 | 4 | -38/+36 |
| | | | | | |||||
| | * | | | Merge branch 'master' into 1.8-Protocol | Howaner | 2014-09-19 | 2 | -1/+14 |
| | |\ \ \ | |||||
| | * | | | | Exported player list states to extra functions. | Howaner | 2014-09-18 | 9 | -426/+616 |
| | | | | | | |||||
| | * | | | | 1.8: Simplified item metadata reading. | Howaner | 2014-09-18 | 1 | -7/+3 |
| | | | | | | |||||
| | * | | | | Simplified WriteUUID() | Howaner | 2014-09-14 | 1 | -9/+9 |
| | | | | | | |||||
| | * | | | | Fixed warnings. | Howaner | 2014-09-14 | 1 | -3/+3 |
| | | | | | | |||||
| | * | | | | 1.8: Updated scoreboard packets. | Howaner | 2014-09-13 | 1 | -3/+7 |
| | | | | | | |||||
| | * | | | | Moved chat json creating to the CompositeChat class. | Howaner | 2014-09-13 | 4 | -346/+8 |
| | | | | | | |||||
| | * | | | | 1.8: Fixed maps. | Howaner | 2014-09-13 | 9 | -35/+33 |
| | | | | | | |||||
| | * | | | | Merge branch 'master' into 1.8-Protocol | Howaner | 2014-09-13 | 1 | -3/+3 |
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Items/ItemHoe.h | ||||
| | * | | | | | Fixed wrong buffer length in the 1.8 protocol. | Howaner | 2014-09-12 | 1 | -10/+4 |
| | | | | | | | |||||
| | * | | | | | 1.8: Fixed ReadItem() | Howaner | 2014-09-12 | 1 | -19/+39 |
| | | | | | | | |||||
| | * | | | | | 1.8: Added difficulty sending | Howaner | 2014-09-12 | 1 | -0/+6 |
| | | | | | | | |||||
| | * | | | | | 1.8: Fixed block entities. | Howaner | 2014-09-12 | 1 | -8/+2 |
| | | | | | | | |||||
| | * | | | | | 1.8: Fixed workbench, enchanting and anvil window. | Howaner | 2014-09-12 | 1 | -3/+19 |
| | | | | | | | |||||
| | * | | | | | 1.8: Enderman, byte -> short | Howaner | 2014-09-12 | 1 | -1/+1 |
| | | | | | | | |||||
| | * | | | | | 1.8: Fixed enderman spawning. | Howaner | 2014-09-12 | 1 | -1/+1 |
| | | | | | | | |||||
| | * | | | | | 1.8: Fixed inventory open packet. | Howaner | 2014-09-11 | 1 | -3/+2 |
| | | | | | | | |||||
| | * | | | | | Removed GetProtocolVersion() from the protocols. | Howaner | 2014-09-11 | 7 | -19/+6 |
| | | | | | | | |||||
| | * | | | | | 1.8: Fixed sign placing. | Howaner | 2014-09-11 | 1 | -1/+1 |
| | | | | | | | |||||
| | * | | | | | 1.8: Fixed hangings. | Howaner | 2014-09-11 | 3 | -31/+88 |
| | | | | | | | |||||
| | * | | | | | 1.8: Added ParticleEffect packet. | Howaner | 2014-09-11 | 11 | -26/+103 |
| | | | | | | | |||||
| | * | | | | | 1.8: Added MultiBlockChange packet. | Howaner | 2014-09-09 | 3 | -51/+82 |
| | | | | | | | |||||
| | * | | | | | Added the player list to the 1.8 protocol. | Howaner | 2014-09-09 | 9 | -21/+92 |
| | | | | | | | |||||
| | * | | | | | Merge branch 'master' into 1.8-Protocol | Howaner | 2014-09-09 | 2 | -7/+8 |
| | |\ \ \ \ \ | | | | |_|/ / | | | |/| | | | |||||
| | * | | | | | PlayerSpawn packet: Send the correct uuid. | Howaner | 2014-09-09 | 1 | -5/+1 |
| | | | | | | | |||||
| | * | | | | | 1.8: Added new uuid field. | Howaner | 2014-09-09 | 2 | -0/+19 |
| | | | | | | | |||||
| | * | | | | | More fixes. | Howaner | 2014-09-08 | 2 | -1/+6 |
| | | | | | | | |||||
| | * | | | | | Recoded cProtocol180 class. | Howaner | 2014-09-08 | 4 | -589/+2690 |
| | | | | | | | |||||
| | * | | | | | 1.8: Fixed tab complete. | Howaner | 2014-09-08 | 3 | -2/+20 |
| | | | | | | | |||||
| | * | | | | | Fixed more 1.8 packets. | Howaner | 2014-09-08 | 4 | -35/+243 |
| | | | | | | | |||||
| | * | | | | | Updated chunk sending to 1.8 | Howaner | 2014-09-08 | 4 | -26/+22 |
| | | | | | | | |||||
| | * | | | | | Added GetProtocolVersion() to cProtocol. | Howaner | 2014-09-08 | 8 | -26/+29 |
| | | | | | | | |||||
| | * | | | | | Implemented packet compression. | Howaner | 2014-09-08 | 7 | -35/+117 |
| | | | | | | | | | | | | | | | | | | | | | ChunkData packet needs this. | ||||
| | * | | | | | Fixed client errors. | Howaner | 2014-09-04 | 5 | -52/+79 |
| | | | | | | | |||||
| | * | | | | | Added more 1.8 protocol things. | Howaner | 2014-09-04 | 6 | -14/+632 |
| | | | | | | | |||||
| | * | | | | | Started implementing of the 1.8 protocol. | Howaner | 2014-09-04 | 7 | -7/+502 |
| | | | | | | | |||||
| * | | | | | | Merge branch 'master' into EntityCustomName | Howaner | 2014-09-02 | 1 | -6/+24 |
| |\| | | | | | |||||
| * | | | | | | Added SetCustomName() to players. | Howaner | 2014-09-02 | 8 | -25/+45 |
| | | | | | | | |||||
| * | | | | | | Added CustomName to cMonster. | Howaner | 2014-09-01 | 1 | -0/+10 |
| | | | | | | | |||||
* | | | | | | | Implemented mob spawner. | Howaner | 2014-09-19 | 1 | -1/+13 |
| |_|_|_|/ / |/| | | | | | |||||
* | | | | | | Added an explicit setting for allowing BungeeCord handshake. | madmaxoft | 2014-09-17 | 1 | -1/+1 |
| |_|_|_|/ |/| | | | | |||||
* | | | | | Full BungeeCord compatibility. | madmaxoft | 2014-09-17 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #1392. Fixes SpigotMC/BungeeCord#1211. | ||||
* | | | | | Initial BungeeCord support. | madmaxoft | 2014-09-17 | 2 | -1/+10 |
| |_|_|/ |/| | | | | | | | | | | | Ref.: #1392 | ||||
* | | | | Spawn exp if you break a mob spawner. | Howaner | 2014-09-12 | 1 | -3/+3 |
| |_|/ |/| | | |||||
* | | | Added Y-wise asserts to signs. | Mattes D | 2014-09-06 | 1 | -0/+1 |
| | | | | | | | | | | | | This should help detect #1313's second case. | ||||
* | | | Alpha-sorted protocol 1.7 senders. | Mattes D | 2014-09-06 | 1 | -7/+7 |
| |/ |/| | |||||
* | | Make sure packets are valid | worktycho | 2014-09-01 | 1 | -6/+24 |
|/ | | | Fixes CID 66408, 66409 and 72045 | ||||
* | Init RankMgr pointer to NULL | worktycho | 2014-08-31 | 1 | -1/+2 |
| | |||||
* | Merge pull request #1290 from mc-server/Ranks | Mattes D | 2014-08-26 | 2 | -5/+40 |
|\ | | | | | Rewriting permission system to use UUIDs and Ranks | ||||
| * | Merge remote-tracking branch 'origin/master' into Ranks | Mattes D | 2014-08-22 | 3 | -43/+91 |
| |\ | |||||
| * | | cMojangAPI updates cRankManager's playernames. | Mattes D | 2014-08-21 | 2 | -1/+40 |
| | | | |||||
| * | | cMojangAPI: Fixed MakeUUID___() bindings. | Mattes D | 2014-08-21 | 1 | -4/+0 |
| | | | | | | | | | | | | ToLua would generate a shadow return value for the input strings. | ||||
* | | | Type warning fixes. | Mattes D | 2014-08-25 | 1 | -1/+1 |
| | | | |||||
* | | | Fixed a type warning. | Mattes D | 2014-08-25 | 1 | -2/+2 |
| |/ |/| | |||||
* | | Fixed 1.7.2 login packet reading. | Mattes D | 2014-08-21 | 1 | -1/+5 |
| | | | | | | | | Fixes #1317. | ||||
* | | Merge pull request #1339 from mc-server/Hooks | STRWarrior | 2014-08-20 | 3 | -42/+86 |
|\ \ | |/ |/| | Added HOOK_SERVER_PING | ||||
| * | Renamed a_Motd to a_ServerDescription. | Howaner | 2014-08-20 | 2 | -7/+7 |
| | | |||||
| * | Added a_ClientHandle to the HOOK_SERVER_PING hook. | Howaner | 2014-08-20 | 2 | -2/+5 |
| | | |||||
| * | Added "HOOK_SERVER_PING" call to older protocols | Howaner | 2014-08-20 | 1 | -13/+12 |
| | | |||||
| * | Cleaned up code. | Howaner | 2014-08-20 | 1 | -1/+0 |
| | | |||||
| * | Added HOOK_SERVER_PING | Howaner | 2014-08-20 | 2 | -29/+72 |
| | | |||||
* | | Merge pull request #1296 from mc-server/LuaAPI | Franz Reiter | 2014-08-12 | 9 | -10/+24 |
|\ \ | |/ |/| | Added SetDoDaylightCycle() and IsDaylightCycleEnabled() to cWorld. | ||||
| * | Exported daylight cycle flag to the protocol. | Howaner | 2014-08-11 | 9 | -10/+24 |
| | | |||||
* | | cProtocol172: Check return values. | madmaxoft | 2014-08-11 | 1 | -4/+9 |
| | | | | | | | | Fixes CID 43489, CID 43490, CID 43491, CID 43493, CID 66410, CID 66411, CID 66416, CID 66417, CID 66418, CID 66419, CID 66420, CID 66421, CID 66422, CID 66423, CID 66424, CID 66425, CID 66429, CID 66430, CID 66431 | ||||
* | | Gave names to unnamed enums | archshift | 2014-08-11 | 1 | -1/+1 |
|/ | |||||
* | MojangAPI: Fixed PlayerNameToUUID(). | madmaxoft | 2014-08-04 | 1 | -1/+1 |
| | |||||
* | Fixed #1286 | Howaner | 2014-08-04 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1285 from mc-server/StrCaseRefactor | Mattes D | 2014-08-04 | 2 | -32/+24 |
|\ | | | | | Refactored case-conversion functions. | ||||
| * | Refactored case-conversion functions. | madmaxoft | 2014-08-04 | 2 | -32/+24 |
| | | | | | | | | StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place. | ||||
* | | Changed properties for-loop. | Howaner | 2014-08-04 | 1 | -1/+1 |
| | | |||||
* | | Fixed skins in mc 1.7.9/1.7.10 | Howaner | 2014-08-03 | 1 | -6/+5 |
|/ | |||||
* | cMojangAPI: Added UUID-to-Name lookup. | madmaxoft | 2014-08-03 | 3 | -60/+424 |
| | | | | Also fixed the bindings, now all functions are static-like. | ||||
* | Added cMojangAPI:GetUUIDFromPlayerName(). | madmaxoft | 2014-08-03 | 2 | -0/+35 |
| | | | | This is a simpler way to ask for a single name -> uuid conversion. | ||||
* | Merge pull request #1255 from mc-server/NameToUUID | Mattes D | 2014-08-01 | 6 | -147/+619 |
|\ | | | | | Name to UUID | ||||
| * | Merged branch 'master' into NameToUUID. | madmaxoft | 2014-07-31 | 9 | -17/+17 |
| |\ | |||||
| * | | Removed trailing whitespace. | madmaxoft | 2014-07-31 | 1 | -2/+2 |
| | | | |||||
| * | | MojangAPI: Moved the settings to a separate ini section. | madmaxoft | 2014-07-31 | 1 | -2/+2 |
| | | | |||||
| * | | MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames(). | madmaxoft | 2014-07-31 | 2 | -4/+9 |
| | | | |||||
| * | | MojangAPI: Renamed cache file to MojangAPI.sqlite. | madmaxoft | 2014-07-30 | 1 | -2/+2 |
| | | | |||||
| * | | MojangAPI: Clarified the UUID conversion code. | madmaxoft | 2014-07-30 | 2 | -4/+17 |
| | | | |||||
| * | | MojangAPI: Implemented UUID shortening and dashing. | madmaxoft | 2014-07-30 | 3 | -20/+31 |
| | | | |||||
| * | | Exported cMojangAPI to Lua. | madmaxoft | 2014-07-30 | 1 | -1/+12 |
| | | | |||||
| * | | Added a cMojangAPI class for PlayerName -> UUID lookups, with cache. | madmaxoft | 2014-07-30 | 5 | -237/+556 |
| | | | | | | | | | | | | The cache is persisted into a SQLite DB file on server shutdown. | ||||
| * | | cAuthenticator: Added GetUUIDsFromPlayerNames(). | madmaxoft | 2014-07-28 | 2 | -3/+116 |
| | | | |||||
* | | | Renamed functions and added beacon json saving. | Howaner | 2014-07-31 | 1 | -2/+2 |
| | | | |||||
* | | | Added beacon. | Howaner | 2014-07-30 | 1 | -0/+15 |
| |/ |/| | |||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-07-29 | 2 | -2/+2 |
|\| | | | | | | | | | Conflicts: src/World.h | ||||
| * | Removed redundant semicolons and re-added warning | archshift | 2014-07-24 | 2 | -2/+2 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-07-22 | 10 | -82/+106 |
|\| | | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Player.cpp src/Root.cpp src/World.cpp | ||||
| * | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 7 | -11/+11 |
| | | |||||
| * | Style: Normalized spaces after if, for and while. | madmaxoft | 2014-07-21 | 1 | -1/+1 |
| | | |||||
| * | Fixed attempts to call c_str on ChatColors | archshift | 2014-07-19 | 1 | -2/+2 |
| | | |||||
| * | Code style: Fixed braces on separate lines. | madmaxoft | 2014-07-19 | 1 | -1/+2 |
| | | |||||
| * | Fixed spaces after commas in protocol data. | madmaxoft | 2014-07-19 | 1 | -7/+7 |
| | | | | | | | | The JSON data is well-formatted with spaces, too; we can afford to waste the few bytes. | ||||
| * | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 2 | -2/+2 |
| | | |||||
| * | Merge pull request #1214 from mc-server/anti-glob | Mattes D | 2014-07-19 | 1 | -5/+25 |
| |\ | | | | | | | CMake - Explicitly lists all source files | ||||
| | * | Subdirs: Only add_library if not using MSVC | archshift | 2014-07-19 | 1 | -1/+3 |
| | | | |||||
| | * | Protocol/CMakeLists.txt: Replaced glob with list of files | archshift | 2014-07-19 | 1 | -5/+23 |
| | | | |||||
| * | | Authenticator.cpp: Killed a global destructor warning | archshift | 2014-07-19 | 1 | -53/+56 |
| |/ | |||||
* | | Fix failed merge and other issues | Tiger Wang | 2014-07-18 | 7 | -7/+7 |
| | | |||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-07-18 | 15 | -259/+351 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp src/ClientHandle.h src/Entities/Player.cpp src/Entities/Player.h src/Generating/FinishGen.cpp src/Protocol/Protocol.h src/Protocol/Protocol125.cpp src/Protocol/Protocol125.h src/Protocol/Protocol16x.cpp src/Protocol/Protocol16x.h src/Protocol/Protocol17x.cpp src/Protocol/Protocol17x.h src/Protocol/ProtocolRecognizer.cpp src/Protocol/ProtocolRecognizer.h src/Root.h src/World.cpp | ||||
| * | ProtocolRecognizer.cpp: removed unused NumBytesRead | archshift | 2014-07-18 | 1 | -2/+0 |
| | | |||||
| * | Fixed tabs used for alignment. | madmaxoft | 2014-07-17 | 2 | -12/+13 |
| | | |||||
| * | Basic style fixes. | madmaxoft | 2014-07-17 | 6 | -9/+9 |
| | | |||||
| * | Normalized comments. | madmaxoft | 2014-07-17 | 9 | -86/+86 |
| | | | | | | | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign. | ||||
| * | Merge pull request #1192 from mc-server/skinuuid | Mattes D | 2014-07-16 | 3 | -98/+199 |
| |\ | | | | | | | Skins | ||||
| | * | Suggestions | Tiger Wang | 2014-07-16 | 1 | -2/+5 |
| | | | |||||
| | * | Function rename | Tiger Wang | 2014-07-16 | 2 | -3/+3 |
| | | | |||||
| | * | Unified functions | Tiger Wang | 2014-07-16 | 2 | -34/+28 |
| | | | | | | | | | | | | Thanks @Howaner! | ||||
| | * | Store properties as Json::Value | Tiger Wang | 2014-07-16 | 3 | -12/+20 |
| | | | |||||
| | * | Player properties are now retrieved | Tiger Wang | 2014-07-14 | 3 | -102/+198 |
| | | | |||||
| * | | Fixed MSVC warnings in SoundEffect functions. | madmaxoft | 2014-07-13 | 2 | -14/+6 |
| | | | |||||
| * | | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 2014-07-13 | 9 | -24/+25 |
| |/ | |||||
| * | Merge pull request #1154 from mc-server/trappedchests | Tiger Wang | 2014-07-13 | 1 | -2/+2 |
| |\ | | | | | | | Implemented trapped chests & others | ||||
| | * | Implemented trapped chests & others | Tiger Wang | 2014-07-07 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | ||||
| * | | Merge pull request #1135 from mc-server/fixes | Tiger Wang | 2014-07-09 | 1 | -1/+1 |
| |\ \ | | |/ | |/| | Fixes to projectiles and the undead | ||||
| | * | Crash and compile fix | Tiger Wang | 2014-07-04 | 1 | -1/+1 |
| | | | |||||
| * | | Fixed respawning | Tiger Wang | 2014-06-29 | 9 | -15/+15 |
| | | | | | | | | | | | | * Fixes #1103 | ||||
| * | | Send statistics to the player, when he logged in. | Howaner | 2014-06-29 | 1 | -2/+1 |
| | | | |||||
| * | | Added generic entity-collecting. | Mattes D | 2014-06-27 | 9 | -15/+15 |
| |/ | | | | | | | | | Now any cEntity can be collected, not only cPickups. This should help PR #1098. | ||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-06-21 | 1 | -0/+1 |
|\| | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Entity.h src/Entities/Player.h | ||||
| * | Nullify deleted pointers. | archshift | 2014-06-19 | 1 | -0/+1 |
| | | |||||
* | | Portals animate and delay correctly | Tiger Wang | 2014-06-12 | 9 | -17/+17 |
| | | |||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-06-10 | 5 | -3/+29 |
|\| | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp src/Entities/Player.cpp src/Entities/Player.h src/Protocol/Protocol125.cpp src/Protocol/Protocol17x.cpp | ||||
| * | Fixed deadlock when moving players to other worlds. | Mattes D | 2014-06-08 | 10 | -16/+42 |
| | | | | | | | | Fixes #1039, fixes #851 | ||||
* | | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-06-04 | 1 | -1/+2 |
|\| | |||||
| * | Fixed a crash in message formatter. | madmaxoft | 2014-05-28 | 1 | -1/+2 |
| | | | | | | | | The code would fail if a message is sent to a player not yet added to a world. | ||||
* | | Implemented end and nether portals | Tiger Wang | 2014-05-31 | 9 | -13/+13 |
|/ | |||||
* | cCompositeChat message type is now formatted | Tiger Wang | 2014-05-19 | 1 | -1/+1 |
| | |||||
* | Added client translation to achievements | Tiger Wang | 2014-05-19 | 1 | -0/+29 |
| | |||||
* | cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement() | andrew | 2014-05-12 | 1 | -5/+1 |
| | |||||
* | Statistic Manager | andrew | 2014-05-11 | 7 | -7/+84 |
| | |||||
* | Fixed MSVC 64-bit build warnings. | Mattes D | 2014-05-09 | 2 | -11/+11 |
| | |||||
* | Change m_RepairCost to int. | Howaner | 2014-05-07 | 1 | -2/+2 |
| | |||||
* | Add repair cost to cItem, add custom name to NBTChunkSerializer and fix anvil bugs. | Howaner | 2014-05-07 | 1 | -0/+11 |
| | |||||
* | Hotfixed Chunked transfer encoding in Yggdrasil. | madmaxoft | 2014-05-03 | 1 | -1/+1 |
| | | | | By using HTTP/1.0, we're disabling the support for the Chunked encoding on the server. This is a hotfix for #979, a proper parser implementation is still needed. | ||||
* | Fixed connection encryption. | madmaxoft | 2014-05-03 | 1 | -1/+1 |
| | | | | Fixes #975. | ||||
* | Fixed warnings in ClientHandle. | madmaxoft | 2014-05-01 | 7 | -7/+7 |
| | |||||
* | Removed the unused cBlockingTCPLink class. | madmaxoft | 2014-04-30 | 1 | -1/+0 |
| | |||||
* | Removed unneeded #includes. | madmaxoft | 2014-04-29 | 1 | -6/+0 |
| | |||||
* | Moved the rest of the Crypto objects into their own respective files. | madmaxoft | 2014-04-29 | 4 | -23/+14 |
| | |||||
* | Moved cRsaPrivateKey to PolarSSL++, rewritten using existing objects. | madmaxoft | 2014-04-29 | 2 | -2/+2 |
| | |||||
* | Merged branch 'master' into SslWrappers. | madmaxoft | 2014-04-28 | 3 | -6/+11 |
|\ | |||||
| * | Merge pull request #940 from Howaner/GlobalFixes | Mattes D | 2014-04-28 | 2 | -2/+2 |
| |\ | | | | | | | Add entity invulnerable | ||||
| | * | Revert "Changed the old invulnerable methods from the wither to the new." | Howaner | 2014-04-28 | 2 | -16/+2 |
| | | | | | | | | | This reverts commit d50f8f6f11f69e7e1e56be92fb2d72a5014a3e34. | ||||
| | * | Changed the old invulnerable methods from the wither to the new. | Howaner | 2014-04-26 | 2 | -2/+16 |
| | | | |||||
| | * | Fixes | Howaner | 2014-04-26 | 2 | -2/+2 |
| | | | |||||
| * | | Merge pull request #954 from mc-server/projectiles-split | Mattes D | 2014-04-28 | 2 | -1/+3 |
| |\ \ | | | | | | | | | Totally refactored ProjectileEntity.h, splitting up into several files. | ||||
| | * | | Fixed projectile source filenames, indentations | archshift | 2014-04-28 | 2 | -3/+3 |
| | | | | |||||
| | * | | Moved cFireworkEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 1 | -0/+1 |
| | | | | |||||
| | * | | Moved cArrowEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 2 | -1/+2 |
| | |/ | |||||
| * | | Another attempt at #889. | madmaxoft | 2014-04-27 | 1 | -3/+5 |
| | | | | | | | | | | | | The packet was being sent after the state was adjusted, so another thread *may* have sent another packet in the meantime. | ||||
| * | | Merge pull request #948 from jfhumann/staticFixes | Mattes D | 2014-04-27 | 1 | -0/+33 |
| |\ \ | | |/ | |/| | Fixes motivated by Coverity #1 | ||||
| | * | Fixes resource leaks in the yggdrasil authenticator. (CID 43617) | jfhumann | 2014-04-26 | 1 | -0/+33 |
| | | | |||||
| * | | Cmake generated projects for IDEs include headers in project files. | archshift | 2014-04-25 | 1 | -0/+1 |
| |/ | |||||
* | | Added the G1 root cert. | madmaxoft | 2014-04-28 | 1 | -2/+29 |
| | | | | | | | | Now the authenticator finally works. | ||||
* | | Rewritten cAuthenticator to use the new PolarSSL++ wrapper classes. | madmaxoft | 2014-04-27 | 1 | -91/+45 |
| | | |||||
* | | Authenticator uses some C++ SSL objects. | madmaxoft | 2014-04-24 | 1 | -19/+40 |
|/ | |||||
* | Merge pull request #909 from jfhumann/fixes | Mattes D | 2014-04-22 | 7 | -80/+104 |
|\ | | | | | | | | | Bug fixes and optimizations. We need to visit the API functions and check that they return only those values expected. `cWorld::CreateProjectile()` seems affected, too, by the same issue of ToLua returning extra values. In the cleanest form, these functions will need moving to ManualBindings.cpp | ||||
| * | Small style changes | jfhumann | 2014-04-18 | 2 | -7/+7 |
| | | |||||
| * | Merge remote-tracking branch 'origin/master' into fixes | jfhumann | 2014-04-18 | 9 | -43/+719 |
| |\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Authenticator.cpp src/ClientHandle.cpp src/Entities/Minecart.cpp src/Protocol/Protocol17x.cpp | ||||
| * | | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2014-04-18 | 6 | -77/+100 |
| | | | |||||
* | | | Allow 1.6.4 Forge clients to log in. | Mattes D | 2014-04-21 | 2 | -0/+20 |
| | | | | | | | | | | | | Fixes #913. | ||||
* | | | Merge branch 'master' into Enchanting | daniel0916 | 2014-04-18 | 1 | -5/+131 |
|\ \ \ | | |/ | |/| | |||||
| * | | Added asserts for proper game state. | madmaxoft | 2014-04-16 | 1 | -5/+131 |
| | | | | | | | | | | | | This is to help hunt #889. | ||||
* | | | Modified many things | daniel0916 | 2014-04-17 | 1 | -2/+0 |
| | | | |||||
* | | | Merge branch 'master' into Enchanting | daniel0916 | 2014-04-16 | 9 | -38/+587 |
|\| | | |||||
| * | | Attempted fix for the client crash with the new protocols. | madmaxoft | 2014-04-15 | 1 | -0/+7 |
| | | | |||||
| * | | Implemented the 1.7.6 protocol and authenticator. | madmaxoft | 2014-04-14 | 8 | -119/+169 |
| | | | | | | | | | | | | Server works both in online and offline modes with 1.7.9. | ||||
| * | | A client UUID is generated when the server is in offline mode. | madmaxoft | 2014-04-14 | 1 | -4/+10 |
| | | | | | | | | | | | | 1.7.9 client works with these changes in offline mode. | ||||
| * | | Merge remote-tracking branch 'daniel0916/YggdrasilAuthentication' into Proto176 | madmaxoft | 2014-04-14 | 3 | -1/+420 |
| |\ \ | |||||
| | * | | Fixed mistake | daniel0916 | 2014-04-13 | 2 | -2/+2 |
| | | | | |||||
| | * | | Fixed Error? | daniel0916 | 2014-04-13 | 1 | -2/+2 |
| | | | | |||||
| | * | | Code Update | daniel0916 | 2014-04-13 | 1 | -4/+5 |
| | | | | |||||
| | * | | Added Yggdrasil Authentication System | daniel0916 | 2014-04-13 | 2 | -0/+418 |
| | |/ | | | | | | | | | | Code by Howaner. Fixes/Changes by me. | ||||
| * / | Initial 1.7.6 protocol support. | madmaxoft | 2014-04-14 | 4 | -2/+69 |
| |/ | | | | | | | Doesn't work yet because of missing UUIDs. | ||||
* | | Bug fixes | daniel0916 | 2014-04-14 | 1 | -3/+0 |
| | | |||||
* | | Fixed Errors | daniel0916 | 2014-04-07 | 1 | -2/+2 |
| | | |||||
* | | Merge remote-tracking branch 'upstream/master' into Enchanting | daniel0916 | 2014-04-07 | 15 | -366/+1139 |
|\| | |||||
| * | Fixed 1.6.4 client crash on composite chat messages. | madmaxoft | 2014-04-06 | 2 | -0/+14 |
| | | |||||
| * | Fixed crash in protocols sending 64-bit ints. | madmaxoft | 2014-04-06 | 1 | -1/+1 |
| | | | | | | | | Fixes #855. | ||||
| * | Explicit change record size. | madmaxoft | 2014-04-04 | 1 | -1/+1 |
| | | |||||
| * | Fixed format string mismatch. | madmaxoft | 2014-04-04 | 1 | -1/+1 |
| | | |||||
| * | More Clang warning fixes in the protocols. | madmaxoft | 2014-04-04 | 6 | -81/+82 |
| | | |||||
| * | Fixed CreateHexDump's signedness. | madmaxoft | 2014-04-04 | 1 | -1/+1 |
| | | |||||
| * | More Clang warning fixes in the protocols. | madmaxoft | 2014-04-04 | 1 | -28/+37 |
| | | |||||
| * | Fixed some Clang warnings in protocols. | madmaxoft | 2014-04-04 | 10 | -26/+31 |
| | | |||||
| * | Merge pull request #831 from mc-server/Wither | Mattes D | 2014-04-02 | 2 | -0/+18 |
| |\ | | | | | | | Wither | ||||
| | * | Protocol: Wither metadata | andrew | 2014-03-25 | 2 | -0/+18 |
| | | | |||||
| * | | Console logging supports cCompositeChat as its parameters. | madmaxoft | 2014-03-31 | 1 | -22/+1 |
| |/ | |||||
| * | Plugins can set flying speed. | madmaxoft | 2014-03-20 | 1 | -2/+1 |
| | | |||||
| * | Rewritten player speeds to be relative unit-less. | madmaxoft | 2014-03-20 | 2 | -5/+6 |
| | | | | | | | | Value of 1 means "default speed", 2 means "double the speed", 0.5 means "half the speed". This allows for easier plugins and is more future-proof. | ||||
| * | Added additional macros to support the MSVC size_t format and changed all formats to use the macros | Tycho | 2014-03-12 | 2 | -7/+7 |
| | | |||||
| * | Fixed a load of format string errors | Tycho | 2014-03-11 | 2 | -4/+4 |
| | | |||||
| * | Fixed format errors in protocol | Tycho | 2014-03-11 | 1 | -3/+3 |
| | | |||||
| * | Removed unused macro | Tycho | 2014-03-10 | 1 | -13/+0 |
| | | |||||
| * | Merge pull request #731 from mc-server/ballisticmissiles | Tiger Wang | 2014-03-09 | 1 | -25/+52 |
| |\ | | | | | | | Ballistic firework missiles | ||||
| | * | Merge branch 'master' into ballisticmissiles | Tiger Wang | 2014-03-09 | 1 | -1/+15 |
| | |\ | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp | ||||
| | * | | Implemented ballistic missiles (fireworks) | Tiger Wang | 2014-02-27 | 1 | -25/+52 |
| | | | | | | | | | | | | | | | | + Added fireworks | ||||
| * | | | Hotfix for MSVC compilation. | madmaxoft | 2014-03-09 | 1 | -0/+1 |
| | | | | |||||
| * | | | Merge pull request #777 from jfhumann/issue317 | Mattes D | 2014-03-09 | 3 | -3/+29 |
| |\ \ \ | | | | | | | | | | | Issue 317: Split cClientHandle::HandleEntityAction() into seperate functions | ||||
| | * | | | Adjusted style of switch/case | Jan-Fabian Humann | 2014-03-09 | 3 | -45/+15 |
| | | | | | |||||
| | * | | | Changed if-else to switch-case | Jan-Fabian Humann | 2014-03-08 | 3 | -39/+33 |
| | | | | | |||||
| | * | | | Split cClientHandle::HandleEntityAction() into three seperate functions HandleEntityCrouch, HandleEntityLeaveBed and HandleEntitySprinting. | Jan-Fabian Humann | 2014-03-08 | 3 | -3/+65 |
| | | |/ | | |/| | |||||
| * | | | Fixed issues with int vs size_t and a few other warnings | Tycho | 2014-03-08 | 1 | -2/+2 |
| | | | | |||||
| * | | | Warnings | Tycho | 2014-03-07 | 9 | -12/+25 |
| |/ / | |||||
| * / | Add Flower Pots | Howaner | 2014-03-07 | 1 | -1/+15 |
| |/ | |||||
| * | Manual merge (Fixed conflicts) | andrew | 2014-02-20 | 9 | -17/+291 |
| |\ | |||||
| | * | Merge pull request #697 from Howaner/Skull | Mattes D | 2014-02-19 | 1 | -0/+15 |
| | |\ | | | | | | | | | Add Skulls/Heads to MCServer | ||||
| | | * | Rename SkullEntity to MobHeadEntity | Howaner | 2014-02-19 | 1 | -9/+9 |
| | | | | |||||
| | | * | Add break to Protocol17x.cpp and use new comment delimiter | Howaner | 2014-02-19 | 1 | -0/+1 |
| | | | | |||||
| | | * | Add Skulls/Heads | Howaner | 2014-02-17 | 1 | -0/+14 |
| | | | | |||||
| | * | | Merge branch 'master' into itemframes | Tiger Wang | 2014-02-18 | 6 | -0/+28 |
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Entities/Entity.h src/WorldStorage/NBTChunkSerializer.cpp | ||||
| | | * | | Implemented paintings, fixes #689 | Tiger Wang | 2014-02-18 | 6 | -0/+28 |
| | | |/ | | | | | | | | | | | | | + Implemented paintings | ||||
| | * | | De-breaked stuff | Tiger Wang | 2014-02-18 | 1 | -2/+0 |
| | | | | |||||
| | * | | Implemented item frames, a part of #689 | Tiger Wang | 2014-02-18 | 1 | -2/+14 |
| | |/ | | | | | | | | | | | | | + Implemented Item Frames * Fixed Pitch and Yaw being wrongly flipped in the protocol (XOFT!) | ||||
| | * | Add Locale to ClientHandle | Howaner | 2014-02-16 | 3 | -2/+4 |
| | | | |||||
| | * | Set max. Players in the Tablist to 60 | Howaner | 2014-02-16 | 1 | -1/+1 |
| | | | |||||
| | * | Implemented cCompositeChat. | madmaxoft | 2014-02-15 | 7 | -12/+231 |
| | | | | | | | | | | | | | | | This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678. | ||||
| * | | Map decorators; Map clients | andrew | 2014-02-18 | 7 | -1/+60 |
| | | | |||||
| * | | Implementation of in-game maps | andrew | 2014-02-13 | 7 | -0/+91 |
| |/ | |||||
| * | Merge remote-tracking branch 'origin/master' into playerimprovements | Tiger Wang | 2014-02-09 | 1 | -2/+2 |
| |\ | | | | | | | | | | | | | | | | | | | Conflicts: src/Root.cpp src/Root.h src/World.cpp | ||||
| | * | Improved the signedness conversion. | madmaxoft | 2014-02-05 | 1 | -2/+2 |
| | | | |||||
| | * | Protocol 1.7: Fixed a signed / unsigned comparison warning. | madmaxoft | 2014-02-04 | 1 | -2/+2 |
| | | | |||||
| * | | Merge branch 'master' into playerimprovements | Tiger Wang | 2014-02-09 | 3 | -7/+7 |
| |\| | | | | | | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua | ||||
| | * | Protocol 1.7 uses char for blockface. | madmaxoft | 2014-02-04 | 1 | -2/+2 |
| | | | | | | | | | | | | That should fix #644 on RasPi. | ||||
| | * | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 3 | -5/+5 |
| | | | | | | | | | | | | May Fix #640 | ||||
| * | | Fixed a bunch of MSVS warnings | Tiger Wang | 2014-02-05 | 1 | -1/+2 |
| |/ | | | | | | | | | * Possibly also fixed some bugs with pathfinding and TNT, though unlikely | ||||
| * | Limited sign lines to 15 chars. | madmaxoft | 2014-01-29 | 1 | -4/+5 |
| | | | | | | | | Fixes #598. | ||||
| * | Added 1.7.4 to the list of supported protocols. | madmaxoft | 2014-01-29 | 1 | -1/+1 |
| | | |||||
| * | Protocol 1.7: Encryption is enabled only with auth. | madmaxoft | 2014-01-29 | 1 | -1/+1 |
| | | |||||
| * | Protocol 1.7: Forced encryption on all connections. | madmaxoft | 2014-01-28 | 2 | -3/+101 |
| | | | | | | | | This is for testing purposes only, to find bugs in the encryption. Once the encryption is deemed stable, it will be enabled only for servers with enabled Authentication. | ||||
| * | Fixed client packet parsing. | madmaxoft | 2014-01-26 | 1 | -12/+33 |
| | | | | | | | | | | When the packet wouldn't fit the current buffer, the server would mis-parse the next packet. This was the cause for #541. Also modified comm logging, now each direction can be turned on separately. | ||||
| * | Merged branch 'master' into ChangeToPolarSSL. | madmaxoft | 2014-01-25 | 2 | -0/+87 |
| |\ | |||||
| | * | Comm logging is available in both Debug and Release modes. | madmaxoft | 2014-01-25 | 2 | -12/+16 |
| | | | |||||
| | * | Protocol17: Comm logging shows the data left over from previous parse. | madmaxoft | 2014-01-25 | 1 | -2/+15 |
| | | | |||||
| | * | Added per-connection comm logging in debug mode. | madmaxoft | 2014-01-24 | 2 | -0/+69 |
| | | | | | | | | | | | | It is meant for debugging only, so it is compiled only into debug mode. It is activated by starting the server with "/logcomm" parameter. | ||||
| * | | Merge branch 'master' into ChangeToPolarSSL. | madmaxoft | 2014-01-23 | 1 | -3/+3 |
| |\| | |||||
| | * | Fixed 1.5.x scoreboard packet IDs | andrew | 2014-01-23 | 1 | -3/+3 |
| | | | |||||
| * | | PolarSSL is fully used for 1.3.2 protocol encryption. | madmaxoft | 2014-01-23 | 6 | -139/+51 |
| |/ | |||||
| * | Merge branch 'master' of https://github.com/mc-server/MCServer | andrew | 2014-01-21 | 7 | -6/+90 |
| |\ | |||||
| | * | Fix a crash but somewhere... | Alexander Harkness | 2014-01-20 | 1 | -2/+1 |
| | | | |||||
| * | | Scoreboard SendTo() | andrew | 2014-01-21 | 1 | -3/+3 |
| | | | |||||
| * | | Scoreboard protocol support | andrew | 2014-01-21 | 8 | -5/+141 |
| | | | |||||
* | | | added EnchantItemPacket to older Protocols | daniel0916 | 2014-02-01 | 1 | -1/+4 |
| | | | |||||
* | | | Some updates for enchanting (2) | daniel0916 | 2014-01-31 | 4 | -14/+21 |
| | | | |||||
* | | | removed hook from enchanting commit | daniel0916 | 2014-01-24 | 1 | -1/+1 |
| | | | |||||
* | | | Some updates for enchanting | daniel0916 | 2014-01-24 | 2 | -4/+12 |
| | | | |||||
* | | | first changes for enchanting (not finished) | daniel0916 | 2014-01-20 | 2 | -0/+18 |
| |/ |/| | | | | | | | | | | | | | - added enchanting table block handler and added it to the blockhandler - added enchanting window - drop item in the slot 0 when the player close the window - added enchanting packet (1.7 only) - some more... | ||||
* | | Merge pull request #569 from worktycho/EnchantmentsFix | Mattes D | 2014-01-19 | 2 | -4/+6 |
|\ \ | | | | | | | Enchantments fix | ||||
| * | | Switched EnchantmentSerilizer to namespace | Tycho | 2014-01-19 | 2 | -4/+4 |
| | | | |||||
| * | | Spilt Writing of Enchantments to seperate class | Tycho | 2014-01-19 | 2 | -4/+6 |
| |/ | | | | | | | | | | | | | Created a new class cEnchantmentSerializer to serilize Enchantments to NBT. This breaks a dependecy chain between cChunkGenerator and cWorld. cEnchantmentSerializer is seperate from NBTWriter as it needs to access private members of cEnchantments so having it seperate reduces the spread of the frein modifier | ||||
* | | Removed unneeded paramters | Tiger Wang | 2014-01-19 | 6 | -11/+19 |
| | | |||||
* | | Changed SendBlockEntity format slightly | Tiger Wang | 2014-01-19 | 6 | -13/+46 |
| | | | | | | | | | | * Writing NBT is now in Protocol, not BlockEntity files * Fixed a last output bug | ||||
* | | Improved command blocks | Tiger Wang | 2014-01-19 | 6 | -0/+42 |
|/ | | | | | | | * Their command and previous output are displayed on the client * They have a BlockHandler implementation, so you can't place blocks on them anymore + As a side effect, implemented UpdateBlockEntity | ||||
* | Merge pull request #534 from mc-server/SpawnMinecart | Mattes D | 2014-01-17 | 1 | -2/+17 |
|\ | | | | | Added cWorld::SpawnMinecart. | ||||
| * | Renamed cEmptyMinecart to cRideableMinecart | STRWarrior | 2014-01-12 | 1 | -6/+6 |
| | | |||||
| * | EmptyMinecarts should be able to get a block inside of them. | STRWarrior | 2014-01-12 | 1 | -1/+16 |
| | | |||||
* | | Removed internal cEntity::GetRot() usage. | madmaxoft | 2014-01-17 | 3 | -14/+14 |
| | | |||||
* | | Merge remote-tracking branch 'origin/customnames' | madmaxoft | 2014-01-17 | 4 | -12/+62 |
|\ \ | |||||
| * | | Changed newline character because of issues | Tiger Wang | 2014-01-16 | 1 | -3/+3 |
| | | | |||||
| * | | Removed obsoleted functions | Tiger Wang | 2014-01-16 | 3 | -7/+7 |
| | | | |||||
| * | | Merge remote-tracking branch 'origin/master' into customnames | Tiger Wang | 2014-01-16 | 2 | -30/+40 |
| |\ \ | |||||
| * | | | Implemented custom names and lore | Tiger Wang | 2014-01-15 | 1 | -5/+55 |
| | | | | | | | | | | | | | | | | | | | | | | | | + Added custom names and lore + Added saving and loading + Added writing and parsing of NBT | ||||
* | | | | Protocol 1.7: More output on unknown packets / protocol states. | madmaxoft | 2014-01-17 | 1 | -4/+21 |
| | | | | |||||
* | | | | Fixed block break packet number | Tiger Wang | 2014-01-16 | 1 | -1/+1 |
| | | | | |||||
* | | | | Protocol 1.7: Unknown packets are dumped to log in Debug mode. | madmaxoft | 2014-01-16 | 1 | -1/+14 |
| |/ / |/| | | |||||
* | | | Added packet diagnostics to 1.7 protocol. | madmaxoft | 2014-01-16 | 2 | -30/+40 |
|/ / | | | | | | | When the packet is mis-interpreted, a log message is output about the packet type and lengths. | ||||
* / | Added handshake processing to protocol 1.7. | madmaxoft | 2014-01-13 | 1 | -2/+23 |
|/ | | | | This fixes #495 | ||||
* | Fixed wrong packet number for PluginMessage packet. | madmaxoft | 2014-01-09 | 1 | -1/+1 |
| | |||||
* | Added cClientHandle::SendPluginMessage(). | madmaxoft | 2014-01-09 | 7 | -0/+40 |
| | | | | It is not yet exported in the API, though. | ||||
* | Merge pull request #516 from mc-server/favicon | Alexander Harkness | 2014-01-07 | 1 | -1/+1 |
|\ | | | | | Fixed favicons | ||||
| * | Fixed favicons | Tiger Wang | 2014-01-07 | 1 | -1/+1 |
| | | |||||
* | | Plugin messages are received and handed to plugins. | madmaxoft | 2014-01-07 | 1 | -1/+1 |
|/ | | | | Note that MCS doesn't currently handle any channel registrations, this will come later on. | ||||
* | Merge pull request #514 from derouinw/master | Mattes D | 2014-01-07 | 1 | -0/+3 |
|\ | | | | | Implement favicon for 1.7.2 | ||||
| * | A few more touch ups | Bill Derouin | 2014-01-07 | 1 | -11/+1 |
| | | |||||
| * | Removed unused line | Bill Derouin | 2014-01-07 | 1 | -1/+0 |
| | | |||||
| * | Implement favicon for 1.7.2 | Bill Derouin | 2014-01-07 | 2 | -0/+14 |
| | | | | | | | | | | Favicon data is a png encoded in base64 which is stored in the server and sent in the server response packet | ||||
* | | Fixed a few MSVC warnings. | madmaxoft | 2014-01-07 | 2 | -3/+3 |
| | | |||||
* | | Fixed a few MSVC warnings. | madmaxoft | 2014-01-06 | 4 | -5/+4 |
|/ | |||||
* | Added warning(push) and warning(pop) around all of the inclusions of cryptopp/*.h | Diusrex | 2014-01-05 | 4 | -2/+52 |
| | | | | | | I also added a warning(push)/(pop) around crpytlib.cpp because it would go crazy with warnings. So now, the only warning from cryptopp that is not blocked is 'unreferenced local function has been removed', which also occurs at a single function. | ||||
* | More memory alignment fixes. | madmaxoft | 2014-01-02 | 1 | -3/+3 |
| | | | | Ref.: #420. | ||||
* | Implented BroadcastParticleEffect | STRWarrior | 2013-12-22 | 9 | -2/+65 |
| | |||||
* | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-21 | 1 | -2/+2 |
|\ | |||||
| * | Fixed minor warnings. | madmaxoft | 2013-12-20 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-19 | 1 | -10/+3 |
|\| | |||||
| * | Fixed PlayerAbilities and creative | Tiger Wang | 2013-12-19 | 1 | -10/+3 |
| | | |||||
* | | moved protocol to glob | Tycho Bickerstaff | 2013-12-19 | 1 | -1/+5 |
| | | |||||
* | | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-18 | 7 | -7/+115 |
|\| | |||||
| * | Fixed player falling through the floor on spawn. | madmaxoft | 2013-12-17 | 1 | -1/+5 |
| | | | | | | | | The 1.7 client seems to have math issues with exact coords. Adding 0.001 to the Y coord fixed the problem. | ||||
| * | Fixed player spawning packet. | madmaxoft | 2013-12-15 | 1 | -1/+1 |
| | | | | | | | | The player was spawned 1.62 blocks below their pos. This fixes #323. | ||||
| * | Moved reading flags to the protocol. | STRWarrior | 2013-12-15 | 1 | -1/+19 |
| | | |||||
| * | Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() function | STRWarrior | 2013-12-15 | 1 | -2/+10 |
| | | |||||
| * | Fixed pre 1.7 clients crashing. | STRWarrior | 2013-12-15 | 1 | -2/+2 |
| | | |||||
| * | Merge pull request #431 from mc-server/Entity_Effects | Mattes D | 2013-12-14 | 7 | -0/+82 |
| |\ | | | | | | | Entity Effects | ||||
| | * | Added SendEntityEffect and SendRemoveEntityEffect. Also a Player now gets the hunger effect when he has food poison. | STRWarrior | 2013-12-14 | 7 | -0/+82 |
| | | | |||||
| * | | Removed leftover debugging messages from cProtocol172. | madmaxoft | 2013-12-14 | 1 | -4/+0 |
| |/ | |||||
* | | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-11 | 2 | -195/+191 |
|\| | |||||
| * | Fixed threading issues affecting cProtocol172. | madmaxoft | 2013-12-13 | 2 | -191/+191 |
| | | |||||
| * | Fixed protocol 1.7 recovery after unknown packet. | madmaxoft | 2013-12-12 | 1 | -4/+0 |
| | | |||||
* | | more cmake | Tycho Bickerstaff | 2013-12-10 | 1 | -0/+7 |
|/ | |||||
* | Fixed tabcompletion packet, fixes #356 | Tiger Wang | 2013-12-08 | 1 | -8/+4 |
| | |||||
* | Fixed falling block metas, fixes #406 | Tiger Wang | 2013-12-08 | 1 | -1/+1 |
| | |||||
* | Renamed animation function | Tiger Wang | 2013-12-07 | 7 | -10/+10 |
| | | | | | Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know. | ||||
* | Removed stray printf, again. | Samuel Barney | 2013-12-02 | 1 | -1/+0 |
| | |||||
* | Switched to using provided ReadItem function. | Samuel Barney | 2013-12-02 | 1 | -17/+3 |
| | | | | Fixed misplacing when clicking on the bottom of bottom slabs and the top of top slabs. | ||||
* | Removed stray printf. | Samuel Barney | 2013-12-02 | 1 | -1/+0 |
| | |||||
* | Fixed 1.7 slab and stair placement. | Samuel Barney | 2013-12-02 | 1 | -0/+19 |
| | |||||
* | Fixed the remaining derps | Alexander Harkness | 2013-11-27 | 4 | -5/+5 |
| | |||||
* | Fixed some of tiger's derpyness. | Alexander Harkness | 2013-11-27 | 1 | -2/+2 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-26 | 7 | -0/+48 |
| | | | | | Conflicts: VC2008/MCServer.vcproj | ||||
* | Further attempts to fix compile | Tiger Wang | 2013-11-25 | 5 | -7/+7 |
| | |||||
* | Attempt to fix compilation | Tiger Wang | 2013-11-24 | 5 | -8/+8 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 7 | -1/+42 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 17 | -0/+7588 |