Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improved farmer AI & Fixed entity loading functions (#5351) | Persson-dev | 2021-12-29 | 4 | -31/+95 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | Slow down arrows in water (#5350) | Persson-dev | 2021-12-19 | 2 | -0/+6 |
| | | | | | * Slow down arrow in water * Added myself to contributors | ||||
* | ItemHandler initialisation is a constant expression (#5344) | x12xx12x | 2021-12-02 | 2 | -8/+8 |
| | | | | | * 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 | 2 | -122/+52 |
| | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Prevent placing of hangables on illegal blocks and break when support block broken (#5301) | Ethan Jones | 2021-10-03 | 5 | -69/+103 |
| | | | | | + Prevent placing of hangables on illegal items and break when support block is broken Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | World: change spawnpoint type to int (#5313) | Tiger Wang | 2021-10-03 | 2 | -3/+3 |
| | | | | | * World: change spawnpoint type to int As Vanilla does. | ||||
* | Perform bed checks upon respawn (#5300) | JK2K | 2021-10-02 | 3 | -26/+68 |
| | | | Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Snipe skeleton achievment | Rorkh | 2021-10-02 | 4 | -9/+22 |
| | |||||
* | Spectation: add dedicated pathway for spectator mode (#5303) | Tiger Wang | 2021-09-30 | 7 | -136/+137 |
| | | | | | | | | | * 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 |
| | |||||
* | Haybale damage reduction implementation (#5277) | Rorkh | 2021-08-04 | 1 | -3/+10 |
| | | | | | * Haybale damage reduction impl * Update Pawn.cpp | ||||
* | Paintings: add sound effects, remove critical hitting (#5276) | Rorkh | 2021-07-28 | 3 | -5/+22 |
| | |||||
* | Added y bounds checking for cPlayer::PlaceBlock (#5194) | Kiryu144 | 2021-07-23 | 2 | -19/+14 |
| | |||||
* | Chorus fruit teleport (#5259) | KingCol13 | 2021-07-10 | 2 | -0/+93 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | Item frame maps (#5258) | KingCol13 | 2021-07-09 | 1 | -1/+12 |
| | | | | | | | + Send map data when item frame spawns. + Add some casts to placate compiler warnings. * size_t for array access. * Mark chunk dirty when rotation or item in item frame is changed. | ||||
* | 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 | 2 | -2/+4 |
| | |||||
* | SetBedPos: make World parameter non-null | Tiger Wang | 2021-06-28 | 2 | -9/+8 |
| | | | | * Fixes #5190 | ||||
* | Death messages for tamed pets and ocelots are now tamable. (#5243) | TheHyper45 | 2021-06-19 | 3 | -58/+103 |
| | | | | | | | | | | | | | | | * 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 | 2 | -22/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | 2 | -4/+4 |
| | |||||
* | Add player statistics to API (#5193) | nshah25 | 2021-05-03 | 4 | -42/+46 |
| | | | | | | * Fixed issue #5166 Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Added functionality: mobs now enter boats and minecarts (#5214) | jclever77 | 2021-04-30 | 3 | -0/+83 |
| | | | | | | | * Added functionality: mobs now enter boats and minecarts when coming into collision with them. * Fixed basic style errors, nothing else * Added self to contributors and reverted .gitignore to original state. | ||||
* | Resets ticks alive on death (#5197) | 12xx12 | 2021-04-21 | 2 | -1/+2 |
| | | | | * resets ticks alive on death * updated the comment in the .h file | ||||
* | Thrown potions/enderpearls: cleanup | Tiger Wang | 2021-04-12 | 6 | -149/+66 |
| | |||||
* | cPlayer: move some constants out of header | Tiger Wang | 2021-04-12 | 2 | -10/+10 |
| | |||||
* | More cProtocol cleanup | Tiger Wang | 2021-04-12 | 2 | -18/+30 |
| | | | | | | * 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 |
| | |||||
* | Add magical critical effect | Tiger Wang | 2021-04-12 | 1 | -5/+20 |
| | |||||
* | Fix thrown snowball/egg hit animations | Tiger Wang | 2021-04-12 | 4 | -109/+48 |
| | | | | + Snowballs destroy ender crystals | ||||
* | 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 | 5 | -49/+15 |
| | |||||
* | Update entity sizes | Tiger Wang | 2021-04-12 | 26 | -52/+52 |
| | |||||
* | Streamline player abilities handling | Tiger Wang | 2021-04-12 | 3 | -103/+73 |
| | | | | | | | * 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 | ||||
* | Fall particles: check for valid Y | Tiger Wang | 2021-04-12 | 1 | -9/+12 |
| | |||||
* | Fix sending incorrect date values on world change | Tiger Wang | 2021-04-12 | 4 | -16/+13 |
| | | | | 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 | 3 | -3/+38 |
| | | | | | | | | | * Teleport off of mount when throwing enderpearl * Simplify returning boolean * Oops forgot a semicolon * Fix code conventions in Player.h | ||||
* | Change to Cuboid calculation for splash distance (#5176) | Nate | 2021-04-06 | 1 | -9/+6 |
| | | | | | | | | | * Change to Cuboid calculation for splash distance * Use ForEachEntityInBox when splash entities * Remove TODO comment, calculation verified * Added self to contributors | ||||
* | Basic elytra flight (#5124) | Damián Imrich | 2021-04-03 | 7 | -182/+368 |
| | | | | | | * 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 | 2 | -164/+88 |
| | | | | * 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 | 2 | -3/+3 |
| | | | | | | | * 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 | 2 | -14/+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 | 5 | -24/+21 |
| | | | * Fixes #5144 | ||||
* | Fixed some death messages showing up even when they are disabled. (#5153) | NiLSPACE | 2021-03-11 | 1 | -5/+1 |
| | |||||
* | Some emplace_back replacements (#5149) | 12xx12 | 2021-03-07 | 3 | -3/+3 |
| | | | * replace push_back with emplace_back when a new object was created in the function call | ||||
* | Fix #5118 | Tiger Wang | 2021-02-07 | 6 | -556/+452 |
| | |||||
* | Creative mode hits immediately disappear boats (#5117) | Simerson | 2021-01-28 | 1 | -0/+10 |
| | | | | | | | Instant destroy boat in creative mode + boat one-shot in creative mode + Add boat instant destroy in creative + Instant break boat in creative | ||||
* | End crystal placement (#5112) | Damián Imrich | 2021-01-22 | 1 | -7/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * End crystal placement * End crystal placement - fixed error and added some comments * Removed unused includes * Update src/Items/ItemEndCrystal.h Co-authored-by: Alexander Harkness <me@bearbin.net> * End Crystal placement, early-return pattern enforcement * End crystal Item finish? * Small changes Fixed a crashbug in ender crystal destruction. According to vanilla 1.16 testing, end crystals don't place if any entity intersects the box, not just other end crystals. Check return value of SpawnEnderCrystal. Add header in SeeMake. Cafe Stile Redux. * The stylechecker relies on CMakeLists * There is another Co-authored-by: Alexander Harkness <me@bearbin.net> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Implementation of totem of undying behaviour (#5111) | Damián Imrich | 2021-01-22 | 3 | -0/+56 |
| | | | | | | | | | | | | | | | | | | | | | | | * notchian totem of undying * ... * .... * Update src/Entities/Pawn.cpp Co-authored-by: Alexander Harkness <me@bearbin.net> * DeductTotem func * fixed build errors * Added myself to CONTRIBUTORS * Small changes Co-authored-by: Peter <peter@cassoviacode.com> Co-authored-by: Alexander Harkness <me@bearbin.net> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | cChunk: don't inherit from cChunkDef (#5106) | Tiger Wang | 2021-01-18 | 1 | -1/+1 |
| | |||||
* | Clarify cClientHandle, cPlayer ownership semantics | Tiger Wang | 2021-01-12 | 4 | -367/+244 |
| | | | | | | | | + 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. | ||||
* | Convert most calls to blocking GetHeight/GetBiomeAt to direct chunk accesses | Tiger Wang | 2021-01-11 | 2 | -10/+18 |
| | | | | * Hopefully fixes #5094 | ||||
* | Fix potential destruction crashes (#5095) | Tiger Wang | 2021-01-02 | 9 | -162/+148 |
| | | | | | | | | | | * 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 | 3 | -4/+53 |
| | | | | | | * 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 | ||||
* | Ender Crytal Fix and report proper cmake file for luabindingscheck fail (#5017) | 12xx12 | 2020-11-06 | 3 | -16/+62 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed network fixed explosion fixed ticking added network broadcast to Setter method added nullptr protection using macros in 1.10 Protocol_1_10.cpp revealed functions to LUA API small fixups, typos, less functions used fixed more doc readded info that saving is done only if the beam is displayed made the constructor transfer all needed members fixed wrong commit removed default parameters on SpawnEnderCrystal fixed wrong metadata moved call to destroy in the right place fixed some typos Fixed Ender Crystal * fixed documentation * fixed doc and added proper error message * Parameters, arrows * Parameters Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Players are no longer kicked when clicking on bedrock (#5023) | Tiger Wang | 2020-11-06 | 2 | -18/+9 |
| | | | | * Players are no longer kicked when clicking on bedrock * Fixes #5022 | ||||
* | Add beam target, configurable base visibility to Ender Crystals (#5010) | 12xx12 | 2020-10-29 | 2 | -5/+26 |
| | | | | | * Fixes #4990 Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | added const correctness on some functions in cPlayer (#4999) | 12xx12 | 2020-10-15 | 2 | -4/+7 |
| | | | Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 2020-10-05 | 3 | -6/+10 |
| | | | | | | | | | | | | | | | * 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 | 2 | -26/+81 |
| | | | | | | | | | | | | | | | | | | | * 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 | 2 | -0/+31 |
| | | | | | * Use lapis for enchanting, subtract correct number of levels, ClientHandle now selects from pregenerated list. 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 | 2 | -18/+0 |
| | | | | | - Remove improper accesses in cChunk destructor * Fixes #4894 | ||||
* | 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 | 2 | -5/+3 |
| | | | | | | | | | | | | | * 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> | ||||
* | Fixed missing case: in entity damaging crashin the server (#4899) | 12xx12 | 2020-09-19 | 1 | -0/+1 |
| | | | | | | | | | | | | | | * made snow golems not crashing the server anymore * changed damage type to environment * updated damage in API dopcumentation and changed enderman damage type * removed incidental d in the code * added dtEnvironment to ArmorCoversAgainst Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Alexander Harkness <me@bearbin.net> | ||||
* | Add some const qualifiers to functions (#4874) | 12xx12 | 2020-09-17 | 2 | -4/+4 |
| | | | | | | | * add some const qualifiers to functions * added changes suggested by @tigerw Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | Use tracing for explosions (#4845) | Tiger Wang | 2020-09-12 | 3 | -11/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 | -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> | ||||
* | Entities can fail to add into a chunk | Tiger Wang | 2020-08-29 | 1 | -5/+0 |
| | | | | - MoveEntityToNewChunk, AddEntity can fail. Ensure we handle these cases correctly | ||||
* | Unused/duplicate function cleanup | Tiger Wang | 2020-08-29 | 1 | -3/+0 |
| | | | | | * FaceIntToBlockFace in 1.8/1.9 protocol merged - Removed undefined permissions stuff in Player header | ||||
* | Make StatSerializer a namespace | Tiger Wang | 2020-08-21 | 1 | -4/+2 |
| | |||||
* | Add Statistics and Achievements for newer Network standards | 12xx12 | 2020-08-19 | 4 | -66/+66 |
| | |||||
* | Fix arrows preventing block placement | ion232 | 2020-08-09 | 2 | -0/+12 |
| | |||||
* | 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 | ||||
* | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 2020-08-01 | 2 | -35/+35 |
| | |||||
* | 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 | ||||
* | Initial work on 1.13 entity metadata (#4539) | Mat | 2020-07-17 | 1 | -4/+11 |
| | | | | | | | * Initial work on 1.13 entity metadata * Largely complete metadata Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Introduce recipe book functionality (#4493) | Tobias Wilken | 2020-07-14 | 2 | -10/+106 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce recipe book functionality The recipe book helps especially new players. Missing it gives the impression that cuberite is not as advanced as it is. The handling of the recipe book uses the following functions: - Unlock Recipes (https://wiki.vg/index.php?title=Protocol&oldid=14204#Unlock_Recipes) to make recipes available and show the notification for new recipes. Initialization is done on player login for known ones, the update is done when new items are discovered. - Craft Recipe Request (https://wiki.vg/index.php?title=Protocol&oldid=14204#Craft_Recipe_Request) when the user selects a recipe from the recipe book to fill the slots. Known recipes are initialized on player login via `Unlock Recipes` with `Action` 0. As soon as a new recipe is discovered this is added via `Unlock Recipes` with `Action` 1. To be able to know and recognize new recipes the player class is extended with `KnownItems` and `KnownRecipes`. As soon as a player touches an item this is compared to the list of `KnownItems`, if the item is unknown the recipes are checked for this item and the other ingredients are checked with the list of `KnownItems`. If a full match is discovered the recipe is unlocked with the client and stored in the `KnownRecipes`. To unlock recipes the recipe ID is sent to the client. A mapping file (for protocol 1.12.2) translated the minecraft recipe names to ids. The crafting.txt is extended with and minecraft recipe names is possible. Limitations: Only a single recipe is added to the crafting area. Multiple clicks or shift click does not increase the number of builds. Co-authored-by: peterbell10 <peterbell10@live.co.uk> * Address first issues mentioned by @peterbell10 - Some linting - Extract loading of recipe specific protocol mapping into a function - Build `RecipeNameMap` only once - Use `std::optional` - Extract `LoadRecipe` from `Window` * Start to implement new suggestions * Update with suggestions from @peterbell10 * Some minor cleanup * Update protocol packet IDs * Remove unused include * Include header in cmake * Change a vector to integer counter * Change dromedaryCase method names to PascalCase * Address suggestions from @madmaxoft * Read Protocol subdirectories to load recipe books To load all recipebooks iterate over the `Protocol` subdirectories to find mapping files. Co-authored-by: peterbell10 <peterbell10@live.co.uk> | ||||
* | Reduced packet spam when entities idle | Tiger Wang | 2020-07-06 | 1 | -2/+2 |
| | | | | * Try not to send look packets when nothing's changed. | ||||
* | Upgrade to C++17 [CMake] (#4717) | Tiger Wang | 2020-05-16 | 1 | -9/+5 |
| | | | * Make our CMake slightly less insane | ||||
* | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2020-05-15 | 4 | -17/+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 | ||||
* | Cleanup unneeded globals (#4736) | peterbell10 | 2020-05-10 | 1 | -1/+1 |
| | |||||
* | Update submodules (#4727) | peterbell10 | 2020-05-09 | 2 | -7/+9 |
| | | | | | | | | | | | | | 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. | ||||
* | Use Vector3 for cLineBlockTracer and cBlockTracer (#4715) | mBornand | 2020-05-08 | 1 | -6/+3 |
| | | | * cLineBlockTracer uses Vector | ||||
* | Remove old Android leftovers (#4722) | Mat | 2020-05-07 | 1 | -2/+2 |
| | |||||
* | Fixed various MSVC warnings. | Mattes D | 2020-05-06 | 2 | -5/+1 |
| | |||||
* | Refactor minecart collision detection code. (#4712) | Alexander Harkness | 2020-05-04 | 2 | -109/+280 |
| | | | | | | | | | * Refactor minecart collision detection code. - Use new GetBoundingBox function. - Handle descending and ascending rails. - Snap to descending rails. * Add message for UNREACHABLE | ||||
* | Add comment for boat position broadcast | Alexander Harkness | 2020-05-04 | 1 | -0/+3 |
| | |||||
* | Improve entity position updates (#4701) | Tiger Wang | 2020-05-04 | 8 | -100/+55 |
| | | | | | | | | | * 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 | ||||
* | Buttons can now be triggered by arrows. (#4670) | DrButcher | 2020-05-03 | 2 | -0/+6 |
| | | | * Buttons can now be triggered by arrows. | ||||
* | Add cEntity::GetBoundingBox, and use where appropriate. (#4711) | Alexander Harkness | 2020-05-03 | 6 | -5/+8 |
| | | | * Add cEntity::GetBoundingBox, and use where appropriate. | ||||
* | Set entity world early | mathiascode | 2020-05-03 | 1 | -0/+1 |
| | |||||
* | Unify entity spawn packet sending | Tiger Wang | 2020-05-01 | 15 | -62/+26 |
| | |||||
* | Vector3 in Handlers (#4680) | Mattes D | 2020-04-21 | 1 | -10/+7 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | Delet SpawnObject params | Tiger Wang | 2020-04-20 | 8 | -32/+8 |
| | | | | | | * Fix #4679 awkward... | ||||
* | More arrow patches | Tiger Wang | 2020-04-19 | 3 | -42/+37 |
| | | | | | | | * Further reduce instances of appearing black * Fix packet send and get arrows to more reliably lodge in blocks clientside * Fix hit detection failing at chunk boundaries + Use delegating constructors | ||||
* | Reduce arrows going black on hit | Tiger Wang | 2020-04-18 | 1 | -15/+25 |
| | |||||
* | MoveToWorld must always be provided a world | Tiger Wang | 2020-04-18 | 3 | -20/+22 |
| | |||||
* | Only store IDs across ticks | Tiger Wang | 2020-04-18 | 2 | -21/+43 |
| | |||||
* | Using Super. | Mattes D | 2020-04-16 | 54 | -174/+235 |
| | |||||
* | Fixed entity teleport for just-spawned entities. | Mattes D | 2020-04-12 | 1 | -1/+5 |
| | | | | Includes a test code in the Debuggers plugin - throwing a cake-as-fallingblock. | ||||
* | Add Zombie Villagers | Bond-009 | 2020-04-10 | 1 | -1/+2 |
| | |||||
* | Don't set entity world twice (#4606) | Mat | 2020-04-09 | 1 | -3/+0 |
| | | | | | * Don't set entity world twice * Call HookSpawnedEntity when the entity actually spawned | ||||
* | Falling blocks can now be spawned at any position. (#4620) | Mattes D | 2020-04-09 | 2 | -7/+5 |
| | | | | | | | * Falling blocks can now be spawned at any position. * Added a /cake command to Debuggers that throws a cake in a nice slow arc. * Fixed regular falling blocks. | ||||
* | Tweak pickup sound pitch (#4598) | Mat | 2020-04-03 | 2 | -2/+2 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 7 | -0/+7 |
| | | | | | | | | | 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 | 2 | -0/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 | 2 | -4/+4 |
| | |||||
* | Prevent player from being destroyed by plugins (#4584) | Alexander Harkness | 2020-03-31 | 1 | -6/+2 |
| | | | | | | | | | | * Prevent player from being destroyed by plugins Add manual binding, bails out with error message if attempted entity to destroy is player. * Improve warnings and documentation, remove automatic binding * Remove old and unnecessary deprecated function | ||||
* | Lua API for spectating entities (#4518) | Mat | 2020-03-30 | 2 | -2/+21 |
| | |||||
* | Fix typo in floater code (#4556) | Mat | 2020-03-27 | 1 | -1/+1 |
| | |||||
* | Send respawn packet by default (#4540) | Mat | 2020-03-24 | 2 | -3/+3 |
| | |||||
* | Manual merge of #4498. | Alexander Harkness | 2020-03-23 | 1 | -1/+6 |
| | | | | | | Credit to @MeMuXin Closes #4498 | ||||
* | Pickup spawn improvements (#4525) | Mat | 2020-03-23 | 1 | -1/+1 |
| | | | Pickups are now thrown around when spawned, like in vanilla. Pickups also bail out of the collision detection checks while being created, to prevent them from blasting too far off in e.g. cobblestone generators. | ||||
* | Fix effect crashes (#4530) | Mat | 2020-03-22 | 1 | -3/+3 |
| | | | | | * Fix effect crashes * Change according to suggestion | ||||
* | TNT position fixes (#4519) | Mat | 2020-03-22 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | * TNT position fixes * Don't add offset to explosion spawn coords * Don't make other entities push TNT * Correct initial TNT speed * Fix typo * Improvements * Revert unwanted change * Style fixes * Update format | ||||
* | Fix armor protection (#4506) | Mat | 2020-03-22 | 2 | -17/+24 |
| | | | | | | | | | | | | | | | * Fix armor protection * Check min damage * Check min damage * Commit missing changes * Convert to int * Use float * Float some more | ||||
* | Don't remove items twice (#4524) | Mat | 2020-03-22 | 2 | -5/+1 |
| | | | * Don't remove items twice | ||||
* | Clamp teleportation position (#4203) | stone3311 | 2020-03-20 | 1 | -1/+9 |
| | |||||
* | Improvements to knockback (#4504) | Mat | 2020-03-19 | 3 | -12/+24 |
| | | | | | * Improvements to knockback * SetSpeed for explosions * Improve code consistency | ||||
* | Prevent arrows from sinking into the ground (#4509) | Mat | 2020-03-19 | 1 | -1/+1 |
| | |||||
* | Change outdated air drag value for arrows | Mat | 2020-03-19 | 1 | -1/+1 |
| | |||||
* | Change outdated air drag value for TNT | Mat | 2020-03-19 | 1 | -1/+1 |
| | |||||
* | Don't send entity velocity for boats (#4488) | Mat | 2020-03-07 | 4 | -5/+35 |
| | | | * Don't send entity velocity for boats | ||||
* | Attached entities can't enter portals (#4484) | Mat | 2020-03-05 | 2 | -0/+18 |
| | | | | | | * Attached entities can't enter portals * Whitespace fixes | ||||
* | Stabilise MoveToWorld (#4004) | Mat | 2020-03-05 | 11 | -190/+232 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Update LastSentPosition when entity has no speed (#4487) | peterbell10 | 2020-03-04 | 1 | -53/+50 |
| | | | | | | * Update LastSentPosition when entity has no speed * Restructure BroadcastMovementUpdate and always process relmove | ||||
* | Play correct sound when entities are hit by arrows (#4481) | Mat | 2020-03-04 | 1 | -1/+1 |
| | |||||
* | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 2019-10-28 | 2 | -13/+11 |
| | |||||
* | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 2019-09-29 | 48 | -203/+239 |
| | |||||
* | Fixed MSVC warnings (#4400) | Mattes D | 2019-09-27 | 3 | -4/+4 |
| | |||||
* | 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 | 4 | -13/+15 |
| | |||||
* | Change TakeDamageInfo::FinalDamage from int to float (#4359) | Aplaus228 | 2019-08-08 | 3 | -9/+9 |
| | | | | Closes #4357 | ||||
* | 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 | 6 | -36/+30 |
| | | | | | | | | | | * 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 | 10 | -17/+14 |
| | | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work. | ||||
* | Store and pass entity effect duration as an int not a short. (#4293) | Alexander Harkness | 2018-08-26 | 1 | -1/+1 |
| | | | Fixes #4292. | ||||
* | 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. | ||||
* | Experience orb (#4259) | changyong guo | 2018-08-02 | 2 | -23/+74 |
| | | | | | | | * Replace cWorld::FindClosesPlayer with cWorld::DoWithClosestPlayer * Implement experience reward splitting into the orb sizes used in vanilla * Modified speed calculation in cExpOrb::Tick to make the orbs fly towards the player Fixes #4216 | ||||
* | Add new flow direction calculating algorithm (#4160) | bionext03 | 2018-07-27 | 1 | -51/+37 |
| | |||||
* | cWorld: Manually bind deprecated broadcast functions (#4265) | peterbell10 | 2018-07-27 | 2 | -4/+2 |
| | | | Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193 | ||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 10 | -9/+27 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Reimplemented fall particles | Tiger Wang | 2018-07-25 | 1 | -3/+8 |
| | | | | Regression when 1.9.x support introduced in #3135, originally implemented in #461. | ||||
* | Broadcast refactor (#4264) | peterbell10 | 2018-07-24 | 5 | -27/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | * Move Broadcast functions from cChunkMap to cBroadcaster - Remove cBroadcastInterface in favour of cBroadcaster. - cChunk: Remove broadcast functions. * resurect broadcast interface * Absorb cBroadcaster into cWorld. Removes the need for forwarding the function calls. * Improve const-correctness * Use Int8 instead of char + Comment `ForClients` functions * Improve comments * Broadcaster: Rename ForClients functions | ||||
* | cPawn: Reset last ground height in ResetPosition (#4261) | peterbell10 | 2018-07-23 | 4 | -2/+13 |
| | | | | | Prevents fall damage after teleporting/portaling to a lower height. Fixes #3457 | ||||
* | Rewrite explosion knock back (#4251) | changyong guo | 2018-07-23 | 4 | -2/+103 |
| | | | | | | | 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 | 2 | -30/+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 | 2 | -0/+20 |
| | | | | | | | 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 | 2 | -22/+37 |
| | | | | | | Ref: minecraft.gamepedia.com/Enchanting#Unbreaking #915 | ||||
* | Support swap item between main hand and offhand by press key "F" (#4241) | changyong guo | 2018-06-24 | 2 | -0/+6 |
| | | | | | | | | 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 | 3 | -27/+27 |
| | | | | | | | * 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. | ||||
* | Fix fishing timer (#4217) | peterbell10 | 2018-04-27 | 1 | -0/+5 |
| | | | | | | | | | | | Fixes ["Fishing Speed Too Slow"](https://forum.cuberite.org/thread-3175-post-29000.html#pid29000). Interestingly, the constants @NiLSPACE points out are actually correct: ```cpp (Random.RandInt(100, 900) - static_cast<int>(a_Player->GetEquippedItem().m_Enchantments.GetLevel(cEnchantments::enchLure) * 100)) ``` 100 to 900 ticks is the correct timing of 5-45 seconds. However, the timer is only updated when the floater is in the water and the server side position was actually bobbing in and out of the water. This meant the timer took ~2-3x longer than it should. With this change the floater position is always in the water and so the timer works as expected. | ||||
* | Update m_LastSentPosition in TeleportToCoords and DoMoveToWorld. (#4211) | peterbell10 | 2018-04-11 | 3 | -4/+18 |
| | |||||
* | Deal with covered switches consistently (#4161) | peterbell10 | 2018-02-05 | 7 | -79/+41 |
| | | | | | | | * 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() | ||||
* | Calculate crit damage properly (#4154) | Bond-009 | 2018-01-17 | 1 | -11/+13 |
| | |||||
* | Exp Orbs and Pickups are destroyed instantly by cacti. (#4136) | Alexander Harkness | 2018-01-16 | 5 | -15/+54 |
| | | | | | | | | | | | | | * Cactus detection code follows pattern set in #3996 * Pickups are now destroyed on cactus contact * Add cactus detection and destruction to Exp Orbs Remove checks for IsExpOrb() in cEntity::Tick() Exp Orbs do not call super::Tick() and so this condition was pointless. | ||||
* | Rename cEntity swim states (#3996) | Alexander Harkness | 2018-01-14 | 6 | -122/+99 |
| | | | | | | | | | | * 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 | 2 | -20/+32 |
| | | | | | | | Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119 | ||||
* | 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. | ||||
* | Concrete mixing (#4096) | Zach DeCook | 2018-01-03 | 1 | -0/+7 |
| | | | | | | | | | Adds a block handler for concrete powder and implements hardening to concrete. Concrete powder turns into concrete when: * It is next to water when it receives a block update * It falls onto a water block (even with Physics SandInstantFall=1) | ||||
* | improve rain simulation (#4017) | Alexander Harkness | 2017-12-26 | 1 | -5/+2 |
| | | | | | | | | | | | * Uses vanilla logic to decide which blocks rain falls through. * Rain falls infinitely above the world, and stops at y=0. * Entities will now be extinguished if they are under rain-blocking blocks, and fire will now be extinguished by rain similarly. * Create IsWeatherWetAtXYZ to identify wetness at a particular location. * Use new code for enderman rain detection. * Fixes issue #916 * Disable warnings for global constructors in the fire simulator. | ||||
* | Water bottles are drinkable potions (#4114) | Alexander Harkness | 2017-12-26 | 1 | -11/+8 |
| | | | | | | | Water bottles are now drinkable potions Fixes #4111 Also update outdated mcwiki references | ||||
* | Fixed Clang 5.0 compile errors (#4085) | bibo38 | 2017-12-21 | 1 | -0/+2 |
| | | | | | | | | | | | | * Fixed Clang 5.0 compile errors * Fixed wrong comment * Only disable warnings in Clang 5 or higher * Added a CMake condition for the Clang 5 no-zero-as-null-pointer-constant warning * Now using the use_nullptr branch of the Cuberite specific SQLiteCpp fork | ||||
* | Store Health as a float (#4073) | Fabian | 2017-11-22 | 3 | -12/+12 |
| | | | | | | | | | | | | | | | | | | * Fix #4024 * Fix clang error * Add comment * Fix behaviour * Save Health as float * Changed m_Health to float * Remove redundant static_cast * Fix casts | ||||
* | Implement horse inventory (#4053) | peterbell10 | 2017-10-21 | 2 | -0/+34 |
| | | | | | | | | | | * Implement horse inventory * Fix sign conversions * Add API doc for ItemCategory::IsHorseArmor * Improve HandleOpenHorseInventory comment and style fixes. | ||||
* | Fix minecart deceleration (#4059) | peterbell10 | 2017-10-21 | 2 | -32/+48 |
| | |||||
* | Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) | Lane Kolbly | 2017-09-19 | 6 | -9/+9 |
| | | | | | | | | | | | | | | | | | | * 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 | 2 | -2/+2 |
| | |||||
* | Fix switch warnings (#4013) | peterbell10 | 2017-09-14 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | * Fix switch warnings * Fix a variety of -Wswitch and -Wswitch-enum warnings * Remove unneeded -Wno-error flags * Reorganise some eMonsterType switches * Alpha sort eMonsterType cases in WriteMobMetadata and in cNBTChunkSerializer::AddMonsterEntity * List all mob types in protocol 1.12 and NBTChunkSerializer * cStructGenTrees::GetNumTrees: remove switch default * cWSSAnvil::LoadOldMinecartFromNBT: Log unhandled minecart type | ||||
* | Adjust lava damage values (#4020) | Alexander Harkness | 2017-09-12 | 2 | -2/+2 |
| | | | Fixes isue #2925 | ||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 10 | -323/+143 |
| | |||||
* | Fix crash for players out of the world. Fixes #4006 (#4007) | Alexander Harkness | 2017-09-10 | 1 | -3/+4 |
| | |||||
* | 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 | 3 | -24/+19 |
| | | | | | | | | * Fire effect now shown for creative and spectator mode players Fixes #3989 * Add documentation for IsFireproof | ||||
* | Updated APIDoc (#3985) | Lukas Pioch | 2017-09-07 | 2 | -5/+7 |
| | |||||
* | Changed some int parameters to vector parameters (#3937) | Bond-009 | 2017-09-07 | 25 | -72/+71 |
| | |||||
* | Add cWorld::RemoveEntity and use in cEntity (#4003) | peterbell10 | 2017-09-05 | 1 | -11/+10 |
| | | | | | | * Add cWorld::RemoveEntity and use in cEntity * cEntity: Remove uneeded asserts from Destroy and DoMoveToWorld | ||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 10 | -143/+323 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | SetSwimState now takes into account head height | Alexander Harkness | 2017-09-01 | 1 | -2/+3 |
| | | | | | | | This affects m_IsSubmerged and IsSubmerged() for entities of all types. Also prevent squids from suffocating in water. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 10 | -323/+143 |
| | |||||
* | Merge pull request #3969 from peterbell10/cuboid | Tiger Wang | 2017-08-30 | 1 | -1/+1 |
|\ | | | | | cCuboid: restore default copy construct and assign | ||||
| * | Cleanup Vector3 constructors and Abs | peterbell10 | 2017-08-28 | 1 | -1/+1 |
| | | |||||
* | | Protocol Spawn Position Should Use LastSentPosition (#3929) | Lane Kolbly | 2017-08-30 | 1 | -0/+4 |
| | | | | | | | | | | | | + Added GetLastSentPos * Fixed spawn position bug in 1.8. | ||||
* | | Added ShouldSendRespawn parameter to ScheduleMoveToWorld (#3979) | Lane Kolbly | 2017-08-30 | 2 | -3/+5 |
|/ | |||||
* | Gives all entities the default airlevel on creation (#3942) | Bond-009 | 2017-08-25 | 1 | -2/+2 |
| | | | | * Guardians don't take damage on land * Squids suffocate on land | ||||
* | Add cUUID class (#3871) | peterbell10 | 2017-08-25 | 2 | -14/+15 |
| | |||||
* | Use ref instead of pointer | Lukas Pioch | 2017-08-24 | 1 | -1/+1 |
| | |||||
* | Minor changes (#3909) | mathiascode | 2017-08-24 | 6 | -15/+15 |
| | |||||
* | Added check to deactivate existing entity effects when new entity effects are added. | Lane Kolbly | 2017-08-24 | 1 | -0/+7 |
| | |||||
* | Added check in cEntity::TickBurning for whether the entity is planning to change worlds. (#3943) | Lane Kolbly | 2017-08-22 | 1 | -0/+6 |
| | |||||
* | Give arthropods slowness IV when hit with bane of arthropods (#3932) | Bond-009 | 2017-08-21 | 1 | -3/+7 |
| | |||||
* | Fully implemented leashes (#3798) | Pablo Beltrán | 2017-08-21 | 5 | -1/+292 |
| | |||||
* | 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 | 6 | -30/+33 |
|\ | | | | | * Changed entity ownership model to use smart pointers | ||||
| * | Changed entity ownership model to use smart pointers | Tiger Wang | 2017-08-07 | 6 | -30/+33 |
| | | |||||
* | | Add cLuaWindow OnClicked Callback (#3901) | Lane Kolbly | 2017-08-17 | 1 | -0/+6 |
| | | |||||
* | | Added knockback to arrows, fixed knockback enchantment handling (#3900) | Lane Kolbly | 2017-08-13 | 2 | -34/+16 |
| | | | | | | | | * Added knockback for arrows, fixed knockback enchantment handling. | ||||
* | | Replaced includes with forward declarations | Lukas Pioch | 2017-08-13 | 1 | -1/+3 |
|/ | |||||
* | Implement invisibility effect | peterbell10 | 2017-08-03 | 5 | -45/+92 |
| | |||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 2 | -3/+0 |
| | |||||
* | Removed unused forward declarations (#3888) | Lukas Pioch | 2017-08-03 | 1 | -6/+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 | 4 | -0/+103 |
| | | | | | | | | | | | | | * 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 | 4 | -135/+98 |
| | | | | | | | | * Updated armor damage calculation. + Added lua docs, added casts from float to int. * Changed verbage in docstring and comment. | ||||
* | Changing pickup lifetime and combining semantics, making these adjustable in the lua api. (#3843) | Lane Kolbly | 2017-07-12 | 2 | -6/+28 |
| | |||||
* | If entity is a player, send relmove packets. | Lane Kolbly | 2017-07-12 | 1 | -1/+1 |
| | |||||
* | Implemented draggingitem API. | Lane Kolbly | 2017-07-10 | 2 | -1/+17 |
| | |||||
* | Added armor durability reduction when player is attacked. | Lane Kolbly | 2017-07-02 | 1 | -0/+12 |
| | |||||
* | Players in creative and spectator aren't affected by cacti (#3824) | Bond-009 | 2017-07-02 | 1 | -1/+4 |
| | |||||
* | Entity: Replaced a mutexed counter with a std::atomic. (#3773) | Mattes D | 2017-06-15 | 2 | -11/+15 |
| | |||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 5 | -20/+20 |
| | |||||
* | Fixes problems with windows: | Lukas Pioch | 2017-06-05 | 3 | -7/+7 |
| | | | | | - Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers | ||||
* | Avoid pickups to sink into blocks and disappear (#3739) | Pablo Beltrán | 2017-06-04 | 2 | -24/+35 |
| | | | | * Avoid pickups to sink into blocks and disappear | ||||
* | Fixed exp orb (#3744) | Pablo Beltrán | 2017-06-03 | 1 | -19/+23 |
| | | | | Fixes #3740 Fixes #2667 | ||||
* | Fixed tracer usage in Entity physics handling. (#3720) | Mattes D | 2017-05-28 | 1 | -7/+9 |
| | |||||
* | Add rank prefix and suffix to player name in chat (#3730) | Heiko Hund | 2017-05-27 | 2 | -0/+24 |
| | | | Fixes issue #1721 | ||||
* | Exported boat | Lukas Pioch | 2017-05-24 | 2 | -9/+143 |
| | | | | | | | - NBT: Added saving / loading of material - Added the material in the item handler of the boat - Drop the correct boat if destroyed - APIDoc: Added desc and functions | ||||
* | Clang 5.0 fixes | Lukas Pioch | 2017-05-21 | 3 | -6/+5 |
| | | | | | - Added override keyword - Removed inherited member variables | ||||
* | Tracer replacement (#3704) | Mattes D | 2017-05-11 | 2 | -47/+50 |
| | | | | | | * Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API. | ||||
* | Exported cFallingBlock and cExpOrb (#3700) | Lukas Pioch | 2017-05-09 | 2 | -5/+16 |
| | |||||
* | APIDoc: Documented missing functions and variables. (#3634) | Lukas Pioch | 2017-04-04 | 1 | -6/+6 |
| | |||||
* | Added a nullptr check to cEntity::IsA (#3659) | Marvin Kopf | 2017-04-01 | 2 | -2/+2 |
| | | | Fixes #3603 | ||||
* | Detach player from entity / object if he is dead | Lukas Pioch | 2017-03-19 | 1 | -0/+4 |
| | |||||
* | Fixed cactus detection and zombie pigman sword (#3584) | Bond-009 | 2017-02-25 | 1 | -1/+2 |
| | | | | Fixes for issues #902 and #2917 | ||||
* | Changed fish launching mechanism (#3520) | Alex | 2017-02-20 | 2 | -0/+6 |
| | | | Fish and other fishing loot now correctly fly towards played when reeled in. | ||||
* | Updated sounds and effect IDs (#3422) | mathiascode | 2017-02-15 | 5 | -7/+7 |
| | |||||
* | Track skin part and main hand preferences (#3498) | Pokechu22 | 2017-01-03 | 2 | -1/+36 |
| | |||||
* | Fix crash after calling OnTick on removed effect (#3501) | Fabian Stein | 2016-12-30 | 1 | -3/+5 |
| | |||||
* | Fixed entity effect ticking (#3497) | Fabian Stein | 2016-12-29 | 1 | -1/+10 |
| | | | Fixes #3386 | ||||
* | Updated links and docs (#3488) | mathiascode | 2016-12-19 | 2 | -5/+5 |
| | |||||
* | Initial support for the 1.11 protocol. | Mattes D | 2016-12-16 | 2 | -2/+2 |
| | |||||
* | Fixed minecart destruction using deallocated memory. | Mattes D | 2016-12-15 | 1 | -3/+8 |
| | |||||
* | Export GetPosition and GetSpeed from cEntity as a copy instead of a pointer to lua. | Lukas Pioch | 2016-12-10 | 1 | -2/+6 |
| | |||||
* | Powered rails can kick-start minecarts (#3472) | Marvin Kopf | 2016-12-10 | 2 | -32/+62 |
| | |||||
* | Removed ClientHandle.h dependencies from common headers. | Mattes D | 2016-11-18 | 2 | -17/+134 |
| | |||||
* | Anticheat fastbreak (#3411) | mohe2015 | 2016-11-06 | 4 | -0/+140 |
| | | | Added block hardness checks when breaking blocks. | ||||
* | Added SendMessageRaw for sending json string. | Lukas Pioch | 2016-10-21 | 1 | -0/+1 |
| | |||||
* | Spectators added (#2852) | bibo38 | 2016-10-12 | 8 | -5/+104 |
| | |||||
* | Fixed cProjectileEntity double destroy bug (#3397) | LogicParrot | 2016-10-09 | 1 | -0/+4 |
| | |||||
* | 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. | ||||
* | Use cChunkDef::Height for Y coord comparison where applicable. | Moritz Borcherding | 2016-09-27 | 1 | -2/+2 |
| | |||||
* | Entities now bail out of ticks if destroyed (#3363) | LogicParrot | 2016-09-03 | 8 | -1/+40 |
| | |||||
* | Improve cPlayer::DoMoveToWorld (#3113) | LogicParrot | 2016-09-03 | 1 | -36/+43 |
| | |||||
* | Proper respawn packets on dimension travel | LogicParrot | 2016-08-29 | 3 | -9/+50 |
| | |||||
* | 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 | ||||
* | Fix minecart destruction crash (#3336) | LogicParrot | 2016-08-20 | 1 | -1/+1 |
| | |||||
* | Fixed minecraft with chest destruction crash (#3335) | LogicParrot | 2016-08-20 | 1 | -2/+11 |
| | |||||
* | Fixed RasPi builds of unit tests. | Mattes D | 2016-08-04 | 4 | -4/+12 |
| | | | | | 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. | ||||
* | Dropped 1.7 support (#3253) | Mathias | 2016-07-21 | 1 | -1/+1 |
| | |||||
* | CMake: Remove needless minimum version specifications. | Mattes D | 2016-07-18 | 1 | -2/+0 |
| | |||||
* | Updated API documentation. | Mattes D | 2016-07-18 | 2 | -15/+13 |
| | |||||
* | Fixes for boat entities (#3265) | beeduck | 2016-07-18 | 4 | -3/+83 |
| | | | protocol for vehicles now properly handled, protocol for boat paddles now properly handled, boats can no longer spawn underwater, boats now properly float, boat metadata now properly broadcasted. | ||||
* | Fixed falling block spawning | Altenius | 2016-07-05 | 1 | -1/+1 |
| | | | | Fixes #3222 | ||||
* | Close chest window if minecart is destroyed | Lukas Pioch | 2016-06-30 | 1 | -0/+1 |
| | |||||
* | Changed cLuaWindow callbacks to use cLuaState::cCallback. | Mattes D | 2016-06-27 | 1 | -3/+3 |
| | |||||
* | Fixed fall damage | Tiger Wang | 2016-06-02 | 4 | -44/+17 |
| | | | | * Fixes #3216 | ||||
* | 1.9 / 1.9.2 / 1.9.3 / 1.9.4 protocol support (#3135) | Pokechu22 | 2016-05-14 | 4 | -6/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 death on teleportation or leaving Minecart (#3181) | LogicParrot | 2016-05-03 | 4 | -6/+32 |
| | |||||
* | Fix crash on world travel (#3180) | LogicParrot | 2016-05-03 | 1 | -1/+1 |
| | |||||
* | Proper minecart DoSetSpeed Override (#3174) | LogicParrot | 2016-04-30 | 1 | -1/+1 |
| | | | Closes #3173, Introduced in #3037. | ||||
* | Fix minecart block collision on curved rails | Woazboat | 2016-04-22 | 1 | -10/+56 |
| | |||||
* | Fix issues below y = 0 | LogicParrot | 2016-04-18 | 2 | -6/+6 |
| | |||||
* | Add speed limit enforcement for minecarts | Marvin Kopf | 2016-04-15 | 2 | -41/+54 |
| | |||||
* | Fix occasional freeze bug | LogicParrot | 2016-04-13 | 2 | -39/+42 |
| | |||||
* | Minor improvements to player freeze | LogicParrot | 2016-04-05 | 1 | -1/+1 |
| | |||||
* | Improved player freeze code | LogicParrot | 2016-04-05 | 2 | -54/+62 |
| | |||||
* | Players never fall through unloaded chunks or end up inside solids on teleport | LogicParrot | 2016-03-31 | 2 | -27/+82 |
| | |||||
* | Player death crashfix | LogicParrot | 2016-03-31 | 1 | -2/+4 |
| | |||||
* | MoveToWorld defaults to spawnpoint | LogicParrot | 2016-03-30 | 2 | -3/+21 |
| | |||||
* | Bed's world is now saved | LogicParrot | 2016-03-29 | 2 | -4/+47 |
| | |||||
* | Revert "Lua callback" | Mattes D | 2016-03-21 | 1 | -3/+3 |
| | |||||
* | Fixed leaping potion not giving jump boost | Blitz Rakete | 2016-03-18 | 1 | -0/+1 |
| | |||||
* | Changed cLuaWindow callbacks to use cLuaState::cCallback. | Mattes D | 2016-03-17 | 1 | -3/+3 |
| | |||||
* | Proper entity destruction in non-ticking chunks | LogicParrot | 2016-02-19 | 7 | -87/+177 |
| | |||||
* | Fix minecart entity collision | Marvin Kopf | 2016-02-16 | 2 | -27/+11 |
| | | | | | * Minecarts no longer handle a collision if the entity is behind them. * Minecarts will leave the pushing after a collision on a straight rail to the entity. | ||||
* | remove cWorld::createAndInitializeWorld | LogicParrot | 2016-02-08 | 2 | -5/+11 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 31 | -242/+242 |
| | |||||
* | cMonster::m_Target safety across worlds | LogicParrot | 2016-02-03 | 4 | -18/+120 |
| | |||||
* | Merge pull request #2941 from LogicParrot/chunkBug2 | LogicParrot | 2016-02-03 | 2 | -6/+25 |
|\ | | | | | [Attempt 2] Fixed cChunk::m_Entities corruption upon world travel | ||||
| * | Fixed cChunk::m_Entities corruption upon world travel | LogicParrot | 2016-02-02 | 2 | -6/+25 |
| | | |||||
* | | Fix cPawn pushing | Marvin Kopf | 2016-02-02 | 3 | -0/+22 |
|/ | | | | cPawn instances can no longer push an entity they are attached to. cEntity now has a IsAttachedTo method. | ||||
* | Updated old forum links | Mathias | 2016-01-31 | 1 | -1/+1 |
| | |||||
* | Improved tamed wolf pack cooperation and projectile reactions | LogicParrot | 2016-01-22 | 7 | -21/+68 |
| | |||||
* | Spiders now friendly at daylight, new cChunk functions | LogicParrot | 2016-01-21 | 1 | -1/+0 |
| | |||||
* | 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 | 4 | -58/+69 |
| | |||||
* | 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 | 7 | -50/+123 |
| | |||||
* | Fixed Clang warnings. | Mattes D | 2016-01-06 | 2 | -5/+10 |
| | |||||
* | Renamed leftover strings to Cuberite / Server, as needed. | Mattes D | 2016-01-01 | 1 | -1/+1 |
| | | | | Also upgraded the user setting file for MSVC to 2013. | ||||
* | Freeze player until chunk is loaded | Safwat Halaby | 2015-12-25 | 2 | -1/+112 |
| | |||||
* | Moved variables into scope, removed unused variables and fixed variables | Lukas Pioch | 2015-12-17 | 1 | -1/+1 |
| | |||||
* | blockheight mechanism | Gargaj | 2015-12-13 | 5 | -109/+193 |
| | |||||
* | Test for correct coordinates when fishing | Gargaj | 2015-12-10 | 1 | -1/+1 |
| | | | | Fun fact: this was able to actually deadlock the server depending on where you were standing :) | ||||
* | Small spelling issues fixed | Julian Laubstein | 2015-12-08 | 1 | -3/+3 |
| | |||||
* | Spawn chickens from eggs as babies | Gargaj | 2015-12-05 | 1 | -5/+5 |
| | | | This actually works now with the breeding patch (would also close https://github.com/cuberite/cuberite/pull/2366) | ||||
* | implement breeding | Gargaj | 2015-11-29 | 1 | -0/+2 |
| | |||||
* | Add enum for Sound and Particle Effects | Dave Tucker | 2015-11-24 | 2 | -2/+4 |
| | | | | | | Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk> | ||||
* | Improved spawn location calculations. | samoatesgames | 2015-11-13 | 1 | -2/+2 |
| | | | | | | | | | | - Supports Overworld and Nether spawns. - Supports spawning under objects, but still above ground (e.g. under the leaves of a tree). - Protects against spawning in oceans. - Protects against spawning in water. - Uses a radial search about the origin, rather than a linear. - Correctly calculates Nether spawn on spawn world generation (fixes: cuberite#2548) - Fixes a bug in CheckPlayerSpawnPoint() where the X offset was used in both the X and Z coords (BLOCKTYPE BlockType = GetBlock(a_PosX + Coords[i].x, a_PosY, a_PosZ + Coords[i].x);) | ||||
* | Avoid reading out of bounds | Gargaj | 2015-11-10 | 1 | -4/+14 |
| | | | | as per https://github.com/cuberite/cuberite/pull/2630#discussion_r44377411 | ||||
* | Avoid division by zero | Gargaj | 2015-11-10 | 1 | -1/+1 |
| | | | | It won't do much because direction will still be a nullvector, but it at least avoids a CPU spike. | ||||
* | fix shallow water + add future code for liquid fall dampening | Gargaj | 2015-11-10 | 1 | -3/+11 |
| | |||||
* | code style | Gargaj | 2015-11-07 | 1 | -3/+3 |
| | |||||
* | implement pushing/shoving based on @NiLSPACE's suggestion | Gargaj | 2015-11-07 | 1 | -0/+36 |
| | |||||
* | Merge pull request #2593 from cuberite/enderegg | Julian Laubstein | 2015-11-05 | 2 | -92/+103 |
|\ | | | | | Destroy an ender crystal when hit by an egg. | ||||
| * | Destroy an ender crystal, damage a dragon when hit by an egg. | Alexander Harkness | 2015-11-05 | 2 | -92/+103 |
| | | |||||
* | | Fix being set on fire while directly being under lava | Gargaj | 2015-11-04 | 1 | -1/+1 |
|/ | | | Right now you will be on fire if there is a block of lava right above you, even if it doesn't pour down. | ||||
* | Implemented the Water Breathing Potion functionality. | bibo38 | 2015-11-01 | 2 | -0/+16 |
| | | | | Fixes #2556 | ||||
* | Implemented the FireResistence potion effects. | bibo38 | 2015-10-31 | 5 | -6/+34 |
| | | | | | This not only provides fire resistence, but also prevents blaze fireballs. See #2556 | ||||
* | 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 | 4 | -287/+138 |
| | |||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 6 | -80/+77 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 9 | -121/+120 |
| | |||||
* | Spawn baby mobs | hallucino | 2015-07-16 | 1 | -5/+5 |
| | |||||
* | 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 |
|/ | |||||
* | Merge pull request #2241 from lkolbly/master | worktycho | 2015-06-26 | 2 | -16/+26 |
|\ | | | | | Work on NetherPortalScanner. Setup portal scanner to reset PortalCool… | ||||
| * | Work on NetherPortalScanner. Setup portal scanner to reset PortalCooldown. Changed where player is spawned. Added a_InitSpawn flag to CreateAndInitializeWorld. | Lane Kolbly | 2015-06-13 | 2 | -16/+26 |
| | | |||||
* | | Added a forgotten break in cHangingEntity constructor. | Mattes D | 2015-06-24 | 1 | -0/+1 |
|/ | | | | This had caused loading the cHangingEntity to fail in debug builds. | ||||
* | Added HOOK_KILLED | Nounours Heureux | 2015-06-13 | 2 | -6/+26 |
| | |||||
* | Implemented nether portal scanning code. | Lane Kolbly | 2015-06-10 | 4 | -19/+63 |
| | |||||
* | Added system and above action bar chat messages | jan64 | 2015-06-02 | 1 | -8/+13 |
| | |||||
* | Fixed warnings in MSVC. | Mattes D | 2015-06-02 | 1 | -3/+12 |
| | | | | It complained about undefined return values or using uninitialized variables. | ||||
* | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-29 | 1 | -4/+5 |
|\ | | | | | | | | | Conflicts: src/Entities/ArrowEntity.cpp | ||||
| * | AI - Sane Skeleton | SafwatHalaby | 2015-05-28 | 1 | -10/+11 |
| | | |||||
* | | Fix comments | tycho | 2015-05-28 | 1 | -5/+6 |
| | | |||||
* | | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-28 | 1 | -0/+1 |
|\| | | | | | | | | | Conflicts: src/Inventory.cpp | ||||
| * | Merge pull request #2061 from mc-server/fixes | Alexander Harkness | 2015-05-27 | 1 | -0/+1 |
| |\ | | | | | | | Fixes | ||||
| | * | Fixes #2052 | Tiger Wang | 2015-05-18 | 1 | -0/+1 |
| | | | |||||
* | | | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-24 | 2 | -148/+154 |
|\| | | |||||
| * | | Fix gamemode not changing properly. | Alexander Harkness | 2015-05-23 | 2 | -148/+154 |
| | | | | | | | | | | | | Should fix #604 | ||||
* | | | Made -Weverything an error. | tycho | 2015-05-24 | 17 | -42/+48 |
| | | | |||||
* | | | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-23 | 2 | -6/+6 |
|\| | | |||||
| * | | Merge pull request #2117 from Seadragon91/clang_errors | worktycho | 2015-05-23 | 2 | -6/+6 |
| |\ \ | | | | | | | | | Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. | ||||
| | * | | Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. | Lukas Pioch | 2015-05-23 | 2 | -6/+6 |
| | | | | |||||
* | | | | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-23 | 1 | -0/+9 |
|\| | | | |||||
| * | | | 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 branch 'master' into PreventNewWarnings | tycho | 2015-05-23 | 2 | -5/+13 |
|\| | | |||||
| * | | 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 | 2 | -5/+6 |
| | | | |||||
* | | | Make -Werror disabling file only | tycho | 2015-05-19 | 8 | -12/+17 |
|/ / | | | | | | | Ad fix a load of warnings | ||||
* / | Added hooks HOOK_ENTITY_CHANGE_WORLD and HOOK_ENTITY_CHANGED_WORLD | Lukas Pioch | 2015-05-18 | 2 | -0/+21 |
|/ | | | | Fixes #1435. | ||||
* | More style checking. | Mattes D | 2015-05-09 | 8 | -20/+20 |
| | | | | Spaces around some operators are checked. | ||||
* | Added support for additional data in the ParticleEffect Packet | tycho | 2015-05-07 | 1 | -3/+3 |
| | | | | Also started refactoring how broadcasts are handled | ||||
* | Entity improvements | Tiger Wang | 2015-05-04 | 2 | -2/+1 |
| | | | | | | | | •Pathfinder improvements •Fixes #1217 •Fixes #1933 Merge remote-tracking branch 'SafwatHalaby/water2' into fixes | ||||
* | cPlayer now checks restrictions. | Mattes D | 2015-04-25 | 2 | -7/+36 |
| | | | | Fixes #1331. | ||||
* | HangingEntity: Fixed a needless clang warning. | Mattes D | 2015-04-19 | 1 | -2/+5 |
| | |||||
* | Merge pull request #1844 from DevToaster/master | Mattes D | 2015-04-14 | 14 | -16/+57 |
|\ | | | | | Modified physics for more vanilla-like behavior | ||||
| * | Changed air drag for pickups | DevToaster | 2015-03-31 | 1 | -1/+1 |
| | | |||||
| * | Changed air drag units to 'interpolated ticks' per second | DevToaster | 2015-03-31 | 9 | -13/+15 |
| | | |||||
| * | Adjusted projectile physics | DevToaster | 2015-03-31 | 1 | -4/+6 |
| | | |||||
| * | Modified physics for more vanilla-like behavior | DevToaster | 2015-03-31 | 14 | -12/+49 |
| | | |||||
* | | Fixed players not appearing/disappearing when traveling to a new world. | STRWarrior | 2015-04-03 | 1 | -0/+6 |
|/ | |||||
* | Merge pull request #1826 from mc-server/UnifyPacketizer | Mattes D | 2015-03-24 | 6 | -53/+62 |
|\ | | | | | Unify packetizer | ||||
| * | Unified cPacketizer across all protocols. | Mattes D | 2015-03-22 | 1 | -1/+1 |
| | | |||||
| * | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 2015-03-21 | 5 | -52/+61 |
| | | |||||
* | | Merge pull request #1775 from tommysanterre/terrainheightfix | Mattes D | 2015-03-23 | 2 | -2/+5 |
|\ \ | | | | | | | Correct all world height validations. | ||||
| * | | Correct world height validations. | Tommy Santerre | 2015-03-20 | 2 | -2/+5 |
| |/ | | | | | | | | | 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 | ||||
* | | Changed linked world name variables and setters / getters. | Mattes D | 2015-03-21 | 1 | -5/+5 |
| | | | | | | | | | | Ref.: #1792 Ref.: https://github.com/mc-server/MCServer/pull/1792#discussion_r25946707 | ||||
* | | Fixed trailing whitespace. | Mattes D | 2015-03-21 | 1 | -1/+1 |
| | | |||||
* | | Improved arrow in-flight and block-hit appearance | Tiger Wang | 2015-03-20 | 2 | -19/+3 |
|/ | | | | * Fixes #1495 | ||||
* | Merge pull request #1810 from mc-server/paintings | Mattes D | 2015-03-15 | 6 | -95/+94 |
|\ | | | | | Paintings | ||||
| * | Fixed style violations | Tiger Wang | 2015-03-14 | 1 | -2/+2 |
| | | |||||
| * | cPainting saving implemented | Tiger Wang | 2015-03-14 | 6 | -32/+31 |
| | | | | | | | | Additionally, it now inherits from cHangingEntity. | ||||
| * | Fixed confusion over Item Frame directions | Tiger Wang | 2015-03-13 | 2 | -65/+65 |
| | | |||||
* | | Merge pull request #1734 from mc-server/pistons | Mattes D | 2015-03-14 | 1 | -2/+12 |
|\ \ | |/ |/| | Handle client 'leave bed' request | ||||
| * | Handle client 'leave bed' request | Tiger Wang | 2015-02-08 | 1 | -2/+12 |
| | | | | | | | | * Fixes #1728 | ||||
* | | Merge branch 'master' into Inventory | Howaner | 2015-03-09 | 4 | -72/+78 |
|\ \ | |||||
| * | | Added OnTeleportEntity hook for plugins. | joshi07 | 2015-03-05 | 2 | -12/+21 |
| | | | | | | | | | | | | | | | 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 |
| | | | |||||
| * | | Replaced short int with int for Player experience | DevToaster | 2015-02-28 | 1 | -1/+1 |
| | | | |||||
| * | | modified: src/Entities/Player.cpp | DevToaster | 2015-02-28 | 2 | -27/+27 |
| | | | | | | | | | | | | modified: src/Entities/Player.h | ||||
| * | | use DoSetSpeed in AddSpeed* in Entity.cpp | Raekye | 2015-02-26 | 1 | -10/+4 |
| |/ | |||||
| * | Spacing | Howaner | 2015-02-07 | 1 | -1/+1 |
| | | |||||
| * | cPlayer should override IsOnGround() | Howaner | 2015-02-07 | 2 | -3/+3 |
| | | |||||
| * | Added IsOnGround() to cEntity | Howaner | 2015-02-07 | 1 | -0/+3 |
| | | |||||
* | | Merge branch 'master' into Inventory | Howaner | 2015-02-06 | 2 | -10/+32 |
|\| | |||||
| * | Converted cServer to use the cNetwork API. | Mattes D | 2015-01-27 | 2 | -10/+32 |
| | | |||||
* | | Merge branch 'master' into Inventory | Howaner | 2015-01-25 | 38 | -91/+206 |
|\| | |||||
| * | Fixed type-conversion warnings. | Mattes D | 2015-01-18 | 3 | -7/+7 |
| | | |||||
| * | Converted cPickupEntity to std::chrono | Tycho | 2015-01-16 | 2 | -12/+12 |
| | | |||||
| * | Converted MinecartEntity to std::chrono | Tycho | 2015-01-16 | 2 | -8/+8 |
| | | |||||
| * | Converted cExpOrbEntity to std::chrono | Tycho | 2015-01-16 | 2 | -7/+7 |
| | | |||||
| * | Converted ArrowEntityTiers to std::chrono | Tycho | 2015-01-16 | 2 | -7/+7 |
| | | |||||
| * | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 38 | -69/+69 |
| | | | | | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
| * | APIDump: Updated the player block placement documentation. | Mattes D | 2014-12-24 | 1 | -1/+2 |
| | | | | | | | | The hooks now have fewer parameters but are called on all player-placed blocks (#1618). | ||||
| * | 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 | 2 | -0/+114 |
| | | | | | | | | 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 | 2 | -1/+2 |
|/ | |||||
* | Merge remote-tracking branch 'origin/master' into c++11 | Tiger Wang | 2014-12-06 | 2 | -11/+40 |
|\ | | | | | | | | | Conflicts: src/OSSupport/Thread.cpp | ||||
| * | BasicStyle: Added missing braces to control statements. | Mattes D | 2014-12-05 | 2 | -10/+39 |
| | | |||||
| * | Fixed reported parentheses around comparisons. | Mattes D | 2014-12-05 | 1 | -1/+1 |
| | | |||||
* | | Merged branch 'origin/master' into c++11. | Mattes D | 2014-12-04 | 2 | -7/+12 |
|\| | |||||
| * | 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 |
| | | |||||
| * | Minecart.h: Fixed integral conversion warning. | Mattes D | 2014-11-27 | 1 | -1/+1 |
| | | |||||
* | | 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 | 33 | -342/+500 |
| |\| | | | | | | | | | | | | | | | | | | | Conflicts: src/ChunkSender.cpp src/ClientHandle.cpp src/World.h | ||||
| * | | Merge branch 'master' into ChunkLoader | Howaner | 2014-10-21 | 2 | -100/+92 |
| |\ \ | | | | | | | | | | | | | | | | | Conflicts: src/World.h | ||||
| * \ \ | Merge branch 'master' into ChunkLoader | Howaner | 2014-10-21 | 9 | -34/+40 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp | ||||
| * | | | | Optimized chunk loader | Howaner | 2014-10-02 | 1 | -1/+0 |
| | | | | | |||||
* | | | | | Merged branch 'master' into c++11. | Mattes D | 2014-10-23 | 21 | -161/+311 |
|\ \ \ \ \ | | |_|_|/ | |/| | | | |||||
| * | | | | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 15 | -188/+192 |
| | | | | | |||||
| * | | | | cItemFrame: Fixed a forgotten rename. | Mattes D | 2014-10-21 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Properly exported cItemFrame and cHangingEntity to Lua. | Mattes D | 2014-10-21 | 4 | -37/+55 |
| | | | | | |||||
| * | | | | Exported individual projectile classes to Lua API. | Mattes D | 2014-10-21 | 16 | -117/+253 |
| | |_|/ | |/| | | | | | | | | | | They used to be exported, but then they were moved to separate files and those werent' added to the ToLua processing list. | ||||
| * | | | Merged branch 'master' of git://github.com/sriehl/MCServer | Mattes D | 2014-10-21 | 2 | -100/+92 |
| |\ \ \ | | |_|/ | |/| | | |||||
| | * | | convert old style casts to fix warnings | Steven Riehl | 2014-10-12 | 2 | -101/+93 |
| | | | | |||||
* | | | | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-20 | 15 | -99/+99 |
| | | | | |||||
* | | | | Migrated cSleep and cTimer to std::chrono | Tiger Wang | 2014-10-20 | 2 | -9/+5 |
|/ / / | |||||
* | | | LuaState: Pushing a cEntity pushes the correct class name. | Mattes D | 2014-10-19 | 1 | -5/+5 |
| | | | | | | | | | | | | This makes Lua scripts easier, as they don't need to cast values from cEntity to the specific descendant. | ||||
* | | | 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 | 7 | -19/+25 |
| | | | |||||
* | | | Fixed style. | Mattes D | 2014-10-13 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Float/Ciel: If it's going to use C++11, it might as well take advantage of it | archshift | 2014-10-09 | 1 | -3/+3 |
| | | |||||
* | | Use static casts instead of C casts, add floor-cast functions | archshift | 2014-10-09 | 1 | -3/+3 |
|/ | |||||
* | cPlayer: Removed useless functions from the Lua API. | madmaxoft | 2014-10-01 | 1 | -2/+6 |
| | |||||
* | Merge pull request #1427 from mc-server/chestcarts | Mattes D | 2014-09-30 | 2 | -18/+65 |
|\ | | | | | Implemented Chest Minecarts | ||||
| * | Compilation fix | Tiger Wang | 2014-09-28 | 1 | -2/+2 |
| | | |||||
| * | Suggestions | Tiger Wang | 2014-09-27 | 2 | -3/+4 |
| | | |||||
| * | Merge remote-tracking branch 'origin/master' into chestcarts | Tiger Wang | 2014-09-27 | 18 | -112/+350 |
| |\ | | | | | | | | | | | | | Conflicts: src/Entities/Minecart.cpp | ||||
| * | | Implemented Chest Minecarts | Tiger Wang | 2014-09-13 | 2 | -18/+63 |
| | | | |||||
* | | | cRankManager: Added GetAllPlayers() and GetPlayerName() | Howaner | 2014-09-28 | 1 | -0/+5 |
| |/ |/| | |||||
* | | Merge branch 'master' into Fixes | Howaner | 2014-09-26 | 7 | -24/+22 |
|\ \ | |||||
| * | | Removed more unessicary includes | Tycho | 2014-09-26 | 3 | -3/+1 |
| | | | |||||
| * | | Merge pull request #1419 from mc-server/redstoneTests | worktycho | 2014-09-26 | 5 | -21/+21 |
| |\ \ | | | | | | | | | Added test mocking to IncrementalRedstoneSimulator | ||||
| | * \ | Merge branch 'master' into redstoneTests | Tycho | 2014-09-25 | 1 | -2/+8 |
| | |\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Simulator/IncrementalRedstoneSimulator.cpp | ||||
| | * \ \ | Merge branch 'master' into redstoneTests | Tycho | 2014-09-25 | 11 | -62/+179 |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Mobs/Monster.h | ||||
| | * \ \ \ | Merge branch 'master' into redstoneTests | Tycho | 2014-09-17 | 5 | -24/+126 |
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Blocks/ChunkInterface.h | ||||
| | * | | | | | Added first test to show the object can be created | Tycho | 2014-09-17 | 5 | -21/+21 |
| | | | | | | | |||||
* | | | | | | | Fixed players custom name in 1.8 | Howaner | 2014-09-26 | 1 | -3/+4 |
|/ / / / / / | |||||
* | | | | | | Comment style | Howaner | 2014-09-25 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Merge branch 'master' into Fixes | Howaner | 2014-09-25 | 1 | -2/+8 |
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | |||||
| * | | | | | HangingEntity: Silenced a crash. | madmaxoft | 2014-09-25 | 1 | -2/+8 |
| | |_|/ / | |/| | | | | | | | | | | | | | Vanilla worlds sometimes contain data that this was asserting upon. Changed into a log. | ||||
* / | | | | Fixed hanging direction bugs. | Howaner | 2014-09-25 | 2 | -1/+16 |
|/ / / / | |||||
* | | | | Merge branch 'master' into EntityCustomName | Howaner | 2014-09-23 | 10 | -89/+244 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | | | | Made ExpBottleEntity break on entities. | archshift | 2014-09-23 | 2 | -1/+23 |
| | | | | | | | | | | | | | | | | | | | | Fixes #1369 | ||||
| * | | | | A few compiler warning fixes | Chris Darnell | 2014-09-23 | 3 | -42/+45 |
| | | | | | |||||
| * | | | | Merge pull request #1398 from mc-server/1.8-Protocol | Alexander Harkness | 2014-09-22 | 3 | -3/+5 |
| |\ \ \ \ | | | | | | | | | | | | | 1.8 Protocol Update | ||||
| | * \ \ \ | Merge branch 'master' into 1.8-Protocol | Howaner | 2014-09-19 | 2 | -5/+27 |
| | |\ \ \ \ | |||||
| | * | | | | | 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 | 5 | -25/+125 |
| | |\ \ \ \ \ | | | | |_|/ / | | | |/| | | | |||||
| | * | | | | | Merge branch 'master' into 1.8-Protocol | Howaner | 2014-09-13 | 1 | -11/+13 |
| | |\ \ \ \ \ | | | | |_|_|/ | | | |/| | | | | | | | | | | | | | | | | | Conflicts: src/Items/ItemHoe.h | ||||
| | * | | | | | 1.8: Fixed hangings. | Howaner | 2014-09-11 | 1 | -1/+1 |
| | | | | | | | |||||
| | * | | | | | Added the player list to the 1.8 protocol. | Howaner | 2014-09-09 | 2 | -2/+4 |
| | | |_|_|/ | | |/| | | | |||||
| * | | | | | Made it compile with clang | Chris Darnell | 2014-09-22 | 2 | -4/+4 |
| | |_|_|/ | |/| | | | |||||
| * | | | | 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 | ||||
| * | | | | Preparing 1.8 changes | nesco | 2014-09-16 | 1 | -0/+3 |
| | |_|/ | |/| | | | | | | Added Spectator Gamemode | ||||
| * | | | Entities experience water resistance | Tiger Wang | 2014-09-13 | 2 | -16/+31 |
| | | | | |||||
| * | | | Merge pull request #1353 from mc-server/Effects | Mattes D | 2014-09-13 | 3 | -9/+94 |
| |\ \ \ | | |_|/ | |/| | | Added speed entity effect. | ||||
| | * | | Added extra mushroom handler. | Howaner | 2014-09-12 | 1 | -7/+0 |
| | | | | |||||
| | * | | Merge branch 'master' into Effects | Howaner | 2014-09-12 | 3 | -5/+9 |
| | |\| | |||||
| | * | | Renamed SetWalkSpeed() to SetRelativeWalkSpeed() | Howaner | 2014-09-02 | 1 | -4/+4 |
| | | | | |||||
| | * | | Merge branch 'master' into Effects | Howaner | 2014-09-02 | 9 | -30/+318 |
| | |\ \ | |||||
| | * | | | Fixed potion removing in creative mode. | Howaner | 2014-08-30 | 1 | -4/+2 |
| | | | | | |||||
| | * | | | Added slowness effect and added entity support. | Howaner | 2014-08-30 | 2 | -16/+65 |
| | | | | | |||||
| | * | | | Added speed entity effect. | Hownaer | 2014-08-28 | 2 | -0/+45 |
| | | | | | |||||
| * | | | | Fixed friction being applied whilst airborne | Tiger Wang | 2014-09-12 | 1 | -11/+13 |
| | |_|/ | |/| | | | | | | | | | | Reported by tonibm9 in #1300. | ||||
| * | | | 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 |
| | | | | |||||
| * | | | Revert "Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etc" | archshift | 2014-09-04 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 472efa8174626a00ffdf5b39e1a44ac419cd3698. Apparently we don't support some of these features quite yet (darn you C++98!) | ||||
| * | | | Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etc | archshift | 2014-09-04 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | Snow Golems must also be above 64Y to spawn snow (as of 1.8). | ||||
| * | | | Fixed style and alpha-sorting. | madmaxoft | 2014-09-03 | 2 | -4/+4 |
| | | | | |||||
| * | | | EntityEffect.cpp: Enable 1.8's leaping potion | archshift | 2014-09-03 | 1 | -1/+1 |
| | |/ | |/| | |||||
* | | | Merge branch 'master' into EntityCustomName | Howaner | 2014-09-02 | 1 | -2/+6 |
|\| | | |||||
| * | | Pickups combine only within one chunk. | madmaxoft | 2014-09-01 | 1 | -2/+6 |
| | | | | | | | | | | | | This greatly improves performance of the tick thread. | ||||
* | | | Added the new functions to APIDump. | Howaner | 2014-09-02 | 1 | -1/+1 |
| | | | |||||
* | | | Added SetCustomName() to players. | Howaner | 2014-09-02 | 2 | -1/+61 |
| | | | |||||
* | | | Added name tag | Howaner | 2014-09-01 | 4 | -3/+8 |
| | | | |||||
* | | | Added CustomName to cMonster. | Howaner | 2014-09-01 | 1 | -3/+6 |
|/ / | |||||
* | | Fixed previous commit's wrong assumptions. | madmaxoft | 2014-09-01 | 1 | -10/+10 |
| | | | | | | | | The equipment-getting functions return a copy already, so we can't take a pointer, really. | ||||
* | | Fixed MSVC compilation, improved performance. | madmaxoft | 2014-09-01 | 1 | -30/+59 |
| | | | | | | | | We're not creating copies of the equipped items anymore, rather, we're using pointers to them. Also pow() is needlessly slow for a simple second power, and MSVC2008 was confused about the pow() overloads. | ||||
* | | Fixed MSVC warning. | madmaxoft | 2014-09-01 | 1 | -2/+2 |
| | | |||||
* | | Merge remote-tracking branch 'Hircine/Enchantments' | madmaxoft | 2014-09-01 | 6 | -8/+264 |
|\ \ | |||||
| * | | Fixed style | Jaume Aloy | 2014-08-31 | 3 | -8/+9 |
| | | | |||||
| * | | Added a_Digger check | Jaume Aloy | 2014-08-30 | 1 | -2/+2 |
| | | | |||||
| * | | More Enchantments | Jaume Aloy | 2014-08-22 | 1 | -57/+70 |
| | | | | | | | | | | | | - Added Thorns and Respiration enchantments | ||||
| * | | Protection Enchantments, some fixes | Jaume Aloy | 2014-08-21 | 3 | -8/+114 |
| | | | | | | | | | | | | | | | | | | | | | | | | - 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. | ||||
| * | | Changed if in BlockHandler | Jaume Aloy | 2014-08-19 | 1 | -1/+0 |
| | | | |||||
| * | | Fixes | Jaume Aloy | 2014-08-19 | 4 | -14/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | - Changed m_TicksLeftBurning > 0 for IsOnFire() - Tried to do the changes in BlockHandler.cpp - Removed m_Creator in ArrowEntity - Added m_Enchantments in ProjectileEntity CreatorData - Added blank lines between functions | ||||
| * | | Changed if for switch | Jaume Aloy | 2014-08-19 | 1 | -3/+2 |
| | | | |||||
| * | | Added more enchantments and some fixes | Jaume Aloy | 2014-08-19 | 4 | -7/+61 |
| | | | | | | | | | | | | | | | | | | | | | - Removed Debug messages - Added Punch enchantment effect - Added Silk Touch enchantment - Added Unbreaking enchantment effect | ||||
| * | | Added some Enchantments | Jaume Aloy | 2014-08-19 | 3 | -6/+89 |
| | | | | | | | | | | | | | | | | | | - Bow enchantments: Infinity, Flame and Power - Sword and tools enchantments: Fire Aspect, Bane of Arthropods, Smite, Sharpness | ||||
* | | | Merge branch 'master' into fixes | madmaxoft | 2014-08-30 | 1 | -18/+18 |
|\ \ \ | |||||
| * | | | Fixed MSVC2008 compilation. | madmaxoft | 2014-08-30 | 1 | -18/+18 |
| | |/ | |/| | | | | | | | It was getting confused about which sqrt() overload to call. | ||||
* | | | Merge branch 'master' of https://github.com/mc-server/MCServer | Tiger Wang | 2014-08-29 | 4 | -247/+220 |
|\| | | | | | | | | | | | | | | Conflicts: src/Server.cpp | ||||
| * | | Fixed a typo. | Mattes D | 2014-08-28 | 1 | -1/+1 |
| | | | |||||
| * | | Merge pull request #1324 from ChriPiv/master | Mattes D | 2014-08-28 | 1 | -2/+92 |
| |\ \ | | | | | | | | | Implement ability to push minecarts on curved rails | ||||
| | * | | Change comment formatting | Christophe Piveteau | 2014-08-24 | 1 | -20/+12 |
| | | | | |||||
| | * | | Adjust comment formatting | Christophe Piveteau | 2014-08-18 | 1 | -20/+40 |
| | | | | |||||
| | * | | Added a lot of comments | Christophe Piveteau | 2014-08-15 | 1 | -30/+36 |
| | | | | |||||
| | * | | Clarify comment message | Christophe Piveteau | 2014-08-15 | 1 | -2/+2 |
| | | | | |||||
| | * | | End of comment moved away from new line | Christophe Piveteau | 2014-08-15 | 1 | -2/+1 |
| | | | | |||||
| | * | | Add some comments | Christophe Piveteau | 2014-08-15 | 1 | -10/+21 |
| | | | | |||||
| | * | | Further changes in coding style | Christophe Piveteau | 2014-08-14 | 1 | -38/+28 |
| | | | | |||||
| | * | | Further fixing of coding style errors | Christophe Piveteau | 2014-08-13 | 1 | -26/+22 |
| | | | | |||||
| | * | | Another intendation error | Christophe Piveteau | 2014-08-13 | 1 | -2/+2 |
| | | | | |||||
| | * | | Fixed braces and intendation errors | Christophe Piveteau | 2014-08-13 | 1 | -3/+11 |
| | | | | |||||
| | * | | Implement ability to push minecarts on curved rails | Christophe Piveteau | 2014-08-13 | 1 | -2/+70 |
| | | | | |||||
| * | | | 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 last remnant of cGroup. | Mattes D | 2014-08-21 | 1 | -1/+0 |
| | | | |||||
| * | | Removed cGroup and cGroupManager. | Mattes D | 2014-08-21 | 1 | -2/+0 |
| | | | |||||
| * | | cPlayer: Exported the LoadRank function to Lua API. | Mattes D | 2014-08-20 | 1 | -2/+2 |
| | | | |||||
| * | | cPlayer reads ranks from cRankManager. | Mattes D | 2014-08-19 | 2 | -224/+85 |
| |/ | |||||
| * | Fixed tolua error with static initialization | archshift | 2014-08-11 | 2 | -3/+12 |
| | | |||||
| * | Player.cpp: change unnamed enum to constant integers | archshift | 2014-08-11 | 2 | -7/+8 |
| | | |||||
| * | 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 |
| | | |||||
| * | On destroy ender crystal, create bedrock and fire | archshift | 2014-08-06 | 1 | -3/+3 |
| | | |||||
* | | Removed unused code | Tiger Wang | 2014-08-29 | 1 | -1/+0 |
|/ | |||||
* | CheckBasicStyle: multi-level indent change. | madmaxoft | 2014-08-04 | 1 | -1/+1 |
| | |||||
* | Attempt to fix knockback and swimming. | Howaner | 2014-08-04 | 1 | -15/+13 |
| | |||||
* | Added cPlayer::GetUUID(). | madmaxoft | 2014-08-03 | 1 | -0/+3 |
| | |||||
* | Fixed a ToLua warning - operator = not supported. | madmaxoft | 2014-08-03 | 2 | -2/+2 |
| | |||||
* | Entity.cpp: Air timer comment fix | archshift | 2014-08-03 | 1 | -1/+1 |
| | |||||
* | Code reduction and clarity fixes | archshift | 2014-08-03 | 2 | -29/+16 |
| | |||||
* | Removed unused cPlayer::FoodPoison function | archshift | 2014-08-03 | 2 | -12/+0 |
| | |||||
* | Entity.cpp: On portal check, use if-else for current dimension | archshift | 2014-08-03 | 1 | -60/+54 |
| | | | | If current dimension corresponds with the portal (nether portal in the nether) send to the overworld, else send to the portal dimension. No need to switch on the dimension and exclude potential others. | ||||
* | Merge pull request #1255 from mc-server/NameToUUID | Mattes D | 2014-08-01 | 2 | -6/+9 |
|\ | | | | | Name to UUID | ||||
| * | Merged branch 'master' into NameToUUID. | madmaxoft | 2014-07-31 | 4 | -81/+328 |
| |\ | |||||
| * | | Fixed UUIDs handling in cPlayer. | madmaxoft | 2014-07-31 | 2 | -6/+9 |
| | | | | | | | | | | | | 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 | 3 | -22/+38 |
| |/ |/| | |||||
* | | Merged branch 'howaner/Options'. | madmaxoft | 2014-07-30 | 1 | -6/+8 |
|\ \ | |||||
| * | | Add "Broadcasting" settings to world.ini | Howaner | 2014-07-27 | 1 | -6/+8 |
| |/ | |||||
* | | Entity.h: Moved constants out of some unnamed enum | archshift | 2014-07-30 | 1 | -14/+14 |
| | | |||||
* | | Slight cleanup after portals | Tiger Wang | 2014-07-29 | 1 | -1/+1 |
| | | |||||
* | | Detrailed whitespace | Tiger Wang | 2014-07-29 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-07-29 | 31 | -50/+196 |
|\ \ | | | | | | | | | | | | | Conflicts: src/World.h | ||||
| * \ | Merge pull request #1236 from Howaner/Inventory2 | Mattes D | 2014-07-27 | 3 | -8/+11 |
| |\ \ | | |/ | |/| | Fix item durability. | ||||
| | * | Merge branch 'master' into Inventory2 | Howaner | 2014-07-26 | 26 | -33/+33 |
| | |\ | | | | | | | | | | | | | | | | | Conflicts: src/BlockInfo.cpp | ||||
| | * | | Fix item durability. | Howaner | 2014-07-23 | 3 | -8/+11 |
| | | | | | | | | | | | | Fixes #1181 | ||||
| * | | | SplashPotionEntity: Use `const cItem &` instead of a cItem | archshift | 2014-07-26 | 2 | -2/+2 |
| | | | | |||||
| * | | | Fixed indentations, removed redundant init code in SplashPotionEntity.cpp | archshift | 2014-07-26 | 3 | -6/+2 |
| | | | | |||||
| * | | | Moved potion static functions to EntityEffect to create splash potions through world | archshift | 2014-07-26 | 5 | -9/+156 |
| | |/ | |/| | |||||
| * | | Removed redundant semicolons and re-added warning | archshift | 2014-07-24 | 26 | -33/+33 |
| |/ | |||||
* | | Suggestions | Tiger Wang | 2014-07-23 | 4 | -16/+23 |
| | | |||||
* | | Speed improvements, crash fixes, & self-suggestions | Tiger Wang | 2014-07-22 | 4 | -35/+37 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-07-22 | 12 | -134/+212 |
|\| | | | | | | | | | | | | | | | 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 | 4 | -66/+66 |
| | | |||||
| * | Style: Normalized spaces after if, for and while. | madmaxoft | 2014-07-21 | 1 | -28/+28 |
| | | |||||
| * | Merge pull request #1213 from mc-server/chat-color | Mattes D | 2014-07-20 | 1 | -1/+1 |
| |\ | | | | | | | Refactored cChatColor | ||||
| | * | Removed references to deprecated cChatColor::Color | archshift | 2014-07-19 | 1 | -1/+1 |
| | | | |||||
| * | | Line tracer invalid chunk fix | Tiger Wang | 2014-07-20 | 1 | -6/+7 |
| | | | | | | | | | | | | | | | * Fixes #1230 * Additionally improved speed in some scenarios | ||||
| * | | Added m_TicksAlive to entities, allows projectiles to hit their creators | archshift | 2014-07-20 | 3 | -3/+14 |
| | | | |||||
| * | | Added destroy-timer system to splash potion entities | archshift | 2014-07-20 | 2 | -3/+24 |
| |/ | |||||
| * | Code style: Fixed braces on separate lines. | madmaxoft | 2014-07-19 | 1 | -1/+2 |
| | | |||||
| * | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #1214 from mc-server/anti-glob | Mattes D | 2014-07-19 | 1 | -6/+59 |
| |\ | | | | | | | CMake - Explicitly lists all source files | ||||
| | * | Subdirs: Only add_library if not using MSVC | archshift | 2014-07-19 | 1 | -2/+4 |
| | | | |||||
| | * | Entities/CMakeLists.txt: Replaced glob with list of files | archshift | 2014-07-19 | 1 | -5/+56 |
| | | | |||||
| * | | Merge pull request #1223 from mc-server/fixes | Mattes D | 2014-07-19 | 5 | -32/+10 |
| |\ \ | | | | | | | | | Fixed small issues throughout the codebase | ||||
| | * | | Minecart: slimmed down SpawnOn by keeping subtype in the payload enum | archshift | 2014-07-19 | 2 | -20/+7 |
| | | | | |||||
| | * | | Fixed clamping issues | archshift | 2014-07-19 | 3 | -12/+3 |
| | |/ | |||||
| * | | Splash potions: Renamed PotionParticleType to PotionColor for clarity | archshift | 2014-07-19 | 2 | -10/+10 |
| | | | |||||
| * | | Fixed splash potion color on toss | archshift | 2014-07-19 | 2 | -0/+16 |
| |/ | |||||
| * | Merge branch 'Entities' | madmaxoft | 2014-07-18 | 1 | -4/+1 |
| |\ | |||||
| | * | Fixed many slime bugs. | Howaner | 2014-07-17 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | | | | | | - Fixed slime hurt/death sound - Added slime spawning on death. - Fixed the max health. - Fixed the attack damage. - Little slimes should not attack players. | ||||
* | | | Suggestions | Tiger Wang | 2014-07-21 | 4 | -65/+70 |
| | | | |||||
* | | | Bug and crash fixes | Tiger Wang | 2014-07-20 | 4 | -48/+65 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | 3 | -45/+12 |
| | | | |||||
* | | | Merge branch 'master' into portals | Tiger Wang | 2014-07-18 | 43 | -506/+1917 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 9 | -25/+25 |
| | | | |||||
| * | | More trailing whitespace fixes. | madmaxoft | 2014-07-17 | 4 | -8/+8 |
| | | | |||||
| * | | 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 | 8 | -29/+29 |
| | | | |||||
| * | | Merge branch 'master' of https://github.com/mc-server/MCServer | madmaxoft | 2014-07-17 | 1 | -23/+8 |
| |\| | |||||
| | * | Fixed mob knockback | Tiger Wang | 2014-07-17 | 1 | -23/+8 |
| | | | | | | | | | | | | * Fixes #901 | ||||
| * | | Normalized comments. | madmaxoft | 2014-07-17 | 29 | -141/+141 |
| |/ | | | | | | | | | 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 3 MSVC warnings in SplashPotionEntity. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | | |||||
| * | Updated cPawn::KilledBy signature for custom death messages. | madmaxoft | 2014-07-17 | 2 | -3/+3 |
| | | |||||
| * | Merge branch 'master' into potions | madmaxoft | 2014-07-17 | 9 | -22/+43 |
| |\ | |||||
| | * | Merge pull request #1193 from mc-server/deathmessages | Mattes D | 2014-07-17 | 9 | -22/+43 |
| | |\ | | | | | | | | | Death messages | ||||
| | | * | Resolved backwards compatibility issues | Tiger Wang | 2014-07-16 | 1 | -1/+1 |
| | | | | |||||
| | | * | Tailored death messages | Tiger Wang | 2014-07-04 | 9 | -22/+43 |
| | | | | |||||
| * | | | Fixed formatting for cWitherSkullEntity | madmaxoft | 2014-07-17 | 2 | -3/+13 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'origin/master' into potions | madmaxoft | 2014-07-17 | 2 | -3/+12 |
| |\| | | |||||
| | * | | Another fix for excessive food drain | Tiger Wang | 2014-07-16 | 2 | -1/+10 |
| | | | | |||||
| | * | | 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 |
| | | | | | |||||
| * | | | | Restructured cSplashPotionEntity code. | madmaxoft | 2014-07-15 | 3 | -70/+102 |
| | | | | | | | | | | | | | | | | | | | | | | | | | The callback doesn't need declaration in the header. Renamed PotionName to PotionParticleType. | ||||
| * | | | | Only the cEntityEffect::effXXX constants are Lua-exported. | madmaxoft | 2014-07-15 | 2 | -72/+102 |
| | | | | | | | | | | | | | | | | | | | | The rest of the classes don't need exporting, there's no interface using them anyway. | ||||
| * | | | | Reformatted EntityEffect code. | madmaxoft | 2014-07-15 | 1 | -25/+29 |
| | | | | | |||||
| * | | | | Fixed a MSVC warning in cEntityEffect::CreateEntityEffect(). | madmaxoft | 2014-07-15 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Merge branch 'master' into potions | madmaxoft | 2014-07-15 | 8 | -14/+15 |
| |\| | | | |||||
| | * | | | Maybe improved arrow sinking | Tiger Wang | 2014-07-14 | 1 | -2/+2 |
| | | | | | |||||
| | * | | | Made CreateProjectile a pointer | worktycho | 2014-07-13 | 2 | -4/+5 |
| | | | | | |||||
| | * | | | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 2014-07-13 | 5 | -7/+7 |
| | |/ / | |||||
| | * | | Merge pull request #1154 from mc-server/trappedchests | Tiger Wang | 2014-07-13 | 1 | -1/+1 |
| | |\ \ | | | | | | | | | | | Implemented trapped chests & others | ||||
| | | * | | Implemented trapped chests & others | Tiger Wang | 2014-07-07 | 1 | -1/+1 |
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | ||||
| * | | | Readability and clarity changes | archshift | 2014-07-14 | 3 | -29/+23 |
| | | | | |||||
| * | | | EntityEffect: Inlined functions, added explicit copy constructor and operator. | archshift | 2014-07-14 | 2 | -20/+29 |
| | | | | |||||
| * | | | Changed separating comment style from asterisks to slashes. | archshift | 2014-07-14 | 2 | -93/+93 |
| | | | | |||||
| * | | | Added splash potions to NBT serialization and retrieval | archshift | 2014-07-12 | 2 | -1/+9 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'origin/master' into potions | archshift | 2014-07-12 | 2 | -85/+172 |
| |\| | | |||||
| | * | | Simplified the player data loading. | madmaxoft | 2014-07-11 | 1 | -9/+8 |
| | | | | |||||
| | * | | Player data filenames are based on UUID. | madmaxoft | 2014-07-11 | 2 | -67/+132 |
| | | | | |||||
| | * | | Fixed a missing return value. | madmaxoft | 2014-07-11 | 1 | -0/+2 |
| | | | | |||||
| | * | | Preparation for player UUID-based storage: LoadFromFile() | madmaxoft | 2014-07-11 | 2 | -21/+42 |
| | | | | |||||
| * | | | For now, removed creator member from Entity Effect for pointer safety | archshift | 2014-07-12 | 5 | -94/+84 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'origin/master' into potions | archshift | 2014-07-10 | 15 | -151/+334 |
| |\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp | ||||
| | * | | Fixed arrow collection animation | Tiger Wang | 2014-07-09 | 2 | -22/+4 |
| | | | | | | | | | | | | | | | | * Fixed piston extension non-solidness | ||||
| | * | | Merge pull request #1135 from mc-server/fixes | Tiger Wang | 2014-07-09 | 12 | -83/+205 |
| | |\ \ | | | |/ | | |/| | Fixes to projectiles and the undead | ||||
| | | * | Added extra space before comments | Tiger Wang | 2014-07-07 | 1 | -6/+6 |
| | | | | |||||
| | | * | Changed everything to callbacks | Tiger Wang | 2014-07-05 | 3 | -80/+33 |
| | | | | |||||
| | | * | Crash and compile fix | Tiger Wang | 2014-07-04 | 2 | -4/+9 |
| | | | | |||||
| | | * | Suggestions | Tiger Wang | 2014-07-04 | 6 | -6/+15 |
| | | | | |||||
| | | * | Various fixed | Tiger Wang | 2014-07-04 | 3 | -10/+107 |
| | | | | | | | | | | | | | | | | | | | | * Fixed potential invalid pointer dereferencing, fixes #1117 * Fixed ender pearls not being loaded properly | ||||
| | | * | Eps comparison | Tiger Wang | 2014-07-04 | 2 | -2/+2 |
| | | | | |||||
| | | * | Suggestions | Tiger Wang | 2014-07-02 | 2 | -8/+14 |
| | | | | |||||
| | | * | Vector clamping fixes | Tiger Wang | 2014-07-01 | 1 | -4/+8 |
| | | | | | | | | | | | | | | | | Thank you, @madmaxoft. | ||||
| | | * | Implemented Vector3<>::Floor() | Tiger Wang | 2014-06-30 | 1 | -2/+3 |
| | | | | |||||
| | | * | Suggestions | Tiger Wang | 2014-06-29 | 2 | -3/+6 |
| | | | | |||||
| | | * | An unification of code style | Tiger Wang | 2014-06-28 | 1 | -1/+1 |
| | | | | |||||
| | | * | Some Entity.cpp style improvements | Tiger Wang | 2014-06-22 | 2 | -13/+8 |
| | | | | |||||
| | | * | Fixed multiple issues with projectiles | Tiger Wang | 2014-06-22 | 8 | -63/+112 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed arrows not being collectable/not truly hitting a block/not lodging into blocks/not going in far enough * Fixed projectiles not playing their block hit animation owning to being destroyed too quickly | ||||
| | * | | Merge pull request #1138 from mc-server/enderchest | Mattes D | 2014-07-02 | 2 | -15/+29 |
| | |\ \ | | | | | | | | | | | Properly implemented enderchests | ||||
| | | * | | Suggestion | Tiger Wang | 2014-07-02 | 1 | -13/+13 |
| | | | | | |||||
| | | * | | Properly implemented enderchests | Tiger Wang | 2014-06-29 | 2 | -2/+16 |
| | | | | | |||||
| | * | | | 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 | 2 | -1/+14 |
| | |/ / / | |||||
| | * / / | 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 | ||||
| | * | | Fixed server forcing players afloat | Tiger Wang | 2014-06-28 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | * Fixes #1131 | ||||
| | * | | Merged branch 'howaner/Bow'. | Mattes D | 2014-06-26 | 3 | -13/+46 |
| | |\ \ | | | | | | | | | | | | | | | | Removed the pickup collection broadcast due to bad code. | ||||
| | | * | | Add comment. | Howaner | 2014-06-26 | 1 | -0/+1 |
| | | | | | |||||
| | | * | | GameMode check | Howaner | 2014-06-26 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Merge branch 'master' into Bow | Howaner | 2014-06-26 | 2 | -4/+1 |
| | | |\| | |||||
| | | * | | derp | Howaner | 2014-06-17 | 1 | -3/+3 |
| | | | | | |||||
| | | * | | The same: Float, not Double | Howaner | 2014-06-17 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Float, not Double | Howaner | 2014-06-17 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Split Broadcast Sound Effect function call in multiple lines. | Howaner | 2014-06-16 | 1 | -2/+16 |
| | | | | | |||||
| | | * | | Fix bow sound and creative arrow pickup. | Howaner | 2014-06-16 | 1 | -10/+22 |
| | | | | | |||||
| | | * | | Add bow charging animation | Howaner | 2014-06-16 | 2 | -2/+6 |
| | | | | | |||||
| | * | | | Merged branch 'howaner/Pickups'. | Mattes D | 2014-06-26 | 1 | -6/+27 |
| | |\ \ \ | | | |_|/ | | |/| | | |||||
| | | * | | Fixed a comment and changed CombineCount to short. | Howaner | 2014-06-26 | 1 | -2/+2 |
| | | | | | |||||
| | | * | | Optimize combining. | Howaner | 2014-06-24 | 1 | -3/+3 |
| | | | | | |||||
| | | * | | Better combining. | Howaner | 2014-06-24 | 1 | -3/+20 |
| | | | | | |||||
| | | * | | Fix pickup combining over the maximum stack size. | Howaner | 2014-06-24 | 1 | -4/+8 |
| | |/ / | |||||
| * | | | EntityEffects.x -> EntityEffect.x, Object-Oriented effects | archshift | 2014-06-19 | 10 | -270/+745 |
| | | | | | | | | | | | | | | | | Changed effect map to take a pointer of the effect as a result. | ||||
| * | | | Entity effects: changed User to Creator, removed pawn pass-by-value | archshift | 2014-06-17 | 5 | -35/+19 |
| | | | | |||||
| * | | | Added the OnEntityAddEffect hook. | madmaxoft | 2014-06-17 | 2 | -0/+11 |
| | | | | |||||
| * | | | Entity Effects: Clarified user, added it to AddEntityEffect | archshift | 2014-06-17 | 5 | -13/+30 |
| | | | | | | | | | | | | | | | | Added second AddEntityEffect with a pass-by-value of the class. | ||||
| * | | | Changed the AddEntityEffect() params for easier calls. | madmaxoft | 2014-06-17 | 5 | -47/+50 |
| | | | | |||||
| * | | | Entity Effect: Separates total duration and ticks of activity | archshift | 2014-06-17 | 3 | -22/+23 |
| | | | | | | | | | | | | | | | | Changed HandleEntityEffect to use cEntityEffect's ticks instead of a static counter | ||||
| * | | | Fixed MSVC compilation. | madmaxoft | 2014-06-17 | 1 | -4/+7 |
| | | | | |||||
| * | | | Pawn: renamed HandleEntityEffects to HandleEntityEffect | archshift | 2014-06-17 | 4 | -6/+8 |
| | | | | | | | | | | | | | | | | Exported entity effect functions for ToLua and documented them in APIDesc.lua | ||||
| * | | | Cave spider now poisons its victim, added IsPawn function to Entity | archshift | 2014-06-17 | 2 | -1/+2 |
| | | | | |||||
| * | | | Added wither damage type, wither entity effect. | archshift | 2014-06-17 | 2 | -1/+16 |
| | | | | |||||
| * | | | Monster: added IsUndead(), undead-specific entity effects | archshift | 2014-06-17 | 1 | -6/+0 |
| | | | | |||||
| * | | | Applies splash potion effects to mobs as well as players | archshift | 2014-06-17 | 2 | -8/+12 |
| | | | | |||||
| * | | | Removed long function wrapping | archshift | 2014-06-17 | 1 | -2/+1 |
| | | | | |||||
| * | | | Entity effect type: use 'eff' as a prefix instead of 'ef' | archshift | 2014-06-17 | 4 | -41/+41 |
| | | | | |||||
| * | | | Added splash potion functionality | archshift | 2014-06-17 | 5 | -14/+87 |
| | | | | |||||
| * | | | Entity: only fire critical hit if damage type is physical | archshift | 2014-06-17 | 1 | -1/+2 |
| | | | | |||||
| * | | | Player: made healing instantaneous | archshift | 2014-06-17 | 2 | -2/+2 |
| | | | | |||||
| * | | | Implemented drinkable potions, noeffect entity effect, | archshift | 2014-06-17 | 3 | -0/+16 |
| | | | | | | | | | | | | | | | | Clears entity effects on death | ||||
| * | | | Implemented milk, added documentation to Pawn.h | archshift | 2014-06-17 | 3 | -1/+36 |
| | | | | |||||
| * | | | Pawn.cpp: fixed effect iterator BAD_ACCESS | archshift | 2014-06-17 | 2 | -9/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | | | Pawn: Enabled entity effect broadcast, added typedef | archshift | 2014-06-17 | 2 | -4/+6 |
| | | | | | | | | | | | | | | | | Typedef'd std::map<cEntityEffect::eType, cEntityEffect> to tEffectMap | ||||
| * | | | EntityEffect: read-only getters, added user and distance modifier fields | archshift | 2014-06-17 | 3 | -11/+35 |
| | | | | | | | | | | | | | | | | | | | | 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 | 2 | -26/+2 |
| | | | | | | | | | | | | | | | | http://minecraft.gamepedia.com/Hunger#Behavior | ||||
| * | | | Entity effects: Added handlers for entity effects | archshift | 2014-06-17 | 4 | -13/+138 |
| | | | | | | | | | | | | | | | | | | | | | | | | Implemented hunger, instant health, damage, poison, regen Added "template" entity effect implementations | ||||
| * | | | Added iterator on tick to manage entity effect duration | archshift | 2014-06-17 | 1 | -1/+18 |
| | | | | |||||
| * | | | cPawn: Remove unused m_bBurnable | archshift | 2014-06-17 | 2 | -2/+0 |
| | | | | |||||
| * | | | Moved Effects.h to EntityEffects.h, added initial impl | archshift | 2014-06-17 | 6 | -33/+113 |
| | | | | |||||
| * | | | Added classes for splash potions and wither skulls | archshift | 2014-06-17 | 5 | -0/+149 |
| | |/ | |/| | |||||
* | | | Conforms to standards | Tiger Wang | 2014-06-22 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'master' into portals | Tiger Wang | 2014-06-21 | 5 | -37/+82 |
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | 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' into GlobalFixes | Howaner | 2014-06-17 | 7 | -65/+111 |
| |\| | |||||
| | * | Merge branch 'master' of github.com:mc-server/MCServer | Tycho | 2014-06-16 | 4 | -33/+81 |
| | | | |||||
| * | | Wrong arrow commit. | Howaner | 2014-05-30 | 1 | -4/+0 |
| | | | |||||
| * | | Add throw sound and fix arrow server crash. | Howaner | 2014-05-28 | 2 | -5/+4 |
| | | | |||||
| * | | Fix Y-Position from arrow entity. | Howaner | 2014-05-28 | 1 | -0/+1 |
| | | | |||||
* | | | Fixed invalid iterators | Tiger Wang | 2014-06-21 | 3 | -2/+12 |
| | | | |||||
* | | | More suggestions | Tiger Wang | 2014-06-21 | 3 | -4/+6 |
| | | | |||||
* | | | Implemented PR suggestions | archshift | 2014-06-16 | 3 | -3/+4 |
| | | | | | | | | | | | | | | | | | | | | | Furnace.txt: newline BlockID: removed extraneous dimension mapping cEntity: fixed typo cPlayer: WorldPtr typedef | ||||
* | | | Reverted portal creation code | Tiger Wang | 2014-06-14 | 2 | -103/+0 |
| | | | | | | | | | | | | It wasn't really working and needs more development | ||||
* | | | Fixed compile | worktycho | 2014-06-12 | 1 | -1/+1 |
| | | | |||||
* | | | Portals animate and delay correctly | Tiger Wang | 2014-06-12 | 4 | -50/+112 |
| | | | |||||
* | | | Merge branch 'master' into portals | Tiger Wang | 2014-06-10 | 5 | -20/+26 |
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | 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 | 3 | -15/+18 |
| | | | | | | | | | | | | Fixes #1039, fixes #851 | ||||
| * | | Added queue for adding entities to cWorld. | Mattes D | 2014-06-08 | 3 | -4/+5 |
| | | | | | | | | | | | | This alone doesn't work properly yet, further changes to cPlayer are needed. | ||||
| * | | Fix itemframe break. | Howaner | 2014-06-04 | 1 | -1/+3 |
| | | | |||||
* | | | Portal improvements and suggestions | Tiger Wang | 2014-06-10 | 2 | -41/+92 |
| | | | |||||
* | | | Fixed compilation | Tiger Wang | 2014-06-05 | 1 | -1/+1 |
| | | | |||||
* | | | Suggestions | Tiger Wang | 2014-06-04 | 2 | -2/+5 |
| | | | |||||
* | | | Configurable portals | Tiger Wang | 2014-06-04 | 2 | -14/+33 |
| | | | |||||
* | | | Suggestions | Tiger Wang | 2014-06-04 | 2 | -5/+9 |
| | | | |||||
* | | | Added checks for no downfall biomes | Tiger Wang | 2014-06-04 | 1 | -1/+1 |
| | | | |||||
* | | | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-06-04 | 3 | -12/+4 |
|\| | | |||||
| * | | 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. | ||||
| * | | Merge pull request #844 from mc-server/ProjectileHitBlock | Mattes D | 2014-06-01 | 1 | -2/+2 |
| |\ \ | | | | | | | | | OnProjectileHitBlock tweak. | ||||
| | * | | Used recommendations | STRWarrior | 2014-05-31 | 1 | -2/+1 |
| | | | | |||||
| | * | | Using recommendations (I think) | STRWarrior | 2014-03-30 | 1 | -1/+2 |
| | | | | |||||
| | * | | Added a BlockHitPos parameter to OnProjectileHitBlock | STRWarrior | 2014-03-30 | 1 | -2/+2 |
| | | | | |||||
| | * | | Added a blockface parameter to the OnProjectileHitBlock hook. | STRWarrior | 2014-03-30 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge pull request #951 from worktycho/chunksparsing/structs | Mattes D | 2014-05-31 | 1 | -3/+2 |
| |\ \ \ | | |_|/ | |/| | | Chunksparsing with segments | ||||
| | * | | Merge branch 'master' into chunksparsing/structs | Tycho | 2014-05-24 | 6 | -16/+300 |
| | |\ \ | |||||
| | * \ \ | Merge branch 'master' into chunksparsing/structs | Tycho | 2014-05-10 | 8 | -136/+125 |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Chunk.h | ||||
| | * \ \ \ | Merge branch 'master' into chunksparsing/structs | Tycho | 2014-05-01 | 27 | -890/+1015 |
| | |\ \ \ \ | |||||
| | * \ \ \ \ | Merge branch 'master' into chunksparsing/structs | Tycho | 2014-04-27 | 10 | -184/+328 |
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Chunk.h | ||||
| | * | | | | | | Implemented Chunk Sparsing with segments | Tycho | 2014-04-26 | 1 | -3/+2 |
| | | | | | | | | |||||
* | | | | | | | | Implemented bed homes | Tiger Wang | 2014-06-01 | 3 | -16/+40 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + 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 | 4 | -11/+150 |
|/ / / / / / / | |||||
* | | | | | | | Merge branch 'master' into achievementtranslate | Tiger Wang | 2014-05-25 | 3 | -16/+62 |
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | Conflicts: src/Entities/Player.cpp | ||||
| * | | | | | | Fixed datatype conversion warning. | Mattes D | 2014-05-23 | 1 | -2/+2 |
| | | | | | | | |||||
| * | | | | | | Merge pull request #1015 from mc-server/Stats | xdot | 2014-05-21 | 2 | -14/+60 |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | Statistics | ||||
| | * | | | | | | Cleaned up cPlayer::UpdateMovementStats; Wither achievements | andrew | 2014-05-20 | 2 | -14/+60 |
| | | | | | | | | |||||
* | | | | | | | | Update Player.cpp | Alexander Harkness | 2014-05-20 | 1 | -19/+19 |
| | | | | | | | | |||||
* | | | | | | | | Fixed a cactus Y position issue | Tiger Wang | 2014-05-19 | 1 | -2/+3 |
| | | | | | | | | |||||
* | | | | | | | | Simplified cacti conditions | Tiger Wang | 2014-05-19 | 1 | -2/+2 |
| | | | | | | | | |||||
* | | | | | | | | Added client translation to achievements | Tiger Wang | 2014-05-19 | 1 | -4/+4 |
|/ / / / / / / | |||||
* | | | | | | | Merge pull request #1010 from mc-server/cactidamage | Alexander Harkness | 2014-05-19 | 2 | -0/+27 |
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | Implemented cacti damage | ||||
| * | | | | | | Derp | Alexander Harkness | 2014-05-19 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | Should have fixed assumptions about entity width. | Alexander Harkness | 2014-05-19 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | | @madmaxoft can you comment? | ||||
| * | | | | | | Fixed clanging errors. | Alexander Harkness | 2014-05-19 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | Please @tigerw make sure this is correct. | ||||
| * | | | | | | Implemented cacti damage | Tiger Wang | 2014-05-18 | 2 | -0/+26 |
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | + Implemented cacti damage * Fixed pickup tossing (PR #994 bug) | ||||
* | | | | | | There's no "round" function in MSVC2008. | madmaxoft | 2014-05-18 | 2 | -4/+4 |
| | | | | | | |||||
* | | | | | | Fixes | andrew | 2014-05-13 | 2 | -16/+14 |
| | | | | | | |||||
* | | | | | | Movement Statistics | andrew | 2014-05-12 | 3 | -11/+96 |
| | | | | | | |||||
* | | | | | | cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement() | andrew | 2014-05-12 | 5 | -4/+95 |
| | | | | | | |||||
* | | | | | | Fixed compilation | andrew | 2014-05-11 | 1 | -0/+2 |
| | | | | | | |||||
* | | | | | | Fixed stat serialization | andrew | 2014-05-11 | 1 | -10/+21 |
| | | | | | | |||||
* | | | | | | Statistic Manager | andrew | 2014-05-11 | 2 | -2/+26 |
|/ / / / / | |||||
* | | | | | Initialise m_HasTeleported in both constructors | worktycho | 2014-05-09 | 1 | -0/+1 |
| | | | | | |||||
* | | | | | Merge branch 'master' into fixes | Tiger Wang | 2014-05-06 | 1 | -3/+2 |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Vector3.h | ||||
| * \ \ \ \ | Merge branch 'master' into redstoneimprovements | Tiger Wang | 2014-05-04 | 27 | -885/+983 |
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp src/Entities/FallingBlock.cpp src/Mobs/AggressiveMonster.cpp src/Simulator/IncrementalRedstoneSimulator.cpp | ||||
| * | | | | | Redstone simulator now directly accesses cChunk | Tiger Wang | 2014-04-27 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Redstone simulator performance improvements * Added return values to some functions * Minor fixes | ||||
* | | | | | | Suggestions'd #2 | Tiger Wang | 2014-05-06 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Suggestions'd | Tiger Wang | 2014-05-06 | 2 | -2/+2 |
| | | | | | | |||||
* | | | | | | A bit of reformatting. | madmaxoft | 2014-05-02 | 1 | -5/+10 |
| | | | | | | |||||
* | | | | | | Merge branch 'master' into fixes. | madmaxoft | 2014-05-02 | 28 | -835/+1050 |
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | |||||
| * | | | | | Fixed a MSVC warning. | madmaxoft | 2014-04-28 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Merge pull request #940 from Howaner/GlobalFixes | Mattes D | 2014-04-28 | 8 | -32/+70 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | Add entity invulnerable | ||||
| | * | | | | | Fixes | Howaner | 2014-04-26 | 2 | -11/+14 |
| | | | | | | | |||||
| | * | | | | | Change m_InvulnerableTicks description again again :D | Howaner | 2014-04-26 | 1 | -1/+1 |
| | | | | | | | |||||
| | * | | | | | Change m_InvulnerableTicks description again. | Howaner | 2014-04-26 | 1 | -1/+1 |
| | | | | | | | |||||
| | * | | | | | Change m_InvulnerableTicks description | Howaner | 2014-04-26 | 1 | -1/+1 |
| | | | | | | | |||||
| | * | | | | | Merge branch 'master' into GlobalFixes | Howaner | 2014-04-26 | 1 | -7/+34 |
| | |\ \ \ \ \ | | | | |_|/ / | | | |/| | | | |||||
| | * | | | | | Add entity invulnerable | Howaner | 2014-04-26 | 8 | -26/+61 |
| | | | | | | | |||||
| * | | | | | | Merge pull request #954 from mc-server/projectiles-split | Mattes D | 2014-04-28 | 18 | -852/+910 |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | Totally refactored ProjectileEntity.h, splitting up into several files. | ||||
| | * | | | | | | Fixed projectile source filenames, indentations | archshift | 2014-04-28 | 17 | -58/+58 |
| | | | | | | | | |||||
| | * | | | | | | Fixed ToLua errors, added newlines | archshift | 2014-04-27 | 18 | -19/+19 |
| | | | | | | | | |||||
| | * | | | | | | Fixed ToLua issues | archshift | 2014-04-27 | 8 | -19/+16 |
| | | | | | | | | |||||
| | * | | | | | | Moved cFireworkEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 4 | -115/+115 |
| | | | | | | | | |||||
| | * | | | | | | Moved cGhastFireballEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 4 | -74/+83 |
| | | | | | | | | |||||
| | * | | | | | | Moved cFireChargeEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 4 | -82/+88 |
| | | | | | | | | |||||
| | * | | | | | | Moved cThrownSnowballEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 4 | -74/+83 |
| | | | | | | | | |||||
| | * | | | | | | Moved cExpBottleEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 4 | -52/+61 |
| | | | | | | | | |||||
| | * | | | | | | Moved cThrownEnderPearl out of ProjectileEntity.h | archshift | 2014-04-27 | 4 | -86/+94 |
| | | | | | | | | |||||
| | * | | | | | | Moved cThrownEggEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 4 | -90/+99 |
| | | | | | | | | |||||
| | * | | | | | | Moved cArrowEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 4 | -280/+291 |
| | | |_|/ / / | | |/| | | | | |||||
| * | | | | | | Fixed warnings. | madmaxoft | 2014-04-27 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | Added static const, initialized fields. | archshift | 2014-04-27 | 1 | -0/+2 |
| |/ / / / / | |||||
| * | | | | | Merge pull request #941 from archshift/master | Mattes D | 2014-04-26 | 3 | -6/+32 |
| |\ \ \ \ \ | | |_|/ / / | |/| | | | | Fixed lots of warnings, and other small changes. | ||||
| | * | | | | More small fixes. | archshift | 2014-04-26 | 1 | -1/+1 |
| | | | | | | |||||
| | * | | | | Further refactored, Reverted Minecart change | archshift | 2014-04-26 | 4 | -17/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | Other small changes. | ||||
| | * | | | | Moved switch{} out of GetArmorCoverAgainst(). | archshift | 2014-04-26 | 2 | -5/+29 |
| | | | | | | |||||
| | * | | | | Fixed a couple more warnings. | archshift | 2014-04-26 | 2 | -21/+17 |
| | | | | | | |||||
| * | | | | | Merge pull request #920 from axisd/master | Mattes D | 2014-04-25 | 1 | -7/+34 |
| |\ \ \ \ \ | | |_|/ / / | |/| | | | | Mobs shouldn't burn when it's Raining | ||||
| | * | | | | Fix formatting | r.ramazanov | 2014-04-25 | 1 | -9/+15 |
| | | | | | | |||||
| | * | | | | Fix for clang | r.ramazanov | 2014-04-25 | 1 | -5/+1 |
| | | | | | | |||||
| | * | | | | Mobs shouldn't burn when it's Raining & Mob Knockback is far too much | r.ramazanov | 2014-04-25 | 1 | -8/+5 |
| | | | | | | |||||
| | * | | | | Merge branch 'master' of https://github.com/mc-server/MCServer | r.ramazanov | 2014-04-23 | 5 | -10/+39 |
| | |\ \ \ \ | |||||
| | * | | | | | Mobs shouldn't burn when it's Raining #906 | r.ramazanov | 2014-04-23 | 1 | -9/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mob Knockback is far too much #776 | ||||
| | * | | | | | Mobs shouldn't burn when it's Raining #906 | r.ramazanov | 2014-04-21 | 1 | -5/+12 |
| | | | | | | | |||||
| * | | | | | | Merge pull request #935 from archshift/projectile-fixes | Mattes D | 2014-04-25 | 2 | -7/+69 |
| |\ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | Chicken eggs and ender pearls can hit entities. | ||||
| | * | | | | | Creator not user. | archshift | 2014-04-25 | 2 | -5/+5 |
| | | | | | | | |||||
| | * | | | | | Comments for TrySpawnChicken() and TeleportUser(). | archshift | 2014-04-25 | 1 | -0/+2 |
| | | | | | | | |||||
| | * | | | | | Rename spawn chicken method, Initialize m_HasTeleported. | archshift | 2014-04-25 | 2 | -4/+5 |
| | | | | | | | |||||
| | * | | | | | Chicken eggs and ender pearls can hit entities. | archshift | 2014-04-25 | 2 | -7/+66 |
| | | |/ / / | | |/| | | | | | | | | | | | | | | | Fixed warning by adding dedicated m_HasTeleported for fired arrows. | ||||
| * / | | | | Cmake generated projects for IDEs include headers in project files. | archshift | 2014-04-25 | 1 | -0/+1 |
| |/ / / / | |||||
* | | | | | A tiny speed improvement in ApplyFoodExhaustion() | Tiger Wang | 2014-04-27 | 1 | -5/+5 |
| | | | | | |||||
* | | | | | More comments! | Tiger Wang | 2014-04-27 | 2 | -3/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Also fixed a potential issue with position sending - if someone moved slowly enough, their position would never be updated. | ||||
* | | | | | Implemented suggestions | Tiger Wang | 2014-04-24 | 1 | -7/+6 |
| | | | | | |||||
* | | | | | Merge branch 'master' into fixes | Tiger Wang | 2014-04-24 | 5 | -10/+39 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/World.h | ||||
| * | | | | Merge pull request #925 from archshift/master | Mattes D | 2014-04-23 | 2 | -0/+16 |
| |\ \ \ \ | | | | | | | | | | | | | Added monsters.ini rule for fireproof mobs. | ||||
| | * | | | | Renamed getter and setter for IsFireproof. | archshift | 2014-04-23 | 2 | -3/+3 |
| | | | | | | |||||
| | * | | | | Fireproof status getter and setter. | archshift | 2014-04-23 | 2 | -0/+16 |
| | | | | | | |||||
| * | | | | | Merge pull request #923 from archshift/master | Mattes D | 2014-04-22 | 2 | -3/+15 |
| |\| | | | | | | | | | | | | | | | | Added flag for fireproof entities. | ||||
| | * | | | | Fixed indentation and changed m_Fireproof to m_IsFireproof. | archshift | 2014-04-22 | 2 | -14/+14 |
| | | | | | | |||||
| | * | | | | Lay foundation for fireproof entities. | archshift | 2014-04-22 | 2 | -3/+15 |
| | |/ / / | | | | | | | | | | | | | | | | Prevent any entities with the m_Fireproof flag from taking fire or lava damage. | ||||
| * | | | | Merge pull request #909 from jfhumann/fixes | Mattes D | 2014-04-22 | 3 | -7/+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 | ||||
| | * | | | reverted the revert of the minecart collision detection fix. | jfhumann | 2014-04-21 | 1 | -2/+1 |
| | | | | | |||||
| | * | | | Fixed Flint and Steel, reverted Minecart change, renamed a parameter name | jfhumann | 2014-04-19 | 3 | -4/+5 |
| | | | | | |||||
| | * | | | Merge remote-tracking branch 'origin/master' into fixes | jfhumann | 2014-04-18 | 7 | -157/+154 |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 3 | -6/+7 |
| | | | | | | |||||
* | | | | | | Some change to Entity.cpp | Tiger Wang | 2014-04-23 | 6 | -122/+100 |
|/ / / / / | | | | | | | | | | | | | | | | * Added comments to BroadcastMovementUpdate() and the collision tracer | ||||
* | / / / | Fixed #906 | Tiger Wang | 2014-04-18 | 1 | -0/+10 |
| |/ / / |/| | | | |||||
* | | | | Merge pull request #891 from mc-server/fixes | Mattes D | 2014-04-17 | 6 | -118/+118 |
|\ \ \ \ | | | | | | | | | | | Fixes to redstone & general | ||||
| * | | | | Entities handle chunks properly again | Tiger Wang | 2014-04-12 | 6 | -118/+118 |
| |/ / / | | | | | | | | | | | | | | | | | * Entities properly handle chunks * Changed EntityStatus enums to be less shouty | ||||
* / / / | Added new AI rules | Tiger Wang | 2014-04-17 | 4 | -39/+36 |
|/ / / | | | | | | | | | | | | | | | | | | | + 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 | ||||
* | | | Fixed Endiannes conversion routines for floats and doubles. | madmaxoft | 2014-04-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | This bug has been introduced in 8825d30aabbee8cb2e452dc5a17deb6f9b6892a7. This change fixes #854. | ||||
* | | | Removed debugging log from entity physics handling. | madmaxoft | 2014-04-05 | 1 | -1/+2 |
| | | | |||||
* | | | Added cPlayer:SendRotation() API function. | madmaxoft | 2014-04-05 | 2 | -0/+17 |
| | | | |||||
* | | | Documented the units and range for entity rotations. | madmaxoft | 2014-04-03 | 1 | -7/+7 |
|/ / | |||||
* | | Merge branch 'MacFixes' | Tycho | 2014-04-02 | 4 | -5/+3 |
|\ \ | | | | | | | | | | | | | | | | Conflicts: src/DeadlockDetect.cpp src/World.cpp | ||||
| * | | More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future. | Samuel Barney | 2014-03-25 | 2 | -3/+1 |
| | | | | | | | | | | | | Also had to undefine TOLUA_TEMPLATE_BIND a couple of times. | ||||
| * | | Added newlines. Without them, the files would not compile. | Samuel Barney | 2014-03-25 | 2 | -2/+2 |
| | | | |||||
* | | | Merge pull request #842 from mc-server/ProjectileHooks | Mattes D | 2014-03-29 | 1 | -1/+11 |
|\ \ \ | | |/ | |/| | Projectile hooks | ||||
| * | | Fixed the OnProjectileHitBlock hook not stopping projectiles. | STRWarrior | 2014-03-29 | 1 | -1/+1 |
| | | | |||||
| * | | Added HOOK_PROJECTILE_HIT_BLOCK. | STRWarrior | 2014-03-29 | 1 | -0/+5 |
| | | | |||||
| * | | Fixed error when the hook gets called. | STRWarrior | 2014-03-29 | 1 | -1/+0 |
| | | | |||||
| * | | Added HOOK_PROJECTILE_HIT_ENTITY | STRWarrior | 2014-03-29 | 1 | -0/+6 |
| | | | |||||
* | | | Fixed #721 and FS439 | Tiger Wang | 2014-03-29 | 1 | -0/+1 |
|/ / | |||||
* / | Ender crystals | andrew | 2014-03-25 | 3 | -11/+102 |
|/ | |||||
* | Plugins can set flying speed. | madmaxoft | 2014-03-20 | 2 | -75/+118 |
| | |||||
* | Rewritten player speeds to be relative unit-less. | madmaxoft | 2014-03-20 | 2 | -7/+11 |
| | | | | 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. | ||||
* | Minor Entity.cpp cleanup | Tiger Wang | 2014-03-20 | 1 | -12/+9 |
| | |||||
* | Merge branch 'master' into awesometnt | Tiger Wang | 2014-03-18 | 14 | -75/+213 |
|\ | | | | | | | | | Conflicts: src/ChunkMap.cpp | ||||
| * | Merge pull request #782 from mc-server/beds | Mattes D | 2014-03-16 | 1 | -3/+14 |
| |\ | | | | | | | Beds now work properly, fixes #707 | ||||
| | * | Beds now work properly fixes #707 | Tiger Wang | 2014-03-09 | 1 | -3/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | Also fixes FS392 Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp | ||||
| * | | Merge branch 'master' into BlockEntitys | Howaner | 2014-03-15 | 9 | -96/+90 |
| |\ \ | |||||
| | * \ | Merge remote-tracking branch 'xdot/master' | madmaxoft | 2014-03-12 | 3 | -4/+3 |
| | |\ \ | |||||
| | | * | | Unified Matrix4 code | andrew | 2014-03-11 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Unified Vector classes | andrew | 2014-03-11 | 2 | -3/+2 |
| | | | | | |||||
| | * | | | Merge remote-tracking branch 'origin/SnowBall' | madmaxoft | 2014-03-12 | 2 | -2/+25 |
| | |\ \ \ | | | |/ / | | |/| | | |||||
| | | * | | TakeDamage now has the cThrownSnowballEntity instead of the creator's object. | STRWarrior | 2014-03-11 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Snowballs now actualy hurt other entities. | STRWarrior | 2014-03-11 | 2 | -2/+25 |
| | | | | | | | | | | | | | | | | | | | | 3 damage for blazes and 1 for the ender dragon. Otherwise 0 | ||||
| * | | | | Add item frame saving. | Howaner | 2014-03-15 | 4 | -44/+119 |
| | | | | | |||||
| * | | | | Add health and age load to pickup's. | Howaner | 2014-03-15 | 2 | -16/+22 |
| | | | | | |||||
| * | | | | Add ExpOrb saving. | Howaner | 2014-03-15 | 3 | -10/+34 |
| | | | | | |||||
* | | | | | Merge remote-tracking branch 'origin/master' into awesometnt | Tiger Wang | 2014-03-10 | 6 | -105/+93 |
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | Conflicts: src/Items/ItemLighter.h src/Simulator/IncrementalRedstoneSimulator.cpp | ||||
| * | | | | Merge pull request #768 from Howaner/BlockEntitys | Tiger Wang | 2014-03-09 | 2 | -20/+36 |
| |\| | | | | | | | | | | | | | Add TNT load/save | ||||
| | * | | | Change TNT Fuse to ticks | Howaner | 2014-03-08 | 2 | -11/+11 |
| | | | | | |||||
| | * | | | Add TNT Save/Load and add Netbeans projects to .gitignore | Howaner | 2014-03-08 | 2 | -17/+33 |
| | |/ / | |||||
| * | | | Merge pull request #731 from mc-server/ballisticmissiles | Tiger Wang | 2014-03-09 | 4 | -85/+57 |
| |\ \ \ | | | | | | | | | | | Ballistic firework missiles | ||||
| | * | | | Merge branch 'master' into ballisticmissiles | Tiger Wang | 2014-03-09 | 6 | -43/+42 |
| | |\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp | ||||
| | * | | | CheckBlockInteractionsRate() fixed & enabled | Tiger Wang | 2014-03-09 | 2 | -35/+1 |
| | | | | | |||||
| | * | | | Removed unneeded includes in Player.cpp | Tiger Wang | 2014-02-27 | 1 | -7/+0 |
| | | | | | |||||
| | * | | | Implemented ballistic missiles (fireworks) | Tiger Wang | 2014-02-27 | 2 | -43/+56 |
| | | | | | | | | | | | | | | | | | | | | + Added fireworks | ||||
* | | | | | Merge branch 'master' into awesometnt | Tiger Wang | 2014-03-10 | 3 | -5/+5 |
|\| | | | | |||||
| * | | | | Fixed #778 - stack overflow.com | Tiger Wang | 2014-03-09 | 1 | -1/+1 |
| | |_|/ | |/| | | |||||
| * | | | Fixed issues with int vs size_t and a few other warnings | Tycho | 2014-03-08 | 2 | -4/+4 |
| | |/ | |/| | |||||
* / | | Added extra awesomeness to TNT | Tiger Wang | 2014-03-05 | 3 | -195/+205 |
|/ / | | | | | | | | | | | | | + TNT now has a chance of flinging FallingBlock entities around * Improved TNT damage * Improved TNT spawning visuals * Possible fix for 'SetSwimState failure' messages in debug | ||||
* | | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 4 | -14/+14 |
| | | |||||
* | | Shortened enums | andrew | 2014-03-01 | 1 | -2/+2 |
| | | |||||
* | | Exported and documented cScoreboard | andrew | 2014-03-01 | 1 | -18/+3 |
| | | |||||
* | | Fixed multiple gcc warnings about unused params. | madmaxoft | 2014-02-28 | 2 | -1/+12 |
| | | |||||
* | | 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 |
| | | |||||
* | | Small improvements to boats. | STRWarrior | 2014-02-24 | 1 | -3/+7 |
| | | |||||
* | | Manual merge (Fixed conflicts) | andrew | 2014-02-20 | 9 | -5/+279 |
|\| | |||||
| * | Merge branch 'master' into itemframes | Tiger Wang | 2014-02-18 | 3 | -0/+87 |
| |\ | | | | | | | | | | | | | | | | Conflicts: src/Entities/Entity.h src/WorldStorage/NBTChunkSerializer.cpp | ||||
| | * | Properly exported and documented paintings | Tiger Wang | 2014-02-18 | 1 | -2/+2 |
| | | | |||||
| | * | Implemented paintings, fixes #689 | Tiger Wang | 2014-02-18 | 3 | -0/+87 |
| | | | | | | | | | | | | + Implemented paintings | ||||
| * | | Changed BlockFace type to eBlockFace | Tiger Wang | 2014-02-18 | 2 | -13/+26 |
| | | | |||||
| * | | Added a brace | Tiger Wang | 2014-02-18 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ==== { } { __ } { | | } ==== REMOVE ALL THE BRACES!! | ||||
| * | | Implemented item frames, a part of #689 | Tiger Wang | 2014-02-18 | 3 | -0/+153 |
| |/ | | | | | | | | | + Implemented Item Frames * Fixed Pitch and Yaw being wrongly flipped in the protocol (XOFT!) | ||||
| * | Links sent via chat messages are clickable. | madmaxoft | 2014-02-16 | 1 | -1/+2 |
| | | | | | | | | Fixes #658. | ||||
| * | Fixed minor formatting issues from #682 | Tiger Wang | 2014-02-16 | 3 | -16/+3 |
| | | | | | | | | | | - Removed unused PlaySoundEffect * Simplified and parenthesised code | ||||
| * | Replace random Float Generation and broadcast the Exp Pickup Sound | Howaner | 2014-02-16 | 2 | -9/+4 |
| | | |||||
| * | Add Exp Bottle Effects | Howaner | 2014-02-16 | 4 | -1/+23 |
| | | |||||
| * | Disable Hunger Death | Howaner | 2014-02-16 | 1 | -1/+7 |
| | | |||||
| * | Implemented cCompositeChat. | madmaxoft | 2014-02-15 | 1 | -0/+1 |
| | | | | | | | | | | This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678. | ||||
| * | 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 | 6 | -25/+11 |
|\ | | | | | | | | | | | | | Conflicts: src/Root.cpp src/Root.h src/World.cpp | ||||
| * | Merge pull request #649 from mc-server/GroupsPermissions | Mattes D | 2014-02-05 | 2 | -14/+0 |
| |\ | | | | | | | Removed deprecated HasCommand function | ||||
| | * | Removed deprecated HasCommand function | STRWarrior | 2014-02-05 | 2 | -14/+0 |
| | | | |||||
| * | | Fixed most of the reordering warnings | Tycho | 2014-02-05 | 4 | -11/+11 |
| | | | |||||
* | | | Merge branch 'master' into playerimprovements | Tiger Wang | 2014-02-09 | 3 | -22/+22 |
|\| | | | | | | | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua | ||||
| * | | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 3 | -22/+22 |
| |/ | | | | | | | May Fix #640 | ||||
* | | Fixed a boat ASSERT | Tiger Wang | 2014-02-09 | 1 | -2/+8 |
| | | |||||
* | | Improved chat messaging functions | Tiger Wang | 2014-02-07 | 2 | -17/+8 |
| | | | | | | | | | | | | | | * 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 |
| | | |||||
* | | Added more chat functions | Tiger Wang | 2014-02-06 | 1 | -1/+0 |
| | | |||||
* | | Fixed annoying creative on fire bug | Tiger Wang | 2014-02-05 | 2 | -0/+20 |
| | | |||||
* | | Added more SendMessageXXX() functions | Tiger Wang | 2014-02-04 | 1 | -0/+4 |
| | | |||||
* | | Pickup constructor no longer exported | Tiger Wang | 2014-02-03 | 3 | -4/+8 |
| | | | | | | | | | | It didn't do anything without Initialize() exported, anyway, pickups are spawned with cWorld. | ||||
* | | Added SendMessageXXX() to cPlayer | Tiger Wang | 2014-02-03 | 1 | -0/+3 |
| | | | | | | | | | | | | As requested by @bearbin, one no longer needs to download a file that links to Core. The server does it! Hopefully this encourages standards compliance. | ||||
* | | 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 | 2 | -3/+4 |
|\| | |||||
| * | Merge pull request #602 from mc-server/improvementsandfixes | Mattes D | 2014-02-03 | 2 | -3/+4 |
| |\ | | | | | | | Redstone crash fix and current console line replace function | ||||
| | * | Creative players take Plugin damage | Tiger Wang | 2014-02-02 | 2 | -3/+4 |
| | | | |||||
* | | | 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 | ||||
* | | Removed debug message when a firework entity hit a solid block. | STRWarrior | 2014-01-29 | 1 | -2/+0 |
| | | |||||
* | | Bottle o' Enchanting spawns an experience orb. | STRWarrior | 2014-01-29 | 1 | -1/+2 |
| | | |||||
* | | Merge pull request #589 from mc-server/minecartimprovements | Mattes D | 2014-01-26 | 2 | -101/+397 |
|\ \ | | | | | | | Minecart improvements | ||||
| * | | Rail speed tweak | Tiger Wang | 2014-01-25 | 1 | -2/+2 |
| | | | |||||
| * | | Added more minecart powered rail directions | Tiger Wang | 2014-01-24 | 1 | -3/+63 |
| | | | |||||
| * | | Begin implementing ascending rails | Tiger Wang | 2014-01-19 | 2 | -2/+45 |
| | | | |||||
| * | | Added one more direction into collision checks | Tiger Wang | 2014-01-19 | 1 | -26/+51 |
| | | | | | | | | | | | | | | | * Added direction XM_XP * Improved performance, thanks STR and xoft | ||||
| * | | Minecart improvements and fixes | Tiger Wang | 2014-01-19 | 1 | -33/+43 |
| | | | | | | | | | | | | | | | | | | * Fixed curved rails * Fixed detector rails in certain situations * Fixed powered rails and others passing bad meta to SnapToRail() | ||||
| * | | Added more rail functionality | Tiger Wang | 2014-01-19 | 1 | -14/+0 |
| | | | |||||
| * | | Merge remote-tracking branch 'origin/master' into minecartimprovements | Tiger Wang | 2014-01-19 | 7 | -42/+58 |
| |\| | |||||
| * | | Minecart collision and general improvements | Tiger Wang | 2014-01-18 | 2 | -70/+242 |
| | | | | | | | | | | | | | | | | | | + Implemented collision on one type of rail * Improved curved rails somewhat * Fixed a crash bug | ||||
* | | | Two minor changes | Tiger Wang | 2014-01-25 | 1 | -5/+3 |
| | | | |||||
* | | | Implemented fall damage for mobs | Tiger Wang | 2014-01-25 | 3 | -5/+8 |
| | | | | | | | | | | | | | | | | | | + Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros | ||||
* | | | Implemented pickup combining | Tiger Wang | 2014-01-25 | 1 | -0/+55 |
| | | | | | | | | | | | | | | | * Fixes FS393 * Part of #131 | ||||
* | | | All mobs now drown (fixes #54) | Tiger Wang | 2014-01-25 | 4 | -127/+130 |
| | | | | | | | | | | | | | | | * Implemented mob drowning * Iron Golems and squids are excluded | ||||
* | | | Miscellaneous improvements | Tiger Wang | 2014-01-24 | 1 | -10/+4 |
| | | | |||||
* | | | Removed unused ReferenceManager | Tiger Wang | 2014-01-24 | 2 | -45/+1 |
| | | | |||||
* | | | Fixed crash with failed entity-loading. | madmaxoft | 2014-01-24 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | This should fix issues reported in: http://forum.mc-server.org/showthread.php?tid=1328 http://forum.mc-server.org/showthread.php?tid=1308 | ||||
* | | | Merge remote-tracking branch 'MikeHunsinger/master' | madmaxoft | 2014-01-24 | 2 | -43/+59 |
|\ \ \ | |||||
| * | | | 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 | 2 | -6/+6 |
| | | | | |||||
| * | | | Split TossItem into three Toss functions (Held, Equipped and Pickup) | Mike Hunsinger | 2014-01-23 | 2 | -50/+66 |
| | |/ | |/| | |||||
* | | | 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 | 2 | -3/+26 |
| | | | |||||
* | | | Scoreboard improvements | andrew | 2014-01-19 | 1 | -4/+4 |
| | | | |||||
* | | | Basic scoreboard implementation | andrew | 2014-01-19 | 2 | -1/+62 |
|/ / | |||||
* | | Exported cFloater to the Lua API. | STRWarrior | 2014-01-19 | 1 | -3/+7 |
| | | |||||
* | | Merge pull request #534 from mc-server/SpawnMinecart | Mattes D | 2014-01-17 | 2 | -7/+16 |
|\ \ | | | | | | | Added cWorld::SpawnMinecart. | ||||
| * | | Changed GetContent function. | STRWarrior | 2014-01-16 | 1 | -1/+1 |
| | | | |||||
| * | | Fixed server crash. | STRWarrior | 2014-01-12 | 1 | -1/+1 |
| | | | |||||
| * | | Renamed cEmptyMinecart to cRideableMinecart | STRWarrior | 2014-01-12 | 2 | -6/+7 |
| | | | |||||
| * | | EmptyMinecarts should be able to get a block inside of them. | STRWarrior | 2014-01-12 | 2 | -3/+11 |
| | | | |||||
* | | | Removed internal cEntity::GetRot() usage. | madmaxoft | 2014-01-17 | 3 | -7/+7 |
| | | | |||||
* | | | Merge remote-tracking branch 'origin/customnames' | madmaxoft | 2014-01-17 | 5 | -30/+33 |
|\ \ \ | |_|/ |/| | | |||||
| * | | Removed obsoleted functions | Tiger Wang | 2014-01-16 | 5 | -27/+25 |
| | | | |||||
| * | | OBSOLETE'd obsolete functions | Tiger Wang | 2014-01-15 | 1 | -2/+2 |
| | | | |||||
| * | | Implemented Ctrl-Q drop stack | Tiger Wang | 2014-01-15 | 1 | -3/+8 |
| | | | | | | | | | | | | Also fixed an issue with TossItems not respecting count. | ||||
* | | | Disabled excessive entity-related logging in Debug mode. | madmaxoft | 2014-01-16 | 1 | -1/+11 |
|/ / | |||||
* | | Furnace minecarts now stop being active after a while. | STRWarrior | 2014-01-15 | 2 | -2/+19 |
| | | |||||
* | | First implementation for furnace minecarts. | STRWarrior | 2014-01-15 | 2 | -1/+23 |
| | | |||||
* | | Yes newline at end of file :D | Tiger Wang | 2014-01-14 | 1 | -1/+5 |
| | | |||||
* | | Final improvements to Minecarts | Tiger Wang | 2014-01-13 | 3 | -93/+292 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed curved rails being a little broken + Implemented detector rails + Implemented block collisions on rails * Fixed snapping to rail - Removed minecart physics conditions in Entity.cpp as minecarts use their own simulator when on rails Fixes #148 and #217; partially implemented #215. This is Cave Johnson, and we're done here. | ||||
* | | Detaching improvements | Tiger Wang | 2014-01-13 | 4 | -4/+34 |
| | | | | | | | | | | * Players now search for an area around themselves to teleport to when detaching from something | ||||
* | | Multiple enhancements and fixes to minecarts | Tiger Wang | 2014-01-12 | 3 | -132/+190 |
|/ | | | | | | + They are destroyed instantly by creative mode * Physics is much improved + Basic implementation of powered rails | ||||
* | Fixed a cPlayer::IsGameModeAdventure. It was determined based off of gmCreate rather than gmAdventure. | Morgan Redshaw | 2013-12-31 | 1 | -2/+2 |
| | |||||
* | Fixed compilation in VC2008. | madmaxoft | 2013-12-30 | 1 | -2/+4 |
| | | | | Also removed an unused inline header file (yuck). | ||||
* | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 2013-12-22 | 3 | -5/+13 |
| | |||||
* | Merge branch 'master' of github.com:mc-server/MCServer | Tycho Bickerstaff | 2013-12-22 | 5 | -29/+273 |
|\ | |||||
| * | 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 | 2 | -7/+41 |
| |\ | | | | | | | 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 knockback animation | Tiger Wang | 2013-12-24 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | * Critical hits now actually increase damage * Looking down at an entity and hitting them still produces upwards motion (as per Vanilla experience) * Reduced force to be more realistic | ||||
| | * | 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 |
| | | | |||||
| | * | Fixed a comment in Entity.cpp | Tiger Wang | 2013-12-23 | 1 | -1/+1 |
| | | | |||||
| | * | Implemented knockback and critical hit | Tiger Wang | 2013-12-22 | 1 | -4/+21 |
| | | | |||||
| | * | Implemented fall particles | Tiger Wang | 2013-12-22 | 1 | -3/+18 |
| | | | |||||
| * | | Fixed Parentheses. | STRWarrior | 2013-12-25 | 1 | -2/+2 |
| | | | |||||
| * | | You are now able to sweep mobs to your position using fishing rods. | STRWarrior | 2013-12-25 | 2 | -12/+142 |
| | | | |||||
| * | | finally removed them all? | Alexander Harkness | 2013-12-24 | 1 | -1/+1 |
| | | | |||||
| * | | Fishing underground is slower and fishing while raining is faster. | STRWarrior | 2013-12-22 | 1 | -0/+15 |
| | | | |||||
| * | | Fixed compiler warnings. | STRWarrior | 2013-12-22 | 1 | -2/+2 |
| | | | |||||
| * | | Fishing now uses a countdown instead of a random number each tick. | STRWarrior | 2013-12-22 | 2 | -12/+29 |
| | | | |||||
| * | | Floater now dissapears when the player doesn't have an fishing rod equipped. | STRWarrior | 2013-12-21 | 2 | -0/+32 |
| | | | |||||
* | | | Root is now warnings clean | Tycho Bickerstaff | 2013-12-21 | 1 | -2/+2 |
| | | | |||||
* | | | ChunkSender is now warnings clean | Tycho Bickerstaff | 2013-12-21 | 2 | -5/+5 |
|/ / | |||||
* | | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-21 | 6 | -41/+54 |
|\ \ | |||||
| * | | You could now only get fish from non-source blocks. Fixed it. | STRWarrior | 2013-12-21 | 1 | -1/+1 |
| | | | |||||
| * | | Fixed bug where you could get fish from non-source blocks. | STRWarrior | 2013-12-21 | 1 | -1/+1 |
| |/ | |||||
| * | Fixed bug where the floater could pop in the water while you could already get a fish. | STRWarrior | 2013-12-20 | 1 | -2/+2 |
| | | |||||
| * | More reordering fixes. | madmaxoft | 2013-12-20 | 3 | -7/+16 |
| | | |||||
| * | Sorted a few constructors to remove warnings. | madmaxoft | 2013-12-20 | 5 | -32/+36 |
| | | |||||
* | | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-20 | 1 | -1/+1 |
|\| | |||||
| * | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 2013-12-20 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-19 | 5 | -0/+120 |
|\| | |||||
| * | 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 |
| | | | |||||
| * | | Fixed #include in Floater.cpp. | STRWarrior | 2013-12-19 | 1 | -1/+1 |
| | | | |||||
| * | | The floater now actualy dives under water. | STRWarrior | 2013-12-19 | 1 | -1/+1 |
| | | | |||||
| * | | Implented IsFishing, SetIsFishing and GetFloaterID(). | STRWarrior | 2013-12-19 | 2 | -0/+12 |
| | | | |||||
| * | | Added cFloater class. | STRWarrior | 2013-12-19 | 3 | -0/+90 |
| |/ | |||||
* | | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-18 | 8 | -35/+149 |
|\| | |||||
| * | Boats drop a boat pickup when destroyed by hand. You can now actualy use boats. | STRWarrior | 2013-12-16 | 2 | -3/+33 |
| | | |||||
| * | Added HandleSpeedFromAttachee so an entity can override the function. | STRWarrior | 2013-12-16 | 2 | -4/+15 |
| | | |||||
| * | Fixed cClientHandle::Tick() being called from two threads. | madmaxoft | 2013-12-16 | 2 | -24/+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 |
| | | |||||
| * | Merge pull request #437 from mc-server/ShootTo_function | STRWarrior | 2013-12-15 | 2 | -0/+13 |
| |\ | | | | | | | Shoot to function | ||||
| | * | Renamed ShootTo function to ForceSetSpeed. | STRWarrior | 2013-12-15 | 2 | -3/+3 |
| | | | |||||
| | * | This adds a function that allows you to 'shoot' a player towards a direction. | STRWarrior | 2013-12-15 | 2 | -0/+13 |
| | | | |||||
| * | | Fixed indentation. | madmaxoft | 2013-12-15 | 1 | -1/+1 |
| |/ | |||||
| * | Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() function | STRWarrior | 2013-12-15 | 2 | -1/+45 |
| | | |||||
| * | cPlayer is using the broadcast functions. | STRWarrior | 2013-12-15 | 1 | -3/+3 |
| | | |||||
| * | Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h. | STRWarrior | 2013-12-14 | 1 | -1/+2 |
| | | |||||
| * | Added E_EFFECT_<Effect> | STRWarrior | 2013-12-14 | 2 | -3/+32 |
| | | |||||
| * | Added SendEntityEffect and SendRemoveEntityEffect. Also a Player now gets the hunger effect when he has food poison. | STRWarrior | 2013-12-14 | 1 | -1/+9 |
| | | |||||
* | | moved entities to globs | Tycho Bickerstaff | 2013-12-11 | 1 | -1/+5 |
| | | |||||
* | | Merge branch 'master' into cmake | Tycho Bickerstaff | 2013-12-11 | 3 | -10/+23 |
|\| | |||||
| * | Exported the cTNTEntity | STRWarrior | 2013-12-14 | 1 | -2/+6 |
| | | |||||
| * | Merge pull request #423 from mc-server/redstoneimprovements | Mattes D | 2013-12-14 | 1 | -2/+7 |
| |\ | | | | | | | Redstone and configuration improvements | ||||
| | * | 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 |
| | | | |||||
| * | | Fixed not getting XP from mobs. | STRWarrior | 2013-12-14 | 1 | -1/+1 |
| |/ | |||||
| * | Using "a_ClosestPlayer != NULL" in cExpOrb. | STRWarrior | 2013-12-13 | 1 | -1/+1 |
| | | |||||
| * | ExpOrbs now move. | STRWarrior | 2013-12-11 | 1 | -4/+8 |
| | | |||||
* | | more cmake | Tycho Bickerstaff | 2013-12-10 | 1 | -0/+7 |
|/ | |||||
* | Fixed angle normalization typo. | madmaxoft | 2013-12-08 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeatures | Tiger Wang | 2013-12-08 | 3 | -9/+6 |
|\ | | | | | | | | | | | | | Conflicts: src/Bindings/Bindings.cpp src/Bindings/Bindings.h src/Blocks/BlockHandler.cpp | ||||
| * | Fixed normalizing large angles. | madmaxoft | 2013-12-08 | 1 | -6/+3 |
| | | |||||
| * | Moved bindings-related to a Bindings subfolder. | madmaxoft | 2013-12-08 | 3 | -3/+3 |
| | | | | | | | | 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 | 2 | -2/+5 |
|/ | |||||
* | 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 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-26 | 3 | -0/+90 |
| | | | | | Conflicts: VC2008/MCServer.vcproj | ||||
* | 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 | 4 | -70/+298 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 18 | -0/+6466 |