Commit Graph

10834 Commits

Author SHA1 Message Date
Shauren f00a589b2a Scripts/Icecrown Citadel: Mutated Abomination should not damage its owner
Closes issue #5252.

--HG--
branch : trunk
2010-12-26 17:15:41 +01:00
Shauren 9de8466d84 SQL: Added missing update for previous revision
--HG--
branch : trunk
2010-12-26 17:00:31 +01:00
Shauren 79070ca820 Scripts/Serpentshrine Cavern: Fixed "The Lurker Above" achievement and removed hacks for the event
--HG--
branch : trunk
2010-12-26 16:35:29 +01:00
Machiavelli 821c0f6c42 Core/Spells: Add dummy effect for Saronite Vapors (63322) (Used in General Vezax encounter)
Based on original code by Lopin

--HG--
branch : trunk
2010-12-26 16:25:40 +01:00
click d3a6c7c1ba Buildsystem: Turn off SFMT being the default RNG - it's not cooking right (yet)
--HG--
branch : trunk
2010-12-26 05:45:20 +01:00
linencloth b150172521 Core/QuestStatus:
- Separate rewarded quests from active quests, and store them in a new table to reduce database size
- Drop the no longer needed `rewarded` column from character_queststatus for smaller table size
- Prevent filling the database with dropped quests
  - Delete useless records
- Implement queststatus save "queues" instead of states
- Minor optimizations

WARNING: Backup your database!

--HG--
branch : trunk
2010-12-26 04:16:18 +01:00
click 8fdbe7c4e6 Core/Spells: Update auraeffects for shapeshift forms with a few missing ones (kills off some more logspam as well)
--HG--
branch : trunk
2010-12-26 01:55:48 +01:00
click b5c1d554b2 Core/Handlers: Change/add some extra output in error-logs for PetHandler and SpellHandler
--HG--
branch : trunk
2010-12-26 01:24:29 +01:00
click 29d5e4e4d5 Core: Remove a useless log-error in Unit::BuildMovementPacket()
--HG--
branch : trunk
2010-12-26 00:38:01 +01:00
QAston f4e46db38a Core/Auras: Add some asserions to hunt down reason of a crash in Aura::UpdateTargetMap. Thanks to Shauren for inspiration.
--HG--
branch : trunk
2010-12-26 00:14:13 +01:00
click f5492f82b5 Core: Include the name and ID of the affected BG in Battleground::GetBGCreature() error-reporting
--HG--
branch : trunk
2010-12-26 00:06:03 +01:00
Machiavelli b0eaf1f42c Scripts/Ulduar: Despawn trigger for towers when towers are destroyed. (Allows proper spawn linking)
--HG--
branch : trunk
2010-12-25 22:14:53 +01:00
Machiavelli d939727431 Add tag UP36 for 10818 (b9859c53bbff). See http://code.google.com/p/trinitydb/source/detail?r=5a86fb92f7f0c191bd73d2432e42a83fc0841c03
--HG--
branch : trunk
2010-12-25 21:02:03 +01:00
Machiavelli 70ec4a8f9b Fix build
--HG--
branch : trunk
2010-12-25 20:12:31 +01:00
Machiavelli 06d014f04d Core/Spells: Remove double initialization of ¨GetAuraEffectsByType(SPELL_AURA_MOD_DAMAGE_PERCENT_DONE)¨ in Unit::MeleeDamageBonus
Patch by gianni.elio@hotmail.it
Fixes issue #5269

