Commit Graph

406 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Shauren
0f3b9019a8 Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
Shauren
7b4e1c6387 Core/ObjectMgr: Static members are no longer accessed through singleton
--HG--
branch : trunk
2010-12-22 20:23:47 +01:00
Machiavelli
d9ba90d277 Scripts/Ulduar:
- Fix Rune of Summoning + use correct spell for Lightning Elemental passive + fix a crash
- Fix Rune of Power - thanks to Shauren for spell target help (see DB data)
** Note: Aura system bug causes Rune of Power aura to be reapplied every 0.5 second
- Prevent engaging bosses one by one
- Respawn bosses if encounter failed
- Fix supercharge appliance and stacking
- Add a few missing changes to instance data saving fix from a85e26e211
- Cleanup

--HG--
branch : trunk
2010-12-22 17:40:12 +01:00
Shocker
09afac2838 Scripts/Ulduar: Typo fix for Gravity Bomb from XT-002 Deconstructor, thanks to georgiosburnham, closes issue #5226
--HG--
branch : trunk
2010-12-22 08:59:11 +02:00
Machiavelli
186ec40571 Typo, thanks Shauren for spotting
--HG--
branch : trunk
2010-12-21 15:51:51 +01:00
Machiavelli
c08d04365d Script/Ulduar:
- Fix instance data loading from DB
- Return correct guid for GetData(TYPE_HODIR)

Thanks to Socolin for reporting the errors

--HG--
branch : trunk
2010-12-21 15:47:09 +01:00
Machiavelli
30c55a4a97 Scripts/Ulduar: Remove a silly coordinate based reset condition in Ignis script
--HG--
branch : trunk
2010-12-21 13:53:29 +01:00
Machiavelli
0d947f260f Scripts/Ulduar: Fix logic error in Tympanic Tantrum timer (XT-002)
--HG--
branch : trunk
2010-12-21 13:40:12 +01:00
Machiavelli
2bacf7ee66 Scripts/Ulduar: Fix slow effect on ¨A Pool of Tar¨ (Flame Leviathan encounter)
--HG--
branch : trunk
2010-12-21 13:29:53 +01:00
Shauren
834285c86d Oops, fixed compile
--HG--
branch : trunk
2010-12-20 12:06:12 +01:00
Shauren
3fefb13bd4 Scripts/Silithus: Fixed some int -> float casts, should fix invalid coord error
--HG--
branch : trunk
2010-12-20 12:03:23 +01:00
Shauren
e3e77aceab Scripts/Temple of Anh'Qiraj: Fixed possible crash in mob_anubisath_sentinel
--HG--
branch : trunk
2010-12-20 11:39:12 +01:00
Shauren
756ee5832b Core/Auras: Allow stacking of auras proced from different items
Closes issue #2296.

--HG--
branch : trunk
2010-12-20 11:04:48 +01:00
azazel
6ec717ed5b Scripts/HoL:
* fix Volkhan script: after losing 20% HP Volkhan is supposed to run back to his Anvil and smack it with his hammer. 3 Golems are supposed to fly out of it and spawn (by LethalInjectionX) Closes issue #3895
* fix instance doors to remain open after use (by msholto) Closes issue #4773
Both fixes tested and approved by Aokromes.

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

--HG--
branch : trunk
2010-12-20 14:59:39 +06:00
Shauren
85d69dc73d Scripts/Spells: Explicitly remove all other auras with the same id when applying Animal Blood (46221)
--HG--
branch : trunk
2010-12-19 20:03:56 +01:00
Shauren
c35947816c Scripts/Trial of the Crusader: Fixed possible crashes in announcer gossip
Closes issue #3850.

--HG--
branch : trunk
2010-12-19 14:46:13 +01:00
linencloth
59da698189 Core: Rename spell attributes, use more general names
--HG--
branch : trunk
2010-12-19 05:15:47 +01:00
Shauren
8d76329eff Scripts/Temple of Ahn'Qiraj: Its generally not a good idea to delete stuff before using it; fixed crash
Closes issue #4357.

--HG--
branch : trunk
extra : rebase_source : b829284f60e2b55f8e79db72751252cc6619e59a
2010-12-19 00:27:38 +01:00
Shauren
3ad400ad1a Scripts/Obsidian Sanctum: Removed unneeded code causing crashes
Closes issue #5191.

--HG--
branch : trunk
2010-12-18 22:22:25 +01:00
Supabad
8ce0abbbc8 Scripts/Obsidian Sanctum Add support for when encounter is in progress. thnx to kiper
--HG--
branch : trunk
2010-12-18 18:07:24 +01:00
Shauren
4a067d5095 Fixed build i broke
--HG--
branch : trunk
2010-12-17 20:48:55 +01:00
Shauren
ecd2fbb2b1 Scripts/Vault of Archavon: Cleaned and simplified scripts, fixed Toravon's Frozen Orb summon count
Closes issue #2857.

