Commit Graph

1985 Commits

Author SHA1 Message Date
Shauren
c2b0bcbd6c Core/Instances: Implemented DungeonEncounter.dbc for creating completed encounters mask to use in packets
Core/Dungeon Finder: Implemented new way of giving random dungeon rewards, linked to DungeonEncounter.dbc
2011-02-03 22:20:40 +01:00
runningnak3d
0a5d8711e5 Misc: Restructuring directory layout to accomodate the fact that we will
be pushing DB content. We will no longer have a seperate DB repo.
2011-02-02 07:50:21 -07:00
Shauren
8d7a6cd611 Core/Spells: Moved Glacial Strike removal to spell script, thanks Destalker for pointing it out 2011-01-31 20:06:47 +01:00
Shauren
42007bb0a9 Core/Spells: Implemented Druid T10 4P restoration bonus 2011-01-31 14:51:42 +01:00
Shauren
5004f409d8 Core/Spells: Added cooldown for Purified Lunar Dust trinket (item 50358) 2011-01-31 11:54:29 +01:00
DrTenma
59448fddc4 Core/Spells: Fixed Judgements of the Just
Signed-off-by: Shauren <shauren.trinity@gmail.com>
2011-01-30 19:14:18 +01:00
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
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
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
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
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
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
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
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
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
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
Shauren
99ff32be28 Scripts/Spells: Added support for Red Rider Air Rifle (item 46725)
--HG--
branch : trunk
2010-12-25 15:26:16 +01:00