summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add bow charging animationHowaner2014-06-161-1/+5
|
* Merge branch 'master' of github.com:mc-server/MCServerTycho2014-06-161-1/+29
|
* Fixed deadlock when moving players to other worlds.Mattes D2014-06-081-8/+10
| | | | Fixes #1039, fixes #851
* Added queue for adding entities to cWorld.Mattes D2014-06-081-2/+0
| | | | This alone doesn't work properly yet, further changes to cPlayer are needed.
* Player permissions aren't logged to console anymore.madmaxoft2014-06-031-7/+0
| | | | This was only logspam on most servers and there are alternative ways to list players' permissions.
* Merge branch 'master' into achievementtranslateTiger Wang2014-05-251-14/+57
|\ | | | | | | | | Conflicts: src/Entities/Player.cpp
| * Cleaned up cPlayer::UpdateMovementStats; Wither achievementsandrew2014-05-201-14/+57
| |
* | Update Player.cppAlexander Harkness2014-05-201-19/+19
| |
* | Added client translation to achievementsTiger Wang2014-05-191-4/+4
|/
* There's no "round" function in MSVC2008.madmaxoft2014-05-181-3/+3
|
* Fixesandrew2014-05-131-10/+11
|
* Movement Statisticsandrew2014-05-121-9/+77
|
* cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement()andrew2014-05-121-4/+66
|
* Fixed stat serializationandrew2014-05-111-10/+21
|
* Statistic Managerandrew2014-05-111-2/+19
|
* Suggestions'd #2Tiger Wang2014-05-061-1/+1
|
* Suggestions'dTiger Wang2014-05-061-1/+1
|
* Merge branch 'master' into fixes.madmaxoft2014-05-021-9/+12
|\
| * Add entity invulnerableHowaner2014-04-261-9/+12
| |
* | A tiny speed improvement in ApplyFoodExhaustion()Tiger Wang2014-04-271-5/+5
| |
* | Merge branch 'master' into fixesTiger Wang2014-04-241-5/+6
|\| | | | | | | | | Conflicts: src/World.h
| * Fixed Flint and Steel, reverted Minecart change, renamed a parameter namejfhumann2014-04-191-2/+2
| |
| * Merge remote-tracking branch 'origin/master' into fixesjfhumann2014-04-181-19/+15
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Authenticator.cpp src/ClientHandle.cpp src/Entities/Minecart.cpp src/Protocol/Protocol17x.cpp
| * | Did some static analysis, fixed some bugs and optimized a lot of codejfhumann2014-04-181-4/+5
| | |
* | | Some change to Entity.cppTiger Wang2014-04-231-16/+6
| |/ |/| | | | | * Added comments to BroadcastMovementUpdate() and the collision tracer
* | Merge pull request #891 from mc-server/fixesMattes D2014-04-171-1/+1
|\ \ | | | | | | Fixes to redstone & general
| * | Entities handle chunks properly againTiger Wang2014-04-121-1/+1
| |/ | | | | | | | | * Entities properly handle chunks * Changed EntityStatus enums to be less shouty
* / Added new AI rulesTiger Wang2014-04-171-18/+14
|/ | | | | | | + Added new AI rules handling cacti and large heights * Fixed cIniFile not recognising comments in cIniFile::ReadFile() * Fixed users.ini not being properly generated * Changed all instances of (int)floor(GetPosXXX()) to POSXXX_TOINT
* Added cPlayer:SendRotation() API function.madmaxoft2014-04-051-0/+11
|
* Fixed #721 and FS439Tiger Wang2014-03-291-0/+1
|
* Plugins can set flying speed.madmaxoft2014-03-201-3/+30
|
* Rewritten player speeds to be relative unit-less.madmaxoft2014-03-201-2/+2
| | | | Value of 1 means "default speed", 2 means "double the speed", 0.5 means "half the speed". This allows for easier plugins and is more future-proof.
* Unified Vector classesandrew2014-03-111-0/+1
|
* Merge branch 'master' into ballisticmissilesTiger Wang2014-03-091-29/+17
|\ | | | | | | | | Conflicts: src/ClientHandle.cpp
| * g_BlockXXX => cBlockInfo::XXXandrew2014-03-011-1/+1
| |
| * Shortened enumsandrew2014-03-011-2/+2
| |
| * Exported and documented cScoreboardandrew2014-03-011-18/+3
| |
| * Moved common cGroupManager code to a separate function.madmaxoft2014-02-281-7/+11
| | | | | | | | This fixes my concerns in PR #709.
| * Merge pull request #709 from Howaner/GlobalFixesMattes D2014-02-281-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() FunctionHowaner2014-02-211-6/+1
| | |
| | * Add 'Group not found', when the Server load the users.ini and add auto generate from users.iniHowaner2014-02-211-1/+5
| | |
* | | CheckBlockInteractionsRate() fixed & enabledTiger Wang2014-03-091-25/+0
| | |
* | | Removed unneeded includes in Player.cppTiger Wang2014-02-271-7/+0
|/ /
* | Manual merge (Fixed conflicts)andrew2014-02-201-2/+15
|\|
| * Fixed minor formatting issues from #682Tiger Wang2014-02-161-10/+1
| | | | | | | | | | - Removed unused PlaySoundEffect * Simplified and parenthesised code
| * Add Exp Bottle EffectsHowaner2014-02-161-0/+9
| |
| * Disable Hunger DeathHowaner2014-02-161-1/+7
| |
| * Merge pull request #679 from mc-server/NotchDeathAlexander Harkness2014-02-151-0/+6
| |\ | | | | | | NotchApple
| | * If a player is called "Notch" he drops an apple. http://minecraft.gamepedia.com/NotchSTRWarrior2014-02-151-0/+6
| | |
| * | Made player jump reset less ambiguousTiger Wang2014-02-121-1/+2
| | |
| * | Fixed #627Tiger Wang2014-02-111-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 bugsandrew2014-02-171-0/+3
|/
* Merge remote-tracking branch 'origin/master' into playerimprovementsTiger Wang2014-02-091-13/+0
|\ | | | | | | | | | | | | Conflicts: src/Root.cpp src/Root.h src/World.cpp
| * Removed deprecated HasCommand functionSTRWarrior2014-02-051-13/+0
| |
* | Improved chat messaging functionsTiger Wang2014-02-071-10/+0
| | | | | | | | | | | | | | * Moved string manipulation into cClientHandle and therefore... + Added configuration option for prefixes. * Cleaned up code. * Updated documentation for API.
* | Server internally uses new functionsTiger Wang2014-02-061-6/+4
| |
* | Fixed annoying creative on fire bugTiger Wang2014-02-051-0/+17
| |
* | Fixed a crash bugTiger Wang2014-02-031-3/+3
| |
* | Merge remote-tracking branch 'origin/master' into playerimprovementsTiger Wang2014-02-031-2/+2
|\|
| * Merge pull request #602 from mc-server/improvementsandfixesMattes D2014-02-031-2/+2
| |\ | | | | | | Redstone crash fix and current console line replace function
| | * Creative players take Plugin damageTiger Wang2014-02-021-2/+2
| | |
* | | Server now handles join messages alsoTiger Wang2014-02-031-1/+7
|/ / | | | | | | * Revised as well hook documentation
* | Merge pull request #585 from daniel0916/hooksMattes D2014-02-011-0/+2
|\ \ | |/ |/| Added "player destroying" and "player destroyed" hooks
| * Removed "player destroying" hookdaniel09162014-02-011-3/+1
| |
| * Added "player destroying" and "player destroyed" hooksdaniel09162014-01-251-0/+4
| | | | | | | | | | | | | | | | Hooks: HOOK_PLAYER_DESTROYING HOOK_PLAYER_DESTROYED Idea from: https://github.com/mc-server/MCServer/issues/473
* | Two minor changesTiger Wang2014-01-251-5/+3
| |
* | Implemented fall damage for mobsTiger Wang2014-01-251-4/+2
| | | | | | | | | | | | + Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros
* | All mobs now drown (fixes #54)Tiger Wang2014-01-251-103/+14
| | | | | | | | | | * Implemented mob drowning * Iron Golems and squids are excluded
* | Merge remote-tracking branch 'MikeHunsinger/master'madmaxoft2014-01-241-42/+51
|\ \
| * | Fixed indentation once and for all.Mike Hunsinger2014-01-241-31/+31
| | |
| * | Fixed indentation and doxygen comments... For real this time.Mike Hunsinger2014-01-241-3/+3
| | |
| * | Fixed spacing and doxycomments.Mike Hunsinger2014-01-241-3/+3
| | |
| * | Split TossItem into three Toss functions (Held, Equipped and Pickup)Mike Hunsinger2014-01-231-49/+58
| |/
* | Fixed compilation on VC2008tonibm192014-01-221-0/+1
| |
* | Scoreboard protocol supportandrew2014-01-211-6/+11
| |
* | Scoreboard deserializationandrew2014-01-201-1/+21
| |
* | Scoreboard improvementsandrew2014-01-191-4/+4
| |
* | Basic scoreboard implementationandrew2014-01-191-0/+52
|/
* Removed internal cEntity::GetRot() usage.madmaxoft2014-01-171-2/+2
|
* Removed obsoleted functionsTiger Wang2014-01-161-3/+3
|
* Implemented Ctrl-Q drop stackTiger Wang2014-01-151-3/+8
| | | | Also fixed an issue with TossItems not respecting count.
* Yes newline at end of file :DTiger Wang2014-01-141-1/+5
|
* Detaching improvementsTiger Wang2014-01-131-0/+26
| | | | | * Players now search for an area around themselves to teleport to when detaching from something
* Fixed a cPlayer::IsGameModeAdventure. It was determined based off of gmCreate rather than gmAdventure.Morgan Redshaw2013-12-311-2/+2
|
* Server now handles death messagesTiger Wang2013-12-261-0/+16
|
* Merge pull request #461 from mc-server/repeatersMattes D2013-12-261-3/+20
|\ | | | | Repeaters, pressure plates, and others
| * Braced up some codeTiger Wang2013-12-251-0/+2
| |
| * Used IsGamemodeCreative() functionTiger Wang2013-12-251-1/+1
| |
| * Fixed comments in main.cpp and Player.cppTiger Wang2013-12-241-1/+1
| |
| * Improved player fall particle positionsTiger Wang2013-12-231-5/+2
| |
| * Clarified some code in Player.cppTiger Wang2013-12-231-2/+5
| |
| * Implemented fall particlesTiger Wang2013-12-221-3/+18
| |
* | finally removed them all?Alexander Harkness2013-12-241-1/+1
| |
* | Floater now dissapears when the player doesn't have an fishing rod equipped.STRWarrior2013-12-211-0/+29
|/
* Sorted a few constructors to remove warnings.madmaxoft2013-12-201-21/+22
|
* Merge pull request #450 from mc-server/redstonefixesMattes D2013-12-191-0/+18
|\ | | | | Multiple fixes
| * Fixed PlayerAbilities and creativeTiger Wang2013-12-191-0/+18
| |
* | Implented IsFishing, SetIsFishing and GetFloaterID().STRWarrior2013-12-191-0/+2
|/
* Fixed cClientHandle::Tick() being called from two threads.madmaxoft2013-12-161-22/+0
| | | | | When the player was initialized, the Tick() function continued to stream chunk, while the cWorld called Tick() from its tick thread. Final fix for #187.
* Server saves if a player is flying.STRWarrior2013-12-151-1/+3
|
* Renamed ShootTo function to ForceSetSpeed.STRWarrior2013-12-151-1/+1
|
* This adds a function that allows you to 'shoot' a player towards a direction.STRWarrior2013-12-151-0/+10
|
* Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() functionSTRWarrior2013-12-151-0/+32
|
* cPlayer is using the broadcast functions.STRWarrior2013-12-151-3/+3
|
* Added E_EFFECT_<Effect>STRWarrior2013-12-141-3/+3
|
* Added SendEntityEffect and SendRemoveEntityEffect. Also a Player now gets the hunger effect when he has food poison.STRWarrior2013-12-141-1/+9
|
* Improved player permissions loggingTiger Wang2013-12-141-1/+1
|
* Fixes to redstone wire and torchesTiger Wang2013-12-141-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 generatedTiger Wang2013-12-141-1/+6
|
* Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeaturesTiger Wang2013-12-081-1/+1
|\ | | | | | | | | | | | | Conflicts: src/Bindings/Bindings.cpp src/Bindings/Bindings.h src/Blocks/BlockHandler.cpp
| * Moved bindings-related to a Bindings subfolder.madmaxoft2013-12-081-1/+1
| | | | | | | | Ref.: #407
* | Renamed animation functionTiger Wang2013-12-071-3/+3
| | | | | | | | | | Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know.
* | Puking now uses GetEyeHeight()Tiger Wang2013-12-061-1/+1
| |
* | Fixed eating using wrong animationTiger Wang2013-12-061-1/+1
| |
* | Tools make a sound when breaking, fixes #266Tiger Wang2013-12-061-1/+4
|/
* Fixed VC2008 compilation, normalized include paths.madmaxoft2013-11-271-1/+1
|
* Fixed some of tiger's derpyness.Alexander Harkness2013-11-271-2/+2
|
* Hopefully fixed last of the Linux compile errorsTiger Wang2013-11-261-1/+1
|
* Attempt to fix compilationTiger Wang2013-11-241-2/+2
|
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-241-28/+78
| | | | | Conflicts: GNUmakefile
* Moved source to srcAlexander Harkness2013-11-241-0/+1715