--HG--
branch : trunk
2010-12-17 20:37:20 +01:00
Machiavelli
57d72fa708 Core/Scripts: Prevent double call to mob_acolyte_of_shadronAI::Reset() which applies encounter-related aura´s to certain creatures. Reset() was called from AIM_Initialize and prior to that the AI factory selector
Update issue #5152
Please try to re-reproduce

--HG--
branch : trunk
2010-12-17 14:58:23 +01:00
Shauren
82f45966fc Core/Unit: Renamed addUnitState/hasUnitState/clearUnitState to AddUnitState/HasUnitState/ClearUnitState
Core/Vehicles: Allow the vehicle to always damage the passenger (removed unneded dbc hacks from scripts)

--HG--
branch : trunk
2010-12-17 13:43:24 +01:00
click
a7f3548259 Core: Prevent using uninitialized memory in Lazy Peon script - patch by ge0rg
--HG--
branch : trunk
2010-12-17 05:03:25 +01:00
Anubisss
b702bd8987 This not needed too, correctly checked with UpdateVictim().
--HG--
branch : trunk
2010-12-16 18:13:03 +01:00
Anubisss
6d9029c12e Make some cleanup.
My thank goes to Az@zel for the code analysis.

--HG--
branch : trunk
2010-12-16 18:08:23 +01:00
Machiavelli
bb7bd9ef45 Core/Spells: Fix a possible crash in spell_hun_readiness_SpellScript
--HG--
branch : trunk
2010-12-16 16:00:56 +01:00
Shauren
1bc9b905f6 Scripts/Icecrown Citadel: Removed WIP leftovers
--HG--
branch : trunk
2010-12-15 16:39:23 +01:00
Shauren
2db0c7c017 Scripts/Icecrown Citadel: Festergut's Gas Spore and Vile Gas should not happen at the same time
--HG--
branch : trunk
extra : rebase_source : dbb903afbfbfdee5c2c3ae0be7181508e0eca1b2
2010-12-15 16:36:59 +01:00
_manuel_
6f551d853f Core/Scripts: Novos the Summoner should only summon 4 Crystal Handlers.
--HG--
branch : trunk
2010-12-15 12:16:31 -03:00
Spp
382fef1958 Core: Some warning fixes
--HG--
branch : trunk
2010-12-15 10:44:06 +01:00
Shauren
9a806e63c1 Fixed compile
--HG--
branch : trunk
2010-12-14 16:31:01 +01:00
Shauren
314376e32c Scripts: Fixed uninitialized variables, unreferenced parameters and virtual overrides
--HG--
branch : trunk
2010-12-14 16:24:59 +01:00
Shauren
0c04b178db Scripts/Icecrown Citadel: Minor adjustments and compile warning fixes
--HG--
branch : trunk
2010-12-14 15:46:54 +01:00
click
2642894342 Core: Add new system for parallelizing client packet processing. Handle WorldSession updates in Map::Update() where we are safe to proceed. Patch by Ambal.
(And clean up tabs and whitespace while rummaging around in there)
Closes issue 5084.

--HG--
branch : trunk
2010-12-13 22:37:56 +01:00
Shauren
dd2602d3ec Fixed line endings in 10623_world_spell_bonus_data
Scripts/Naxxramas: Fixed a possible crash in instance script

--HG--
branch : trunk
2010-12-12 17:32:26 +01:00
azazel
d2d62eab50 Cleanup: implemented helper methods for manipulating percentage calculation and used it where appropriate (plus fixed some other warnings).
NOTE: Initially I just wanted to fix some warnings, but noticed that there is no common method for percentage calculation and various formulas are used many time in the code making it difficult to read and understand what the code actually does. So, I introduced several template methods for calculating percent values and adding those values to the original base. I replaced all the raw calculations throughout the code where found, but I could have missed something or could have made a mistake. So, please report any strange behaviour after this commit.
If you ask me why I did it: for the sake of consistency and exact understanding what code means. If you see CalculatePct method, you clearly understand, that it find the value of x percent of y. And you can easily express, for example, spell behviour "reduces smth by x%" by the means of a method instead of recalling school maths.

--HG--
branch : trunk
2010-12-11 20:37:38 +06:00
azazel
08f205722a Scripts/Quest: implement dummy effects for spells 43882, 50133 and aura 43874 for quests 11396/11399 Bring Down Those Shields (based on code by NoFantasy)
--HG--
branch : trunk
2010-12-10 12:01:57 +06:00
Shauren
e4e048ed57 Core/Scripts: Fixed possible crashes in instance scripts (Icecrown Citadel and Naxxramas)
Scripts/Sunwell Plateau: Fixed crash in Kil'jaeden
Scripts/Icecrown Citadel: Fixed crash in Blood-Queen Lana'thel

Closes issue #5051.
Closes issue #5050.
Closes issue #5035.

--HG--
branch : trunk
2010-12-08 17:24:31 +01:00
Shauren
703835ee94 Core/Quests: Fixed Unholy Infusion (24749), Blood Infusion (24756) and added partial support for Frost Infusion (24757)
--HG--
branch : trunk
2010-12-06 22:54:19 +01:00