--HG--
branch : trunk
2010-12-25 20:04:12 +01:00
runningnak3d beb713ec62 SQL: Move old SQL updates in preperation for UP36
--HG--
branch : trunk
rename : sql/updates/10383_world_version.sql => sql/updates/3.3.5a_old/10383_world_version.sql
rename : sql/updates/10392_world_spell_bonus_data.sql => sql/updates/3.3.5a_old/10392_world_spell_bonus_data.sql
rename : sql/updates/10393_world_spell_proc_event.sql => sql/updates/3.3.5a_old/10393_world_spell_proc_event.sql
rename : sql/updates/10397_world_command.sql => sql/updates/3.3.5a_old/10397_world_command.sql
rename : sql/updates/10402_world_spell_script_names.sql => sql/updates/3.3.5a_old/10402_world_spell_script_names.sql
rename : sql/updates/10418_world_spell_script_names.sql => sql/updates/3.3.5a_old/10418_world_spell_script_names.sql
rename : sql/updates/10419_world_spell_linked_spell.sql => sql/updates/3.3.5a_old/10419_world_spell_linked_spell.sql
rename : sql/updates/10431_world_trinity_string.sql => sql/updates/3.3.5a_old/10431_world_trinity_string.sql
rename : sql/updates/10436_world_script_texts.sql => sql/updates/3.3.5a_old/10436_world_script_texts.sql
rename : sql/updates/10436_world_scriptname.sql => sql/updates/3.3.5a_old/10436_world_scriptname.sql
rename : sql/updates/10453_world_creature_template.sql => sql/updates/3.3.5a_old/10453_world_creature_template.sql
rename : sql/updates/10453_world_script_text.sql => sql/updates/3.3.5a_old/10453_world_script_text.sql
rename : sql/updates/10460_world_command.sql => sql/updates/3.3.5a_old/10460_world_command.sql
rename : sql/updates/10462_world_spell_script_names.sql => sql/updates/3.3.5a_old/10462_world_spell_script_names.sql
rename : sql/updates/10468_world_script_texts.sql => sql/updates/3.3.5a_old/10468_world_script_texts.sql
rename : sql/updates/10468_world_spell_script_names.sql => sql/updates/3.3.5a_old/10468_world_spell_script_names.sql
rename : sql/updates/10470_world_command.sql => sql/updates/3.3.5a_old/10470_world_command.sql
rename : sql/updates/10470_world_trinity_string.sql => sql/updates/3.3.5a_old/10470_world_trinity_string.sql
rename : sql/updates/10475_characters_character_banned.sql => sql/updates/3.3.5a_old/10475_characters_character_banned.sql
rename : sql/updates/10475_characters_creature_respawn.sql => sql/updates/3.3.5a_old/10475_characters_creature_respawn.sql
rename : sql/updates/10475_characters_gameobject_respawn.sql => sql/updates/3.3.5a_old/10475_characters_gameobject_respawn.sql
rename : sql/updates/10475_characters_reserved_name.sql => sql/updates/3.3.5a_old/10475_characters_reserved_name.sql
rename : sql/updates/10490_world_scriptname.sql => sql/updates/3.3.5a_old/10490_world_scriptname.sql
rename : sql/updates/10543_characters_group_member.sql => sql/updates/3.3.5a_old/10543_characters_group_member.sql
rename : sql/updates/10545_world_script_texts.sql => sql/updates/3.3.5a_old/10545_world_script_texts.sql
rename : sql/updates/10545_world_scriptname.sql => sql/updates/3.3.5a_old/10545_world_scriptname.sql
rename : sql/updates/10548_characters_channel.sql => sql/updates/3.3.5a_old/10548_characters_channel.sql
rename : sql/updates/10548_world_command.sql => sql/updates/3.3.5a_old/10548_world_command.sql
rename : sql/updates/10548_world_trinity_string.sql => sql/updates/3.3.5a_old/10548_world_trinity_string.sql
rename : sql/updates/10561_world_achievement_criteria_data.sql => sql/updates/3.3.5a_old/10561_world_achievement_criteria_data.sql
rename : sql/updates/10561_world_scriptname.sql => sql/updates/3.3.5a_old/10561_world_scriptname.sql
rename : sql/updates/10561_world_spell_linked_spell.sql => sql/updates/3.3.5a_old/10561_world_spell_linked_spell.sql
rename : sql/updates/10561_world_spell_script_names.sql => sql/updates/3.3.5a_old/10561_world_spell_script_names.sql
rename : sql/updates/10563_world_scriptname.sql => sql/updates/3.3.5a_old/10563_world_scriptname.sql
rename : sql/updates/10570_world_disables.sql => sql/updates/3.3.5a_old/10570_world_disables.sql
rename : sql/updates/10619_world_spell_script_names.sql => sql/updates/3.3.5a_old/10619_world_spell_script_names.sql
rename : sql/updates/10623_world_spell_bonus_data.sql => sql/updates/3.3.5a_old/10623_world_spell_bonus_data.sql
rename : sql/updates/10646_world_scriptname.sql => sql/updates/3.3.5a_old/10646_world_scriptname.sql
rename : sql/updates/10654_characters_item_instance.sql => sql/updates/3.3.5a_old/10654_characters_item_instance.sql
rename : sql/updates/10681_world_command.sql => sql/updates/3.3.5a_old/10681_world_command.sql
rename : sql/updates/10733_world_spell_proc_event.sql => sql/updates/3.3.5a_old/10733_world_spell_proc_event.sql
rename : sql/updates/10736_world_scriptname.sql => sql/updates/3.3.5a_old/10736_world_scriptname.sql
rename : sql/updates/10741_characters_character_aura.sql => sql/updates/3.3.5a_old/10741_characters_character_aura.sql
rename : sql/updates/10765_world_scriptname.sql => sql/updates/3.3.5a_old/10765_world_scriptname.sql
rename : sql/updates/10765_world_spell_dbc.sql => sql/updates/3.3.5a_old/10765_world_spell_dbc.sql
rename : sql/updates/10777_characters_creature_respawn.sql => sql/updates/3.3.5a_old/10777_characters_creature_respawn.sql
rename : sql/updates/10777_characters_gameobject_respawn.sql => sql/updates/3.3.5a_old/10777_characters_gameobject_respawn.sql
rename : sql/updates/10801_world_creature_linked_respawn.sql => sql/updates/3.3.5a_old/10801_world_creature_linked_respawn.sql
rename : sql/updates/10806_world_scriptname.sql => sql/updates/3.3.5a_old/10806_world_scriptname.sql
rename : sql/updates/10815_world_spell_script_names.sql => sql/updates/3.3.5a_old/10815_world_spell_script_names.sql
2010-12-25 05:28:50 -07:00
click 07bebf0f35 Core/Handlers: Add some extra output in WorldSession::HandleDismissCritter (give more of which user attempts to dismiss it)
--HG--
branch : trunk
2010-12-25 17:53:50 +01:00
QAston bce9b081ec Core/Unit: Fix crashes in Unit::CalcAbsorbResist and Unit::DealDamage caused by unsafe iteration over Unit::AuraEffectList - copy the list instead of using oryginal one.
--HG--
branch : trunk
2010-12-25 16:12:31 +01:00
Shauren 99ff32be28 Scripts/Spells: Added support for Red Rider Air Rifle (item 46725)
--HG--
branch : trunk
2010-12-25 15:26:16 +01:00
click b181ba21d9 Core: Fix a few warnings here and there.
--HG--
branch : trunk
2010-12-25 06:28:38 +01:00
leak 2697315476 Core/ObjectMgr: Copy/Paste fail in the recent loading functions cleanup. Thanks to cyberbrest for noticing.
Closes issue 5264

