Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add player permission level (#5358) | Simon Pribylski | 2022-01-24 | 1 | -2/+15 |
| | |||||
* | eblockface | Tiger Wang | 2022-01-14 | 1 | -8/+8 |
| | |||||
* | Fixed Compiler Warnings | x12xx12x | 2022-01-14 | 1 | -8/+8 |
| | |||||
* | Suspicious packets: give 'em the silent treatment (#5375) | Tiger Wang | 2022-01-02 | 1 | -9/+8 |
| | | | Ref: #5372 | ||||
* | ClientHandle: improve right-click robustness (#5372) | Tiger Wang | 2022-01-02 | 1 | -31/+43 |
| | | | | | | | * ClientHandle: improve right-click robustness + Add checks for result of GetBlockTypeMeta + Kick if the client sent an invalid block face or coordinate * Update outdated comments | ||||
* | ItemHandler initialisation is a constant expression (#5344) | x12xx12x | 2021-12-02 | 1 | -15/+17 |
| | | | | | * Transition to non-pointer item handler * That is my destructor - I decide when I leave this world * I declare your destruction private and you final | ||||
* | Miscellaneous fixes (#5320) | Tiger Wang | 2021-11-11 | 1 | -55/+53 |
| | | | | | | | | | | | | | | | | | | | | | | | * Protocol: update Abilities flags + Add Spectator handling * BioGen: move <iostream> include * ClientHandle: rename Respawn packet dimension check flag * Make it clearer what it's doing. * ClientHandle: move ProcessProtocolIn calls to World * Player: remove some redundant initialisation * Player: UpdateCapabilities enables flight for spectators * Produce growth: improve comments * ClientHandle: run unload checks using delta time * Fix forgotten initialisation of time member | ||||
* | Authenticator: avoid move assignments to self (#5315) | Tiger Wang | 2021-10-03 | 1 | -38/+36 |
| | | | If authentication was off cClientHandle::m_Username ended up moved into itself. Add a copy to avoid this. Thanks @Seadragon91! | ||||
* | Authentication flow: move construction, slim down classes (#5312) | Tiger Wang | 2021-10-02 | 1 | -12/+11 |
| | | | - Remove extra members in ForgeHandshake | ||||
* | Spectation: add dedicated pathway for spectator mode (#5303) | Tiger Wang | 2021-09-30 | 1 | -1/+1 |
| | | | | | | | | | * Spectation: add dedicated pathway for spectator mode + Sync player rotation with spectated entity. + Add dedicated infrastructure to cPlayer for handling spectation, instead of misusing entity riding. * Avoid infinite recursion when exiting spectation, fixes #5296 * AttachTo: Change parameter to reference | ||||
* | Permission-based player chat message formatting (#5304) | Rorkh | 2021-09-23 | 1 | -1/+8 |
| | | | + Permissions for chat message format access | ||||
* | BungeeGuard style proxy security and OnlyAllowBungee config (#5291) | Ethan Jones | 2021-09-23 | 1 | -0/+75 |
| | |||||
* | Ignore dead movement (#5292) | Ethan Jones | 2021-09-16 | 1 | -6/+7 |
| | | | | | | | * Ignore player updates from dead players #5289 * move the condition down a bit, add parentheses Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Don't allow players in adventure mode to break blocks (#5293) | Ethan Jones | 2021-09-15 | 1 | -0/+6 |
| | |||||
* | Disconnect: call HandleOutgoingData one last time | Tiger Wang | 2021-08-26 | 1 | -0/+1 |
| | | | | * Fixes #5285 | ||||
* | Setting command-block's command requires a permission. (#5270) | Mattes D | 2021-07-20 | 1 | -0/+5 |
| | |||||
* | Chorus fruit teleport (#5259) | KingCol13 | 2021-07-10 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Outline function for teleporting. * Created new handler for chorus fruit. * Fixed AttemptTeleport failing. * Better names, working sound effect. * Corrected naming. * Remove stray LOGD. * Offset teleport to middle of block. * Style Fixes Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com> * Style Fixes 2 Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com> * Move FindTeleportDestination to static cPawn method. * cBoundingBox interface. * Cleanup includes. * Maybe exported to API? * Change a_World to reference, add to APIDesc. Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com> | ||||
* | Symmetry in MultiVersionProtocol to fix a crash (#5261) | Tiger Wang | 2021-07-10 | 1 | -2/+2 |
| | | | | | + Add HandleOutgoingData, which tests for m_Protocol before calling DataPrepared. * Change std::function to bool + if/else to handle incoming data; it's almost certainly faster. * Fixes #5260 | ||||
* | Replace chunk coordinates magic with numeric_limits | Tiger Wang | 2021-07-06 | 1 | -14/+13 |
| | |||||
* | Invalidate m_LastStreamedChunk when player position doesn't match | Tiger Wang | 2021-07-06 | 1 | -47/+55 |
| | | | | | | So teleporting to and back doesn't cause chunk sending to stop. * Fixes #4531 | ||||
* | Protocol: call the encryptor once before sending data | Tiger Wang | 2021-07-06 | 1 | -0/+1 |
| | |||||
* | Remove outdated comment and redundant check | Tiger Wang | 2021-07-06 | 1 | -9/+5 |
| | | | | | Refactoring made the comment no longer true. The check isn't needed since no packets are sent, and Destroy does nothing, if m_HasSentDC. | ||||
* | Protocol: use dedicated packet for 1 block change | Tiger Wang | 2021-06-28 | 1 | -5/+15 |
| | | | | It's six bytes smaller. | ||||
* | Move item placement into item handlers (#5184) | Tiger Wang | 2021-05-05 | 1 | -44/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Move item placement into item handlers + Add appropriate CanBeAt checks in cPlayer::PlaceBlocks, into which all placement handlers call. * Partly addresses #5157 * Fixes #4878 * Fixes #2919 * Fixes #4629 * Fixes #4239 * Fixes #4849 Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> * Review fixes * Update APIDesc.lua * Rename Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> | ||||
* | Add player statistics to API (#5193) | nshah25 | 2021-05-03 | 1 | -2/+2 |
| | | | | | | * Fixed issue #5166 Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | More cProtocol cleanup | Tiger Wang | 2021-04-12 | 1 | -73/+73 |
| | | | | | | * Alpha sort functions * Simplify hand handling * Fix left handed mode client-side display | ||||
* | Improve bed handling robustness | Tiger Wang | 2021-04-12 | 1 | -2/+1 |
| | | | | + Boot the player out if the bed was destroyed | ||||
* | Unify multiprotocol entity animations | Tiger Wang | 2021-04-12 | 1 | -19/+1 |
| | |||||
* | Streamline player abilities handling | Tiger Wang | 2021-04-12 | 1 | -9/+9 |
| | | | | | | | * Update player list gamemode on world change * Fix invisibility for spectators, use entity metadata * Populate m_World for cPlayers on load - Remove SendPlayerMaxSpeed, a duplicate of SendEntityProperties | ||||
* | Fix block break particles | Tiger Wang | 2021-04-12 | 1 | -1/+1 |
| | |||||
* | Fix sending incorrect date values on world change | Tiger Wang | 2021-04-12 | 1 | -3/+7 |
| | | | | Yak shave: make more things use cTickTime. Fix a couple of incorrect modulo-on-millisecond-value by making them use WorldTickAge. | ||||
* | Basic elytra flight (#5124) | Damián Imrich | 2021-04-03 | 1 | -51/+36 |
| | | | | | | * Basic elytra flight Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Player data loading cleanup | Tiger Wang | 2021-03-30 | 1 | -13/+14 |
| | | | | * Kick player if data were corrupt to avoid making it worse | ||||
* | Do an early check for empty network buffers (#5172) | Tiger Wang | 2021-03-30 | 1 | -5/+14 |
| | | | Avoid overhead when nothing to do. | ||||
* | Call ProcessProtocolOut at opportune times | Tiger Wang | 2021-03-28 | 1 | -3/+8 |
| | |||||
* | Send keep alives slightly less frequently | Tiger Wang | 2021-03-28 | 1 | -7/+3 |
| | | | | Ref: http://github.com/cuberite/cuberite/issues/4082#issuecomment-348675321 | ||||
* | Fix chunk block changes being sent out of order (#5169) | Tiger Wang | 2021-03-28 | 1 | -8/+23 |
| | | | | * Flush out all pending, buffered changes at the end of each tick, after every chunk is ticked. This makes every block update client-side in unison, instead of unlucky ones only being sent 1 tick later. * Re-add buffer for outgoing network data; IOCP async WSASend has higher overhead than expected... Fixes regression introduced in 054a89dd9 | ||||
* | Change TimeOfDay to WorldDate (#5160) | Tiger Wang | 2021-03-20 | 1 | -2/+2 |
| | | | | | | | * Change TimeOfDay to WorldDate * Do not wrap at 20 minutes, continue incrementing * Fixes #4737 * Fixes #5159 | ||||
* | Don't send ping updates one packet at a time | Tiger Wang | 2021-03-19 | 1 | -2/+2 |
| | | | | | * Use the batch update feature of the packet. * Lengthen interval between time and ping update packets (ref. http://github.com/cuberite/cuberite/issues/4082#issuecomment-348675321). | ||||
* | Properly deprecate more XYZ parameter'd functions (#5147) | Tiger Wang | 2021-03-15 | 1 | -4/+4 |
| | | | * Fixes #5144 | ||||
* | Do protocol decryption in-place (with CryptoAPI on Windows) (#5145) | Tiger Wang | 2021-03-08 | 1 | -3/+3 |
| | |||||
* | Adding Boss bar (#5025) | 12xx12 | 2021-03-05 | 1 | -6/+60 |
| | | | | | + Add boss bar Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Adds playerlist header and footer broadcasting (1.8-1.13) | dImrich | 2021-02-06 | 1 | -0/+9 |
| | |||||
* | MultiVersionProtocol: fix two crashes | Tiger Wang | 2021-01-19 | 1 | -10/+12 |
| | | | | | | | | | | | | 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 | 1 | -271/+88 |
| | | | | | | | | + 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 | 1 | -19/+36 |
| | | | | | | + Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite | ||||
* | Avoid an std::list in StreamNextChunk | Tiger Wang | 2020-12-26 | 1 | -22/+22 |
| | |||||
* | Streamline ClientHandle chunk send a little | Tiger Wang | 2020-12-26 | 1 | -33/+4 |
| | | | | - Removed RemoveFromAllChunks. On destruction cWorld::RemovePlayer calls RemoveClientFromChunks already, and there's no need to manually clear the chunk lists. | ||||
* | ViewDistance: unsigned -> signed | Tiger Wang | 2020-12-26 | 1 | -6/+4 |
| | |||||
* | Ignore CanFly flag sent by the client | mathiascode | 2020-12-18 | 1 | -2/+1 |
| | |||||
* | Warnings improvements | Tiger Wang | 2020-12-18 | 1 | -15/+17 |
| | | | | | | | | | * 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 | ||||
* | Players are no longer kicked when clicking on bedrock (#5023) | Tiger Wang | 2020-11-06 | 1 | -34/+26 |
| | | | | * Players are no longer kicked when clicking on bedrock * Fixes #5022 | ||||
* | Merged OnBreak with OnPlayerBreak (#4967) | 12xx12 | 2020-10-08 | 1 | -6/+6 |
| | | | | Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 2020-10-05 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | * 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 | 1 | -1/+1 |
| | | | | Enchantment table, anvil windows are already opened one per-player. | ||||
* | Fix instant mining of blocks not being recognised, tweak anti-cheat (#4938) | KingCol13 | 2020-10-02 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | * Tried to fix a small issue... Ended up rewriting a bunch of god awful, opaque code with no source and no sense. Who names a function GetPlayerRelativeBlockHardness??? It's gone now. We're safe again. * Testing anti-cheat. * Tidy up debug logging. * Remove empty member declaration. * Rewrite GetDigSpeed slightly for better readability. * GetMiningProgressPerTick now returns 1 when instantly mined. Fixed hasily written typo. * Comment style and typo fixes. | ||||
* | Enchanting table shows detail on hover. Enchanting is deterministic. (#4937) | KingCol13 | 2020-10-01 | 1 | -50/+38 |
| | | | | | * Use lapis for enchanting, subtract correct number of levels, ClientHandle now selects from pregenerated list. Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | HandleEnchantItem: use a lambda (#4944) | Tiger Wang | 2020-09-29 | 1 | -5/+8 |
| | |||||
* | Enchanting consumes lapis, removes correct number of levels (#4934) | KingCol13 | 2020-09-28 | 1 | -11/+51 |
| | | | | | | * Use lapis for enchanting, subtract correct number of levels. * Enforced distancing regulation better than our government. Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Do not call into things we don't own in destructors | Tiger Wang | 2020-09-25 | 1 | -1/+0 |
| | | | | | - Remove improper accesses in cChunk destructor * Fixes #4894 | ||||
* | BlockHandler initialisation is a constant expression (#4891) | Tiger Wang | 2020-09-20 | 1 | -10/+8 |
| | | | | | | | | | | | | | * BlockHandler initialisation is a constant expression If we can't make it all namespaces, this is the next best I guess. + Tag handlers constexpr, const as needed + Inherit constructors * Privatise handler functions * More constexpr Co-authored-by: Alexander Harkness <me@bearbin.net> | ||||
* | Reverse order of ChunkSender priorities (#4858) | Tiger Wang | 2020-09-12 | 1 | -3/+3 |
| | | | | | * Reduces confusion when using overloaded operator< and priority_queue Co-authored-by: peterbell10 <peterbell10@live.co.uk> | ||||
* | Use tracing for explosions (#4845) | Tiger Wang | 2020-09-12 | 1 | -2/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | Add more statistic tracking (#4837) | 12xx12 | 2020-09-05 | 1 | -0/+1 |
| | | | | | | | | + Added possible 1.8 stats + Added stat tracking for 1.8.2 + Added stat tracking for 1.9 + Added the breed cow achievement Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | ChunkDataSerializer: don't repeatedly mallocate | Tiger Wang | 2020-08-21 | 1 | -1/+2 |
| | | | | + Store an instance of the class, the way it seems it is meant to be used. | ||||
* | OnBroken/OnPlaced are for entity actions | Tiger Wang | 2020-08-04 | 1 | -1/+0 |
| | | | | | | * Call OnPlaced/OnBroken in PlaceBlock/DigBlock - Remove unused Placing/Breaking handlers * Have the blockhandler's Check handle neighbour updating, instead of QueueTickBlockNeighbors | ||||
* | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 2020-08-01 | 1 | -1/+1 |
| | |||||
* | Implement "caching" in ChunkDataSerializer | Tiger Wang | 2020-07-19 | 1 | -2/+2 |
| | | | | + When sending a chunk to multiple clients, group them by protocol version and send the same data | ||||
* | Delete unused member | Tiger Wang | 2020-07-18 | 1 | -1/+0 |
| | |||||
* | cProtocolRecognizer goes on a diet (#4770) | Tiger Wang | 2020-07-17 | 1 | -11/+11 |
| | | | - Removed inheritance from cProtocol | ||||
* | Introduce recipe book functionality (#4493) | Tobias Wilken | 2020-07-14 | 1 | -1/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2020-05-15 | 1 | -5/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Added check if player is in spectator mode (#4709) | Lukas Pioch | 2020-05-04 | 1 | -0/+6 |
| | |||||
* | Improve entity position updates (#4701) | Tiger Wang | 2020-05-04 | 1 | -26/+4 |
| | | | | | | | | | * 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 | 1 | -29/+2 |
| | |||||
* | Vector3 in Handlers (#4680) | Mattes D | 2020-04-21 | 1 | -15/+17 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | Delet SpawnObject params | Tiger Wang | 2020-04-20 | 1 | -2/+2 |
| | | | | | | * Fix #4679 awkward... | ||||
* | Initial resource pack support (#4622) | Mat | 2020-04-07 | 1 | -0/+9 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -0/+1 |
| | | | | | | | | | 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 | ||||
* | Replace buckets to the selected hotbar slot, rather than the first available. (#4580) | Alexander Harkness | 2020-04-02 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Replace buckets to the selected hotbar slot, rather than the first available. Replicates vanilla behaviour, as well as being more logical. * Refactor cInventory::AddItem. Behaviour is now documented * Add new cInventory::ReplaceOneEquippedItem and ::SetEquippedItem methods * Return empty potion to the same slot after drinking * Replace buckets correctly in other situations, not simply water and lava Uses the new ReplaceOneEquippedItem method * Correct collecting water from source block with bottle * Add cPlayer::ReplaceOneEquippedItemTossRest method * Handle stacked filled buckets (in theory) Use new cPlayer::ReplaceOneEquippedItemTossRest method | ||||
* | Send experience on respawn (#4586) | Mat | 2020-03-30 | 1 | -0/+1 |
| | |||||
* | Fix client disconnect assert (#4579) | peterbell10 | 2020-03-29 | 1 | -3/+3 |
| | |||||
* | cClientHandle: Only allow m_State to increase (#4533) | peterbell10 | 2020-03-28 | 1 | -40/+45 |
| | | | | | | | * cClientHandle: Only allow m_State to increase * WasAddedToWorld was incorrect if kicked * Rewrite cClient::Destroy with a guard clause | ||||
* | When Client sends message longer than 256 bytes, kick him instead of handling message (#4514) | Max Luchterhand | 2020-03-24 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Wrong overload of function push() got called when pushing a cEntity*. Using a const cEntity * fixes this. * Fixed accidental wrong indentation * Compiler didn't like old style cast * Kicking player when writing chat message longer than 2048 * Accounted for Astrings size() method returning bits, not bytes * Fixed typo * Changed MAX_STRING_SIZE to 1024, removed unnecessary division by 8 * Handling message length check in cClientHandle:HandleChat * Guard clause instead of if else * Remove stale changes * Fixed formatting Co-authored-by: mluchterhand <mluchterhand@max.de> Co-authored-by: Peter Bell <peterbell10@live.co.uk> Co-authored-by: Mattes D <github@xoft.cz> | ||||
* | Manual merge of #4498. | Alexander Harkness | 2020-03-23 | 1 | -1/+1 |
| | | | | | | Credit to @MeMuXin Closes #4498 | ||||
* | Don't call player movement hook if nothing changed (#4517) | Mat | 2020-03-21 | 1 | -0/+20 |
| | | | Co-authored-by: peterbell10 <peterbell10@live.co.uk> | ||||
* | Stabilise MoveToWorld (#4004) | Mat | 2020-03-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Stabilise MoveToWorld * Fix comments and deprecate ScheduleMoveToWorld * Enhanced thread safety for m_WorldChangeInfo * Return unique_ptr from cAtomicUniquePtr::exchange * cWorld now calls entity cEntity::OnAddToWorld and cEntity::OnRemoveFromWorld. Allows broadcasting entities added to the world from the world's tick thread. This also factors out some common code from cEntity::DoMoveToWorld and cEntity::Initialize. As a consequence, cEntity::Destroy(false) (i.e. Destroying the entity without broadcasting) is impossible. This isn't used anywhere in Cuberite so it's now deprecated. * Update entity position after removing it from the world. Fixes broadcasts being sent to the wrong chunk. * Fix style * cEntity: Update LastSentPosition when sending spawn packet * Add Wno-deprecated-declarations to the lua bindings * Kill uses of ScheduleMoveToWorld | ||||
* | Blocks are usable in adventure mode (#4464) | Mat | 2020-01-15 | 1 | -1/+1 |
| | |||||
* | Disable block placement in adventure mode (#4424) | Mat | 2019-12-30 | 1 | -2/+2 |
| | |||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -9/+15 |
| | |||||
* | Added another check if the item is place able (#4404) | Lukas Pioch | 2019-10-03 | 1 | -0/+7 |
| | |||||
* | Add a formatting function for Vector3 (#4282) | peterbell10 | 2018-09-24 | 1 | -9/+9 |
| | | | | | | | | | | * Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG | ||||
* | Store and pass entity effect duration as an int not a short. (#4293) | Alexander Harkness | 2018-08-26 | 1 | -1/+1 |
| | | | Fixes #4292. | ||||
* | cWorld: Manually bind deprecated broadcast functions (#4265) | peterbell10 | 2018-07-27 | 1 | -1/+1 |
| | | | Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193 | ||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -1/+3 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Keep players in gmNotSet (#4248) | changyong guo | 2018-07-23 | 1 | -8/+13 |
| | | | | 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 | 1 | -0/+12 |
| | | | | | | | 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 | ||||
* | Make offline UUIDs consistent with vanilla. (#4178) | peterbell10 | 2018-07-20 | 1 | -4/+2 |
| | | | | | Fixes #4177 This is a breaking change to existing Cuberite permissions settings. | ||||
* | Support swap item between main hand and offhand by press key "F" (#4241) | changyong guo | 2018-06-24 | 1 | -1/+8 |
| | | | | | | | | Hi, I found cuberite don't support to press key "F" to swap items on main hand and offhand, so I implemented this feature. Best regards Changyong | ||||
* | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 2018-05-02 | 1 | -3/+3 |
| | | | | | | | * 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. | ||||
* | Removed unnecessary disconnect (#4200) | mathiascode | 2018-04-27 | 1 | -5/+0 |
| | |||||
* | Properly destroy player (#4199) | mathiascode | 2018-04-03 | 1 | -7/+7 |
| | |||||
* | Broadcast playerlist removal in every world (#4201) | mathiascode | 2018-04-02 | 1 | -5/+3 |
| | |||||
* | cClientHandle: Always call HOOK_PLAYER_RIGHT_CLICK (#4149) | peterbell10 | 2018-01-25 | 1 | -6/+11 |
| | | | Reverts the reduction in cases where the hook was called, a change which broke plugins. | ||||
* | Rewrite cClientHandle::HandleRightClick (#4089) | 9caihezi | 2018-01-08 | 1 | -148/+130 |
| | | | | | | | | | | | | | * 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 | 1 | -1/+1 |
| | | | | | | | * 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. | ||||
* | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 2017-11-20 | 1 | -1/+1 |
| | |||||
* | Implement horse inventory (#4053) | peterbell10 | 2017-10-21 | 1 | -0/+12 |
| | | | | | | | | | | * Implement horse inventory * Fix sign conversions * Add API doc for ItemCategory::IsHorseArmor * Improve HandleOpenHorseInventory comment and style fixes. | ||||
* | BroadcastBlockBreakAnimation and BroadcastBlockEntity use vectors (#4038) | Bond-009 | 2017-09-25 | 1 | -3/+3 |
| | |||||
* | Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) | Lane Kolbly | 2017-09-19 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | * Made BroadcastSoundEffect take vector parameters. * Added docs for new vectored methods * Removed old code * Fixed lua warnings * Made old BroadcastSoundEffect not an override. * m_Block to m_BlockPos, used Vector3d constructor where prettier. * a_Block to a_BlockPos * Changed thunderbolt a_Block to a_BlockPos | ||||
* | Removed UTF-8 BOM (#4033) | Lukas Pioch | 2017-09-19 | 1 | -1/+1 |
| | |||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 1 | -51/+22 |
| | |||||
* | Shutdown connection when disconnect packet sent (#3999) | Alexander Harkness | 2017-09-08 | 1 | -4/+10 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -22/+51 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | OnLogin now kicks players properly (#3980) | Alexander Harkness | 2017-09-01 | 1 | -1/+2 |
| | |||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -51/+22 |
| | |||||
* | Update mbedtls to 2.5.1 (#3964) | peterbell10 | 2017-08-30 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | * 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 | 1 | -1/+24 |
| | |||||
* | Add cUUID class (#3871) | peterbell10 | 2017-08-25 | 1 | -34/+7 |
| | |||||
* | Fully implemented leashes (#3798) | Pablo Beltrán | 2017-08-21 | 1 | -0/+18 |
| | |||||
* | Merge pull request #3921 from lkolbly/removeAssert | Tiger Wang | 2017-08-18 | 1 | -3/+0 |
|\ | | | | | - Removed incorrect assert in SendRespawn | ||||
| * | Removed incorrect assert in cClientHandle::SendRespawn. | Lane Kolbly | 2017-08-11 | 1 | -3/+0 |
| | | |||||
* | | Changed entity ownership model to use smart pointers | Tiger Wang | 2017-08-07 | 1 | -4/+25 |
|/ | |||||
* | Removed double includes (#3885) | Lukas Pioch | 2017-08-02 | 1 | -1/+0 |
| | |||||
* | cBlockHandler: take player by ref | peterbell10 | 2017-08-01 | 1 | -4/+4 |
| | |||||
* | cWorld::SendBlockTo take player by ref | peterbell10 | 2017-08-01 | 1 | -14/+14 |
| | |||||
* | Tentative fix for player-limit race condition (#3862) | Tiger Wang | 2017-07-28 | 1 | -8/+14 |
| | | | | | | | | | | * Attempts to fix #2257 Derived from d233e9843148313c71fbaba96ccff660e47b07b1 * Changed player count type to int * Clarified certain actions | ||||
* | Fixed memory leak in cClientHandle. (#3794) | Mattes D | 2017-06-26 | 1 | -5/+5 |
| | |||||
* | Fix assert when clicking blocks at the top of the world. | Mattes D | 2017-06-09 | 1 | -12/+16 |
| | |||||
* | Add rank prefix and suffix to player name in chat (#3730) | Heiko Hund | 2017-05-27 | 1 | -1/+5 |
| | | | Fixes issue #1721 | ||||
* | Off-hand/shield slot functional, save and load slot, bow + arrow functional (#3725) | Pablo Beltrán | 2017-05-24 | 1 | -0/+10 |
| | | | Fixes #3714. | ||||
* | Allow enabling/disabling of block change limit | mathiascode | 2017-05-19 | 1 | -1/+1 |
| | |||||
* | Fixed ClientHandle:GetProtocolVersion returning wrong number. | Mattes D | 2017-01-28 | 1 | -8/+2 |
| | |||||
* | Initial support for the 1.11 protocol. | Mattes D | 2016-12-16 | 1 | -2/+2 |
| | |||||
* | Fixed race conditions in cClientHandle's State. | Mattes D | 2016-11-19 | 1 | -157/+208 |
| | |||||
* | Anticheat fastbreak (#3411) | mohe2015 | 2016-11-06 | 1 | -0/+27 |
| | | | Added block hardness checks when breaking blocks. | ||||
* | Added SendMessageRaw for sending json string. | Lukas Pioch | 2016-10-21 | 1 | -0/+9 |
| | |||||
* | Spectators added (#2852) | bibo38 | 2016-10-12 | 1 | -2/+54 |
| | |||||
* | Use cChunkDef::Height for Y coord comparison where applicable. | Moritz Borcherding | 2016-09-27 | 1 | -2/+2 |
| | |||||
* | Fixed cCompositeChat's constructor LuaAPI bindings. | Mattes D | 2016-09-25 | 1 | -5/+3 |
| | | | | The tolua-generated constructor would return an extra string value. | ||||
* | Improve cPlayer::DoMoveToWorld (#3113) | LogicParrot | 2016-09-03 | 1 | -1/+0 |
| | |||||
* | Proper respawn packets on dimension travel | LogicParrot | 2016-08-29 | 1 | -1/+17 |
| | |||||
* | Fixed SendUnloadChunk bug (#3353) | LogicParrot | 2016-08-28 | 1 | -1/+1 |
| | |||||
* | Fix breaking ice in survival not giving a water's source (#3356) | ElNounch | 2016-08-28 | 1 | -1/+1 |
| | | | Fix #3355 | ||||
* | Fixed RasPi builds of unit tests. | Mattes D | 2016-08-04 | 1 | -1/+3 |
| | | | | | On RasPi with gcc 4.8.2, the asserts wouldn't compile when tests were enabled. Enforced the assumption that ASSERT code is generated only in Debug builds. | ||||
* | Tab completion across worlds (#3270) | Alexander Harkness | 2016-07-21 | 1 | -1/+13 |
| | | | Fixes #2563. | ||||
* | 1.9 / 1.9.2 / 1.9.3 / 1.9.4 protocol support (#3135) | Pokechu22 | 2016-05-14 | 1 | -1/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Fixed some logout crashes | LogicParrot | 2016-04-24 | 1 | -2/+3 |
| | |||||
* | ClientHandle destruction thread safety | LogicParrot | 2016-04-23 | 1 | -2/+13 |
| | |||||
* | Auto clean bad world linkages | LogicParrot | 2016-04-19 | 1 | -0/+1 |
| | |||||
* | Minor improvements to player freeze | LogicParrot | 2016-04-05 | 1 | -4/+4 |
| | |||||
* | Improved player freeze code | LogicParrot | 2016-04-05 | 1 | -16/+19 |
| | |||||
* | Players never fall through unloaded chunks or end up inside solids on teleport | LogicParrot | 2016-03-31 | 1 | -1/+46 |
| | |||||
* | Proper entity destruction in non-ticking chunks | LogicParrot | 2016-02-19 | 1 | -19/+12 |
| | |||||
* | Don't remove water after ice block has been destroyed | Lukas Pioch | 2016-02-18 | 1 | -1/+5 |
| | |||||
* | Prevent player from falling when block breaking is denied | LogicParrot | 2016-02-08 | 1 | -0/+2 |
| | |||||
* | Updated old forum links | Mathias | 2016-01-31 | 1 | -1/+1 |
| | |||||
* | Improved tamed wolf pack cooperation and projectile reactions | LogicParrot | 2016-01-22 | 1 | -1/+1 |
| | |||||
* | Fix crash when tamed wolf is hit by arrows | LogicParrot | 2016-01-16 | 1 | -1/+4 |
| | |||||
* | Limited the username length to 16 characters. | bibo38 | 2016-01-13 | 1 | -0/+6 |
| | | | | | | This fixes a client crash, because Minecraft requires that a username is not longer than 16 characters. See also: http://minecraft.gamepedia.com/The_Player#Name Fixes #2545 | ||||
* | Tamed wolf assists owner (attack / defence) | LogicParrot | 2016-01-12 | 1 | -67/+69 |
| | |||||
* | Reorganised the redstone simulator | Tiger Wang | 2015-12-18 | 1 | -0/+6 |
| | | | | | | -> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved | ||||
* | allow use failures to propagate from the entity/block to the player | Gargaj | 2015-12-13 | 1 | -7/+8 |
| | |||||
* | Add enum for Sound and Particle Effects | Dave Tucker | 2015-11-24 | 1 | -2/+3 |
| | | | | | | Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk> | ||||
* | Examined a fix for #2588 | Tiger Wang | 2015-11-02 | 1 | -0/+6 |
| | |||||
* | Fixed a crash when sending messages too early after connection. | Mattes D | 2015-10-21 | 1 | -1/+12 |
| | |||||
* | Improved the data structure for storing loaded chunks | tycho | 2015-10-05 | 1 | -7/+7 |
| | | | | Should significantly increase the performance of deciding which chunks to stream | ||||
* | Maked it compileable for clang-3.7 | Lukas Pioch | 2015-09-25 | 1 | -5/+5 |
| | |||||
* | Refactored cProtocol Chat handling | tycho | 2015-09-21 | 1 | -8/+10 |
| | |||||
* | Fixed food drain bugs | Tiger Wang | 2015-08-20 | 1 | -24/+14 |
| | |||||
* | Fix old style casts and implicit conversions | Matti Hänninen | 2015-08-12 | 1 | -1/+1 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -23/+23 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -20/+2 |
| | |||||
* | Fixed warnings generated by 64-bit MSVC. | Mattes D | 2015-07-07 | 1 | -2/+2 |
| | |||||
* | Reinstate "Chunk queue collapsing" | Tiger Wang | 2015-06-10 | 1 | -15/+12 |
| | | | | | This reinstates commit f36acb683594daff5af3971dcbe3c3a171628b78 and reverts commit adfbc42c021e1bcfcb355933c0fd784306ce0e18. | ||||
* | Revert "Chunk queue collapsing" | worktycho | 2015-06-07 | 1 | -12/+15 |
| | |||||
* | Made the list of chunks to stream an unordered_set | tycho | 2015-06-05 | 1 | -15/+12 |
| | | | | This should increase performance of chunk streaming | ||||
* | Added system and above action bar chat messages | jan64 | 2015-06-02 | 1 | -0/+58 |
| | |||||
* | Fix Destroy() calling behaviour | Tiger Wang | 2015-05-30 | 1 | -1/+2 |
| | | | | * Fixes Core/#142 | ||||
* | Fix for the way connecting clients receive player lists and broadcast chat | b33duck | 2015-05-29 | 1 | -3/+3 |
| | |||||
* | Potential crash fixes | Tiger Wang | 2015-05-28 | 1 | -6/+3 |
| | | | | | * Potentially addresses my comment in #1969 * Probably fixes #2145 | ||||
* | Fixed ClientHandle not getting properly removed from the world | tycho | 2015-05-26 | 1 | -2/+9 |
| | | | | | when socket is closed whilst the client is being added to the world Fixes #1969 | ||||
* | Merge pull request #1848 from scottwillmoore/ImplementTitleCommand | Mattes D | 2015-05-26 | 1 | -0/+63 |
|\ | | | | | Implement backend for /title command | ||||
| * | Implement backend for /title command | Scott Moore | 2015-04-13 | 1 | -0/+63 |
| | | |||||
* | | Fixed chat message manipulation by plugins. | Mattes D | 2015-05-13 | 1 | -1/+1 |
| | | | | | | | | Plugins, in their OnChat hook, can change the chat message sent by a player. | ||||
* | | More style checking. | Mattes D | 2015-05-09 | 1 | -6/+6 |
| | | | | | | | | Spaces around some operators are checked. | ||||
* | | Added support for additional data in the ParticleEffect Packet | tycho | 2015-05-07 | 1 | -0/+9 |
| | | | | | | | | Also started refactoring how broadcasts are handled | ||||
* | | ClientHandle: Fixed re-sending refused right-clicks. | Mattes D | 2015-04-19 | 1 | -1/+8 |
| | | | | | | | | | | The coords weren't checked against Y boundary and -1 coords weren't sent. This fixes mc-server/Gallery#45. | ||||
* | | Placing a fluid from bucket calls plugin hooks. | Mattes D | 2015-04-14 | 1 | -1/+3 |
|/ | | | | Ref.: #1857. | ||||
* | Merge pull request #1826 from mc-server/UnifyPacketizer | Mattes D | 2015-03-24 | 1 | -14/+14 |
|\ | | | | | Unify packetizer | ||||
| * | Fixed signedness warnings in Protocol. | Mattes D | 2015-03-21 | 1 | -1/+1 |
| | | |||||
| * | Fixed signedness issues in protocols. | Mattes D | 2015-03-21 | 1 | -1/+1 |
| | | |||||
| * | Unified cByteBuffer types. | Mattes D | 2015-03-21 | 1 | -12/+12 |
| | | | | | | | | cByteBuffer now reads and writes any of the [U]Int<N> types. | ||||
* | | Correct world height validations. | Tommy Santerre | 2015-03-20 | 1 | -0/+6 |
|/ | | | | | Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255 | ||||
* | Merge pull request #1734 from mc-server/pistons | Mattes D | 2015-03-14 | 1 | -25/+4 |
|\ | | | | | Handle client 'leave bed' request | ||||
| * | Reverted non-functional changes | Tiger Wang | 2015-03-05 | 1 | -1/+2 |
| | | |||||
| * | Handle client 'leave bed' request | Tiger Wang | 2015-02-08 | 1 | -25/+3 |
| | | | | | | | | * Fixes #1728 | ||||
* | | Merge branch 'master' into Inventory | Howaner | 2015-03-09 | 1 | -2/+6 |
|\ \ | |||||
| * | | Fixed race condition for TCP link deleting. | Mattes D | 2015-02-22 | 1 | -2/+6 |
| |/ | | | | | | | This could have caused crashes when a client disconnected from the server. | ||||
* | | Merge branch 'master' into Inventory | Howaner | 2015-02-06 | 1 | -111/+134 |
|\| | |||||
| * | Fixed a deadlock in cClientHandle network sending. | Mattes D | 2015-01-27 | 1 | -4/+23 |
| | | |||||
| * | Client: Only decode protocol when there's actual data incoming. | Mattes D | 2015-01-27 | 1 | -2/+8 |
| | | |||||
| * | Fixed enchant packet handling. | Mattes D | 2015-01-27 | 1 | -3/+3 |
| | | |||||
| * | Converted cServer to use the cNetwork API. | Mattes D | 2015-01-27 | 1 | -108/+106 |
| | | |||||
* | | Merge branch 'master' into Inventory | Howaner | 2015-01-25 | 1 | -150/+12 |
|\| | |||||
| * | Fixed warnings in 1.7 protocol. | Mattes D | 2015-01-18 | 1 | -2/+2 |
| | | |||||
| * | Refactored all player block placing to go through hooks. | Mattes D | 2014-12-24 | 1 | -148/+10 |
| | | | | | | | | Fixes #1618. | ||||
* | | Own classes for all windows. | Howaner | 2014-12-13 | 1 | -0/+3 |
|/ | |||||
* | Cosmetic touchups. | Mattes D | 2014-12-11 | 1 | -1/+1 |
| | | | | Removed trailing whitespace, added cast to remove warning, added file seeking in case of corrupt files. | ||||
* | Merge pull request #1623 from p-mcgowan/issue_1253 | Mattes D | 2014-12-10 | 1 | -1/+39 |
|\ | | | | | Prevent multiple logins with same username, unless allowed in settings | ||||
| * | Changed method call to DoesAllowMultiLogin() instead of IsAllowMultiLogin() | Vincent | 2014-12-10 | 1 | -1/+1 |
| | | | | | | | | Compiles correctly. | ||||
| * | Fixed return value in CheckMultiLogin() | Vincent | 2014-12-09 | 1 | -1/+2 |
| | | |||||
| * | Fixed indent problems and added return definitions to CheckMultiLogin(). | Vincent | 2014-12-09 | 1 | -3/+3 |
| | | | | | | | | | | Changed from IsAllowMultiLogin() to DoesAllowMultiLogin(). Fixed CheckMultiLogin() to not run to the end without returning a value. | ||||
| * | Changed CheckMultiLogin() to not have main body wrapped in an if statement. | Vincent | 2014-12-08 | 1 | -19/+22 |
| | | | | | | | | | | | | Added in indent to cPlayerListCallBack in cCallback class inside CheckMultiLogin(). Added doxy-comment for DoWithPlayer(). Changed comments on IsPlayerInQueue() and IsAllowMultiLogin() to doxy-comments. | ||||
| * | created callback in Root and changed CheckMultiLogin() to use the DoWithPlayer function at Root instead of World. | Vincent | 2014-12-08 | 1 | -1/+1 |
| | | |||||
| * | Fixed compile errors | Vincent | 2014-12-08 | 1 | -8/+3 |
| | | |||||
| * | removed last space in handlehandshake | Vincent | 2014-12-08 | 1 | -1/+0 |
| | | |||||
| * | Changed HandleHandshake to return the result of CheckMultiLogin instead of just true since it already returns true if it finds and kicks the current player. | Vincent | 2014-12-08 | 1 | -24/+23 |
| | | |||||
| * | Moved the check into a new function and just calls that function and a blank FindAndDoWithPlayer added. | Vincent | 2014-12-08 | 1 | -22/+38 |
| | | |||||
| * | Merge branch 'issue_1253' of https://github.com/p-mcgowan/MCServer into issue_1253 | Vincent | 2014-12-07 | 1 | -5/+5 |
| |\ | |||||
| | * | Changed Kick message | vincentleung1 | 2014-11-30 | 1 | -2/+2 |
| | | | |||||
| | * | removed extra space and fixed some formatting in cCallback | vincentleung1 | 2014-11-30 | 1 | -3/+3 |
| | | | |||||
| * | | changed from using iterator to auto for server and clienthandle | Vincent | 2014-12-07 | 1 | -2/+2 |
| |/ | |||||
| * | Uses callback for players already in World. | Vincent | 2014-11-30 | 1 | -5/+12 |
| | | |||||
| * | fixed naming of strings and changed from i to I | Vincent | 2014-11-29 | 1 | -4/+4 |
| | | |||||
| * | issue 1253 - prevent multiple logins with same username | Vincent | 2014-11-29 | 1 | -0/+18 |
| | | |||||
* | | Fixed c++11 branch issues. | Mattes D | 2014-12-07 | 1 | -4/+8 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into c++11 | Tiger Wang | 2014-12-06 | 1 | -0/+4 |
|\ \ | | | | | | | | | | | | | Conflicts: src/OSSupport/Thread.cpp | ||||
| * | | BasicStyle: Added missing braces to control statements. | Mattes D | 2014-12-05 | 1 | -0/+4 |
| |/ | |||||
* | | Merged branch 'origin/master' into c++11. | Mattes D | 2014-12-04 | 1 | -4/+10 |
|\| | |||||
| * | ClientHandle: Fixed max block place distance check. | Mattes D | 2014-11-25 | 1 | -4/+10 |
| | | | | | | | | Fixes #1492 | ||||
* | | Merge remote-tracking branch 'origin/master' into c++11 | Tiger Wang | 2014-11-23 | 1 | -11/+25 |
|\| | | | | | | | | | | | Conflicts: src/Noise/Noise.h src/World.h | ||||
| * | Merge pull request #1598 from mc-server/SignEditor | Mattes D | 2014-11-18 | 1 | -2/+8 |
| |\ | | | | | | | Fixed a security problem with signs. | ||||
| | * | Use LastPlacedSign instead of LastPlacedBlock. | Howaner | 2014-11-15 | 1 | -3/+4 |
| | | | |||||
| | * | Fixed a security problem with signs. | Howaner | 2014-11-15 | 1 | -2/+7 |
| | | | |||||
| * | | Fixed a wrong assert in cClientHandle::SetViewDistance(). | Mattes D | 2014-11-17 | 1 | -4/+8 |
| | | | |||||
| * | | Renamed m_UsedViewDistance to m_CurrentViewDistance | Howaner | 2014-11-15 | 1 | -8/+8 |
| | | | |||||
| * | | Renamed m_SetViewDistance to m_RequestedViewDistance | Howaner | 2014-11-15 | 1 | -4/+4 |
| | | | |||||
| * | | Use m_UsedViewDistance and m_SetViewDistance. | Howaner | 2014-11-14 | 1 | -8/+10 |
| | | | |||||
| * | | Merge branch 'master' into ViewDistance | Howaner | 2014-11-14 | 1 | -1/+1 |
| |\| | |||||
| | * | Fixed m_SentChunks list chunk removing. | Howaner | 2014-10-30 | 1 | -1/+1 |
| | | | |||||
| * | | Added a MaxViewDistance option. | Howaner | 2014-10-30 | 1 | -1/+3 |
| |/ | |||||
* | | Merged branch 'master' into c++11. | Mattes D | 2014-10-24 | 1 | -78/+150 |
|\| | |||||
| * | Use 3 priorities. | Howaner | 2014-10-23 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' into ChunkLoader | Howaner | 2014-10-23 | 1 | -25/+25 |
| |\ | | | | | | | | | | | | | | | | | | | Conflicts: src/ChunkSender.cpp src/ClientHandle.cpp src/World.h | ||||
| | * | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -26/+26 |
| | | | |||||
| * | | Use two lists and 2 chunk send prioritys. | Howaner | 2014-10-21 | 1 | -41/+0 |
| | | | |||||
| * | | New c++11 stuff. | Howaner | 2014-10-21 | 1 | -4/+4 |
| | | | |||||
| * | | Merge branch 'master' into ChunkLoader | Howaner | 2014-10-21 | 1 | -7/+41 |
| |\| | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp | ||||
| * | | Added distance check. | Howaner | 2014-10-07 | 1 | -0/+12 |
| | | | |||||
| * | | Stream 4 chunks per tick. Added priority. | Howaner | 2014-10-06 | 1 | -13/+22 |
| | | | |||||
| * | | Merge branch 'master' into ChunkLoader | Howaner | 2014-10-06 | 1 | -2/+10 |
| |\ \ | |||||
| * | | | Better StreamNextChunk() method | Howaner | 2014-10-06 | 1 | -15/+116 |
| | | | | |||||
| * | | | Optimized chunk loader | Howaner | 2014-10-02 | 1 | -86/+77 |
| | | | | |||||
* | | | | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-20 | 1 | -26/+26 |
| | | | | |||||
* | | | | Migrated cSleep and cTimer to std::chrono | Tiger Wang | 2014-10-20 | 1 | -13/+5 |
| | | | | |||||
* | | | | Migrated random generators to std::random | Tiger Wang | 2014-10-19 | 1 | -12/+0 |
| |_|/ |/| | | |||||
* | | | Merge pull request #1502 from mc-server/furnaces | Tiger Wang | 2014-10-18 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Improved furnaces | ||||
| * | | | Improved furnaces | Tiger Wang | 2014-10-03 | 1 | -1/+1 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | * Fixed progress bar on 1.8 * Fixed bugs * Improved code * Fixes #1068 * Fixes #1070 | ||||
* | | | Merged branch 'fix_chunks'. | Mattes D | 2014-10-16 | 1 | -3/+34 |
| | | | |||||
* | | | Functions in cPluginManager get references instead of pointers. | Mattes D | 2014-10-15 | 1 | -2/+2 |
| | | | |||||
* | | | Usernames are lowercased before generating offline UUID. | Mattes D | 2014-10-15 | 1 | -1/+4 |
| |/ |/| | | | | | This breaks previous offline UUIDs, but it guarantees that future offline UUIDs will be the same even for usernames with wrong capitalization. | ||||
* | | cClientHandle: Added protocol version knowledge. | Mattes D | 2014-10-05 | 1 | -2/+10 |
|/ | |||||
* | Rewritten plugin messages, vanilla are being parsed directly. | madmaxoft | 2014-09-30 | 1 | -90/+30 |
| | | | | This should finally fix the compatibility problems between 1.7 and 1.8 protocols with the changes in the vanilla plugin messages. | ||||
* | Fixed trailing whitespace. | madmaxoft | 2014-09-28 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1466 from mc-server/endofsupport | Mattes D | 2014-09-28 | 1 | -14/+0 |
|\ | | | | | Removed protocols 1.2 to 1.6 | ||||
| * | Dropped support for <1.7.x | Tiger Wang | 2014-09-27 | 1 | -14/+0 |
| | | |||||
* | | Combined conditions | Masy98 | 2014-09-27 | 1 | -8/+11 |
| | | |||||
* | | Added barriers correctly | Masy98 | 2014-09-27 | 1 | -0/+5 |
|/ | |||||
* | Fixed players custom name in 1.8 | Howaner | 2014-09-26 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' into EntityCustomName | Howaner | 2014-09-23 | 1 | -64/+164 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Merge branch 'master' into 1.8-Protocol | Howaner | 2014-09-19 | 1 | -2/+10 |
| |\ | |||||
| | * | BungeeCord compatibility: don't overwrite UUID / properties. | madmaxoft | 2014-09-17 | 1 | -2/+10 |
| | | | |||||
| * | | Exported player list states to extra functions. | Howaner | 2014-09-18 | 1 | -6/+42 |
| | | | |||||
| * | | Merge branch 'master' into 1.8-Protocol | Howaner | 2014-09-14 | 1 | -1/+1 |
| |\| | |||||
| | * | Merge pull request #1353 from mc-server/Effects | Mattes D | 2014-09-13 | 1 | -1/+1 |
| | |\ | | | | | | | | | Added speed entity effect. | ||||
| | | * | Merge branch 'master' into Effects | Howaner | 2014-09-12 | 1 | -14/+30 |
| | | |\ | |||||
| | | * | | Added speed entity effect. | Hownaer | 2014-08-28 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | 1.8: Fixed maps. | Howaner | 2014-09-13 | 1 | -4/+4 |
| | | | | | |||||
| * | | | | Merge branch 'master' into 1.8-Protocol | Howaner | 2014-09-13 | 1 | -2/+20 |
| |\| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Items/ItemHoe.h | ||||
| | * | | | Play placesound from the middle of the block. | Howaner | 2014-09-12 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Fixed block place sounds. | Howaner | 2014-09-12 | 1 | -2/+14 |
| | | | | | |||||
| | * | | | Players in survival mode are not allowed to break a bedrock. | Howaner | 2014-09-12 | 1 | -0/+6 |
| | | |/ | | |/| | |||||
| * | | | Merge branch 'master' into 1.8-Protocol | Howaner | 2014-09-12 | 1 | -1/+1 |
| |\| | | |||||
| | * | | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 2014-09-09 | 1 | -1/+1 |
| | | | | |||||
| * | | | Fixed many right click issues. | Howaner | 2014-09-12 | 1 | -4/+10 |
| | | | | |||||
| * | | | 1.8: Fixed eating. | Howaner | 2014-09-12 | 1 | -0/+1 |
| | | | | |||||
| * | | | 1.8: Added ParticleEffect packet. | Howaner | 2014-09-11 | 1 | -2/+2 |
| | | | | |||||
| * | | | 1.8: Added MultiBlockChange packet. | Howaner | 2014-09-09 | 1 | -3/+4 |
| | | | | |||||
| * | | | Added the player list to the 1.8 protocol. | Howaner | 2014-09-09 | 1 | -3/+7 |
| | | | | |||||
| * | | | Merge branch 'master' into 1.8-Protocol | Howaner | 2014-09-09 | 1 | -10/+10 |
| |\| | | |||||
| | * | | Merge pull request #1351 from LO1ZB/remove-a_RelY | Mattes D | 2014-09-03 | 1 | -10/+10 |
| | |\ \ | | | | | | | | | | | remove y-coord from chunks | ||||
| | | * | | remove y-coord from chunks | LO1ZB | 2014-08-28 | 1 | -10/+10 |
| | | | | | |||||
| * | | | | 1.8: Added new uuid field. | Howaner | 2014-09-09 | 1 | -17/+25 |
| | | | | | |||||
| * | | | | More fixes. | Howaner | 2014-09-08 | 1 | -11/+1 |
| | | | | | |||||
| * | | | | Fixed more 1.8 packets. | Howaner | 2014-09-08 | 1 | -12/+21 |
| |/ / / | |||||
| * | | | Merge branch 'master' into Inventory | Howaner | 2014-09-02 | 1 | -1/+2 |
| |\ \ \ | | | |/ | | |/| | |||||
| * | | | Fixed crashes and use std::swap. | Hownaer | 2014-08-28 | 1 | -3/+19 |
| | |/ | |/| | |||||
* | | | Added SetCustomName() to players. | Howaner | 2014-09-02 | 1 | -7/+5 |
| |/ |/| | |||||
* | | Fire can be destroyed with the sword in creative-mode | Hownaer | 2014-08-28 | 1 | -1/+2 |
|/ | |||||
* | Fixed item drop. | Howaner | 2014-08-22 | 1 | -14/+18 |
| | | | Fixes #1341 | ||||
* | Added initializers for class members. | Mattes D | 2014-08-21 | 1 | -0/+10 |
| | | | | As reported by Coverity, these weren't initialized. | ||||
* | Merge branch 'master' into Fire | Howaner | 2014-08-20 | 1 | -4/+4 |
|\ | |||||
| * | Exported daylight cycle flag to the protocol. | Howaner | 2014-08-11 | 1 | -9/+3 |
| | | |||||
| * | Added a comment and simplified code. | Howaner | 2014-08-10 | 1 | -6/+3 |
| | | |||||
| * | Added SetDoDaylightCycle() and IsDaylightCycleEnabled() to cWorld. | Howaner | 2014-08-07 | 1 | -1/+10 |
| | | | | | | I need this for a GameRule plugin. | ||||
* | | Revert "Removes the fire if the block under the fire was broken." | Howaner | 2014-08-11 | 1 | -5/+0 |
| | | | | | | This reverts commit 01001d2a49a3366e9b1eccf938d5073ab9a2f06e. | ||||
* | | Removes the fire if the block under the fire was broken. | Howaner | 2014-08-11 | 1 | -0/+5 |
| | | |||||
* | | Moved the clicked-through block check to the top of the function. | Howaner | 2014-08-11 | 1 | -36/+17 |
| | | |||||
* | | Fixed cancelled fire interact from all directions. | Howaner | 2014-08-11 | 1 | -4/+12 |
|/ | |||||
* | Resending fire to the client when the interact cancelled. | Howaner | 2014-08-06 | 1 | -0/+8 |
| | |||||
* | Fixed a bug who can used from hacked clients. | Howaner | 2014-08-02 | 1 | -1/+16 |
| | |||||
* | Merge pull request #1255 from mc-server/NameToUUID | Mattes D | 2014-08-01 | 1 | -1/+2 |
|\ | | | | | Name to UUID | ||||
| * | Merged branch 'master' into NameToUUID. | madmaxoft | 2014-07-31 | 1 | -20/+8 |
| |\ | |||||
| * | | MojangAPI: Implemented UUID shortening and dashing. | madmaxoft | 2014-07-30 | 1 | -1/+2 |
| | | | |||||
* | | | Merge pull request #1272 from Howaner/Food | Mattes D | 2014-08-01 | 1 | -1/+3 |
|\ \ \ | | | | | | | | | Fixed hunger bugs, Implemented golden apple, added jump statistic, added... | ||||
| * | | | Compile fix. | Howaner | 2014-08-01 | 1 | -2/+1 |
| | | | | |||||
| * | | | Import Statistics.h | Howaner | 2014-07-31 | 1 | -0/+1 |
| | | | | |||||
| * | | | Fixed hunger bugs, Implemented golden apple, added jump statistic, added correct food effects. | Howaner | 2014-07-31 | 1 | -1/+3 |
| | |/ | |/| | |||||
* | | | Renamed "select..." methods to "set..." and better IsValidEffect() function. | Howaner | 2014-07-31 | 1 | -2/+2 |
| | | | |||||
* | | | Renamed functions and added beacon json saving. | Howaner | 2014-07-31 | 1 | -12/+12 |
| | | | |||||
* | | | Added beacon. | Howaner | 2014-07-30 | 1 | -0/+54 |
|/ / | |||||
* | | Merged branch 'howaner/Options'. | madmaxoft | 2014-07-30 | 1 | -15/+4 |
|\ \ | |||||
| * | | Fixed group color's. | Howaner | 2014-07-27 | 1 | -15/+4 |
| |/ | |||||
* | | Slight cleanup after portals | Tiger Wang | 2014-07-29 | 1 | -2/+1 |
| | | |||||
* | | Suggestions | Tiger Wang | 2014-07-23 | 1 | -2/+2 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-07-22 | 1 | -9/+9 |
|\| | | | | | | | | | | | | | | | 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 | 1 | -3/+3 |
| | | |||||
| * | Fixed attempts to call c_str on ChatColors | archshift | 2014-07-19 | 1 | -4/+4 |
| | | |||||
| * | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 1 | -2/+2 |
| | | |||||
* | | Bug and crash fixes | Tiger Wang | 2014-07-20 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | * Fixes end portals' solidity * Fixed crashes to do with multithreading and removing an entity from the wrong world * Fixed crashes due to bad merge * Fixed crashes due to an object being deleted twice * Simplified cWorld::Start() and added comments to configuration files | ||||
* | | Fix failed merge and other issues | Tiger Wang | 2014-07-18 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-07-18 | 1 | -77/+53 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Fixed creative players not being able to drink | archshift | 2014-07-18 | 1 | -3/+4 |
| | | | | | | | | Fixes #1215 | ||||
| * | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | | | | | | | | | | 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. | ||||
| * | Fixed spaces around single-line comments. | madmaxoft | 2014-07-17 | 1 | -11/+13 |
| | | | | | | | | There should be at least two spaces in front and one space after //-style comments. | ||||
| * | Fixed basic whitespace problems. | madmaxoft | 2014-07-17 | 1 | -10/+10 |
| | | | | | | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | ||||
| * | Merge remote-tracking branch 'origin/master' into potions | madmaxoft | 2014-07-17 | 1 | -3/+4 |
| |\ | |||||
| | * | Merge pull request #1192 from mc-server/skinuuid | Mattes D | 2014-07-16 | 1 | -3/+4 |
| | |\ | | | | | | | | | Skins | ||||
| | | * | Store properties as Json::Value | Tiger Wang | 2014-07-16 | 1 | -1/+1 |
| | | | | |||||
| | | * | Player properties are now retrieved | Tiger Wang | 2014-07-14 | 1 | -3/+4 |
| | | | | |||||
| * | | | Merge branch 'master' into potions | madmaxoft | 2014-07-15 | 1 | -30/+7 |
| |\| | | |||||
| | * | | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 2014-07-13 | 1 | -3/+3 |
| | |/ | |||||
| | * | Revert failed fix for #31 | Tiger Wang | 2014-07-13 | 1 | -27/+4 |
| | | | | | | | | | | | | This reverts commit 69dc9b4c9aea58ebd95e2dbd0205701dfc4ce54e. | ||||
| * | | Merge remote-tracking branch 'origin/master' into potions | archshift | 2014-07-10 | 1 | -41/+68 |
| |\| | | | | | | | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp | ||||
| | * | Unnecessary return | Howaner | 2014-06-30 | 1 | -2/+0 |
| | | | |||||
| | * | Fixed respawning | Tiger Wang | 2014-06-29 | 1 | -2/+2 |
| | | | | | | | | | | | | * Fixes #1103 | ||||
| | * | Fixed offline UUID generator. | Mattes D | 2014-06-29 | 1 | -2/+4 |
| | | | | | | | | | | | | It generated invalid UUIDs, too many hex chars. | ||||
| | * | Send statistics to the player, when he logged in. | Howaner | 2014-06-29 | 1 | -0/+3 |
| | | | |||||
| | * | Merge pull request #1132 from mc-server/RemoveMD5 | Mattes D | 2014-06-29 | 1 | -13/+9 |
| | |\ | | | | | | | | | Removed the md5 library, obsoleted by PolarSSL. | ||||
| | | * | Removed the md5 library, obsoleted by PolarSSL. | Mattes D | 2014-06-27 | 1 | -13/+9 |
| | | | | | | | | | | | | | | | | Fixes #1130. | ||||
| | * | | Fixed issue with breaking blocks at -1 coordinates | Tiger Wang | 2014-06-28 | 1 | -6/+1 |
| | | | | |||||
| | * | | Added generic entity-collecting. | Mattes D | 2014-06-27 | 1 | -2/+2 |
| | |/ | | | | | | | | | | | | | Now any cEntity can be collected, not only cPickups. This should help PR #1098. | ||||
| * | | ItemHandler: changed IsDrinkable() to take a short argument | archshift | 2014-06-17 | 1 | -3/+4 |
| | | | |||||
| * | | Implemented drinkable potions, noeffect entity effect, | archshift | 2014-06-17 | 1 | -3/+3 |
| | | | | | | | | | | | | Clears entity effects on death | ||||
| * | | Implemented milk, added documentation to Pawn.h | archshift | 2014-06-17 | 1 | -3/+3 |
| | | | |||||
* | | | Merge branch 'master' of https://github.com/mc-server/MCServer into portals | Tiger Wang | 2014-06-24 | 1 | -0/+29 |
|\ \ \ | | |/ | |/| | |||||
| * | | Added cClientHandle::IsUUIDOnline function. | madmaxoft | 2014-06-21 | 1 | -0/+29 |
| | | | | | | | | | | | | Ref.: #771 | ||||
* | | | Merge branch 'master' into portals | Tiger Wang | 2014-06-21 | 1 | -16/+20 |
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Entity.h src/Entities/Player.h | ||||
| * | | Merge branch 'master' into GlobalFixes | Howaner | 2014-06-17 | 1 | -25/+20 |
| |\| | |||||
| * | | Add more documentation. | Howaner | 2014-06-17 | 1 | -0/+2 |
| | | | |||||
| * | | Add comment. | Howaner | 2014-06-17 | 1 | -0/+1 |
| | | | |||||
| * | | Revert "Fix right click bugs." | Howaner | 2014-06-17 | 1 | -41/+40 |
| | | | | | | | | | This reverts commit 61b6fdde7553dac6e2d5c5a071b9a13fa0d71b2f. | ||||
| * | | Fix fire break. | Howaner | 2014-05-28 | 1 | -16/+17 |
| | | | |||||
| * | | Fix right click bugs. | Howaner | 2014-05-28 | 1 | -40/+41 |
| | | | |||||
* | | | Portals animate and delay correctly | Tiger Wang | 2014-06-12 | 1 | -4/+3 |
| | | | |||||
* | | | Merge branch 'master' into portals | Tiger Wang | 2014-06-10 | 1 | -21/+17 |
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | 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 | 1 | -16/+5 |
| | | | | | | | | | | | | Fixes #1039, fixes #851 | ||||
| * | | Proper fix for long interaction. | madmaxoft | 2014-06-08 | 1 | -7/+14 |
| | | | | | | | | | | | | Fixes #1078 and #1038. | ||||
* | | | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-06-04 | 1 | -2/+1 |
|\| | | |||||
| * | | Fixed bad coordinate | worktycho | 2014-06-04 | 1 | -1/+1 |
| | | | |||||
| * | | Merge remote-tracking branch 'origin/pistonfixes' | Tiger Wang | 2014-06-02 | 1 | -1/+0 |
| |\ \ | | |/ | |/| | | | | | | | Conflicts: src/Chunk.cpp | ||||
| | * | Hopefully fixed piston duplication issues | Tiger Wang | 2014-05-25 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | * Fixes #879 * Fixes #714 | ||||
* | | | Implemented end and nether portals | Tiger Wang | 2014-05-31 | 1 | -4/+3 |
|/ / | |||||
* | | ClientHandle.cpp: Process look before pos | archshift | 2014-05-27 | 1 | -1/+1 |
| | | |||||
* | | ClientHandle.cpp: remove redundant code | archshift | 2014-05-26 | 1 | -22/+2 |
| | | | | | | | | HandlePlayerMoveLook() calls HandlePlayerPos() and HandlePlayerLook() to reduce code redundancy. | ||||
* | | Revert "Add more move checks" | madmaxoft | 2014-05-26 | 1 | -58/+16 |
| | | | | | | | | This reverts commit 989312c4e7f517ae324e857cb255211e3fd8bb06. | ||||
* | | Merge pull request #1003 from Howaner/GlobalFixes | Mattes D | 2014-05-26 | 1 | -16/+58 |
|\ \ | |/ |/| | Add more move checks | ||||
| * | Add more move checks | Howaner | 2014-05-16 | 1 | -16/+58 |
| | | | | | | | | | | - Invalid X/Y/Z/Stance check (std::isnan) - Illegal stance - Illegal position (32.000.000 is the world size) | ||||
* | | Merge pull request #1010 from mc-server/cactidamage | Alexander Harkness | 2014-05-19 | 1 | -2/+3 |
|\ \ | | | | | | | Implemented cacti damage | ||||
| * | | Implemented cacti damage | Tiger Wang | 2014-05-18 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | + Implemented cacti damage * Fixed pickup tossing (PR #994 bug) | ||||
* | | | Merge pull request #998 from mc-server/StatManager | Mattes D | 2014-05-18 | 1 | -1/+10 |
|\ \ \ | |/ / |/| | | Statistic Manager | ||||
| * | | Fixed stat serialization | andrew | 2014-05-11 | 1 | -8/+0 |
| | | | |||||
| * | | Statistic Manager | andrew | 2014-05-11 | 1 | -1/+18 |
| | | | |||||
* | | | Merge pull request #994 from Howaner/GlobalFixes | Mattes D | 2014-05-15 | 1 | -17/+80 |
|\ \ \ | | |/ | |/| | Add place/break radius, add dig cancel packet and add item resend on break/place cancel. | ||||
| * | | Fix compile error. | Howaner | 2014-05-15 | 1 | -1/+1 |
| | | | |||||
| * | | Move radius check. | Howaner | 2014-05-15 | 1 | -25/+40 |
| | | | |||||
| * | | Rename HandleBlockDigCancel to FinishDigAnimtion. | Howaner | 2014-05-11 | 1 | -3/+3 |
| | | | |||||
| * | | Add block place/break distance check. | Howaner | 2014-05-09 | 1 | -0/+21 |
| | | | |||||
| * | | Add DIG_STATUS_CANCELLED packet and add item resend, when a block can't place/break. | Howaner | 2014-05-09 | 1 | -17/+44 |
| |/ | |||||
* | | Merge branch 'master' into SslWebAdmin | Mattes D | 2014-05-10 | 1 | -5/+32 |
|\| | |||||
| * | Simplified the HandleAnvilItemName() code. | Howaner | 2014-05-06 | 1 | -7/+2 |
| | | |||||
| * | Changed HandleAnvilItemName() length to size_t in ClientHandle.h | Howaner | 2014-05-05 | 1 | -1/+1 |
| | | |||||
| * | Add clicks, exp subtraction, item check, ... | Howaner | 2014-05-05 | 1 | -1/+1 |
| | | |||||
| * | Add MC|ItemName plugin message. | Howaner | 2014-05-05 | 1 | -0/+32 |
| | | |||||
| * | Merge branch 'master' into redstoneimprovements | Tiger Wang | 2014-05-04 | 1 | -5/+14 |
| |\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp src/Entities/FallingBlock.cpp src/Mobs/AggressiveMonster.cpp src/Simulator/IncrementalRedstoneSimulator.cpp | ||||
| | * | HOOK_DISCONNECT has cClientHandle as its first parameter. | madmaxoft | 2014-05-02 | 1 | -3/+3 |
| | | | | | | | | | | | | Ref.: #655. | ||||
| * | | Redstone simulator now directly accesses cChunk | Tiger Wang | 2014-04-27 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | * Redstone simulator performance improvements * Added return values to some functions * Minor fixes | ||||
* | | | Merged branch 'master' into SslWebAdmin. | madmaxoft | 2014-05-01 | 1 | -2/+2 |
|\ \ \ | | |/ | |/| | |||||
| * | | More ClientHandle fixes. | madmaxoft | 2014-05-01 | 1 | -2/+2 |
| | | | |||||
| * | | Fixed warnings in ClientHandle. | madmaxoft | 2014-05-01 | 1 | -2/+2 |
| | | | |||||
* | | | Fixed crashes in the SSL HTTP connection. | madmaxoft | 2014-05-01 | 1 | -1/+2 |
|/ / | |||||
* | | Delayed sending the KeepAlive packet for 3 seconds after login. | madmaxoft | 2014-04-29 | 1 | -0/+5 |
| | | | | | | | | This should alleviate #889. | ||||
* | | Fixed braces. | madmaxoft | 2014-04-28 | 1 | -1/+5 |
| | | |||||
* | | Fixed missing return value warning in MSVC. | madmaxoft | 2014-04-28 | 1 | -0/+1 |
|/ | |||||
* | More small fixes. | archshift | 2014-04-26 | 1 | -9/+9 |
| | |||||
* | Moar alignment. | archshift | 2014-04-26 | 1 | -7/+7 |
| | |||||
* | Further refactored, Reverted Minecart change | archshift | 2014-04-26 | 1 | -57/+21 |
| | | | | Other small changes. | ||||
* | Merge remote-tracking branch 'upstream/master' | archshift | 2014-04-25 | 1 | -1/+1 |
|\ | |||||
| * | Fix armor in survival mode. | Howaner | 2014-04-24 | 1 | -1/+1 |
| | | |||||
* | | Oops, fixed that. | archshift | 2014-04-25 | 1 | -0/+2 |
| | | |||||
* | | Refactored SendChat(), placing the message-type formatting into its own function. | archshift | 2014-04-25 | 1 | -84/+78 |
|/ | | | | Removed default case warning in the process. | ||||
* | Merge pull request #909 from jfhumann/fixes | Mattes D | 2014-04-22 | 1 | -6/+8 |
|\ | | | | | | | | | 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 | ||||
| * | Declared one mutex as mutable in order to allow for const correct get accessors. | jfhumann | 2014-04-19 | 1 | -4/+4 |
| | | |||||
| * | Small style changes | jfhumann | 2014-04-18 | 1 | -1/+1 |
| | | |||||
| * | Merge remote-tracking branch 'origin/master' into fixes | jfhumann | 2014-04-18 | 1 | -9/+53 |
| |\ | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -8/+10 |
| | | | |||||
* | | | Merge branch 'master' into Enchanting | daniel0916 | 2014-04-18 | 1 | -1/+1 |
|\ \ \ | | |/ | |/| | |||||
| * | | Merge pull request #891 from mc-server/fixes | Mattes D | 2014-04-17 | 1 | -1/+1 |
| |\ \ | | | | | | | | | Fixes to redstone & general | ||||
| | * | | Entities handle chunks properly again | Tiger Wang | 2014-04-12 | 1 | -1/+1 |
| | |/ | | | | | | | | | | | | | * Entities properly handle chunks * Changed EntityStatus enums to be less shouty | ||||
* | | | Removed old include | daniel0916 | 2014-04-18 | 1 | -1/+1 |
| | | | |||||
* | | | Fixed some Errors (not all) | daniel0916 | 2014-04-17 | 1 | -7/+10 |
| | | | |||||
* | | | Modified many things | daniel0916 | 2014-04-17 | 1 | -856/+1 |
| | | | |||||
* | | | Fixed conflicting enchantments checking | daniel0916 | 2014-04-16 | 1 | -23/+23 |
| | | | |||||
* | | | Added deletions from merge conflict | daniel0916 | 2014-04-16 | 1 | -0/+875 |
|/ / | |||||
* | | Attempted fix for the client crash with the new protocols. | madmaxoft | 2014-04-15 | 1 | -6/+9 |
| | | |||||
* | | Implemented the 1.7.6 protocol and authenticator. | madmaxoft | 2014-04-14 | 1 | -8/+22 |
| | | | | | | | | 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 | -0/+24 |
| | | | | | | | | 1.7.9 client works with these changes in offline mode. | ||||
* | | Added Yggdrasil Authentication System | daniel0916 | 2014-04-13 | 1 | -2/+5 |
|/ | | | | Code by Howaner. Fixes/Changes by me. | ||||
* | Merge branch 'master' into HTTPSizeT | madmaxoft | 2014-04-04 | 1 | -3/+3 |
|\ | |||||
| * | Fixed some Clang warnings in protocols. | madmaxoft | 2014-04-04 | 1 | -2/+2 |
| | | |||||
| * | Simplified and fixed slabs, fixes #835 | Tiger Wang | 2014-03-31 | 1 | -1/+1 |
| | | |||||
* | | Fixed All signedness warnings in HTTPServer.cpp | Tycho | 2014-04-02 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #838 from mc-server/lilypads | worktycho | 2014-03-30 | 1 | -6/+8 |
|\ | | | | | Lilypads | ||||
| * | Compare for inequality in FACE_NONE checks | Tiger Wang | 2014-03-29 | 1 | -3/+3 |
| | | |||||
| * | Removed leftover clienthandle code | Tiger Wang | 2014-03-29 | 1 | -10/+6 |
| | | |||||
| * | Fixed block interaction rate check | Tiger Wang | 2014-03-28 | 1 | -2/+4 |
| | | |||||
| * | Implemented lilypad placement | Tiger Wang | 2014-03-23 | 1 | -4/+8 |
| | | |||||
* | | Fixed players not updating after world change | Tiger Wang | 2014-03-29 | 1 | -4/+2 |
|/ | | | | Addendum to 6dea7993f2a563a8b3a0746feeb2174922631526 | ||||
* | Merge branch 'Werror' into warnings | Tycho | 2014-03-12 | 1 | -3/+0 |
|\ | | | | | | | | | Conflicts: src/Globals.h | ||||
| * | Merge branch 'master' into Werror | Tycho | 2014-03-12 | 1 | -3/+0 |
| |\ | | | | | | | | | | | | | Conflicts: src/Generating/PieceGenerator.cpp | ||||
| | * | Unified Vector classes | andrew | 2014-03-11 | 1 | -3/+0 |
| | | | |||||
* | | | Fixed a load of format string errors | Tycho | 2014-03-11 | 1 | -1/+1 |
|/ / | |||||
* / | Removed Some unnessicary macros | Tycho | 2014-03-10 | 1 | -13/+0 |
|/ | |||||
* | Merge pull request #731 from mc-server/ballisticmissiles | Tiger Wang | 2014-03-09 | 1 | -29/+19 |
|\ | | | | | Ballistic firework missiles | ||||
| * | != FACE_NONE | Tiger Wang | 2014-03-09 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' into ballisticmissiles | Tiger Wang | 2014-03-09 | 1 | -9/+28 |
| |\ | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp | ||||
| * | | Fixed data length issues | Tiger Wang | 2014-03-09 | 1 | -1/+1 |
| | | | |||||
| * | | CheckBlockInteractionsRate() fixed & enabled | Tiger Wang | 2014-03-09 | 1 | -29/+19 |
| | | | |||||
* | | | Merge pull request #777 from jfhumann/issue317 | Mattes D | 2014-03-09 | 1 | -28/+30 |
|\ \ \ | | | | | | | | | Issue 317: Split cClientHandle::HandleEntityAction() into seperate functions | ||||
| * | | | Split cClientHandle::HandleEntityAction() into three seperate functions HandleEntityCrouch, HandleEntityLeaveBed and HandleEntitySprinting. | Jan-Fabian Humann | 2014-03-08 | 1 | -28/+30 |
| | | | | |||||
* | | | | Merge pull request #775 from worktycho/warnings | Mattes D | 2014-03-09 | 1 | -2/+2 |
|\ \ \ \ | |_|_|/ |/| | | | Fixed a few warnings | ||||
| * | | | Fixed issues with int vs size_t and a few other warnings | Tycho | 2014-03-08 | 1 | -2/+2 |
| |/ / | |||||
* / / | Slight plugin messaging changes | Tiger Wang | 2014-03-09 | 1 | -0/+13 |
|/ / | | | | | | | | | - Clients are not allowed to register duplicate channels - Clients are not allowed to use channels that were not registered | ||||
* | | Add data backsending, when the Client interacts a Block and the Interact is cancelled. | Howaner | 2014-03-05 | 1 | -4/+10 |
| | | |||||
* | | cBlockInfo now manages the respective cBlockHandler | andrew | 2014-03-02 | 1 | -3/+3 |
| | | |||||
* | | Merge pull request #738 from xdot/master | Mattes D | 2014-03-02 | 1 | -1/+1 |
|\ \ | | | | | | | Refactored global block property arrays | ||||
| * | | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -1/+1 |
| |/ | |||||
* | | Use switch in GetStepSound | Howaner | 2014-02-28 | 1 | -1/+1 |
| | | |||||
* | | Fix Double Slabs, fix Slab Meta and add more things to burnable | Howaner | 2014-02-28 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #669 from xdot/master | Tiger Wang | 2014-02-24 | 1 | -0/+27 |
|\ | | | | | Implementation of in-game maps :D | ||||
| * | Manual merge (Fixed conflicts) | andrew | 2014-02-20 | 1 | -9/+34 |
| |\ | |||||
| * | | Map decorators; Map clients | andrew | 2014-02-18 | 1 | -13/+9 |
| | | | |||||
| * | | Map item handler; Fixed several bugs | andrew | 2014-02-17 | 1 | -2/+0 |
| | | | |||||
| * | | cMap::UpdateRadius | andrew | 2014-02-15 | 1 | -0/+2 |
| | | | |||||
| * | | Send map when selected | andrew | 2014-02-14 | 1 | -0/+13 |
| | | | |||||
| * | | Implementation of in-game maps | andrew | 2014-02-13 | 1 | -0/+18 |
| | | | |||||
* | | | Use the ItemCategorie::IsSword() Method. | Howaner | 2014-02-23 | 1 | -1/+1 |
| | | | |||||
* | | | No Sword Block Destroying in Creative Mode | Howaner | 2014-02-23 | 1 | -0/+10 |
| | | | |||||
* | | | cClientHandle manages the client-registered plugin channels. | madmaxoft | 2014-02-20 | 1 | -10/+77 |
| |/ |/| | | | | | Fixes #706. | ||||
* | | Implemented paintings, fixes #689 | Tiger Wang | 2014-02-18 | 1 | -0/+8 |
| | | | | | | | | + Implemented paintings | ||||
* | | Links sent via chat messages are clickable. | madmaxoft | 2014-02-16 | 1 | -8/+14 |
| | | | | | | | | Fixes #658. | ||||
* | | Add Locale to ClientHandle | Howaner | 2014-02-16 | 1 | -0/+1 |
| | | |||||
* | | Implemented cCompositeChat. | madmaxoft | 2014-02-15 | 1 | -1/+11 |
|/ | | | | | This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678. | ||||
* | Merge branch 'master' into playerimprovements | Tiger Wang | 2014-02-09 | 1 | -5/+5 |
|\ | | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua | ||||
| * | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 1 | -5/+5 |
| | | | | | | | | May Fix #640 | ||||
* | | Added sender name to PM if prefixes disabled | Tiger Wang | 2014-02-07 | 1 | -1/+1 |
| | | | | | | | | * Also moved the PVP setting into Mechanics | ||||
* | | Improved chat messaging functions | Tiger Wang | 2014-02-07 | 1 | -6/+108 |
| | | | | | | | | | | | | | | * Moved string manipulation into cClientHandle and therefore... + Added configuration option for prefixes. * Cleaned up code. * Updated documentation for API. | ||||
* | | Server internally uses new functions | Tiger Wang | 2014-02-06 | 1 | -8/+6 |
| | | |||||
* | | Reduced max explosions per tick | Tiger Wang | 2014-02-05 | 1 | -1/+1 |
| | | |||||
* | | Fixed explosions bug | Tiger Wang | 2014-02-05 | 1 | -20/+10 |
| | | | | | | | | * Fixed bug where explosions would sometimes never be sent | ||||
* | | Fixed a crash bug | Tiger Wang | 2014-02-03 | 1 | -8/+2 |
| | | |||||
* | | Server now handles join messages also | Tiger Wang | 2014-02-03 | 1 | -9/+11 |
|/ | | | | * Revised as well hook documentation | ||||
* | Changed Signiture of OnDigging | Tycho | 2014-02-01 | 1 | -3/+3 |
| | |||||
* | Changed Signiture of OnDestroyedByPlayer | Tycho | 2014-02-01 | 1 | -3/+4 |
| | |||||
* | Changed pointers to references | Tycho | 2014-02-01 | 1 | -4/+3 |
| | |||||
* | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -1/+2 |
| | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
* | Merge branch 'master' into GeneratingBenchmark2 | Tycho | 2014-01-26 | 1 | -27/+12 |
|\ | | | | | | | | | | | Conflicts: src/Blocks/BlockRail.h src/World.h | ||||
| * | Merge pull request #587 from mc-server/mobimprovements | Mattes D | 2014-01-25 | 1 | -1/+1 |
| |\ | | | | | | | Mob improvements & rudimentary artificial intelligence | ||||
| | * | Two minor changes | Tiger Wang | 2014-01-25 | 1 | -1/+1 |
| | | | |||||
| * | | Fixed a possible deadlock on client disconnect. | madmaxoft | 2014-01-24 | 1 | -9/+0 |
| |/ | |||||
| * | Merge remote-tracking branch 'MikeHunsinger/master' | madmaxoft | 2014-01-24 | 1 | -2/+3 |
| |\ | |||||
| | * | Split TossItem into three Toss functions (Held, Equipped and Pickup) | Mike Hunsinger | 2014-01-23 | 1 | -2/+3 |
| | | | |||||
| * | | Command block fixes 2 | andrew | 2014-01-23 | 1 | -16/+9 |
| | | | |||||
* | | | Refactored cBlockHandler::OnUse and dependents | Tycho | 2014-01-26 | 1 | -1/+4 |
| | | | |||||
* | | | First attempt at Implementing Interfaces | Tycho | 2014-01-25 | 1 | -1/+1 |
|/ / | |||||
* | | Merge branch 'master' of https://github.com/mc-server/MCServer | andrew | 2014-01-21 | 1 | -8/+22 |
|\| | |||||
| * | Merge pull request #565 from mc-server/commandblockfixes | Mattes D | 2014-01-19 | 1 | -3/+21 |
| |\ | | | | | | | Command block fixes | ||||
| | * | Removed unneeded paramters | Tiger Wang | 2014-01-19 | 1 | -2/+2 |
| | | | |||||
| | * | Changed SendBlockEntity format slightly | Tiger Wang | 2014-01-19 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | * Writing NBT is now in Protocol, not BlockEntity files * Fixed a last output bug | ||||
| | * | Implemented MC|Brand response | Tiger Wang | 2014-01-19 | 1 | -3/+9 |
| | | | |||||
| | * | Improved command blocks | Tiger Wang | 2014-01-19 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
| * | | Rewritten SocketThreads for proper shutdown scenario. | madmaxoft | 2014-01-19 | 1 | -5/+1 |
| |/ | | | | | | | This fixes #560 and #390. | ||||
* | | Scoreboard SendTo() | andrew | 2014-01-21 | 1 | -0/+3 |
| | | |||||
* | | Scoreboard protocol support | andrew | 2014-01-21 | 1 | -0/+30 |
|/ | |||||
* | Command block fixes | andrew | 2014-01-18 | 1 | -5/+12 |
| | |||||
* | Parse the MC|AdvCdm plugin message | andrew | 2014-01-18 | 1 | -0/+64 |
| | |||||
* | Removed obsoleted functions | Tiger Wang | 2014-01-16 | 1 | -2/+2 |
| | |||||
* | Implemented Ctrl-Q drop stack | Tiger Wang | 2014-01-15 | 1 | -0/+11 |
| | | | | Also fixed an issue with TossItems not respecting count. | ||||
* | Added cClientHandle::SendPluginMessage(). | madmaxoft | 2014-01-09 | 1 | -0/+9 |
| | | | | It is not yet exported in the API, though. | ||||
* | Plugin messages are received and handed to plugins. | madmaxoft | 2014-01-07 | 1 | -0/+9 |
| | | | | Note that MCS doesn't currently handle any channel registrations, this will come later on. | ||||
* | fixed ClientHandle warnings | Tycho Bickerstaff | 2013-12-31 | 1 | -0/+1 |
| | |||||
* | Implented BroadcastParticleEffect | STRWarrior | 2013-12-22 | 1 | -0/+9 |
| | |||||
* | Fixed the rest of constructor reorders. | madmaxoft | 2013-12-20 | 1 | -21/+20 |
| | |||||
* | Merge pull request #450 from mc-server/redstonefixes | Mattes D | 2013-12-19 | 1 | -4/+26 |
|\ | | | | | Multiple fixes | ||||
| * | Fixed PlayerAbilities and creative | Tiger Wang | 2013-12-19 | 1 | -3/+3 |
| | | |||||
| * | Fixed 1.7 arm swing animation | Tiger Wang | 2013-12-19 | 1 | -1/+23 |
| | | |||||
* | | Disconnection message no longer shown if ping | Tiger Wang | 2013-12-18 | 1 | -5/+8 |
| | | |||||
* | | The "<>" of a player name is now coloured | Tiger Wang | 2013-12-18 | 1 | -1/+1 |
| | | |||||
* | | Fixed 1.7 player disconnection not calling hook | Tiger Wang | 2013-12-18 | 1 | -4/+14 |
|/ | | | | This fixes #357 | ||||
* | Renamed back EntityAnimation to PlayerAnimation | Tiger Wang | 2013-12-18 | 1 | -1/+1 |
| | | | | | This fixes #411 and partially reverts 30ead790490f04248b861db79fddde9148b552f4 | ||||
* | Fixed cClientHandle::Tick() being called from two threads. | madmaxoft | 2013-12-16 | 1 | -6/+43 |
| | | | | | When the player was initialized, the Tick() function continued to stream chunk, while the cWorld called Tick() from its tick thread. Final fix for #187. | ||||
* | Fixed multiple player spawn broadcasts. | madmaxoft | 2013-12-16 | 1 | -3/+0 |
| | |||||
* | Merge pull request #437 from mc-server/ShootTo_function | STRWarrior | 2013-12-15 | 1 | -2/+0 |
|\ | | | | | Shoot to function | ||||
| * | This adds a function that allows you to 'shoot' a player towards a direction. | STRWarrior | 2013-12-15 | 1 | -2/+0 |
| | | |||||
* | | Fixed calling OnPlayerJoined() in the wrong place. | madmaxoft | 2013-12-15 | 1 | -6/+1 |
|/ | | | | This is the first part of a fix for #187. | ||||
* | Moved reading flags to the protocol. | STRWarrior | 2013-12-15 | 1 | -17/+3 |
| | |||||
* | Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() function | STRWarrior | 2013-12-15 | 1 | -0/+33 |
| | |||||
* | Forgot to commit the ClientHandle. | STRWarrior | 2013-12-14 | 1 | -0/+18 |
| | |||||
* | Unknown packet type extended to 32 bits. | madmaxoft | 2013-12-12 | 1 | -3/+3 |
| | |||||
* | Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeatures | Tiger Wang | 2013-12-08 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | Conflicts: src/Bindings/Bindings.cpp src/Bindings/Bindings.h src/Blocks/BlockHandler.cpp | ||||
| * | Moved bindings-related to a Bindings subfolder. | madmaxoft | 2013-12-08 | 1 | -1/+1 |
| | | | | | | | | Ref.: #407 | ||||
* | | Fixed trapdoors not toggling | Tiger Wang | 2013-12-07 | 1 | -1/+1 |
| | | | | | | | | The redstone simulator kept on resetting them. | ||||
* | | Renamed animation function | Tiger Wang | 2013-12-07 | 1 | -7/+7 |
| | | | | | | | | | | Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know. | ||||
* | | Fixed bed leave animation | Tiger Wang | 2013-12-06 | 1 | -1/+1 |
| | | |||||
* | | Updated comments for slabs | Tiger Wang | 2013-12-06 | 1 | -5/+6 |
|/ | |||||
* | Switched to using provided ReadItem function. | Samuel Barney | 2013-12-02 | 1 | -0/+9 |
| | | | | Fixed misplacing when clicking on the bottom of bottom slabs and the top of top slabs. | ||||
* | Properly fixed snow height, fixes #98 and #264 | Tiger Wang | 2013-11-30 | 1 | -9/+14 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-26 | 1 | -0/+9 |
| | | | | | Conflicts: VC2008/MCServer.vcproj | ||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -0/+12 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+2198 |