summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-05-28AI - Sane SkeletonSafwatHalaby1-2/+9
2015-05-27AI - Saner LivestockSafwatHalaby1-2/+11
2015-05-23Pathfinder - Bounding boxes and some tweaksSafwatHalaby1-3/+3
2015-05-20Path recalculation improvementsSafwatHalaby1-2/+3
2015-05-19Make -Werror disabling file onlytycho1-4/+4
Ad fix a load of warnings
2015-05-19Manual merge of #2066Alexander Harkness1-1/+1
2015-05-17Pathfinder - approximated paths when original destination unreachableSafwatHalaby1-27/+94
2015-05-10Fixed some warnings and logic errors in Monster.cppTiger Wang1-5/+7
2015-05-09Fixed some Visual Studio warningsTiger Wang1-5/+5
2015-05-09Move chunk position accesses after the chunk validity checksworktycho1-2/+4
2015-05-07Big Magma Cube can now spawnTri1251-1/+1
Following the same method as the Slime, Magma Cube can now spawn with the size of 1, 2 or 4.
2015-05-06AI - Safer WouldBurnAt()wiseoldman951-3/+8
2015-05-06AI - Better shade coverwiseoldman951-1/+9
2015-05-06(duplicate) AI - Livestock escape fixed, water jumping fixedwiseoldman951-9/+69
2015-05-06PF - Fixed mobs not reaching leaning playerwiseoldman951-2/+3
2015-05-05AI - More conservative use of ResetPathFinding, fixed minor swimming / jumping bugwiseoldman951-20/+37
2015-05-04Entity improvementsTiger Wang1-169/+110
•Pathfinder improvements •Fixes #1217 •Fixes #1933 Merge remote-tracking branch 'SafwatHalaby/water2' into fixes
2015-05-03AI - Improved Mob Jumpingwiseoldman951-5/+15
2015-05-03PathFinder - Crash fix, chunks in parameters are now referenceswiseoldman951-2/+2
2015-05-02AI - Better daylight handlingwiseoldman951-9/+15
2015-05-02PathFinding - Chunk querying optimization and improve cPath::IsSolidwiseoldman951-4/+4
2015-05-01A* Pathfinding and better monster AIwiseoldman951-126/+142
2015-04-17Added MobTypeName for Giantmathias-gh1-0/+1
2015-03-20Correct world height validations.Tommy Santerre1-1/+1
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
2015-01-16Converted Monster to std::chronoTycho1-11/+11
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-7/+5
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2014-12-25Fixed basic style.Mattes D1-1/+1
2014-12-20Added RabbitsMasy981-0/+4
2014-12-18Guardian can now spawn if wanted!?Masy981-1/+1
2014-12-18Added Entity GuardianMasy981-0/+4
2014-12-05BasicStyle: Added missing braces to control statements.Mattes D1-5/+22
2014-12-01MobSpawner fixes.Howaner1-0/+1
2014-11-30Removed old StringToMobType() function from Monster.cppHowaner1-10/+0
2014-11-29Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes.Howaner1-52/+61
2014-11-26Merge remote-tracking branch 'origin-master' into c++11Tiger Wang1-2/+2
2014-11-15Mobs: Fixed crash with terrain too high.Mattes D1-2/+2
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-14/+14
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-14/+14
2014-10-19Migrated random generators to std::randomTiger Wang1-1/+0
2014-10-05Fixed a missed value.madmaxoft1-1/+1
2014-10-05Fixed eMonsterType Lua API mismatch.madmaxoft1-0/+10
2014-09-17Added first test to show the object can be createdTycho1-58/+58
2014-09-13Improved cBlockHandler::DropBlockTiger Wang1-1/+1
2014-09-02Renamed SetWalkSpeed() to SetRelativeWalkSpeed()Howaner1-2/+2
2014-09-02Added CustomName saving.Howaner1-2/+8
2014-09-01Added name tagHowaner1-0/+19
2014-09-01Added CustomName to cMonster.Howaner1-0/+29
2014-08-30Added SetWalkSpeed() to cMonster.Howaner1-0/+4
2014-08-28Fixed mob burning.reiter1-1/+1
Fixes #1298
2014-08-04Refactored case-conversion functions.madmaxoft1-2/+1
StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place.
2014-08-04Changed /** to /*Howaner1-3/+5
2014-08-04Fixed warningsHowaner1-3/+3
2014-08-04Attempt to fix knockback and swimming.Howaner1-3/+9
2014-08-01Improved endermen code a littleTiger Wang1-1/+3
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft1-1/+1
2014-07-19Monsters: Made IsUndead overridable by the respective mob classesarchshift1-10/+0
2014-07-19Fixed style: spaces after commas.madmaxoft1-1/+1
2014-07-19Fixed clamping issuesarchshift1-5/+1
2014-07-18Fixed slime-related comments.madmaxoft1-2/+2
2014-07-18Slime sizes are 1, 2 or 4 and not 1, 2 or 3.Howaner1-1/+1
2014-07-18Monster fixesTiger Wang1-26/+1
* Fixes #1203 * Fixes #627
2014-07-17Fixed tabs used for alignment.madmaxoft1-1/+1
2014-07-17Basic style fixes.madmaxoft1-3/+3
2014-07-17Normalized comments.madmaxoft1-12/+12
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.
2014-07-13Changed BroadcastSoundEffect function to take floating pos.Howaner1-2/+2
2014-07-06Fixed slime handling in cMonster::StringToMobType().madmaxoft1-1/+1
2014-07-04Tailored death messagesTiger Wang1-3/+3
2014-06-28Fix sheep color's, add shear sound.Howaner1-1/+1
2014-06-21More suggestionsTiger Wang1-1/+1
2014-06-19EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift1-45/+0
Changed effect map to take a pointer of the effect as a result.
2014-06-17Entity effects: changed User to Creator, removed pawn pass-by-valuearchshift1-1/+1
2014-06-17Fixed MSVC compilation.madmaxoft1-3/+3
2014-06-17Pawn: renamed HandleEntityEffects to HandleEntityEffectarchshift1-2/+2
Exported entity effect functions for ToLua and documented them in APIDesc.lua
2014-06-17Monster: added IsUndead(), undead-specific entity effectsarchshift1-0/+65
2014-06-05Fixed decision failureTiger Wang1-1/+1
2014-06-04Added checks for no downfall biomesTiger Wang1-1/+1
2014-06-02Small tweak for mobsSTRWarrior1-4/+14
Mobs move a bit smoother and aren't able to move allot when in air.
2014-05-29Very minor code changesTiger Wang1-1/+1
2014-05-13Fixesandrew1-1/+1
2014-05-12Movement Statisticsandrew1-1/+3
2014-05-12Fixed a few more switch warnings.archshift1-0/+2
2014-05-02Fixed MagmaCube spawning.madmaxoft1-0/+4
Fixes #928.
2014-04-26Fixed mobs that don't naturally spawn.archshift1-2/+5
2014-04-26Add entity invulnerableHowaner1-2/+6
2014-04-25Giants!archshift1-6/+11
Changed mfMaxplusone to mfUnhandled for readability, and fixed a default case warning.
2014-04-24Fixed class capitalization for the cave spider.archshift1-1/+1
2014-04-18Compilation fixTiger Wang1-1/+1
2014-04-18Fixed #906Tiger Wang1-1/+2
2014-04-18Fixed #904Tiger Wang1-1/+1
2014-04-17Added new AI rulesTiger Wang1-12/+26
+ 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
2014-04-10Fixed GitHuB WebEdit fail.Alexander Harkness1-0/+1
2014-04-10Update Monster.cppAlexander Harkness1-2/+4
2014-03-31Final realisation of suggestionsTiger Wang1-5/+7
2014-03-31Fixed a few Y too high/low assertsTiger Wang1-5/+5
2014-03-24Wither invulnerabilityandrew1-0/+1
2014-03-16Fixed double to float conversions.madmaxoft1-5/+5
2014-03-01g_BlockXXX => cBlockInfo::XXXandrew1-5/+5
2014-02-24Fixed Formatting, added compiler warning suppressing methods, fixed commentsTheJumper1-1/+1
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-0/+76
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-1/+48
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-0/+1
2014-02-23Fixed Formatting, Added DropChance attributes to MonstersTheJumper1-4/+22
2014-02-22Changed formatting, encapsuled armor drop, introduced better static Enchantment IDsTheJumper1-0/+28
2014-02-22Monster.cpp: Fixed Formatting in AddRandomUncommonDropItemTheJumper1-1/+1
2014-02-21Fixed Mob Drops, Add Rare and Uncommon Drops, Looting inflicts DropsTheJumper1-0/+29
2014-02-17Improved formattingtonibm191-2/+2
2014-02-16Now mobs can't escape from fences.tonibm191-2/+2
2014-02-11Fixed #627Tiger Wang1-14/+0
- 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)
2014-02-05Fixed most of the reordering warningsTycho1-4/+4
2014-02-05Fixed a bunch of MSVS warningsTiger Wang1-1/+1
* Possibly also fixed some bugs with pathfinding and TNT, though unlikely
2014-02-04Blank lines and indentation.tonibm191-0/+4
Also removed GetClosestPlayer documentation
2014-02-03Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua APItonibm191-0/+8
2014-02-01Monster's nominal speed was increased.Kirill Kirilenko1-1/+1
2014-01-25Implemented fall damage for mobsTiger Wang1-4/+27
+ Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros
2014-01-25Mob bugfixesTiger Wang1-20/+29
* Mobs no longer require constant line-of-sight to a player to remain aggravated * Fixed an ASSERT * Fixed mobs jumping * Fixed Idle state not properly using AI + Added FILE_IO_PREFIX to favicon loading + Implemented #563
2014-01-25Fixed a generator bugTiger Wang1-0/+3
2014-01-24Miscellaneous improvementsTiger Wang1-5/+4
2014-01-24Monsters no longer check for direct line of sightTiger Wang1-10/+2
2014-01-24Large reworking of mob code [SEE DESC]Tiger Wang1-162/+238
+ Implemented better pathfinding - Removed lots of unused variables, functions, etc. * Changed some variable types * Other miscellaneous fixes, and also completes the previous PRs
2014-01-16Removed obsoleted functionsTiger Wang1-1/+1
2013-12-25Preliminary mobile entity savingTiger Wang1-1/+2
* Fixes #252 * Alleviates #380 + Adds mob saving * Fixed some debug !ASSERTs
2013-12-23Some fixes (SEE DESC)tonibm191-0/+6
-Added missing mobs (wither, enderdragon and iron golem) to type to string list. -Wither and iron golem can now spawn
2013-12-22EnderDragons and SnowGolems are able to spawn.STRWarrior1-0/+2
2013-12-20Sorted a few constructors to remove warnings.madmaxoft1-7/+7
2013-12-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft1-1/+1
2013-12-14Fixed not getting XP from mobs.STRWarrior1-0/+6
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-10Bundled fixes [SEE DESC]Tiger Wang1-1/+6
* Fixed compiler warning in Monster.cpp * Future proofed particle effects * Improved pickups, made less jittery
2013-11-10Bundled fixes [SEE DESC]Tiger Wang1-30/+26
* Fixed pickups spawning in an incorrect position from a JukeBox * Pickups make a popping sound in Prtcl1.7 * Arrows make a *what sort of sound does an arrow make anyway‽* when hitting a block, and a popping sound when fired * Mobs again have metadata * Fixed Prtcl1.7 not using valid JSON to kick a client * Minecarts and arrows again have metadata
2013-11-04Skeleton, Ghast and Blaze's projectile code is now in their respective class.STRWarrior1-64/+6
2013-11-02Skeletons, Blazes and Ghasts now shoot their projectile to the target.STRWarrior1-5/+63
2013-10-29Update to allow the light map to remain the same, but allow alteration of sky light values based on time.Samuel Barney1-3/+3
2013-10-24Renamed cMonster::GetSpawnRate() to GetSpawnDelay().madmaxoft1-1/+1
2013-10-22Fixed an assert in cMonstermadmaxoft1-2/+2
2013-10-20Reimplemented cMonster::FamilyFromType() as a simple switch (duh!)madmaxoft1-38/+27
2013-10-20Fixed memory leaks in cMobCensus, moved GetSpawnRate() to cMonster.madmaxoft1-0/+17
2013-10-20Fixed binary search in StringToMobType().madmaxoft1-3/+3
2013-10-20Moved all MobTypesManager functions to cMonster.madmaxoft1-5/+222
This removes some of the memory leaks and is more logical in structure. Also the functions are exported to Lua.
2013-10-20Fixed loading allowed mobs in world.madmaxoft1-3/+7
2013-10-13Eight round of fixesTiger Wang1-1/+1
* Changed IsA() to *long if statement* - Removed deprecated values in Entity.h - to blazes with the plugins! * Renamed villager type enumerations to be LESS SHOUTY and more vt-y + Use vtMax for World.cpp testificate spawning
2013-09-13Added an extra line.tonibm191-0/+1
In first commit it says I removed first line
2013-09-13Fixed mobs attack range being too longtonibm191-2/+1
It was set to 5, I think 2 is better because now mobs can kill you when there is a block (or 2) between you and monster.
2013-09-10Inside cMonster::getMobFamily() : replacing Polymorphism by Map, in order to remove redundancymgueydan1-0/+6
2013-09-07Fixed a missing initialization in cMonster.madmaxoft1-2/+3
This should fix commit ff762a7ece6400eaeb5e21f3fea7cad00786a8d9 's all-mobs burning.
2013-09-06Moved daylight burning directly into cMonster.madmaxoft1-0/+36
2013-09-05Moved daylight burning directly into cMonster.madmaxoft1-0/+36
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-1/+1
2013-07-01Rewritten entity-on-fire management ("forever on fire" bugs)madmaxoft@gmail.com1-4/+7
Fixes FS #297 and part of FS #403. Added sizes to all entities. Moved all damage-related functions from cPawn to cEntity API change: renamed cPawn:TeleportTo() to cEntity:TeleportToCoords() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1635 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-25Unified the way mobs are spawned (egg vs natural). Fixed deadlocks in mob moving. Fixed mob destroying code.madmaxoft@gmail.com1-2/+7
Should fix FS #400 and partially fix FS #381 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1626 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22Moved physics to the cEntity class from the derivative classes (cMonster, cPickup). Added physics override to cPlayer to disable physics calculations. Fixed bug with pitch calculations on mobs.keyboard.osh@gmail.com1-121/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1400 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-13Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com1-28/+23
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-02Added support for head yaw tracking and packet sending and fixed bug in BroadcastMovementUpdatekeyboard.osh@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1350 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-23Added helper functions AddSpeed, AddSpeedX, AddSpeedY, AddSpeedZ, AddPosition, AddPosX, AddPosY, AddPosZ. Made sure that all entites use these helper functions.keyboard.osh@gmail.com1-5/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1299 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-22Implemented BroadcastMovementUpdate function. Moved m_Pos,m_Rot,m_Speed to private members and made sure that all classes uses the public functions to access these members.keyboard.osh@gmail.com1-42/+44
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1294 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-09Pickups are now being saved into Anvil.madmaxoft@gmail.com1-2/+2
Also changed cEntity rotation datatype to double git-svn-id: http://mc-server.googlecode.com/svn/trunk@1262 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-22MTRand reference is now passed as a Tick() parameter so that it isn't created and destroyed over and over again. All entities will handle physics (empty callback for now)madmaxoft@gmail.com1-42/+54
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1096 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-22Reduced most mobs' constructors to oneliners by passing parameters to superclassesmadmaxoft@gmail.com1-18/+11
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21Added sounds to levers and mobsluksor111@gmail.com1-0/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1093 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type.madmaxoft@gmail.com1-1/+2
Also added a few utility functions to cEntity for distinguishing the types (IsPlayer(), IsPickup() etc.) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1092 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com1-19/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1090 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested)madmaxoft@gmail.com1-9/+12
http://forum.mc-server.org/showthread.php?tid=625 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1087 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-01Refactored the world time.madmaxoft@gmail.com1-2/+2
Now it is stored in two values - WorldAge (only incremented, plugins cannot change) and TimeOfDay (plugins can change). Since sub-tick precision is needed in Tick(), we store it both as number of seconds (double) and number of ticks (Int64) is calculated off of that. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1022 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-06Removed a few debugging messages from the release builds.madmaxoft@gmail.com1-4/+5
( http://forum.mc-server.org/showthread.php?tid=571 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@936 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-7/+7
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23Source files cleanup: Mobs-related files in a separate subfolder, renamed.madmaxoft@gmail.com1-18/+19
git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-29Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself.madmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@802 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-24Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com1-13/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@783 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-19Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle.madmaxoft@gmail.com1-106/+146
git-svn-id: http://mc-server.googlecode.com/svn/trunk@761 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-560/+560
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-06Item-dropping code rewritten and centralized - now there's only one place to modify if we want to split or merge same-item drops: cWorld:SpawnItemPickups(). Also, mined blocks can now drop more items, and they recognize if they're being mined by the correct tool.madmaxoft@gmail.com1-13/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@561 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-19Fixed player heads always pointing north (new EntityHeadLook packet)madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@424 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-14Split chunk data into separate arrays; decoupled most sources from cChunk.h dependencymadmaxoft@gmail.com1-1/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@411 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-12Fixing compilation on Drawin 9 / MacOS Xmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@402 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-10Fixed a few obsoleted functionsmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@397 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-20Removed some more cChunkPtr usagemadmaxoft@gmail.com1-20/+16
git-svn-id: http://mc-server.googlecode.com/svn/trunk@298 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-15No longer using pointers for Vector3(f/d/i) in cEntity's and cTracerfaketruth1-44/+40
git-svn-id: http://mc-server.googlecode.com/svn/trunk@268 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-13Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it.madmaxoft@gmail.com1-51/+82
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-01Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients;madmaxoft@gmail.com1-1/+1
Global player-kicking function (cServer, cRoot); More char * -> AString conversion git-svn-id: http://mc-server.googlecode.com/svn/trunk@221 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-01-31Slight code cleanup, no big changesmadmaxoft@gmail.com1-3/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@202 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-5/+7
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-28- Implemented Drops from Burning animalslapayo94@gmail.com1-68/+7
- added right monster health and attack strength - refactored the Pawn/Monster/Player class a little bit - changed some namings to fit the style git-svn-id: http://mc-server.googlecode.com/svn/trunk@140 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-26- improved ClosestPlayerDetection (Really the closest now ;))lapayo94@gmail.com1-29/+45
- renamed function because the old one wasn´t listing - improved some time vars so no move gets dropped when the server laggs for a few seconds git-svn-id: http://mc-server.googlecode.com/svn/trunk@124 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-26 - Linux compatible fixes including updated makefilemtilden@gmail.com1-5/+9
- Mersenne Twister still says uint32 but it's now signed for compatibility with random uses needing negative values - Server seed is sent to clients, but needs to be able to be signed long long later on for authentic reasons - Protocol Version is required to match to ensure client compatibility, this should probably have a settings.ini check as well as store the value there git-svn-id: http://mc-server.googlecode.com/svn/trunk@121 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-25- Fixed Bug #99 -> Mobs no longer bother you in creative modelapayo94@gmail.com1-76/+35
- refactored many things in the Monster system git-svn-id: http://mc-server.googlecode.com/svn/trunk@112 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-22Fixes:lapayo94@gmail.com1-1/+1
- Pickups fall through water now (Server-side they stayed in the water surface) - Suppressed some warnings (int to short etc.) - Water is now passable for cTracer git-svn-id: http://mc-server.googlecode.com/svn/trunk@96 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-21- Crafting fixed in 1.0.0lapayo94@gmail.com1-0/+17
- Server compatible with the weapons and equip again. (Some Packets were incompatible) - fixed bucket bugs (not all) - Fixed clients getting crashed by wrong Pickups - fixed nearly all mob drops. (Check wheather they are burning is missing Big Grin) - maybe some other things I can´t recall atm Big Grin git-svn-id: http://mc-server.googlecode.com/svn/trunk@94 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-06Patch with diff file created by Sebi (implemented some stuff like lava physics, drops are deleted when in lava, water is now slower, lava gives actual damage etc.). Pistons now work mostly as they should. They do not yet show the motion animation and do not emit sound. They do extend, push, and retract as they should though. Right now the only way to activate a piston is to light redstone wire adjacent to it with a redstone torch.admin@omencraft.com1-9/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@67 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-31Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth1-13/+13
git-svn-id: http://mc-server.googlecode.com/svn/trunk@29 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-03MCServer c++ source filesfaketruth1-0/+609
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6