Commit Graph

260 Commits

Author SHA1 Message Date
Nay
05d6bef5f6 DB/NPC: Spawn Shango with pathing.
SQL: Fix typo and add missing changes to world_database.sql
Closes #883
2011-03-07 21:20:31 +00:00
Machiavelli
311d0cf989 Core/Commands: Make vehicle_accessory and vehicle_template_accessory reloadable with commands 2011-03-07 20:25:56 +01:00
GWRde
22703bc58d Core/Spells: Fixed Glyph of Shadow Word: Pain 2011-03-07 19:36:34 +01:00
Shauren
79e660975e Core/Spells: Fixed Heartpierce proc 2011-03-05 18:48:41 +01:00
EdwinDW
7798474e74 Fix: SQL syntax error in world base SQL script 2011-03-04 16:48:39 +01:00
Shauren
8497fb27e9 DB/Spells: Added flower summoning visual of Lifeblood 2011-02-26 14:09:32 +01:00
Shocker
3525cb39b8 Core/Spells: Focus Magic should proc only from critical hits 2011-02-25 16:56:45 +02:00
Azazel
bcd7e45e12 CharDB Schema/Cleanup: cleanup character_tutorial table:
* rename table to account_tutorial, because it holds account specific data;
* rename column account to accountId;
* introduce prepared statements for table.
2011-02-25 00:45:57 +06:00
Azazel
20ab3e4bda CharDB Schema/Cleanup: cleanup account_data and character_account_data tables:
* rename column account to accountId;
* introduce prepared statements for both tables.
2011-02-25 00:44:33 +06:00
Nay
be16bcffab Usual commit about forgotten full SQL changes in previous commit. 2011-02-24 00:33:13 +00:00
Nay
45db1591a4 DB/Schema: Properly use field types in smart_script table
Thanks Shauren
2011-02-20 19:11:42 +00:00
Shauren
a623bfad2b Core/Spells: Fixed Combustion stacking exploit 2011-02-18 20:07:41 +01:00
Shauren
0f34df6e1a Scripts/Icecrown Citadel: Added support for weekly quest "Deprogramming" 2011-02-18 19:48:47 +01:00
Shauren
6d1e4839a1 Scripts/Icecrown Citadel: Fixed Sindragosa's Icy Grip
Closes #629
2011-02-15 22:45:30 +01:00
runningnak3d
05e075ce0e Core/Gossip: Remove support for npc_gossip table (DEPRECATED). 2011-02-11 13:04:45 -07:00
Shauren
dc1b02d35d Scripts/Icecrown Citadel: Added Sindragosa script 2011-02-07 17:21:44 +01:00
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
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
Shauren
8d2ab9238f SQL/Quest: Added linked credit spells for quest 8867 (Lunar Fireworks) 2011-01-29 12:50:58 +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
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
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
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
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
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
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
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
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
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
Shauren
99ff32be28 Scripts/Spells: Added support for Red Rider Air Rifle (item 46725)
--HG--
branch : trunk
2010-12-25 15:26:16 +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
Xanadu
cfa26522ad Core: Fixed occasional wrong order of async operations at respawn time saving. Closes issue #5239.
DB schema: Sorted out a discrepancy in respawn time column format.

--HG--
branch : trunk
2010-12-23 05:49:23 +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
Shauren
89f2870b97 Core/Auras: Save cast item guids for auras to db
--HG--
branch : trunk
2010-12-20 14:55:36 +01:00