aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectMgr.cpp
AgeCommit message (Collapse)Author
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-31[7915] Implement more stricted checks and limitations at loading creature ↵megamage
addon data. Author: NoFantasy --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-30*Allow to spawn correct npc for defender/attacker in wintergrasp based on ↵megamage
game event. Now only xxx Champion is spawned based on faction for test. Other npc and gameobjects requires DB support (now in db the defender is always horde and attacker always alliance, and the data of counterpart is missing) *Fix defenders' portal (now only useable for horde) *Display random model if the model id in creature table is one of those in creature_template table (in this case they should be 0 actually). --HG-- branch : trunk
2009-05-30*Fix spell Rune Strike.megamage
--HG-- branch : trunk
2009-05-29 [7908] Extract class data from creature_*_addon bytes0 fields, drop its, ↵megamage
amd add unit_class field to creature_template. Author: NoFantasy --HG-- branch : trunk
2009-05-27[7896] Rename creature_template class/race fields to ↵megamage
trainer_class/trainer_race for clarify use. Author: NoFantasy --HG-- branch : trunk
2009-05-24 [7886] Drop use table `petcreateinfo_spell`megamage
This is first commit in chain for remove oudated and not used pet functionality. * Use instead dropped table CreatureSpellData.dbc if creature_template.PetSpellDataId set (mostly hunter pets) * Use creature_template.spellN if not set creature_template.PetSpellDataId (mostly different summon creatures) * Fixed bug with not removing from action bar spell icon for not ranked unlearned spells. Note: summoned controllable creatures without PetSpellDataId must have expected spells in spellN feilds for creature_template. [7887] Drop pet spell teaching code, including field in character_pet. Author: VladimirMangos --HG-- branch : trunk
2009-05-22 [7870] Implement creature ranged ammo show at ranged weapon use. Author: ↵megamage
VladimirMangos * Use BDC data (creature weapon not alwas listed in item_template) --HG-- branch : trunk
2009-05-22Add a column to npc_spellclick_spells table to check if quest is ↵Kudlaty
completed/rewarded or incompleted 1: completed or rewarded; 3: incompleted; default 3 --HG-- branch : trunk
2009-05-18[7844] Fixed mangos string storage index type. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-05-15 [7834] Mangos string loading code cleanups. Author: VladimirMangosmegamage
* Better integration creature event ai strings. * Not inclide in checks as expected max mangos strings range value to range --HG-- branch : trunk
2009-05-15[7832] Better check at `petcreateinfo_spell` loading for errors and ↵megamage
redundend data. Author: VladimirMangos --HG-- branch : trunk
2009-05-08 [7797] Use DBC data for mount model selection in more cases. Author: ↵megamage
VladimirMangos * Use alt.team mount data for take player team model id if DB not provide own team creature id in spell taxi call case. * Remove unddeded hacks for model ids from Spell::EffectSendTaxi * Provide spell target for SPELL_EFFECT_SEND_TAXI for spell with target mode 0 for this effect. --HG-- branch : trunk
2009-05-05 [7776] Completed implementation of CMSG_SPELLCLICK Author: arraimegamage
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to npc_spellclick_spells, otherwise you won't be able to use them --HG-- branch : trunk
2009-05-04 [7761] GuildBankTabPrice vector is replaced by an array. Author: zhenyamegamage
Arrays are significantly faster. --HG-- branch : trunk
2009-05-03[7745] Fixed gcc warnings. Author: AlexDerekamegamage
--HG-- branch : trunk
2009-04-29[7731] Some code cleanups, warrning fixes. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-04-27[7716] Fixed some typos and possible crashes. Author: AlexDerekamegamage
--HG-- branch : trunk
2009-04-27 [7715] Provided way for scripts set alternative gameobject state for ↵megamage
client show. Author: VladimirMangos Also use enum for gsmeobject states. --HG-- branch : trunk
2009-04-20*Merge.megamage
--HG-- branch : trunk
2009-04-20*Fix a bug in LoadAccessRequirements() that will generate NULL questtemplate.megamage
--HG-- branch : trunk
2009-04-20*Correct check range for totem area auras.QAston
--HG-- branch : trunk
2009-04-19[7689] Batter EventAI loading checks and fix one from possible crash cases. ↵megamage
Author: NoFantasy --HG-- branch : trunk
2009-04-19[7688] Move Get*IfCanInteractWith to Player including renamed ↵megamage
IsGameObjectOfTypeInRange. Author: VladimirMangos --HG-- branch : trunk
2009-04-19* Tabs to spaces cleanupMachiavelli
--HG-- branch : trunk
2009-04-17*Fix build.megamage
--HG-- branch : trunk
2009-04-17*Merge.megamage
--HG-- branch : trunk
2009-04-17[7674] Fixed check of DB script string ids from `db_script_string` at ↵megamage
loading. Author: VladimirMangos --HG-- branch : trunk
2009-04-16*Better names for var Modelid.Anubisss
--HG-- branch : trunk
2009-04-15*Merge.megamage
--HG-- branch : trunk
2009-04-14 [7666] For heroic mode creature use AIName from normal mode version in ↵megamage
same way as done for ScriptName. Author: VladimirMangos Also at creature templates loading check that AIName/ScriptName not set for heroic mode creature versions. --HG-- branch : trunk
2009-04-14Creature respawn linking, idea by Rat, wrote by Iskander, blessed by raczman.raczman
--HG-- branch : trunk
2009-04-13[7659] Added several security checks to prevent cheating using facked ↵megamage
packets Author: arrai --HG-- branch : trunk
2009-04-12*Merge.megamage
*One rev skipped: Fixed exploit with several spells being casted on pet with no de-buff applied. Author: Elron. --HG-- branch : trunk
2009-04-12Change container type for guilds to Map.raczman
Use const_iterator in case nothing is modified in loop. author: bladex. --HG-- branch : trunk
2009-04-08[7641] Implement check noDamageImmune fields at gameobject templates loading ↵megamage
at server startup. Author: VladimirMangos --HG-- branch : trunk
2009-04-08 [7640] Move spell and chair height checks to functions for gameobject ↵megamage
loading code. Fixed some field ids. Author: VladimirMangos --HG-- branch : trunk
2009-04-08[7638] Move linked trap gameobject template checks at gameobject templates ↵megamage
loading to function. Author: VladimirMangos --HG-- branch : trunk
2009-04-08[7636] Move lock id checks at GO templates loading to function and add check ↵megamage
for all GO types with similar fields. Author: VladimirMangos --HG-- branch : trunk
2009-04-07* Tabs to spaces -- using: perl -p -i -e "s/\t/ /g" *XTZGZoReX
--HG-- branch : trunk
2009-04-06* Trailing whitespace removed.XTZGZoReX
--HG-- branch : trunk
2009-04-03 [7607] Improvements in support some generic achievement classes Author: ↵megamage
VladimirMangos * Implement support achievements with refAchievement field != 0, that have criterias stored in achievement refAchievement. * Implement support achievement complete req. with specific count of completed critirias. * Avoid full achievement list scan at search achievement associated with criteria. --HG-- branch : trunk
2009-03-26*Move most reputation/force faction reaction code to new ReputationMgr. ↵megamage
Author: VladimirMangos --HG-- branch : trunk
2009-03-24[7532] Avoid warnings at use size_t with printf fromat strings. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-03-24 [7528] Avoid use same iteration variable for internal loop. Author: Fogmegamage
This will fix problem with wrong item entry output in error message. --HG-- branch : trunk
2009-03-22Fix typo. Thanks Aokromes.panaut0lordv
--HG-- branch : trunk
2009-03-21[7513] Implement currencies tab work. Also check related item data at server ↵megamage
startup. Author: VladimirMangos --HG-- branch : trunk
2009-03-21[7512] Implement checks of item bag mask at server startup. Author: ↵megamage
VladimirMangos --HG-- branch : trunk