--HG--
branch : trunk
2010-12-25 05:22:37 +01:00
click 088ed9404b Core/Entities: Fix a minor disrepancy in the handling of weapon specializations introduced in revision a83f26ef71 - patch by Dr.Tenma
Fixes issue 5059.
Fixes issue 5265.

--HG--
branch : trunk
2010-12-25 04:03:04 +01:00
Machiavelli d587948a0f Core/Spells: Use a workaround for Grab Crate, cast triggered spell with original caster as caster instead of target. Previous approach was prone to out of range errors.
Spell will now correctly restore 25 Pyrite energy (assuming aura 62495 is present to trigger the initial handler)

--HG--
branch : trunk
2010-12-25 03:18:21 +01:00
Machiavelli 06955a1113 Core/Entities: Fix guid lookup for linked respawn system
--HG--
branch : trunk
2010-12-25 02:22:35 +01:00
Machiavelli 95eb430dc0 Core: It would help if we would actually load gameobject data before checking respawn links if we want to validate linked_respawn data properly
--HG--
branch : trunk
2010-12-24 23:56:59 +01:00
Machiavelli ac920e763c Update some prepared statements to reflect b1759256b5´s changes
--HG--
branch : trunk
2010-12-24 21:20:16 +01:00
Machiavelli 385b81662a Fix build
--HG--
branch : trunk
2010-12-24 20:17:38 +01:00
Machiavelli 18cc4c4aba Scripts/Orgrimmar: Remove a not finished quest script. Proper quest support will be included in a future TDB release.
Author: Nay

--HG--
branch : trunk
2010-12-24 19:54:52 +01:00
Machiavelli ee1e93d7ca Fix a search&replace failure from previous rev.
--HG--
branch : trunk
2010-12-24 19:50:42 +01:00
Machiavelli 398d71285d Core: Fix a possible crash in WorldSession::ProcessQueryCallbacks
Author: Cyberbrest
Closes issue #5262

