Commit Graph

14844 Commits

Author SHA1 Message Date
Liberate 0e7b60bf19 Quests: Fixes quest "Going Bearback". Needs DB support to work.
ref ticket:472
2011-01-30 18:22:30 +01:00
Shauren 8d2ab9238f SQL/Quest: Added linked credit spells for quest 8867 (Lunar Fireworks) 2011-01-29 12:50:58 +01:00
Shauren 3f16b58ddb Scripts/Icecrown Citadel: Pact of the Darkfallen will now only damage the caster and all other non-linked players 2011-01-28 14:57:45 +01:00
Shauren cf88224588 Scripts/Icecrown Citadel: Implemented Pact of the Darkfallen damage scaling (Blood-Queen Lana'thel)
SQL: Renamed and split 2011_01_26_world_scriptname to meet the standards
2011-01-28 14:33:12 +01:00
Manuel 187f34248d Scripts/Oculus: Implemented AI for Boss Ley-Guardian Eregos.
Signed-off-by: Manuel <manue.l@live.com.ar>
2011-01-26 16:57:59 -03:00
leak ffdeeb3195 SQL: Minor cleanup in existing roll up patches 2011-01-25 14:40:05 +01:00
Manuel 6dbae56f57 Core/SQL: Fixed typo in world_scripts_full.
Signed-off-by: Manuel <manue.l@live.com.ar>
2011-01-25 01:57:57 -03:00
Manuel ba204ae3a7 Core/SQL: Added forgotten sql data.
Signed-off-by: Manuel <manue.l@live.com.ar>
2011-01-24 18:58:07 -03:00
Shauren 464837077a Core/Instances: Implemented hourly instance limit: players are limited to entering 5 instances per hour (account wide limit) 2011-01-24 11:20:30 +01:00
Machiavelli 920b3b0b37 Core/SQL: Add unique table key for (guid, bag, slot) in character_inventory to prevent storing different item entities in the same slot.
NOTE: If you get import errors it's YOUR OWN RESPONSIBILITY to fix current data inconsistencies your database might have.
2011-01-22 19:05:23 +01:00
Shauren 5adf9c5d30 Scripts/Spells: Moved all special target filtering cases to scripts 2011-01-22 17:21:24 +01:00
Manuel 76e4b6dda4 Core/Scripts/Oculus: Implemented AI for boss Varos Cloudstrider <Azure-Lord of the Blue Dragonflight>.
Signed-off-by: Manuel <manue.l@live.com.ar>
2011-01-20 12:37:41 -03:00
leak f7af49291b SQL: Characters db storage type cleanup No. 7 (final) - Note:
- It is _strongly_ recommended to extensively test the recent changes before applying them to live data

- To fully resync the character db layout with TC releases it is recommended to dump the characters table with
mysqldump --no-data characters > characters_database_livedata.sql
and use a diff tool to compare it against sql/base/characters_database.sql
2011-01-20 02:11:49 +01:00
leak c59ea4726e SQL: Characters db storage type cleanup No. 6 2011-01-20 01:02:24 +01:00
leak a486eb0c2f SQL: Characters db storage type cleanup No. 5 2011-01-20 00:08:45 +01:00
leak a7df9ddff1 SQL: Characters db storage type cleanup No. 4 2011-01-19 22:46:21 +01:00
leak 471b6f138d SQL: Characters db storage type cleanup No. 3 - Note:
There is a chance that you will be getting importing errors / data truncation warnings because of ancient invalid pet names.
SELECT * FROM character_pet WHERE CHAR_LENGTH(`name`) > 21;
2011-01-19 18:51:00 +01:00
leak c306acf298 SQL: Characters db storage type cleanup No. 2 2011-01-19 14:04:33 +01:00
leak b8210f4396 SQL: Characters db storage type cleanup #1 - Note:
- MySQL numeric types can NOT be altered in value range or or storage size at all, so things like INT(32) are entirely pointless. As TC currently doesn't use the display width of numeric types, use the default width to avoid confusion. (see MySQL numeric types docs)

- Timestamps can be stored as INT(10) UNSIGNED. As the max value of this type is 4294967295 which translates into year 2106 using it as timestamp we are NOT affected by the year 2038 bug. If the timestamp needs to be negative in some cases, i.e. for displaying infinity using -1, use BIGINT(20) instead.

- Do NOT set ROW_FORMAT for InnoDB tables unless you specifically want COMPRESSED tables (which we don't for performance reasons). MySQL will chose the appropriate ROW_FORMAT by itself depending on the innodb_file_format setting of the server. (FIXED is only available for MyISAM)

- Even though VARCHAR does require less storage space than CHAR for values with variable length, the length still needs to be chosen wisely as this doesn't apply to memory consumption.
2011-01-19 02:53:44 +01:00
leak 719ffeb414 SQL: Resync characters db base SQL with rollups and redump with recent mysqldump version in preparation for char db storage type cleanup 2011-01-19 01:31:08 +01:00
Shauren a370103c03 SQL: Removed unused spell script name.
Scripts/Icecrown Citadel: Fixed Professor Putricide adds chasing different targets than selected.
Scripts/Icecrown Citadel: Fixed Coldflame ticking twice because of too close spawning.
Scripts/Icecrown Citadel: Fixed Coldflame affecting spiked targets.
2011-01-16 17:41:49 +01:00
leak 44670c2e4f Core/SQL: Fix SQL rollup file name. (Usually gets lost when batch applying with with *characters*.sql file mask) 2011-01-16 13:38:31 +01:00
click a039086bca Core/SQL: Fix up a few missing tables from base world_database import schema and a few typos
Thanks to Aokromes for the heads up ref the typos, and Oinquer on the missing tables.
2011-01-11 08:26:10 +01:00
Shauren 870add0a3d Core/Spells: Fixed Spirit Walk ability of shaman's Feral Spirit summons
Closes #115

Signed-off-by: Shauren <shauren.dev@gmail.com>
2011-01-10 22:01:19 +01:00
Manuel cdf60d0643 Core/SQL: Assigned script npc_four_car_garage to creature 35273. 2011-01-09 21:12:17 -03:00
Machiavelli 4ec6ec66c4 Core/SQL: Fix world_scripts_full.sql import 2011-01-09 13:43:35 +01:00
Manuel 644902d369 Core/SQL: Fixed typo in sql file name. Thanks to laly. 2011-01-09 02:03:14 -03:00
Manuel 5cf76896eb Core/Battleground: Implemented blizzlike script for Isle of Conquest, written by gyullo and me, based on Socolin's and Josh's patch -BIG THANKS TO THEM-
Anyway the map is not yet playable, there are issues not related with the script.

I also want to thanks to QAston, linencloth, Shauren and Machiavelli to be so patient with my questions.
2011-01-09 00:00:08 -03:00
Machiavelli 57173df80f Core/SQL: Move spell_script_names from world_database.sql to world_scripts_full.sql (they're called scripts for a reason) 2011-01-08 22:49:44 +01:00
Machiavelli a5cabb0705 Scripts/Ulduar: Some work on Kologarn:
- Get rid of UNIT_FLAG_STUNNED hack
- Use proper spells instead of vehicle hacks
- AI scripts for both arms instead of everything being defined in Kologarn's AI script
- Proper support for detecting when to release players (Right Arm)

Still todo:
- Eyebeams
- Rubbles
- Achievements
- Post-encounter doors/GO's toggling
2011-01-08 22:21:24 +01:00
Lopin ef3e0d3477 Scripts/Ulduar: Spell script for spells 62524,62525,62521 (Freya encounter)
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-01-08 21:44:29 +01:00
Shauren 04d7476087 SQL: This table is handled by db team 2011-01-08 17:45:14 +01:00
McBitter 63333dc6ff Core/Spells: Fixed targeting for spell 49305 (missing unit target)
Signed-off-by: Shauren <shauren.dev@gmail.com>
2011-01-08 17:40:10 +01:00
click df602e955e Core/SQL: Fix a small typo in world_script_texts.sql messing up imports.
Closes issue #63
2011-01-08 05:40:47 +01:00
Shauren f63d84534f SQL: Added missing sql from revision 855e910298 2011-01-07 19:05:17 +01:00
sarjuuk dfc44856d1 Scripts/Sholazar Basin: Fix quest 12645
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-01-06 20:55:23 +01:00
sarjuuk 6235a3b89f Scripts/Northrend: Creature script for npc 29639, related to quest 12856
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-01-06 20:40:31 +01:00
click 3f0ebd25aa Core: Fix a ypo in world_script_texts.sql - thansk to fuchs for noticing
closes #38
2011-01-04 06:36:03 +01:00
Shauren eec299e605 Core/Spells: Cleaned up Shaman 4P Enhancement and Paladin 2P Retribution set bonus code
SQL: Added missing sql for that revision, thx cyberbrest

Closes #12
2011-01-02 16:27:38 +01:00
leak a1d185cc44 Restore sql patch numbering 2011-01-02 12:25:45 +01:00
Dark0r 81c358d6dc Scripts/Pit of Saron: Rewrite Pit of Saron instance
Signed-off-by: Shauren <krzysiek.7.5.4@gmail.com>
2011-01-01 19:13:59 +01:00
John Holiver 3a053c6cd3 Scripts/Trial of the Crusader:
1) Fix Leeching Swarm damage and create spell difficulty links to code. Closes  issue #4909 .
2) Fix Valkyr's Touch. Closes  issue #4553 .
3) Fix Permafrost aura difficulty check.
4) Reduce Slime Pool damage range.
5) Avoid Shaman Champion Heroism spam using 5 minutes (CD) as timer.
6) Fix many spell target selection to only select players (no more totens or pets).
7) Fix Anub'arak Spike being able to receibe the permafrost aura in order to cast spike fail, hopefully.
2010-12-31 06:01:01 +01:00
QAston 8cd2c73e45 Core/ScriptSystem: Add OnEffectManaShield and AfterEffectManaShield hooks to AuraScript class. Usage of these is the same as similar Absorb hooks.
Scripts: Move Incanter's Absorbtion script from Unit::CalcAbsorbResist to AuraScript.
2010-12-30 19:05:19 +01:00
QAston c8adcc95f9 Core/Unit: Move spell specific code from Unit::CalcAbsorbResist to AuraScripts. 2010-12-30 02:03:46 +01:00
Machiavelli e26294db56 Scripts: Correct function registration of spell_dru_moonkin_form_passive_AuraScript, fix intendation in world_database.sql
Author: QAston
2010-12-29 11:58:09 +01:00
Machiavelli 46328318d2 Core/DB:
- Only use configured PersistentFlags for character database cleaner to determine data saving behaviour during runtime, instead of all original flags set in worldstates.
- Remove the forced deletion of abandoned quest entries in 10828_characters_character_queststatus.sql for those who do not want to lose that data. If you want to purge that data then run the core with CleanupFlags & 0x10. If you want to both purge the data now and prevent it from being saved in the future, run the core with CleanupFlags & 0x10 AND PersistentCleanupFlags & 0x10

--HG--
branch : trunk
2010-12-28 09:49:07 +01:00
QAston ef968f4b15 Core/Unit: Big cleanup in Unit::CalcAbsorbResist
Core/AuraScript:
	Fix compile time check for AuraScript functions
	Remove AuraApplication from hook functions parameter list, use GetTarget() and GetTargetApplication() instead
	Add OnEffectAbsorb hook
Scripts: move handlers of Spell Deflection, Savage Defense, Primal Tenacity, Nerves of Steel, Astral shift from core to scripts.

--HG--
branch : trunk
2010-12-27 20:14:54 +01:00
Machiavelli f0d884ee20 Scripts/Ulduar: Implement script for General Vezax encounter.
Based on original patch by Lopin -- thank you!

--HG--
branch : trunk
2010-12-26 23:35:12 +01:00
Shauren 9de8466d84 SQL: Added missing update for previous revision
--HG--
branch : trunk
2010-12-26 17:00:31 +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