aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
AgeCommit message (Collapse)Author
2009-08-28*Fix a crash caused by gm command .object move and so onmegamage
--HG-- branch : trunk
2009-08-26*Add some crash log.megamage
--HG-- branch : trunk
2009-08-26*Some clean up and add debug info to find the reason of crash.megamage
--HG-- branch : trunk
2009-08-25*Do not reset map id in resetmap.megamage
--HG-- branch : trunk
2009-08-25*Do not make getmapid virtual function to improve speed.megamage
--HG-- branch : trunk
2009-08-24*Fix some summon vehicle spells.megamage
--HG-- branch : trunk
2009-08-23*Update vehicle system. Make vehicle a seperate class from creature.megamage
--HG-- branch : trunk
2009-08-23*Some update of spell target selection.megamage
--HG-- branch : trunk
2009-08-23*Do not always set faction in summonvehicle function.megamage
--HG-- branch : trunk
2009-08-19*Set vehicle owner guid and faction in summonvehicle instead of ↵megamage
spelleffecthandler. --HG-- branch : trunk
2009-08-13*Do not assert !map for non-corpse worldobjects.megamage
--HG-- branch : trunk
2009-08-13*Add an assert in ~worldobjectmegamage
--HG-- branch : trunk
2009-08-12*Rewrite and simplify sendmessagetoset functions. This fixes the bug that ↵megamage
player cannot see dummy aura is cancelled when puppet is far away. --HG-- branch : trunk
2009-08-12*first remove corpse from world then resetmapmegamage
--HG-- branch : trunk
2009-08-12*Fix a crash caused by addnpc command.megamage
--HG-- branch : trunk
2009-08-11*Add some asserts back.megamage
--HG-- branch : trunk
2009-08-11*ResetMap for worldobjects when map is deleted.megamage
--HG-- branch : trunk
2009-08-11*Only use m_isWorldObject to check if an object is in grid or world.megamage
--HG-- branch : trunk
2009-08-11*A temp fix of the crashes caused by corpses.megamage
--HG-- branch : trunk
2009-08-10*Assert !IsInWorld() in set mapmegamage
--HG-- branch : trunk
2009-08-10*Assert !IsInWorld() in reset mapmegamage
--HG-- branch : trunk
2009-08-01*Remove unneeded assert.QAston
--HG-- branch : trunk
2009-08-01*Improvements in map managing.QAston
--HG-- branch : trunk
2009-07-30*Fix per-caster aura state based on [8218] (Author: VladimirMangos;almost ↵QAston
nothing left from original patch): *Fixes all per caster aurastates instead of only conflagrate *Adds a holder for aura state auras for speedup search *Save some memory space by removing m_auraStateMask from aura class. --HG-- branch : trunk
2009-07-30*Backout some mangos stuff which is solved using better way in trinity.QAston
--HG-- branch : trunk
2009-07-30Backed out changeset 7fab27a57ecc - mangos [8218]QAston
--HG-- branch : trunk
2009-07-30[8225] Some fixes from 320 branch. Author: tomrus88megamage
--HG-- branch : trunk
2009-07-30 [8218] Final part of talent 17962 and ranks fixes. Author: VladimirMangosmegamage
* Correctly show per-caster aura state for cleitns. --HG-- branch : trunk
2009-07-24Merge [SD2]Kudlaty
r1088 Add grid searcher class PlayerAtMinimumRangeAway and create ScriptedAI function GetPlayerAtMinimumRange that return player in grid with at least the defined range away from m_creature. r1089 Remove no longer needed grid search code and use function instead. - skip r1090 Rename and clarify function variables - skip r1091 Add two new grid search functions to return list of creature and gameobject. Remove unused class. r1092 Remove more grid search code in scripts and use functions instead. r1093 Remove obsolete grid search class and rename new to a more consistent name. r1094 Speed up functions GetCreature/GameObjectListWithEntryInGrid a bit --HG-- branch : trunk
2009-07-22*Implement Aura Type 247 (SPELL_AURA_CLONE_CASTER) and 279 ↵QAston
(SPELL_AURA_INITIALIZE_IMAGES) *Handle CMSG_GET_MIRRORIMAGE_DATA opcode. *Save Minions follow angle to allow themmoving in a formation *Improvements in SpellAI: correctly evade and select attack target for creatures without threat list *Use SpellAI instead of PetAI for not controllable guardians *Only guardians with SUMMON_TYPE_PET are controllable now *Add script and template data for Mirror Image. *Thanks to Drahy for help. --HG-- branch : trunk
2009-07-20 [8187] Remove %s prefix in BuildMonsterChat().megamage
For cases where name of sender is expected to show in client chat (mainly emote texts), add %s to the text where name should display. Signed-off-by: NoFantasy <nofantasy@nf.no> --HG-- branch : trunk
2009-07-16 [8182] Store and use Map* pointer in WorldObject instead map ids for ↵megamage
speedup Author: Ambal Also some code logic cleanups. Changes let make more cleanups in base map access and other places, but this chnages not inlcuded in patch. *This patch may cause crash. --HG-- branch : trunk
2009-07-01 [8102] Simplify code base at new root method ↵megamage
WorldObject::CleanupsBeforeDelete Author: VladimirMangos * Call it from Map::AddObjectToRemoveList and remove now not needed explcit calls * Create Gameobject version to make GO with owner more safe for remove --HG-- branch : trunk
2009-06-17*Fix a crash caused by mailed item deconstructor.megamage
--HG-- branch : trunk
2009-06-16*Add a crashlog before an assert.megamage
--HG-- branch : trunk
2009-06-16[8026] Obtain object's map directly by calling appropriate ↵megamage
WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests. Author: Ambal --HG-- branch : trunk
2009-06-15*Some creature display id update. By VladimirMangos and GriffonHeartmegamage
--HG-- branch : trunk
2009-06-14[8007] Do not create empty maps while sending packets. Author: Ambalmegamage
--HG-- branch : trunk
2009-06-13[7995] Check display id correctness for creature and gameobjects. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-06-13*Some fix of vehicles. Thanks to Seizerkiller.megamage
--HG-- branch : trunk
2009-06-11*Switch to support client version 3.1.3megamage
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash. Source: Mangos Thanks to TOM_RUS for most work to make this switch possible ;) --HG-- branch : trunk
2009-06-05Backed out changeset: d111c6daf588megamage
--HG-- branch : trunk
2009-06-02*Revert part of Mangos [7911] because it may causes client crash. Thanks to ↵megamage
onkelz28. --HG-- branch : trunk
2009-06-01 [7929] Some fixes and optimizations for work with packet guids. Author: ↵megamage
VladimirMangos * Allocate only minimal required buffer size for object packet guid cache, avoid it realocation. * At adding aboyher buffer content copy only until wpos (really writed to buffer data) * In appendPackGUID check buffer size before data write. --HG-- branch : trunk
2009-05-31*Store creatureData and goData for creatures and gos.megamage
--HG-- branch : trunk
2009-05-31 [7918] Improve portability in work with uint64 string format specifiers ↵megamage
and in code literals. Author: VladimirMangos * Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define. I64FMTD renamed to UI64FMTD for more clear name. * Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals. Please always use UI64LIT(0x00001) instead less portable 0x00001LL --HG-- branch : trunk
2009-05-31Mangos [7911]. Author: tomrus88megamage
Very big patch. May cause bugs. --HG-- branch : trunk
2009-05-31*Move addcre/go functions from opvp to objmgr.megamage
*Do not save respawn time for internally added cre/go. --HG-- branch : trunk
2009-05-30*Provide another way to implement dynamic spawns. Now a creature will call ↵megamage
its zonescript before spawn to determine the spawned entry. This can be used to implement zones such as wintergrasp with less data requirement (only need to know the entry of counterpart creatures, not require spawn points) *Use zonescript as basic class of opvp script and dugeon script (can also be used for bg) *Store zonescript in worldobject. *Add door for sapphiron. --HG-- branch : trunk
2009-05-29*Add function FindNearestCreature and FindNearestGameObject to replace old ↵megamage
FindCreature and FindGameObject --HG-- branch : trunk