Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed Compiler Warnings | x12xx12x | 2022-01-14 | 1 | -1/+1 |
| | |||||
* | Improved farmer AI & Fixed entity loading functions (#5351) | Persson-dev | 2021-12-29 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow villagers to pickup items * Add farmer villager harvesting * Use of auto keyword * Using for loop to check adjacent crops * Show particules when farmer harvest * Fix area comment * Move constants to header file * Removing unnecessary semicolon * Initialization of CropBlockType variable * Apply 12xx12 suggestion * Fixing area constant size * Refactor bounding box calculation, use vectors. * Add Api documentation * Update lua docs * Rework farmer ai * Fixing lua docs notes * Add missing capitalisation * Add villagers inventory save * Fixing loading entities from disk inconsistencies * Add farmer harvest animation * Fix beetroots grow state Co-authored-by: Alexander Harkness <me@bearbin.net> | ||||
* | ItemHandler initialisation is a constant expression (#5344) | x12xx12x | 2021-12-02 | 1 | -7/+7 |
| | | | | | * 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 | -116/+51 |
| | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | World: change spawnpoint type to int (#5313) | Tiger Wang | 2021-10-03 | 1 | -1/+1 |
| | | | | | * World: change spawnpoint type to int As Vanilla does. | ||||
* | Perform bed checks upon respawn (#5300) | JK2K | 2021-10-02 | 1 | -12/+44 |
| | | | Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Snipe skeleton achievment | Rorkh | 2021-10-02 | 1 | -4/+17 |
| | |||||
* | Spectation: add dedicated pathway for spectator mode (#5303) | Tiger Wang | 2021-09-30 | 1 | -98/+81 |
| | | | | | | | | | * 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 | ||||
* | Fix typo in message send when getting achievements (#5282) | Bart Ribbers | 2021-08-21 | 1 | -1/+1 |
| | |||||
* | Added y bounds checking for cPlayer::PlaceBlock (#5194) | Kiryu144 | 2021-07-23 | 1 | -9/+9 |
| | |||||
* | Invalidate m_LastStreamedChunk when player position doesn't match | Tiger Wang | 2021-07-06 | 1 | -3/+0 |
| | | | | | | So teleporting to and back doesn't cause chunk sending to stop. * Fixes #4531 | ||||
* | Remove spammy LOGD output | Tiger Wang | 2021-06-28 | 1 | -2/+0 |
| | |||||
* | SetBedPos: make World parameter non-null | Tiger Wang | 2021-06-28 | 1 | -7/+6 |
| | | | | * Fixes #5190 | ||||
* | Death messages for tamed pets and ocelots are now tamable. (#5243) | TheHyper45 | 2021-06-19 | 1 | -58/+1 |
| | | | | | | | | | | | | | | | * Fixing bugs regarding wolfs and ocelots * Death messages appear after killing tamed ocelots and wolfs * Style fix * Added myself to the CONTRIBUTORS file * Removed redundant string initialization * Removed an unsafe cast. * Changed the order of initialization of fields in constuctor of class cOcelot | ||||
* | Move item placement into item handlers (#5184) | Tiger Wang | 2021-05-05 | 1 | -19/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | Rename files to match code | Tiger Wang | 2021-05-04 | 1 | -3/+3 |
| | |||||
* | Add player statistics to API (#5193) | nshah25 | 2021-05-03 | 1 | -32/+36 |
| | | | | | | * Fixed issue #5166 Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Thrown potions/enderpearls: cleanup | Tiger Wang | 2021-04-12 | 1 | -13/+6 |
| | |||||
* | cPlayer: move some constants out of header | Tiger Wang | 2021-04-12 | 1 | -2/+10 |
| | |||||
* | More cProtocol cleanup | Tiger Wang | 2021-04-12 | 1 | -12/+21 |
| | | | | | | * Alpha sort functions * Simplify hand handling * Fix left handed mode client-side display | ||||
* | Add animations for shield/item block & break | Tiger Wang | 2021-04-12 | 1 | -1/+27 |
| | |||||
* | Improve bed handling robustness | Tiger Wang | 2021-04-12 | 1 | -1/+10 |
| | | | | + Boot the player out if the bed was destroyed | ||||
* | Unify multiprotocol entity animations | Tiger Wang | 2021-04-12 | 1 | -3/+2 |
| | |||||
* | Update entity sizes | Tiger Wang | 2021-04-12 | 1 | -11/+1 |
| | |||||
* | Streamline player abilities handling | Tiger Wang | 2021-04-12 | 1 | -93/+65 |
| | | | | | | | * 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 sending incorrect date values on world change | Tiger Wang | 2021-04-12 | 1 | -7/+7 |
| | | | | Yak shave: make more things use cTickTime. Fix a couple of incorrect modulo-on-millisecond-value by making them use WorldTickAge. | ||||
* | Teleport off of mount when throwing enderpearl (#5179) | Nate | 2021-04-08 | 1 | -0/+16 |
| | | | | | | | | | * Teleport off of mount when throwing enderpearl * Simplify returning boolean * Oops forgot a semicolon * Fix code conventions in Player.h | ||||
* | Basic elytra flight (#5124) | Damián Imrich | 2021-04-03 | 1 | -70/+236 |
| | | | | | | * 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 | -147/+79 |
| | | | | * Kick player if data were corrupt to avoid making it worse | ||||
* | Call ProcessProtocolOut at opportune times | Tiger Wang | 2021-03-28 | 1 | -3/+3 |
| | |||||
* | Change TimeOfDay to WorldDate (#5160) | Tiger Wang | 2021-03-20 | 1 | -1/+1 |
| | | | | | | | * 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 | -12/+0 |
| | | | | | * 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 | -16/+14 |
| | | | * Fixes #5144 | ||||
* | Fixed some death messages showing up even when they are disabled. (#5153) | NiLSPACE | 2021-03-11 | 1 | -5/+1 |
| | |||||
* | Fix #5118 | Tiger Wang | 2021-02-07 | 1 | -419/+424 |
| | |||||
* | Clarify cClientHandle, cPlayer ownership semantics | Tiger Wang | 2021-01-12 | 1 | -251/+207 |
| | | | | | | | | + 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. | ||||
* | Fix potential destruction crashes (#5095) | Tiger Wang | 2021-01-02 | 1 | -2/+1 |
| | | | | | | | | | | * Fix potential destruction crashes * Fix destructors accessing destroyted objects * Fix cPlayer not destroying windows (Destroyed never called) * Tentatively fixes #4608, fixes #3236, fixes #3262 - Remove cEntity::Destroyed() and replace with cEntity::OnRemoveFromWorld() * Add missing call to OnRemoveFromWorld | ||||
* | Added magma block contact damage (#5055) | Aiden Neill | 2020-11-25 | 1 | -0/+1 |
| | | | | | | * Added magma block contact damage * Fireproof entities do not take damage from magma * Fire resistance prevents magma damage * No magma damage when hovering over magma block | ||||
* | Players are no longer kicked when clicking on bedrock (#5023) | Tiger Wang | 2020-11-06 | 1 | -18/+8 |
| | | | | * Players are no longer kicked when clicking on bedrock * Fixes #5022 | ||||
* | added const correctness on some functions in cPlayer (#4999) | 12xx12 | 2020-10-15 | 1 | -2/+2 |
| | | | Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 2020-10-05 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | * 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> | ||||
* | Fix instant mining of blocks not being recognised, tweak anti-cheat (#4938) | KingCol13 | 2020-10-02 | 1 | -19/+67 |
| | | | | | | | | | | | | | | | | | | | * 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 | -0/+23 |
| | | | | | * Use lapis for enchanting, subtract correct number of levels, ClientHandle now selects from pregenerated list. Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Added dtEnvitonment to player damage text (#4925) | 12xx12 | 2020-09-22 | 1 | -0/+1 |
| | | | | + Added dtEnvironment to string conversion + Added dtEnvironment to player damage strings | ||||
* | BlockHandler initialisation is a constant expression (#4891) | Tiger Wang | 2020-09-20 | 1 | -4/+2 |
| | | | | | | | | | | | | | * 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> | ||||
* | Add more statistic tracking (#4837) | 12xx12 | 2020-09-05 | 1 | -5/+30 |
| | | | | | | | | + 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> | ||||
* | Make StatSerializer a namespace | Tiger Wang | 2020-08-21 | 1 | -4/+2 |
| | |||||
* | Add Statistics and Achievements for newer Network standards | 12xx12 | 2020-08-19 | 1 | -56/+57 |
| | |||||
* | OnBroken/OnPlaced are for entity actions | Tiger Wang | 2020-08-04 | 1 | -8/+6 |
| | | | | | | * Call OnPlaced/OnBroken in PlaceBlock/DigBlock - Remove unused Placing/Breaking handlers * Have the blockhandler's Check handle neighbour updating, instead of QueueTickBlockNeighbors | ||||
* | Precompile unordered_map/set | Tiger Wang | 2020-07-19 | 1 | -2/+0 |
| | | | | | | + Add inclusions to Globals.h * Sort Globals.h - Remove sys/stat.h from Globals.h | ||||
* | Introduce recipe book functionality (#4493) | Tobias Wilken | 2020-07-14 | 1 | -10/+92 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | -9/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate | ||||
* | Update submodules (#4727) | peterbell10 | 2020-05-09 | 1 | -6/+8 |
| | | | | | | | | | | | | | Closes #4708 This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed: * jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced with some helper functions in JsonUtils.cpp * SQLiteCpp changed how it builds with external sqlite libraries, now expecting them to be installed. The simplest path was to remove sqlite from cuberite's submodule and just use SQLiteCpp's internal version. | ||||
* | Remove old Android leftovers (#4722) | Mat | 2020-05-07 | 1 | -2/+2 |
| | |||||
* | Improve entity position updates (#4701) | Tiger Wang | 2020-05-04 | 1 | -21/+19 |
| | | | | | | | | | * 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 | ||||
* | Add cEntity::GetBoundingBox, and use where appropriate. (#4711) | Alexander Harkness | 2020-05-03 | 1 | -1/+1 |
| | | | * Add cEntity::GetBoundingBox, and use where appropriate. | ||||
* | MoveToWorld must always be provided a world | Tiger Wang | 2020-04-18 | 1 | -1/+1 |
| | |||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -10/+10 |
| | |||||
* | Replace buckets to the selected hotbar slot, rather than the first available. (#4580) | Alexander Harkness | 2020-04-02 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Fix explosion knockback issues and tweak knockback strength (#4590) | peterbell10 | 2020-04-02 | 1 | -1/+1 |
| | |||||
* | Lua API for spectating entities (#4518) | Mat | 2020-03-30 | 1 | -2/+18 |
| | |||||
* | Send respawn packet by default (#4540) | Mat | 2020-03-24 | 1 | -1/+1 |
| | |||||
* | Manual merge of #4498. | Alexander Harkness | 2020-03-23 | 1 | -1/+6 |
| | | | | | | Credit to @MeMuXin Closes #4498 | ||||
* | Don't remove items twice (#4524) | Mat | 2020-03-22 | 1 | -4/+0 |
| | | | * Don't remove items twice | ||||
* | Improvements to knockback (#4504) | Mat | 2020-03-19 | 1 | -4/+0 |
| | | | | | * Improvements to knockback * SetSpeed for explosions * Improve code consistency | ||||
* | Attached entities can't enter portals (#4484) | Mat | 2020-03-05 | 1 | -0/+3 |
| | | | | | | * Attached entities can't enter portals * Whitespace fixes | ||||
* | Stabilise MoveToWorld (#4004) | Mat | 2020-03-05 | 1 | -71/+49 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Fixed MSVC warnings (#4400) | Mattes D | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | Fix mobs targeting dead players (#4344) | Julius Oeftiger | 2019-08-16 | 1 | -1/+1 |
| | | | | Fixes #4340 | ||||
* | Fix building with clang 8.0 (#4346) | Bond-009 | 2019-08-11 | 1 | -2/+2 |
| | |||||
* | Make Nether portals spawn the player inside of them (#4325) | DaPorkchop_ | 2019-04-18 | 1 | -2/+2 |
| | | | | | | Currently the player is spawned immediately in front of them. Simply changing `cNetherPortalScanner::OutOffset` to 0.5 wasn't enough, as the player would always be spawned on top of the portal, however checking for non-solid blocks instead of air fixes this. | ||||
* | Add a formatting function for Vector3 (#4282) | peterbell10 | 2018-09-24 | 1 | -4/+4 |
| | | | | | | | | | | * Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG | ||||
* | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 2018-08-29 | 1 | -2/+2 |
| | | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work. | ||||
* | solve new player login crash issue (#4285) | changyong guo | 2018-08-17 | 1 | -1/+0 |
| | | | | currently if new player login, server will crash during send player ability to client. this pull request solve this issue. | ||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -1/+4 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | cPawn: Reset last ground height in ResetPosition (#4261) | peterbell10 | 2018-07-23 | 1 | -1/+0 |
| | | | | | Prevents fall damage after teleporting/portaling to a lower height. Fixes #3457 | ||||
* | Rewrite explosion knock back (#4251) | changyong guo | 2018-07-23 | 1 | -0/+28 |
| | | | | | | | 1. Base knockback on an entity's bounding box intersection with the explosion 2. Armor blast protection reduces knockback 3. Don't apply knockback to players flying in creative mode Fixes #4139 | ||||
* | Keep players in gmNotSet (#4248) | changyong guo | 2018-07-23 | 1 | -27/+29 |
| | | | | 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/+17 |
| | | | | | | | 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/+55 |
| | | | | | Fixes #4177 This is a breaking change to existing Cuberite permissions settings. | ||||
* | Add unbreaking for armor (#4220) | Bond-009 | 2018-07-13 | 1 | -22/+33 |
| | | | | | | Ref: minecraft.gamepedia.com/Enchanting#Unbreaking #915 | ||||
* | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 2018-05-02 | 1 | -4/+4 |
| | | | | | | | * 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. | ||||
* | Update m_LastSentPosition in TeleportToCoords and DoMoveToWorld. (#4211) | peterbell10 | 2018-04-11 | 1 | -2/+2 |
| | |||||
* | Deal with covered switches consistently (#4161) | peterbell10 | 2018-02-05 | 1 | -29/+24 |
| | | | | | | | * Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message() | ||||
* | Rename cEntity swim states (#3996) | Alexander Harkness | 2018-01-14 | 1 | -9/+1 |
| | | | | | | | | | | * Replace cEntity:m_IsSubmerged with m_IsHeadInWater * Replace cEntity:m_IsSwimming with m_IsInWater * Add API documentation for new symbols * Apply SetSwimState to all entities, not just mobs and players * Pickups now use IsOnFire to check if they are on fire before destruction Fixes #3987 | ||||
* | Golden Apple Fixes (#4130) | Alexander Harkness | 2018-01-06 | 1 | -0/+4 |
| | | | | | | | | | * Do not remove food item until player has been fed * Golden apples now ignore hunger when eating * Removed EnchantedGoldenApple recipe, as it was removed in 1.9 Reference: https://minecraft.gamepedia.com/1.9#Items_2 * Adjust golden apple effects, as they were changed in 1.9 Reference: https://minecraft.gamepedia.com/1.9#Items_2 | ||||
* | Item durability loss now depends on the item used. (#4123) | Alexander Harkness | 2018-01-05 | 1 | -19/+24 |
| | | | | | | | Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119 | ||||
* | Implement horse inventory (#4053) | peterbell10 | 2017-10-21 | 1 | -0/+30 |
| | | | | | | | | | | * Implement horse inventory * Fix sign conversions * Add API doc for ItemCategory::IsHorseArmor * Improve HandleOpenHorseInventory comment and style fixes. | ||||
* | Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) | Lane Kolbly | 2017-09-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 1 | -56/+17 |
| | |||||
* | Made world data paths adjustable, and added API to temporarily disable saving chunks to disk. (#3912) | Lane Kolbly | 2017-09-07 | 1 | -2/+2 |
| | |||||
* | Switched player statistic store to save with UUID filenames. (#4002) | Lane Kolbly | 2017-09-07 | 1 | -2/+2 |
| | |||||
* | Fire effect now shown for creative and spectator mode players (#3998) | Alexander Harkness | 2017-09-07 | 1 | -18/+0 |
| | | | | | | | | * Fire effect now shown for creative and spectator mode players Fixes #3989 * Add documentation for IsFireproof | ||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -17/+56 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -56/+17 |
| | |||||
* | Add cUUID class (#3871) | peterbell10 | 2017-08-25 | 1 | -7/+6 |
| | |||||
* | Minor changes (#3909) | mathiascode | 2017-08-24 | 1 | -1/+1 |
| | |||||
* | Changed MoveToWorld to ScheduleMoveToWorld in cPlayer::Respawn (#3922) | Lane Kolbly | 2017-08-18 | 1 | -1/+1 |
| | | | | | | * Changed MoveToWorld to ScheduleMoveToWorld - Removed empty line | ||||
* | Merge pull request #3489 from cuberite/EntityOwnership | Tiger Wang | 2017-08-18 | 1 | -5/+9 |
|\ | | | | | * Changed entity ownership model to use smart pointers | ||||
| * | Changed entity ownership model to use smart pointers | Tiger Wang | 2017-08-07 | 1 | -5/+9 |
| | | |||||
* | | Add cLuaWindow OnClicked Callback (#3901) | Lane Kolbly | 2017-08-17 | 1 | -0/+6 |
|/ | |||||
* | Implement invisibility effect | peterbell10 | 2017-08-03 | 1 | -4/+6 |
| | |||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 1 | -2/+0 |
| | |||||
* | Removed double includes (#3885) | Lukas Pioch | 2017-08-02 | 1 | -1/+0 |
| | |||||
* | cBlockHandler: take player by ref | peterbell10 | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | cWorld::SendBlockTo take player by ref | peterbell10 | 2017-08-01 | 1 | -2/+2 |
| | |||||
* | Check for intersection between placed blocks and entities. (#3850) | Lane Kolbly | 2017-07-28 | 1 | -0/+95 |
| | | | | | | | | | | | | | * Check for intersection between placed blocks and entities. + Implemented GetPlacementCollisionBox, to permit custom placement collision boxes for blocks. * Factored block-entity placement checking into another function in cPlayer. - Removed vector min/max functions * Use GetWorld to get the world in DoesPlacingBlocksIntersectEntity. + Added block height checks, allow different cEntity subclasses to decide whether they will prevent block placement. | ||||
* | Tentative fix for player-limit race condition (#3862) | Tiger Wang | 2017-07-28 | 1 | -5/+0 |
| | | | | | | | | | | * Attempts to fix #2257 Derived from d233e9843148313c71fbaba96ccff660e47b07b1 * Changed player count type to int * Clarified certain actions | ||||
* | Updated armor cover calculation. (#3858) | Lane Kolbly | 2017-07-23 | 1 | -11/+16 |
| | | | | | | | | * Updated armor damage calculation. + Added lua docs, added casts from float to int. * Changed verbage in docstring and comment. | ||||
* | Implemented draggingitem API. | Lane Kolbly | 2017-07-10 | 1 | -0/+13 |
| | |||||
* | Added armor durability reduction when player is attacked. | Lane Kolbly | 2017-07-02 | 1 | -0/+12 |
| | |||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 1 | -7/+6 |
| | |||||
* | Fixes problems with windows: | Lukas Pioch | 2017-06-05 | 1 | -5/+5 |
| | | | | | - Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers | ||||
* | Add rank prefix and suffix to player name in chat (#3730) | Heiko Hund | 2017-05-27 | 1 | -0/+18 |
| | | | Fixes issue #1721 | ||||
* | Clang 5.0 fixes | Lukas Pioch | 2017-05-21 | 1 | -2/+3 |
| | | | | | - Added override keyword - Removed inherited member variables | ||||
* | Detach player from entity / object if he is dead | Lukas Pioch | 2017-03-19 | 1 | -0/+4 |
| | |||||
* | Updated sounds and effect IDs (#3422) | mathiascode | 2017-02-15 | 1 | -1/+1 |
| | |||||
* | Track skin part and main hand preferences (#3498) | Pokechu22 | 2017-01-03 | 1 | -1/+23 |
| | |||||
* | Updated links and docs (#3488) | mathiascode | 2016-12-19 | 1 | -1/+1 |
| | |||||
* | Removed ClientHandle.h dependencies from common headers. | Mattes D | 2016-11-18 | 1 | -2/+121 |
| | |||||
* | Anticheat fastbreak (#3411) | mohe2015 | 2016-11-06 | 1 | -0/+92 |
| | | | Added block hardness checks when breaking blocks. | ||||
* | Spectators added (#2852) | bibo38 | 2016-10-12 | 1 | -0/+69 |
| | |||||
* | Initialize m_bIsInBed in cPlayer constructor. | sgtbigman | 2016-10-08 | 1 | -0/+1 |
| | | | | | This fixes an issue where the return value from the IsInBed method of the cPlayer class in the lua API would not return a boolean value. | ||||
* | Improve cPlayer::DoMoveToWorld (#3113) | LogicParrot | 2016-09-03 | 1 | -36/+43 |
| | |||||
* | Proper respawn packets on dimension travel | LogicParrot | 2016-08-29 | 1 | -0/+9 |
| | |||||
* | Delay EntityChangedWorld players' callback until Entity fully linked to world (#3330) | ElNounch | 2016-08-22 | 1 | -2/+1 |
| | | | | Otherwise, some API calls just don't seem to happen .gitignore tweak for test executables | ||||
* | Fixed fall damage | Tiger Wang | 2016-06-02 | 1 | -1/+1 |
| | | | | * Fixes #3216 | ||||
* | Fixed death on teleportation or leaving Minecart (#3181) | LogicParrot | 2016-05-03 | 1 | -5/+9 |
| | |||||
* | Fix crash on world travel (#3180) | LogicParrot | 2016-05-03 | 1 | -1/+1 |
| | |||||
* | Fix occasional freeze bug | LogicParrot | 2016-04-13 | 1 | -35/+36 |
| | |||||
* | Minor improvements to player freeze | LogicParrot | 2016-04-05 | 1 | -1/+1 |
| | |||||
* | Improved player freeze code | LogicParrot | 2016-04-05 | 1 | -44/+61 |
| | |||||
* | Players never fall through unloaded chunks or end up inside solids on teleport | LogicParrot | 2016-03-31 | 1 | -27/+80 |
| | |||||
* | Player death crashfix | LogicParrot | 2016-03-31 | 1 | -2/+4 |
| | |||||
* | Bed's world is now saved | LogicParrot | 2016-03-29 | 1 | -2/+38 |
| | |||||
* | Proper entity destruction in non-ticking chunks | LogicParrot | 2016-02-19 | 1 | -27/+45 |
| | |||||
* | remove cWorld::createAndInitializeWorld | LogicParrot | 2016-02-08 | 1 | -1/+1 |
| | |||||
* | cMonster::m_Target safety across worlds | LogicParrot | 2016-02-03 | 1 | -1/+7 |
| | |||||
* | Fixed cChunk::m_Entities corruption upon world travel | LogicParrot | 2016-02-02 | 1 | -4/+14 |
| | |||||
* | Improved tamed wolf pack cooperation and projectile reactions | LogicParrot | 2016-01-22 | 1 | -7/+9 |
| | |||||
* | Fixed wrong knockback direction after explosion damage | LogicParrot | 2016-01-16 | 1 | -0/+4 |
| | |||||
* | Fix crash when tamed wolf is hit by arrows | LogicParrot | 2016-01-16 | 1 | -4/+7 |
| | |||||
* | Merge pull request #2875 from LogicParrot/fallDamage | LogicParrot | 2016-01-16 | 1 | -1/+5 |
|\ | | | | | Fix fall damage crash when tamed wolves neabry | ||||
| * | Fix fall damage crash when tamed wolves neabry | LogicParrot | 2016-01-16 | 1 | -1/+5 |
| | | |||||
* | | Limited the username length to 16 characters. | bibo38 | 2016-01-13 | 1 | -0/+2 |
|/ | | | | | | 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 | -0/+39 |
| | |||||
* | Fixed Clang warnings. | Mattes D | 2016-01-06 | 1 | -1/+9 |
| | |||||
* | Freeze player until chunk is loaded | Safwat Halaby | 2015-12-25 | 1 | -0/+83 |
| | |||||
* | blockheight mechanism | Gargaj | 2015-12-13 | 1 | -97/+0 |
| | |||||
* | Avoid reading out of bounds | Gargaj | 2015-11-10 | 1 | -4/+14 |
| | | | | as per https://github.com/cuberite/cuberite/pull/2630#discussion_r44377411 | ||||
* | fix shallow water + add future code for liquid fall dampening | Gargaj | 2015-11-10 | 1 | -3/+11 |
| | |||||
* | Debug mode: Fixed assertion, if player below y < 0 | Lukas Pioch | 2015-10-31 | 1 | -3/+3 |
| | |||||
* | Spectator Mode doesn't fly[FIX] | OdnetninI | 2015-10-05 | 1 | -0/+1 |
| | |||||
* | Maked it compileable for clang-3.7 | Lukas Pioch | 2015-09-25 | 1 | -2/+2 |
| | |||||
* | Namespace qualify std::abs, use explicit cast | Matti Hänninen | 2015-08-21 | 1 | -1/+1 |
| | | | | | | | | | | Without 'std' namespace qualification Clang (at least Apple Clang 6.1) seems to resolve 'abs' to the 'abs' function in 'cstdlib'. This in turn triggers the 'absolute-value' warning which in turn is promoted to error. Implicit casts trigger 'old-style-cast' warnings which are promoted to errors. | ||||
* | Fixed food drain bugs | Tiger Wang | 2015-08-20 | 1 | -160/+98 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -22/+22 |
| | |||||
* | Merge pull request #2349 from cuberite/maps | Tiger Wang | 2015-07-15 | 1 | -0/+5 |
|\ | | | | | Improved maps | ||||
| * | Improved maps | Tiger Wang | 2015-07-14 | 1 | -0/+5 |
| | | |||||
* | | Fix food drain on movement. | LO1ZB | 2015-07-14 | 1 | -11/+10 |
|/ | |||||
* | Added HOOK_KILLED | Nounours Heureux | 2015-06-13 | 1 | -6/+19 |
| | |||||
* | Implemented nether portal scanning code. | Lane Kolbly | 2015-06-10 | 1 | -4/+3 |
| | |||||
* | Fix gamemode not changing properly. | Alexander Harkness | 2015-05-23 | 1 | -64/+71 |
| | | | | Should fix #604 | ||||
* | Merge pull request #2103 from beeduck/Issue1980 | Alexander Harkness | 2015-05-23 | 1 | -0/+9 |
|\ | | | | | Fixed players head visible when in spectator mode | ||||
| * | Fixed players head visible when in spectator mode | b33duck | 2015-05-22 | 1 | -0/+9 |
| | | |||||
* | | Merge pull request #2104 from beeduck/Issue2053 | Alexander Harkness | 2015-05-23 | 1 | -0/+7 |
|\ \ | | | | | | | Fix for players falling through world when loading in as spectator | ||||
| * | | Added a fix for players falling through the world when connecting in spectator mode | b33duck | 2015-05-23 | 1 | -0/+7 |
| |/ | |||||
* | | Renamed hook HOOK_ENTITY_CHANGE_WORLD | Lukas Pioch | 2015-05-21 | 1 | -2/+3 |
| | | |||||
* | | Added hooks HOOK_ENTITY_CHANGE_WORLD and HOOK_ENTITY_CHANGED_WORLD | Lukas Pioch | 2015-05-18 | 1 | -0/+10 |
|/ | | | | Fixes #1435. | ||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -6/+6 |
| | | | | Spaces around some operators are checked. | ||||
* | cPlayer now checks restrictions. | Mattes D | 2015-04-25 | 1 | -6/+24 |
| | | | | Fixes #1331. | ||||
* | Fixed players not appearing/disappearing when traveling to a new world. | STRWarrior | 2015-04-03 | 1 | -0/+6 |
| | |||||
* | Merge branch 'master' into Inventory | Howaner | 2015-03-09 | 1 | -50/+55 |
|\ | |||||
| * | Added OnTeleportEntity hook for plugins. | joshi07 | 2015-03-05 | 1 | -10/+15 |
| | | | | | | | | | | Plugins may or may not allow teleport to the new position. Updated the HookNotify plugin with it. | ||||
| * | Changed C-styled casts to static_cast and removed unneeded casts | DevToaster | 2015-02-28 | 1 | -34/+34 |
| | | |||||
| * | modified: src/Entities/Player.cpp | DevToaster | 2015-02-28 | 1 | -17/+17 |
| | | | | | | | | modified: src/Entities/Player.h | ||||
* | | Merge branch 'master' into Inventory | Howaner | 2015-02-06 | 1 | -7/+17 |
|\| | |||||
| * | Converted cServer to use the cNetwork API. | Mattes D | 2015-01-27 | 1 | -7/+17 |
| | | |||||
* | | Merge branch 'master' into Inventory | Howaner | 2015-01-25 | 1 | -1/+97 |
|\| | |||||
| * | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -1/+1 |
| | | | | | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
| * | Replaced a std::hash specialization with explicit type. | Mattes D | 2014-12-24 | 1 | -1/+1 |
| | | | | | | | | std::hash is problematic in gcc / clang, one has a class, the other a struct. | ||||
| * | Refactored all player block placing to go through hooks. | Mattes D | 2014-12-24 | 1 | -0/+96 |
| | | | | | | | | Fixes #1618. | ||||
* | | Merge branch 'master' into Inventory | Howaner | 2014-12-17 | 1 | -0/+6 |
|\| | |||||
| * | Added braces to 'if' according to the code guidelines | gushromp | 2014-12-15 | 1 | -0/+2 |
| | | |||||
| * | Updated cPlayer::DoMoveToWorld to send target world's weather info to Player | blashyrk | 2014-12-15 | 1 | -0/+4 |
| | | |||||
* | | Own classes for all windows. | Howaner | 2014-12-13 | 1 | -1/+1 |
|/ | |||||
* | Merged branch 'origin/master' into c++11. | Mattes D | 2014-12-04 | 1 | -6/+11 |
|\ | |||||
| * | Updated whitespace in comment, changed conditional to logical equivalent due to popular demand | Jonathan Fabian | 2014-12-04 | 1 | -2/+2 |
| | | |||||
| * | Fix Spaces to Tabs | Jonathan Fabian | 2014-12-03 | 1 | -5/+5 |
| | | |||||
| * | Add missing IsSpectatorMode() checks in Player.cpp, make sure that player is flying when spawned otherwise it will fall through the world. | Jonathan Fabian | 2014-12-03 | 1 | -6/+11 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into c++11 | Tiger Wang | 2014-11-23 | 1 | -0/+3 |
|\| | | | | | | | | | | | Conflicts: src/Noise/Noise.h src/World.h | ||||
| * | Renamed GetSettedViewDistance() to GetRequestedViewDistance() | Howaner | 2014-11-15 | 1 | -1/+1 |
| | | |||||
| * | Use m_UsedViewDistance and m_SetViewDistance. | Howaner | 2014-11-14 | 1 | -0/+3 |
| | | |||||
* | | Compilation fixes | Tiger Wang | 2014-11-23 | 1 | -7/+5 |
| | | |||||
* | | Merged branch 'master' into c++11. | Mattes D | 2014-10-24 | 1 | -2/+1 |
|\| | |||||
| * | Merge pull request #1565 from mc-server/MergedIniFile | Mattes D | 2014-10-24 | 1 | -1/+1 |
| |\ | | | | | | | Merged ini file | ||||
| | * | Merged IniFile into main MCS sources. | Mattes D | 2014-10-23 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch 'master' into ChunkLoader | Howaner | 2014-10-23 | 1 | -30/+30 |
| |\| | | | | | | | | | | | | | | | | | | | Conflicts: src/ChunkSender.cpp src/ClientHandle.cpp src/World.h | ||||
| | * | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -30/+30 |
| | | | |||||
| * | | Merge branch 'master' into ChunkLoader | Howaner | 2014-10-21 | 1 | -7/+7 |
| |\| | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp | ||||
| * | | Optimized chunk loader | Howaner | 2014-10-02 | 1 | -1/+0 |
| | | | |||||
* | | | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-20 | 1 | -30/+30 |
| | | | |||||
* | | | Migrated cSleep and cTimer to std::chrono | Tiger Wang | 2014-10-20 | 1 | -8/+4 |
| |/ |/| | |||||
* | | Merge pull request #1502 from mc-server/furnaces | Tiger Wang | 2014-10-18 | 1 | -6/+6 |
|\ \ | | | | | | | Improved furnaces | ||||
| * | | Fixed failure for cRankManager to restart | Tiger Wang | 2014-10-18 | 1 | -6/+6 |
| |/ | |||||
* / | Functions in cPluginManager get references instead of pointers. | Mattes D | 2014-10-15 | 1 | -1/+1 |
|/ | |||||
* | cRankManager: Added GetAllPlayers() and GetPlayerName() | Howaner | 2014-09-28 | 1 | -0/+5 |
| | |||||
* | Merge branch 'master' into Fixes | Howaner | 2014-09-26 | 1 | -2/+2 |
|\ | |||||
| * | Merge branch 'master' into redstoneTests | Tycho | 2014-09-25 | 1 | -7/+73 |
| |\ | | | | | | | | | | | | | Conflicts: src/Mobs/Monster.h | ||||
| * \ | Merge branch 'master' into redstoneTests | Tycho | 2014-09-17 | 1 | -9/+0 |
| |\ \ | | | | | | | | | | | | | | | | | Conflicts: src/Blocks/ChunkInterface.h | ||||
| * | | | Added first test to show the object can be created | Tycho | 2014-09-17 | 1 | -2/+2 |
| | | | | |||||
* | | | | Fixed players custom name in 1.8 | Howaner | 2014-09-26 | 1 | -3/+4 |
| |_|/ |/| | | |||||
* | | | Merge branch 'master' into EntityCustomName | Howaner | 2014-09-23 | 1 | -19/+35 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -5/+24 |
| |\ \ \ | |||||
| | * | | | Fixed minor style issues. | madmaxoft | 2014-09-17 | 1 | -2/+2 |
| | | | | | |||||
| | * | | | Implementing Spectator Mode | nesco | 2014-09-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Adding some proprieties of the spectator game mode in player.cpp : - Players can't toss items - Players can't touch the ground | ||||
| | * | | | Preparing 1.8 update | nesco | 2014-09-17 | 1 | -5/+15 |
| | | | | | |||||
| | * | | | Preparing 1.8 update | nesco | 2014-09-16 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | Partially added Spectator gamemode | ||||
| | * | | | Pre 1.8 release | nesco | 2014-09-16 | 1 | -0/+8 |
| | | |/ | | |/| | | | | | Added Spectator gamemode | ||||
| * | | | Derp | Howaner | 2014-09-18 | 1 | -1/+1 |
| | | | | |||||
| * | | | Exported player list states to extra functions. | Howaner | 2014-09-18 | 1 | -2/+2 |
| | | | | |||||
| * | | | Merge branch 'master' into 1.8-Protocol | Howaner | 2014-09-14 | 1 | -9/+0 |
| |\| | | |||||
| | * | | Added extra mushroom handler. | Howaner | 2014-09-12 | 1 | -7/+0 |
| | | | | |||||
| | * | | Merge branch 'master' into Effects | Howaner | 2014-09-12 | 1 | -1/+5 |
| | |\| | |||||
| | * | | Merge branch 'master' into Effects | Howaner | 2014-09-02 | 1 | -0/+23 |
| | |\ \ | |||||
| | * | | | Fixed potion removing in creative mode. | Howaner | 2014-08-30 | 1 | -4/+2 |
| | | | | | |||||
| * | | | | Added the player list to the 1.8 protocol. | Howaner | 2014-09-09 | 1 | -1/+3 |
| | |_|/ | |/| | | |||||
| * | | | Fixed player spawning in unknown world. | Mattes D | 2014-09-06 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | This may happen if the admin removes a world. | ||||
| * | | | Fixed security: Player cannot spawn in a disabled world. | Mattes D | 2014-09-05 | 1 | -1/+1 |
| | |/ | |/| | |||||
* / | | Added SetCustomName() to players. | Howaner | 2014-09-02 | 1 | -1/+46 |
|/ / | |||||
* | | Merge remote-tracking branch 'Hircine/Enchantments' | madmaxoft | 2014-09-01 | 1 | -0/+23 |
|\ \ | |/ |/| | |||||
| * | Fixed style | Jaume Aloy | 2014-08-31 | 1 | -0/+3 |
| | | |||||
| * | Protection Enchantments, some fixes | Jaume Aloy | 2014-08-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | - Protection echantments (fire, blast, feather falling, protection and projectile). It isn't finished, add secondary effects and optimize the code. - Removed some brackets. - Silk touch fixed. | ||||
| * | Added more enchantments and some fixes | Jaume Aloy | 2014-08-19 | 1 | -0/+20 |
| | | | | | | | | | | | | | | - Removed Debug messages - Added Punch enchantment effect - Added Silk Touch enchantment - Added Unbreaking enchantment effect | ||||
* | | RankMgr: Default rank is applied to players without any rank. | Mattes D | 2014-08-24 | 1 | -1/+5 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into Ranks | Mattes D | 2014-08-22 | 1 | -4/+13 |
|\ \ | |||||
| * | | Player: Silenced a few type conversion warnings. | Mattes D | 2014-08-18 | 1 | -2/+2 |
| | | | |||||
| * | | Player saving creates the "players" folder, if needed. | Mattes D | 2014-08-17 | 1 | -0/+1 |
| |/ | | | | | | | Fixes #1268. | ||||
| * | Better OnPlayerMoving hook. | Howaner | 2014-08-16 | 1 | -2/+10 |
| | | |||||
* | | Removed cGroup and cGroupManager. | Mattes D | 2014-08-21 | 1 | -2/+0 |
| | | |||||
* | | cPlayer reads ranks from cRankManager. | Mattes D | 2014-08-19 | 1 | -201/+55 |
|/ | |||||
* | Fixed tolua error with static initialization | archshift | 2014-08-11 | 1 | -0/+9 |
| | |||||
* | Player.cpp: change unnamed enum to constant integers | archshift | 2014-08-11 | 1 | -1/+1 |
| | |||||
* | Spaces | Tycho | 2014-08-10 | 1 | -1/+1 |
| | |||||
* | Fixed potential crash in Player.cpp | Tycho | 2014-08-10 | 1 | -0/+4 |
| | | | | | Fixes CID 71780 If ShouldBroadcastDeathMessages is false the pointer would fall through to a check agaist it being a player | ||||
* | Fixed swing arm animation when you ate. | Howaner | 2014-08-10 | 1 | -4/+2 |
| | |||||
* | Code reduction and clarity fixes | archshift | 2014-08-03 | 1 | -10/+7 |
| | |||||
* | Removed unused cPlayer::FoodPoison function | archshift | 2014-08-03 | 1 | -9/+0 |
| | |||||
* | Merge pull request #1255 from mc-server/NameToUUID | Mattes D | 2014-08-01 | 1 | -5/+8 |
|\ | | | | | Name to UUID | ||||
| * | Merged branch 'master' into NameToUUID. | madmaxoft | 2014-07-31 | 1 | -44/+50 |
| |\ | |||||
| * | | Fixed UUIDs handling in cPlayer. | madmaxoft | 2014-07-31 | 1 | -5/+8 |
| | | | | | | | | | | | | The loading expected dashed UUIDs, MCS uses short UUIDs throughout. | ||||
* | | | Fixed hunger bugs, Implemented golden apple, added jump statistic, added correct food effects. | Howaner | 2014-07-31 | 1 | -17/+36 |
| |/ |/| | |||||
* | | Merged branch 'howaner/Options'. | madmaxoft | 2014-07-30 | 1 | -6/+8 |
|\ \ | |||||
| * | | Add "Broadcasting" settings to world.ini | Howaner | 2014-07-27 | 1 | -6/+8 |
| |/ | |||||
* | | Slight cleanup after portals | Tiger Wang | 2014-07-29 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-07-29 | 1 | -2/+2 |
|\ \ | | | | | | | | | | | | | Conflicts: src/World.h | ||||
| * | | Fix item durability. | Howaner | 2014-07-23 | 1 | -2/+2 |
| |/ | | | | | Fixes #1181 | ||||
* | | Suggestions | Tiger Wang | 2014-07-23 | 1 | -1/+1 |
| | | |||||
* | | Speed improvements, crash fixes, & self-suggestions | Tiger Wang | 2014-07-22 | 1 | -2/+4 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-07-22 | 1 | -64/+62 |
|\| | | | | | | | | | | | | | | | 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 | -54/+54 |
| | | |||||
| * | Style: Normalized spaces after if, for and while. | madmaxoft | 2014-07-21 | 1 | -28/+28 |
| | | |||||
| * | Removed references to deprecated cChatColor::Color | archshift | 2014-07-19 | 1 | -1/+1 |
| | | |||||
| * | Code style: Fixed braces on separate lines. | madmaxoft | 2014-07-19 | 1 | -1/+2 |
| | | |||||
| * | Fixed clamping issues | archshift | 2014-07-19 | 1 | -4/+1 |
| | | |||||
* | | Suggestions | Tiger Wang | 2014-07-21 | 1 | -20/+5 |
| | | |||||
* | | Bug and crash fixes | Tiger Wang | 2014-07-20 | 1 | -18/+17 |
| | | | | | | | | | | | | | | | | | | * 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 | -32/+8 |
| | | |||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-07-18 | 1 | -162/+274 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Moved ChatColor.h out of defines where it was not needed | archshift | 2014-07-18 | 1 | -0/+1 |
| | | |||||
| * | Fixed NULL being passed instead of a double to AddEntityEffect | archshift | 2014-07-17 | 1 | -1/+1 |
| | | |||||
| * | Fixed tabs used for alignment. | madmaxoft | 2014-07-17 | 1 | -4/+4 |
| | | |||||
| * | More trailing whitespace fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | | |||||
| * | Player.cpp: Fixed compile error | archshift | 2014-07-17 | 1 | -1/+1 |
| | | |||||
| * | Player.cpp: Added Wither death message | archshift | 2014-07-17 | 1 | -0/+1 |
| | | |||||
| * | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -5/+5 |
| | | |||||
| * | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -21/+21 |
| | | | | | | | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign. | ||||
| * | Merge branch 'master' into potions | madmaxoft | 2014-07-17 | 1 | -7/+28 |
| |\ | |||||
| | * | Merge pull request #1193 from mc-server/deathmessages | Mattes D | 2014-07-17 | 1 | -7/+28 |
| | |\ | | | | | | | | | Death messages | ||||
| | | * | Tailored death messages | Tiger Wang | 2014-07-04 | 1 | -7/+28 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'origin/master' into potions | madmaxoft | 2014-07-17 | 1 | -2/+11 |
| |\| | | |||||
| | * | | Another fix for excessive food drain | Tiger Wang | 2014-07-16 | 1 | -0/+9 |
| | | | | |||||
| | * | | Merge pull request #1192 from mc-server/skinuuid | Mattes D | 2014-07-16 | 1 | -2/+2 |
| | |\ \ | | | | | | | | | | | Skins | ||||
| | | * | | Player properties are now retrieved | Tiger Wang | 2014-07-14 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Merge branch 'master' into potions | madmaxoft | 2014-07-15 | 1 | -1/+1 |
| |\| | | | |||||
| | * | | | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 2014-07-13 | 1 | -1/+1 |
| | |/ / | |||||
| * | | | Merge remote-tracking branch 'origin/master' into potions | archshift | 2014-07-12 | 1 | -72/+142 |
| |\| | | |||||
| | * | | Simplified the player data loading. | madmaxoft | 2014-07-11 | 1 | -9/+8 |
| | | | | |||||
| | * | | Player data filenames are based on UUID. | madmaxoft | 2014-07-11 | 1 | -54/+111 |
| | | | | |||||
| | * | | Fixed a missing return value. | madmaxoft | 2014-07-11 | 1 | -0/+2 |
| | | | | |||||
| | * | | Preparation for player UUID-based storage: LoadFromFile() | madmaxoft | 2014-07-11 | 1 | -21/+33 |
| | |/ | |||||
| * | | Merge remote-tracking branch 'origin/master' into potions | archshift | 2014-07-10 | 1 | -42/+60 |
| |\| | | | | | | | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp | ||||
| | * | Merge pull request #1138 from mc-server/enderchest | Mattes D | 2014-07-02 | 1 | -13/+20 |
| | |\ | | | | | | | | | Properly implemented enderchests | ||||
| | | * | Suggestion | Tiger Wang | 2014-07-02 | 1 | -13/+13 |
| | | | | |||||
| | | * | Properly implemented enderchests | Tiger Wang | 2014-06-29 | 1 | -0/+7 |
| | | | | |||||
| | * | | Merge remote-tracking branch 'origin/master' | Tiger Wang | 2014-07-02 | 1 | -27/+25 |
| | |\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Entities/Player.cpp | ||||
| | | * | | Fixes. | Howaner | 2014-06-30 | 1 | -3/+3 |
| | | | | | |||||
| | | * | | Add new hook: HOOK_PLAYER_FOOD_LEVEL_CHANGE | Howaner | 2014-06-30 | 1 | -26/+24 |
| | | | | | |||||
| | * | | | Fixed player teleport food drain | Tiger Wang | 2014-07-02 | 1 | -1/+9 |
| | |/ / | |||||
| | * / | Fixed respawning | Tiger Wang | 2014-06-29 | 1 | -1/+1 |
| | |/ | | | | | | | | | | * Fixes #1103 | ||||
| | * | Likely fixed too quick food depletion | Tiger Wang | 2014-06-28 | 1 | -1/+1 |
| | | | | | | | | | | | | * Fixes FS427 properly, hopefully | ||||
| | * | Merge branch 'master' into Bow | Howaner | 2014-06-26 | 1 | -0/+1 |
| | |\ | |||||
| | * | | Add bow charging animation | Howaner | 2014-06-16 | 1 | -1/+5 |
| | | | | |||||
| * | | | EntityEffects.x -> EntityEffect.x, Object-Oriented effects | archshift | 2014-06-19 | 1 | -37/+0 |
| | | | | | | | | | | | | | | | | Changed effect map to take a pointer of the effect as a result. | ||||
| * | | | Entity Effects: Clarified user, added it to AddEntityEffect | archshift | 2014-06-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Added second AddEntityEffect with a pass-by-value of the class. | ||||
| * | | | Changed the AddEntityEffect() params for easier calls. | madmaxoft | 2014-06-17 | 1 | -1/+1 |
| | | | | |||||
| * | | | Pawn: renamed HandleEntityEffects to HandleEntityEffect | archshift | 2014-06-17 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | Exported entity effect functions for ToLua and documented them in APIDesc.lua | ||||
| * | | | Entity effect type: use 'eff' as a prefix instead of 'ef' | archshift | 2014-06-17 | 1 | -6/+6 |
| | | | | |||||
| * | | | Implemented milk, added documentation to Pawn.h | archshift | 2014-06-17 | 1 | -1/+1 |
| | | | | |||||
| * | | | Pawn.cpp: fixed effect iterator BAD_ACCESS | archshift | 2014-06-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Erasure was occurring before the iterator increased, causing a bad access. Solved by storing map pairs in variables and manually updating iterator before erasure. Fixed mix-up in function arguments on food poisoning | ||||
| * | | | EntityEffect: read-only getters, added user and distance modifier fields | archshift | 2014-06-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | User: the pawn that uses or produces the entity effect (drinks/throws a potion) Distance modifier: the potency modifier from splash potion effectivity radius | ||||
| * | | | Player: Removed food-poisoning-specific code, set duration to 30 seconds | archshift | 2014-06-17 | 1 | -20/+1 |
| | | | | | | | | | | | | | | | | http://minecraft.gamepedia.com/Hunger#Behavior | ||||
| * | | | Entity effects: Added handlers for entity effects | archshift | 2014-06-17 | 1 | -13/+38 |
| | | | | | | | | | | | | | | | | | | | | | | | | Implemented hunger, instant health, damage, poison, regen Added "template" entity effect implementations | ||||
| * | | | Moved Effects.h to EntityEffects.h, added initial impl | archshift | 2014-06-17 | 1 | -3/+3 |
| |/ / | |||||
* | | | Merge branch 'master' into portals | Tiger Wang | 2014-06-21 | 1 | -1/+30 |
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Entity.h src/Entities/Player.h | ||||
| * | | Nullify deleted pointers. | archshift | 2014-06-19 | 1 | -0/+1 |
| |/ | |||||
| * | Merge branch 'master' of github.com:mc-server/MCServer | Tycho | 2014-06-16 | 1 | -1/+29 |
| | | |||||
* | | Fixed invalid iterators | Tiger Wang | 2014-06-21 | 1 | -0/+1 |
| | | |||||
* | | More suggestions | Tiger Wang | 2014-06-21 | 1 | -1/+1 |
| | | |||||
* | | Implemented PR suggestions | archshift | 2014-06-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Furnace.txt: newline BlockID: removed extraneous dimension mapping cEntity: fixed typo cPlayer: WorldPtr typedef | ||||
* | | Portals animate and delay correctly | Tiger Wang | 2014-06-12 | 1 | -15/+6 |
| | | |||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-06-10 | 1 | -10/+10 |
|\| | | | | | | | | | | | | | | | | | 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 | -8/+10 |
| | | | | | | | | Fixes #1039, fixes #851 | ||||
| * | Added queue for adding entities to cWorld. | Mattes D | 2014-06-08 | 1 | -2/+0 |
| | | | | | | | | This alone doesn't work properly yet, further changes to cPlayer are needed. | ||||
* | | Fixed compilation | Tiger Wang | 2014-06-05 | 1 | -1/+1 |
| | | |||||
* | | Suggestions | Tiger Wang | 2014-06-04 | 1 | -0/+1 |
| | | |||||
* | | Configurable portals | Tiger Wang | 2014-06-04 | 1 | -1/+1 |
| | | |||||
* | | Suggestions | Tiger Wang | 2014-06-04 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-06-04 | 1 | -7/+0 |
|\| | |||||
| * | Player permissions aren't logged to console anymore. | madmaxoft | 2014-06-03 | 1 | -7/+0 |
| | | | | | | | | This was only logspam on most servers and there are alternative ways to list players' permissions. | ||||
* | | Implemented bed homes | Tiger Wang | 2014-06-01 | 1 | -13/+22 |
| | | | | | | | | | | | | + Implemented bed home positions * Fixed some inventory and health server/client mismatches after world change | ||||
* | | Implemented end and nether portals | Tiger Wang | 2014-05-31 | 1 | -10/+26 |
|/ | |||||
* | Merge branch 'master' into achievementtranslate | Tiger Wang | 2014-05-25 | 1 | -14/+57 |
|\ | | | | | | | | | Conflicts: src/Entities/Player.cpp | ||||
| * | Cleaned up cPlayer::UpdateMovementStats; Wither achievements | andrew | 2014-05-20 | 1 | -14/+57 |
| | | |||||
* | | Update Player.cpp | Alexander Harkness | 2014-05-20 | 1 | -19/+19 |
| | | |||||
* | | Added client translation to achievements | Tiger Wang | 2014-05-19 | 1 | -4/+4 |
|/ | |||||
* | There's no "round" function in MSVC2008. | madmaxoft | 2014-05-18 | 1 | -3/+3 |
| | |||||
* | Fixes | andrew | 2014-05-13 | 1 | -10/+11 |
| | |||||
* | Movement Statistics | andrew | 2014-05-12 | 1 | -9/+77 |
| | |||||
* | cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement() | andrew | 2014-05-12 | 1 | -4/+66 |
| | |||||
* | Fixed stat serialization | andrew | 2014-05-11 | 1 | -10/+21 |
| | |||||
* | Statistic Manager | andrew | 2014-05-11 | 1 | -2/+19 |
| | |||||
* | Suggestions'd #2 | Tiger Wang | 2014-05-06 | 1 | -1/+1 |
| | |||||
* | Suggestions'd | Tiger Wang | 2014-05-06 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into fixes. | madmaxoft | 2014-05-02 | 1 | -9/+12 |
|\ | |||||
| * | Add entity invulnerable | Howaner | 2014-04-26 | 1 | -9/+12 |
| | | |||||
* | | A tiny speed improvement in ApplyFoodExhaustion() | Tiger Wang | 2014-04-27 | 1 | -5/+5 |
| | | |||||
* | | Merge branch 'master' into fixes | Tiger Wang | 2014-04-24 | 1 | -5/+6 |
|\| | | | | | | | | | Conflicts: src/World.h | ||||
| * | Fixed Flint and Steel, reverted Minecart change, renamed a parameter name | jfhumann | 2014-04-19 | 1 | -2/+2 |
| | | |||||
| * | Merge remote-tracking branch 'origin/master' into fixes | jfhumann | 2014-04-18 | 1 | -19/+15 |
| |\ | | | | | | | | | | | | | | | | | | | | | | 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 | -4/+5 |
| | | | |||||
* | | | Some change to Entity.cpp | Tiger Wang | 2014-04-23 | 1 | -16/+6 |
| |/ |/| | | | | | * Added comments to BroadcastMovementUpdate() and the collision tracer | ||||
* | | 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 | ||||
* / | Added new AI rules | Tiger Wang | 2014-04-17 | 1 | -18/+14 |
|/ | | | | | | | + Added new AI rules handling cacti and large heights * Fixed cIniFile not recognising comments in cIniFile::ReadFile() * Fixed users.ini not being properly generated * Changed all instances of (int)floor(GetPosXXX()) to POSXXX_TOINT | ||||
* | Added cPlayer:SendRotation() API function. | madmaxoft | 2014-04-05 | 1 | -0/+11 |
| | |||||
* | Fixed #721 and FS439 | Tiger Wang | 2014-03-29 | 1 | -0/+1 |
| | |||||
* | Plugins can set flying speed. | madmaxoft | 2014-03-20 | 1 | -3/+30 |
| | |||||
* | Rewritten player speeds to be relative unit-less. | madmaxoft | 2014-03-20 | 1 | -2/+2 |
| | | | | Value of 1 means "default speed", 2 means "double the speed", 0.5 means "half the speed". This allows for easier plugins and is more future-proof. | ||||
* | Unified Vector classes | andrew | 2014-03-11 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' into ballisticmissiles | Tiger Wang | 2014-03-09 | 1 | -29/+17 |
|\ | | | | | | | | | Conflicts: src/ClientHandle.cpp | ||||
| * | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -1/+1 |
| | | |||||
| * | Shortened enums | andrew | 2014-03-01 | 1 | -2/+2 |
| | | |||||
| * | Exported and documented cScoreboard | andrew | 2014-03-01 | 1 | -18/+3 |
| | | |||||
| * | Moved common cGroupManager code to a separate function. | madmaxoft | 2014-02-28 | 1 | -7/+11 |
| | | | | | | | | This fixes my concerns in PR #709. | ||||
| * | Merge pull request #709 from Howaner/GlobalFixes | Mattes D | 2014-02-28 | 1 | -7/+6 |
| |\ | | | | | | | Add 'Group not found', when the Server load the users.ini and add auto g... | ||||
| | * | Remove users.ini generation in Player.cpp and use the CheckUsers() Function | Howaner | 2014-02-21 | 1 | -6/+1 |
| | | | |||||
| | * | Add 'Group not found', when the Server load the users.ini and add auto generate from users.ini | Howaner | 2014-02-21 | 1 | -1/+5 |
| | | | |||||
* | | | CheckBlockInteractionsRate() fixed & enabled | Tiger Wang | 2014-03-09 | 1 | -25/+0 |
| | | | |||||
* | | | Removed unneeded includes in Player.cpp | Tiger Wang | 2014-02-27 | 1 | -7/+0 |
|/ / | |||||
* | | Manual merge (Fixed conflicts) | andrew | 2014-02-20 | 1 | -2/+15 |
|\| | |||||
| * | Fixed minor formatting issues from #682 | Tiger Wang | 2014-02-16 | 1 | -10/+1 |
| | | | | | | | | | | - Removed unused PlaySoundEffect * Simplified and parenthesised code | ||||
| * | Add Exp Bottle Effects | Howaner | 2014-02-16 | 1 | -0/+9 |
| | | |||||
| * | Disable Hunger Death | Howaner | 2014-02-16 | 1 | -1/+7 |
| | | |||||
| * | Merge pull request #679 from mc-server/NotchDeath | Alexander Harkness | 2014-02-15 | 1 | -0/+6 |
| |\ | | | | | | | NotchApple | ||||
| | * | If a player is called "Notch" he drops an apple. http://minecraft.gamepedia.com/Notch | STRWarrior | 2014-02-15 | 1 | -0/+6 |
| | | | |||||
| * | | Made player jump reset less ambiguous | Tiger Wang | 2014-02-12 | 1 | -1/+2 |
| | | | |||||
| * | | Fixed #627 | Tiger Wang | 2014-02-11 | 1 | -2/+2 |
| |/ | | | | | | | | | | | | | - Attack() is now called from cAggressive instead of cMonster * Monsters can no longer attack through walls * Should fix last remnants of player damage after teleporting (that both STR and bearbin contributed fixes to :P) | ||||
* / | Map item handler; Fixed several bugs | andrew | 2014-02-17 | 1 | -0/+3 |
|/ | |||||
* | Merge remote-tracking branch 'origin/master' into playerimprovements | Tiger Wang | 2014-02-09 | 1 | -13/+0 |
|\ | | | | | | | | | | | | | Conflicts: src/Root.cpp src/Root.h src/World.cpp | ||||
| * | Removed deprecated HasCommand function | STRWarrior | 2014-02-05 | 1 | -13/+0 |
| | | |||||
* | | Improved chat messaging functions | Tiger Wang | 2014-02-07 | 1 | -10/+0 |
| | | | | | | | | | | | | | | * 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 | -6/+4 |
| | | |||||
* | | Fixed annoying creative on fire bug | Tiger Wang | 2014-02-05 | 1 | -0/+17 |
| | | |||||
* | | Fixed a crash bug | Tiger Wang | 2014-02-03 | 1 | -3/+3 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into playerimprovements | Tiger Wang | 2014-02-03 | 1 | -2/+2 |
|\| | |||||
| * | Merge pull request #602 from mc-server/improvementsandfixes | Mattes D | 2014-02-03 | 1 | -2/+2 |
| |\ | | | | | | | Redstone crash fix and current console line replace function | ||||
| | * | Creative players take Plugin damage | Tiger Wang | 2014-02-02 | 1 | -2/+2 |
| | | | |||||
* | | | Server now handles join messages also | Tiger Wang | 2014-02-03 | 1 | -1/+7 |
|/ / | | | | | | | * Revised as well hook documentation | ||||
* | | Merge pull request #585 from daniel0916/hooks | Mattes D | 2014-02-01 | 1 | -0/+2 |
|\ \ | |/ |/| | Added "player destroying" and "player destroyed" hooks | ||||
| * | Removed "player destroying" hook | daniel0916 | 2014-02-01 | 1 | -3/+1 |
| | | |||||
| * | Added "player destroying" and "player destroyed" hooks | daniel0916 | 2014-01-25 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | Hooks: HOOK_PLAYER_DESTROYING HOOK_PLAYER_DESTROYED Idea from: https://github.com/mc-server/MCServer/issues/473 | ||||
* | | Two minor changes | Tiger Wang | 2014-01-25 | 1 | -5/+3 |
| | | |||||
* | | Implemented fall damage for mobs | Tiger Wang | 2014-01-25 | 1 | -4/+2 |
| | | | | | | | | | | | | + Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros | ||||
* | | All mobs now drown (fixes #54) | Tiger Wang | 2014-01-25 | 1 | -103/+14 |
| | | | | | | | | | | * Implemented mob drowning * Iron Golems and squids are excluded | ||||
* | | Merge remote-tracking branch 'MikeHunsinger/master' | madmaxoft | 2014-01-24 | 1 | -42/+51 |
|\ \ | |||||
| * | | Fixed indentation once and for all. | Mike Hunsinger | 2014-01-24 | 1 | -31/+31 |
| | | | |||||
| * | | Fixed indentation and doxygen comments... For real this time. | Mike Hunsinger | 2014-01-24 | 1 | -3/+3 |
| | | | |||||
| * | | Fixed spacing and doxycomments. | Mike Hunsinger | 2014-01-24 | 1 | -3/+3 |
| | | | |||||
| * | | Split TossItem into three Toss functions (Held, Equipped and Pickup) | Mike Hunsinger | 2014-01-23 | 1 | -49/+58 |
| |/ | |||||
* | | Fixed compilation on VC2008 | tonibm19 | 2014-01-22 | 1 | -0/+1 |
| | | |||||
* | | Scoreboard protocol support | andrew | 2014-01-21 | 1 | -6/+11 |
| | | |||||
* | | Scoreboard deserialization | andrew | 2014-01-20 | 1 | -1/+21 |
| | | |||||
* | | Scoreboard improvements | andrew | 2014-01-19 | 1 | -4/+4 |
| | | |||||
* | | Basic scoreboard implementation | andrew | 2014-01-19 | 1 | -0/+52 |
|/ | |||||
* | Removed internal cEntity::GetRot() usage. | madmaxoft | 2014-01-17 | 1 | -2/+2 |
| | |||||
* | Removed obsoleted functions | Tiger Wang | 2014-01-16 | 1 | -3/+3 |
| | |||||
* | Implemented Ctrl-Q drop stack | Tiger Wang | 2014-01-15 | 1 | -3/+8 |
| | | | | Also fixed an issue with TossItems not respecting count. | ||||
* | Yes newline at end of file :D | Tiger Wang | 2014-01-14 | 1 | -1/+5 |
| | |||||
* | Detaching improvements | Tiger Wang | 2014-01-13 | 1 | -0/+26 |
| | | | | | * Players now search for an area around themselves to teleport to when detaching from something | ||||
* | Fixed a cPlayer::IsGameModeAdventure. It was determined based off of gmCreate rather than gmAdventure. | Morgan Redshaw | 2013-12-31 | 1 | -2/+2 |
| | |||||
* | Server now handles death messages | Tiger Wang | 2013-12-26 | 1 | -0/+16 |
| | |||||
* | Merge pull request #461 from mc-server/repeaters | Mattes D | 2013-12-26 | 1 | -3/+20 |
|\ | | | | | Repeaters, pressure plates, and others | ||||
| * | Braced up some code | Tiger Wang | 2013-12-25 | 1 | -0/+2 |
| | | |||||
| * | Used IsGamemodeCreative() function | Tiger Wang | 2013-12-25 | 1 | -1/+1 |
| | | |||||
| * | Fixed comments in main.cpp and Player.cpp | Tiger Wang | 2013-12-24 | 1 | -1/+1 |
| | | |||||
| * | Improved player fall particle positions | Tiger Wang | 2013-12-23 | 1 | -5/+2 |
| | | |||||
| * | Clarified some code in Player.cpp | Tiger Wang | 2013-12-23 | 1 | -2/+5 |
| | | |||||
| * | Implemented fall particles | Tiger Wang | 2013-12-22 | 1 | -3/+18 |
| | | |||||
* | | finally removed them all? | Alexander Harkness | 2013-12-24 | 1 | -1/+1 |
| | | |||||
* | | Floater now dissapears when the player doesn't have an fishing rod equipped. | STRWarrior | 2013-12-21 | 1 | -0/+29 |
|/ | |||||
* | Sorted a few constructors to remove warnings. | madmaxoft | 2013-12-20 | 1 | -21/+22 |
| | |||||
* | Merge pull request #450 from mc-server/redstonefixes | Mattes D | 2013-12-19 | 1 | -0/+18 |
|\ | | | | | Multiple fixes | ||||
| * | Fixed PlayerAbilities and creative | Tiger Wang | 2013-12-19 | 1 | -0/+18 |
| | | |||||
* | | Implented IsFishing, SetIsFishing and GetFloaterID(). | STRWarrior | 2013-12-19 | 1 | -0/+2 |
|/ | |||||
* | Fixed cClientHandle::Tick() being called from two threads. | madmaxoft | 2013-12-16 | 1 | -22/+0 |
| | | | | | 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. | ||||
* | Server saves if a player is flying. | STRWarrior | 2013-12-15 | 1 | -1/+3 |
| | |||||
* | Renamed ShootTo function to ForceSetSpeed. | STRWarrior | 2013-12-15 | 1 | -1/+1 |
| | |||||
* | This adds a function that allows you to 'shoot' a player towards a direction. | STRWarrior | 2013-12-15 | 1 | -0/+10 |
| | |||||
* | Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() function | STRWarrior | 2013-12-15 | 1 | -0/+32 |
| | |||||
* | cPlayer is using the broadcast functions. | STRWarrior | 2013-12-15 | 1 | -3/+3 |
| | |||||
* | Added E_EFFECT_<Effect> | STRWarrior | 2013-12-14 | 1 | -3/+3 |
| | |||||
* | Added SendEntityEffect and SendRemoveEntityEffect. Also a Player now gets the hunger effect when he has food poison. | STRWarrior | 2013-12-14 | 1 | -1/+9 |
| | |||||
* | Improved player permissions logging | Tiger Wang | 2013-12-14 | 1 | -1/+1 |
| | |||||
* | Fixes to redstone wire and torches | Tiger Wang | 2013-12-14 | 1 | -1/+1 |
| | | | | | | + Wires now power blocks around the block beneath * Torches no longer power off if it is on a linked powered block * Enhanced code, split functions, etc. | ||||
* | Groups.ini and Users.ini are now generated | Tiger Wang | 2013-12-14 | 1 | -1/+6 |
| | |||||
* | 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 | ||||
* | | Renamed animation function | Tiger Wang | 2013-12-07 | 1 | -3/+3 |
| | | | | | | | | | | Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know. | ||||
* | | Puking now uses GetEyeHeight() | Tiger Wang | 2013-12-06 | 1 | -1/+1 |
| | | |||||
* | | Fixed eating using wrong animation | Tiger Wang | 2013-12-06 | 1 | -1/+1 |
| | | |||||
* | | Tools make a sound when breaking, fixes #266 | Tiger Wang | 2013-12-06 | 1 | -1/+4 |
|/ | |||||
* | Fixed VC2008 compilation, normalized include paths. | madmaxoft | 2013-11-27 | 1 | -1/+1 |
| | |||||
* | Fixed some of tiger's derpyness. | Alexander Harkness | 2013-11-27 | 1 | -2/+2 |
| | |||||
* | Hopefully fixed last of the Linux compile errors | Tiger Wang | 2013-11-26 | 1 | -1/+1 |
| | |||||
* | Attempt to fix compilation | Tiger Wang | 2013-11-24 | 1 | -2/+2 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -28/+78 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+1715 |