aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.cpp
AgeCommit message (Collapse)Author
2009-10-17*Massive cleanup redux.maximius
--HG-- branch : trunk
2009-10-17*Backed out changeset 3be01fb200a5maximius
--HG-- branch : trunk
2009-10-17*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and ↵maximius
some other cleanups by hand) *Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
2009-10-06* Fix bug that caused a 100% chance to increase fishing skill on fishing ↵Machiavelli
regardless of area. --HG-- branch : trunk
2009-10-06* Allow players to get fishing skillups from fishing in any area, no more ↵Machiavelli
"your fish got away" message. However still need core support to manipulate fishing loot based on fishing skill. --HG-- branch : trunk
2009-09-27*Merge [8524] New cell search algorithm implemented. You can now choose ↵maximius
different visibility distances on continents, in BG/Arenas and instances. Author: Ambal *Some warning cleanup --HG-- branch : trunk
2009-09-18*[8475] fixed some gcc-warnings Author: balrokmaximius
*[8476] Revert some recent cleanup changes, some other fixes and cleanups. Author: VladimirMangos *[8489] Fixed player visibility update in case view point different from player itself. Author: SilverIce *[8493] Avoid unexpected multiply error messages at wrong `quest_template`.`RewSpell*` Author: VladimirMangos *[8496] Resolve some #include cycles and unsafe code. * Common.h -> Threading.h -> Errors.h -> Common.h * Remove reduncdent #include "ByteBuffer.h" in headers * Remove redundent #include "Auth/BigNumber.h" in headers * Avoid multyply data copy at use some now dropped functions in BigNumber. * Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber. * Avoid possible problems for build mangos at different platform or compilers. Author: VladimirMangos. *[8501] Apply code style and cleanups to some Player functions. Author: VladimirMangos. *[8502] Disable quests related to specific game events at startup if event not active. Also rename member boolean variable. Author: NoFantasy *[8506] Add check for IsAutoComplete() in SendPreparedQuest(). For cases where quest is repeatable but has Method!=0, QuestDetails must be sent instead of RequestItems. Some additional code cleanup. Author: NoFantasy *[8507] Check amount of spawned pools before decrement to avoid unexpected result. Also rename variable to more meaningful name. Signed-off-by: NoFantasy <nofantasy@nf.no> Thanks to Stryker and onkelz28! --HG-- branch : trunk
2009-09-14Backed out changeset d3fe2d6d504a (please test your patches thoroughly ↵maximius
before getting me to push them ogeraisi) --HG-- branch : trunk
2009-09-14*Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)maximius
--HG-- branch : trunk
2009-09-04Fix some issues with game object create according to last patch. Thx to ↵Kudlaty
NoFantasy and DearScorpion --HG-- branch : trunk
2009-09-03Fix bug with going trough things on login. Thanks to Opterman and NofantasyKudlaty
--HG-- branch : trunk
2009-09-02*Combine gobject::deleteobjectwithowner and deletemegamage
--HG-- branch : trunk
2009-08-31*Fix a typo that makes buildings in wintergrasp can never be destroyed and ↵megamage
titan relic cannot be clicked. --HG-- branch : trunk
2009-08-21*Wintergrasp: give honor for every captured workshops in the end of the battle.megamage
--HG-- branch : trunk
2009-08-21*Display max veh number and capture point banner in wintergrasp.megamage
--HG-- branch : trunk
2009-08-19 [8381] Some refactoring work in Unit::m_currentSpells code. Author: ↵megamage
VladimirMangos * Restrict access, use enum args, move some repeated code parts to function. * Make m_selfContainer set only part of Unit::SetCurrentCastedSpell --HG-- branch : trunk
2009-08-17Fix negative spawntimesecs handling in gameobjects - they now start off ↵QAston
unspawned and disappear correctly upon despawn (even if PCs aren't moving) Quest 308 changed to not require completion of 403 (offi does not have 403 as quest, just a gossip) Quest 308 finish script changed to show unguarded barrel earlier (as it does in offi) Author of all of these: totoro. --HG-- branch : trunk
2009-08-08*Add assert back to go::setownerguidmegamage
--HG-- branch : trunk
2009-08-08 [8320] Imporovements in wild summoned gameobjects work. Author: ↵megamage
VladimirMangos * Not set owner for will summoned gameobjects. Its not expected to have owner, and must be accessable to all players (or team). * Set for all objects summoned by spells: despawned by deafult for proper despawn withut owner. * Cleanup Spell::EffectSummonObjectWild. --HG-- branch : trunk
2009-08-03*Add DeleteObjectWith owner function for gameobject deletion with updating ↵QAston
owner object list *Cleanups in Aura 1852 and recenlty added glyph code. --HG-- branch : trunk
2009-08-01*Teleport player to homebind if instance can't be created in ↵QAston
WorldSession::HandleMoveWorldportAckOpcode. --HG-- branch : trunk
2009-08-01*Improvements in map managing.QAston
--HG-- branch : trunk
2009-07-31 [8252] Move DB scripting code from global World to Map. Author: Ambalmegamage
This one more step to pre-map events proccesing and parallel in future. [8256] Restore DB script loading broken after [8252]. Author: VladimirMangos Also propetly decrease scheduled DB script actions at map unloading. Some code style restore. --HG-- branch : trunk
2009-07-24 [8205] Really use trap GO charges and avoid casting in despawned state. ↵megamage
Author: VladimirMangos * Drop horribale hack with stored charges amount, use instead GO info charges data as expected. * Count trap activations as charge uses if it have limited charges. * Check trap reactions only in ready spawned state. --HG-- branch : trunk
2009-07-16 [8183] Some gameobject despanw related fixes Author: VladimirMangosmegamage
* Implement use `consumable` field in gameobject template for gameobject required explcit despawn at use. * Move gameobject template fields cech function from Gameobject to gameobject template class, and update callers. * Cast spells at gameobject use with gameobject guid as original caster guid, as already used in some other cases. (skipped) --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-12*Add an Assert to trac where GO pointer is getting corrupted.QAston
--HG-- branch : trunk
2009-07-12*Fix sniper training - by Astellar.QAston
*Correct GO delete call in Gameobject::Update. --HG-- branch : trunk
2009-07-12[8151] Fixed some format warnings and typos. Author: Win32megamage
--HG-- branch : trunk
2009-07-11*Allow Illumination to proc on Holy Shock.Destalker
--HG-- branch : trunk
2009-07-10*Fix compile - sorry for that:/.QAston
--HG-- branch : trunk
2009-07-08Backed out changeset 07af7c674639QAston
--HG-- branch : trunk
2009-07-06*Fix client crash with barbershop chairbigjohnson4
--HG-- branch : trunk
2009-07-04*Temporary fix for crash caused by object list update.QAston
--HG-- branch : trunk
2009-07-01 [8103] More wide use IsInWorld checks and delayed at teleport ↵megamage
operations. Author: Ambal * IsInWorld used to prevent return unexpected not in world objects. * Delayed operations need to process its in world state. --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-18* In case of a 'for' loop, don't declare the iterator of a type that has a ↵Machiavelli
larger value range when the iterator can take a maximum value of a more efficient data type. (int to uint8 in most cases). * Other minor cleanups, Null pointer checks etc. --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*Fix a crash caused by passive traps.megamage
--HG-- branch : trunk
2009-06-13*Set target guid as original caster guid for GO casts.QAston
--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-06 [7969] Remove gameobject from owner gameobjecs list at expire. Author: Ambalmegamage
This will prevent delayd owner access from gameobject destructor in time remove list proccessing and fix possible related problems with crosslinked pointers. --HG-- branch : trunk
2009-06-06*Fix incorrect check of trap charges.megamage
--HG-- branch : trunk
2009-06-05*Allow traps without a spell be triggered. This fixes the bug that Sapphiron ↵megamage
cannot be summoned. --HG-- branch : trunk
2009-06-04*Some renames for GO type 33 for easier merging.panaut0lordv
--HG-- branch : trunk
2009-06-03*Fix the bug that some traps without charges and spell radius cannot be ↵megamage
triggered. *Provide spell support for quest 12698 --HG-- branch : trunk
2009-06-01*Save/load wintergrasp building health when grid loaded/unloaded.megamage
--HG-- branch : trunk
2009-06-01[7933] Call goober GO event script not only at open spell cast, also really ↵megamage
call camera GO event scripts. Author: NoFantasy --HG-- branch : trunk
2009-06-01*Display correct building damage state/team on map in wintergrasp.megamage
*Rebuild buidlings after fortress is taken over. --HG-- branch : trunk
2009-05-31*Store creatureData and goData for creatures and gos.megamage
--HG-- branch : trunk