--HG--
branch : trunk
2010-12-24 19:46:11 +01:00
Machiavelli 1e736fb32a Missing change from previous rev
--HG--
branch : trunk
2010-12-24 19:39:47 +01:00
Machiavelli 885960af45 Missing change from previous rev
--HG--
branch : trunk
2010-12-24 19:07:18 +01:00
Machiavelli c05ed659cb Core/Entities:
- Rename creature_linked_respawn to linked_respawn
- Update functionality: add field ´linkType´.
** 0 = creature respawn dependant on creature (default)
** 1 = creature respawn dependant on gameobject
** 2 = gameobject respawn dependant on gameobject
** 3 = gameobject respawn dependant on creature

--HG--
branch : trunk
2010-12-24 18:55:50 +01:00
click e57866ac9a Buildsystem: Stop the retarded recursive hunting for CMakeLists.txt when copying SQL-files nad use the proper method for direct copying.
Closes issue 5240

--HG--
branch : trunk
2010-12-24 18:33:11 +01:00
click a99e12cf0f Buildsystem/Unix: Fix an idiotic split-package behaviour on RedHat-based systems (and possibly some others)
Closes issue 4380

--HG--
branch : trunk
2010-12-24 18:04:09 +01:00
Machiavelli f690338de1 Core/CreatureAI: Add virtual bool CanRespawn().
This method will be checked on Creature::Update with deathstate ¨DEAD¨, and allows inherited scripts to manipulate respawn behaviour based on scripted events.

--HG--
branch : trunk
2010-12-24 16:18:23 +01:00
Shauren fe1de5b1db Core: Fixed build broken by previous commit
--HG--
branch : trunk
extra : rebase_source : 40f72a7b78daedb90351f36de575b3fa7e57fcbf
2010-12-24 13:03:52 +01:00
azazel 8a8dedfd6e Scripts/HoL: fix Ionar dispersing into sparks (by tassader1000) Closes issue #4573
Fix tested and approved by Aokromes and kiper.

NOTE: Do not forget the DB part of the commit!

--HG--
branch : trunk
2010-12-24 17:59:54 +06:00
Shauren 928443d899 Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Spp 95daf7998f Core/Dungeon Finder: Fix a crash in rolecheck when a player is offline
Closes issue 5246

--HG--
branch : trunk
2010-12-23 21:11:11 +01:00
Shauren e99ca097ed Core/ObjectMgr: Fixed loading groups
Closes issue #5197.

--HG--
branch : trunk
2010-12-23 21:03:27 +01:00
Shauren b098c15674 Core/Auras: Removed pointless checks in SPELL_AURA_MOD_THREAT (10)
--HG--
branch : trunk
2010-12-23 19:58:00 +01:00
Shauren 3b903693aa Core/Player: Fixed faction change for characters that don't have any quests completed, patch by imprtat@uawow.com
Closes issue #5203.

--HG--
branch : trunk
extra : rebase_source : 6a7676a125be28e5b150db9f27d3488899f6c728
2010-12-23 19:15:44 +01:00
Machiavelli f3dd337c6a Core/Spells: Fix Glyph of Felhunter
Author: Lopin

--HG--
branch : trunk
2010-12-23 19:03:28 +01:00
click ca78881c63 Core/Spells: Fix a warning in SPELL_AURA_MOD_DAMAGE_PERCENT_DONE (explicitly define which parts to check for)
--HG--
branch : trunk
2010-12-23 18:35:43 +01:00
Machiavelli 0cdc4153d8 Core/Spells: Fix Glyph of Death Grip
Fixes issue #4608

--HG--
branch : trunk
2010-12-23 17:38:31 +01:00
click a90aeb7657 Core: Adjust precompiled headers: Remove a few already defined/included headers in the shared PCH-file (already included from Common.h)
--HG--
branch : trunk
2010-12-23 17:20:56 +01:00
Machiavelli 392a312c6b Core/Spells: Fix SPELL_AURA_MOD_DAMAGE_PERCENT_DONE(79) to affect proper spellschools based on EffectMiscValue.
Author: Dr.Tenma
Fixes issue #4019
Fixes issue #5059

--HG--
branch : trunk
2010-12-23 16:22:30 +01:00
Machiavelli 76e111fa07 Core/DBLayer: Allow asynchronous queries with callbacks to be executed in prepared statement format as well.
+ Cleanup and documentation

--HG--
branch : trunk
2010-12-23 16:05:43 +01:00
Spp b6724bea03 Core/Dungeon Finder: Fix crash in recursive calls while joining
closes issue 5162

--HG--
branch : trunk
2010-12-23 15:26:41 +01:00