Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-01-24 | Miscellaneous improvements | Tiger Wang | 1 | -5/+4 | |
2014-01-24 | Monsters no longer check for direct line of sight | Tiger Wang | 1 | -10/+2 | |
2014-01-24 | Large reworking of mob code [SEE DESC] | Tiger Wang | 1 | -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-16 | Removed obsoleted functions | Tiger Wang | 1 | -1/+1 | |
2013-12-25 | Preliminary mobile entity saving | Tiger Wang | 1 | -1/+2 | |
* Fixes #252 * Alleviates #380 + Adds mob saving * Fixed some debug !ASSERTs | |||||
2013-12-23 | Some fixes (SEE DESC) | tonibm19 | 1 | -0/+6 | |
-Added missing mobs (wither, enderdragon and iron golem) to type to string list. -Wither and iron golem can now spawn | |||||
2013-12-22 | EnderDragons and SnowGolems are able to spawn. | STRWarrior | 1 | -0/+2 | |
2013-12-20 | Sorted a few constructors to remove warnings. | madmaxoft | 1 | -7/+7 | |
2013-12-20 | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 1 | -1/+1 | |
2013-12-14 | Fixed not getting XP from mobs. | STRWarrior | 1 | -0/+6 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-10 | Bundled fixes [SEE DESC] | Tiger Wang | 1 | -1/+6 | |
* Fixed compiler warning in Monster.cpp * Future proofed particle effects * Improved pickups, made less jittery | |||||
2013-11-10 | Bundled fixes [SEE DESC] | Tiger Wang | 1 | -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-04 | Skeleton, Ghast and Blaze's projectile code is now in their respective class. | STRWarrior | 1 | -64/+6 | |
2013-11-02 | Skeletons, Blazes and Ghasts now shoot their projectile to the target. | STRWarrior | 1 | -5/+63 | |
2013-10-29 | Update to allow the light map to remain the same, but allow alteration of sky light values based on time. | Samuel Barney | 1 | -3/+3 | |
2013-10-24 | Renamed cMonster::GetSpawnRate() to GetSpawnDelay(). | madmaxoft | 1 | -1/+1 | |
2013-10-22 | Fixed an assert in cMonster | madmaxoft | 1 | -2/+2 | |
2013-10-20 | Reimplemented cMonster::FamilyFromType() as a simple switch (duh!) | madmaxoft | 1 | -38/+27 | |
2013-10-20 | Fixed memory leaks in cMobCensus, moved GetSpawnRate() to cMonster. | madmaxoft | 1 | -0/+17 | |
2013-10-20 | Fixed binary search in StringToMobType(). | madmaxoft | 1 | -3/+3 | |
2013-10-20 | Moved all MobTypesManager functions to cMonster. | madmaxoft | 1 | -5/+222 | |
This removes some of the memory leaks and is more logical in structure. Also the functions are exported to Lua. | |||||
2013-10-20 | Fixed loading allowed mobs in world. | madmaxoft | 1 | -3/+7 | |
2013-10-13 | Eight round of fixes | Tiger Wang | 1 | -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-13 | Added an extra line. | tonibm19 | 1 | -0/+1 | |
In first commit it says I removed first line | |||||
2013-09-13 | Fixed mobs attack range being too long | tonibm19 | 1 | -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-10 | Inside cMonster::getMobFamily() : replacing Polymorphism by Map, in order to remove redundancy | mgueydan | 1 | -0/+6 | |
2013-09-07 | Fixed a missing initialization in cMonster. | madmaxoft | 1 | -2/+3 | |
This should fix commit ff762a7ece6400eaeb5e21f3fea7cad00786a8d9 's all-mobs burning. | |||||
2013-09-06 | Moved daylight burning directly into cMonster. | madmaxoft | 1 | -0/+36 | |
2013-09-05 | Moved daylight burning directly into cMonster. | madmaxoft | 1 | -0/+36 | |
2013-08-19 | Moved entities into the Entities subfolder. | madmaxoft | 1 | -1/+1 | |
2013-07-01 | Rewritten entity-on-fire management ("forever on fire" bugs) | madmaxoft@gmail.com | 1 | -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-25 | Unified the way mobs are spawned (egg vs natural). Fixed deadlocks in mob moving. Fixed mob destroying code. | madmaxoft@gmail.com | 1 | -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-22 | Moved 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.com | 1 | -121/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1400 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-13 | Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() | madmaxoft@gmail.com | 1 | -28/+23 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-02 | Added support for head yaw tracking and packet sending and fixed bug in BroadcastMovementUpdate | keyboard.osh@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1350 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-23 | Added helper functions AddSpeed, AddSpeedX, AddSpeedY, AddSpeedZ, AddPosition, AddPosX, AddPosY, AddPosZ. Made sure that all entites use these helper functions. | keyboard.osh@gmail.com | 1 | -5/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1299 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-22 | Implemented 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.com | 1 | -42/+44 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1294 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-09 | Pickups are now being saved into Anvil. | madmaxoft@gmail.com | 1 | -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-22 | MTRand 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.com | 1 | -42/+54 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1096 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-22 | Reduced most mobs' constructors to oneliners by passing parameters to superclasses | madmaxoft@gmail.com | 1 | -18/+11 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-21 | Added sounds to levers and mobs | luksor111@gmail.com | 1 | -0/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1093 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-21 | Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type. | madmaxoft@gmail.com | 1 | -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-21 | Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). | madmaxoft@gmail.com | 1 | -19/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1090 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-21 | Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested) | madmaxoft@gmail.com | 1 | -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-01 | Refactored the world time. | madmaxoft@gmail.com | 1 | -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-06 | Removed a few debugging messages from the release builds. | madmaxoft@gmail.com | 1 | -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-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -7/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: Mobs-related files in a separate subfolder, renamed. | madmaxoft@gmail.com | 1 | -18/+19 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-29 | Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself. | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@802 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-24 | Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets. | madmaxoft@gmail.com | 1 | -13/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@783 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle. | madmaxoft@gmail.com | 1 | -106/+146 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@761 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -560/+560 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-06 | Item-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.com | 1 | -13/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@561 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-19 | Fixed player heads always pointing north (new EntityHeadLook packet) | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@424 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-14 | Split chunk data into separate arrays; decoupled most sources from cChunk.h dependency | madmaxoft@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@411 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-12 | Fixing compilation on Drawin 9 / MacOS X | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@402 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Fixed a few obsoleted functions | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@397 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-20 | Removed some more cChunkPtr usage | madmaxoft@gmail.com | 1 | -20/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@298 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-15 | No longer using pointers for Vector3(f/d/i) in cEntity's and cTracer | faketruth | 1 | -44/+40 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@268 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-13 | Rewritten 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.com | 1 | -51/+82 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients; | madmaxoft@gmail.com | 1 | -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-31 | Slight code cleanup, no big changes | madmaxoft@gmail.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@202 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-29 | VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization. | madmaxoft@gmail.com | 1 | -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 animals | lapayo94@gmail.com | 1 | -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.com | 1 | -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 makefile | mtilden@gmail.com | 1 | -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 mode | lapayo94@gmail.com | 1 | -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-22 | Fixes: | lapayo94@gmail.com | 1 | -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.0 | lapayo94@gmail.com | 1 | -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-06 | Patch 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.com | 1 | -9/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@67 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-31 | Prepared some parts of the code for multi world support, I created lots of TODO's | faketruth | 1 | -13/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@29 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-03 | MCServer c++ source files | faketruth | 1 | -0/+609 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6 |