Commit Graph
100 Commits
Author SHA1 Message Date
megamage 35ba3ca653 [7897] Include function name in assertion fail output. Author: Ambal
--HG--
branch : trunk
2009-05-27 16:37:03 -05:00
megamage 5101c7c4c5 [7896] Rename creature_template class/race fields to trainer_class/trainer_race for clarify use. Author: NoFantasy
--HG--
branch : trunk
2009-05-27 16:36:09 -05:00
megamage 75cf5b781c *Do not trigger living bomb when target is dead. By Them
--HG--
branch : trunk
2009-05-27 16:11:40 -05:00
Kudlaty dc1c900048 Add fix for quest 12680
--HG--
branch : trunk
2009-05-27 22:14:58 +02:00
Anubisss 4ce92ed6fa *Merge SD2.
*r983: Add additional checks for zoneInCombat-function.
*r984: Remove two useless functions, cleanup some code. - The most part of the patch skipped.
*r985: Clean up some code and prevent Spark from doing certain actions if in certain areas
*r986: Remove most EventAI code - Skip this patch
*r987: Correct and remove now obsolete documentation. - Skip: delete EventAI.txt

--HG--
branch : trunk
2009-05-27 21:30:03 +02:00
megamage ba934b35d6 *Try to fix a freeze bug. (atan2(0,0) returns invalid value)
--HG--
branch : trunk
2009-05-27 13:22:21 -05:00
Drahy 199cac6dda * Used trinity sql coding style
--HG--
branch : trunk
2009-05-27 20:19:23 +02:00
megamage ffca6ec384 *Change vehicle faction the same as the driver's when driver enters it.
*Fix 3593 sql.

--HG--
branch : trunk
2009-05-27 12:42:38 -05:00
Kudlaty 75942caacb Add script for quest 28406
--HG--
branch : trunk
2009-05-27 18:15:29 +02:00
megamage cb72853dc6 *Cleanup message deliver functions. Remove unused parameters.
--HG--
branch : trunk
2009-05-27 09:09:22 -05:00
megamage 1497d8f391 *Fix a typo in 3467 sql that makes dk start zone taxi not work.
--HG--
branch : trunk
2009-05-26 23:19:49 -05:00
megamage 9dda6392c1 *Fix the bug that warlord najentus spams spells
*Fix the bug that supremus volcano can move
Thanks to Farah

--HG--
branch : trunk
2009-05-26 22:46:06 -05:00
megamage 7ac4fb46c4 *Fix DK quest 12641
--HG--
branch : trunk
2009-05-26 22:13:36 -05:00
megamage 0328a3c212 *Fix broken dk start zone teleporter.
*Use caster as source of areaaura when source is NULL.

--HG--
branch : trunk
2009-05-26 22:06:27 -05:00
megamage 9624f6e099 *Fix a typo in Thaddius script that make he not berserk.
*Update Heigan script so that players outside the room will be teleported in when eruption happens.
Thanks to cryingcloud.

--HG--
branch : trunk
2009-05-26 19:55:41 -05:00
megamage fa9bfed91f [7895] Fixed build problem and some warnings in VS2010 projects. Author: tomrus88
--HG--
branch : trunk
2009-05-26 16:19:57 -05:00
megamage e0255069dc [7894] Avoid show quest sign for trainer under cursor if trianer have unavailable quest. Author: SeT
--HG--
branch : trunk
2009-05-26 16:19:35 -05:00
megamage 8b26c1c728 [7893] Fixed work chat guild commands that expect guild name in args. Now guild name always must be in "". Author: VladimirMangos
--HG--
branch : trunk
2009-05-26 16:19:11 -05:00
megamage 0652c95126 [7892] Update spell_loot_template entry description in error output for better fit to current table use. Author: VladimirMangos
--HG--
branch : trunk
2009-05-26 16:10:42 -05:00
megamage 795eaf4598 [7890] Fixed a memory leak Author: VladimirMangos
--HG--
branch : trunk
2009-05-26 16:03:55 -05:00
megamage 38f4a60beb *Correct some aura interrupt flags
--HG--
branch : trunk
2009-05-26 16:00:19 -05:00
megamage ce8b7a6839 *Do not do visibility notification twice for bind sight players. This fixes the bug that bind sight is interrupted when target enters a populated area.
--HG--
branch : trunk
2009-05-26 15:34:55 -05:00
megamage 326940181a *Consider flight spells as passive spells.
--HG--
branch : trunk
2009-05-26 15:32:11 -05:00
megamage 18252e5f79 *Use original caster to check quest spell hit. This fixes the bug that some quest cannot be finished when using controlled creatures to cast spell.
--HG--
branch : trunk
2009-05-26 15:31:47 -05:00
megamage 375be3648e *Remove puppet when it is killed.
--HG--
branch : trunk
2009-05-26 15:29:59 -05:00
megamage 4840603510 *Allow to use gm command to modify mob health.
--HG--
branch : trunk
2009-05-26 15:29:31 -05:00
megamage 60a0c4a695 *Fix the impale spell timer of archavon script.
--HG--
branch : trunk
2009-05-26 15:29:15 -05:00
Kudlaty d56baf19db Add spell target position for teleports in acherus (54744,54746)
--HG--
branch : trunk
2009-05-26 21:49:26 +02:00
Kudlaty bc9bf1d635 Uptade spell script target with spells (54699,54725,54744,54746)
--HG--
branch : trunk
2009-05-26 21:24:30 +02:00
megamage 2c67de7004 *Fix a crash caused by charm spells. Thanks to Drahy.
--HG--
branch : trunk
2009-05-26 13:42:48 -05:00
megamage 7823461e86 *Fix typo that causes crash for charm spells. Thanks to Drahy.
*Allow aura 206 to affect other types of pets.

--HG--
branch : trunk
2009-05-26 10:46:08 -05:00
megamage 5eedbc7af4 *Allow vehicle have loot.
--HG--
branch : trunk
2009-05-26 00:53:20 -05:00
megamage 65a47c4a6b *Do not destroy unit for owner when it stealth
--HG--
branch : trunk
2009-05-25 23:21:10 -05:00
megamage d971d0121f *Do not consider possessed creatures as pet. Also fix the bug that possessed creature does not display spells.
--HG--
branch : trunk
2009-05-25 22:52:08 -05:00
megamage 320ac7f91e *Do not use GO guid as original caster guid. (not supported for now)
--HG--
branch : trunk
2009-05-25 21:18:02 -05:00
megamage 54126d3ce5 *Fix a bug that players are teleported to wrong instance after crash.
--HG--
branch : trunk
2009-05-25 21:17:34 -05:00
megamage d5bdb56696 *Remove aura by originalcaster guid instead of caster guid for channelled spells
--HG--
branch : trunk
2009-05-25 21:17:06 -05:00
megamage ddcc7d1c66 *Move spelltarget table check to the start of the server to reduce log spams.
--HG--
branch : trunk
2009-05-25 16:50:01 -05:00
megamage 43dbb89659 *Fix a bug of spell_full.sql. Thanks to X-Savior.
--HG--
branch : trunk
2009-05-25 16:06:33 -05:00
Anubisss 2a658a5134 *Fix the startup with trinityinterface.
--HG--
branch : trunk
2009-05-25 22:07:08 +02:00
megamage 6e9af44a8b *Fix an error in spell_full.
--HG--
branch : trunk
2009-05-25 14:25:17 -05:00
megamage 6a2fbb3bf3 *Fix an error in script_texts.sql
--HG--
branch : trunk
2009-05-25 13:45:56 -05:00
megamage 90019c344b *Merge.
--HG--
branch : trunk
2009-05-25 13:20:57 -05:00
megamage b96dea29c7 *Merge.
--HG--
branch : trunk
2009-05-25 13:17:41 -05:00
megamage a2f8a735ae *Merge.
--HG--
branch : trunk
2009-05-25 13:03:11 -05:00
megamage 00f50798d3 *Merge.
--HG--
branch : trunk
2009-05-25 12:51:14 -05:00
megamage dfd041dd57 *Disable proc aura stack check until it is properly fixed. (please tell me if i am wrong)
--HG--
branch : trunk
2009-05-25 12:28:12 -05:00
megamage 981ecfdc41 *Merge. Do not forget to apply TC1 sql!
--HG--
branch : trunk
2009-05-25 12:25:35 -05:00
megamage 03d1a8d84c *Skip
--HG--
branch : trunk
2009-05-25 12:13:16 -05:00
megamage c2588042e9 *Move some random generator functions to map class: functions in map/object/movementgenerator/spell
--HG--
branch : trunk
2009-05-25 12:05:23 -05:00
Paradox 63de1e0ba7 Fix genrevision to get correct hash when compiling from archive
--HG--
branch : trunk
2009-05-25 12:59:11 -04:00
megamage 2478087b5c *Merge.
--HG--
branch : trunk
2009-05-25 11:34:01 -05:00
megamage 4c6c9c560b *Merge.
--HG--
branch : trunk
2009-05-25 11:31:19 -05:00
megamage a53326353b *Do not allow wrecking crew stack with enrage. Also, allow proc buff overwrite another. Need better rules to check that. (see my comment in code)
--HG--
branch : trunk
2009-05-25 11:19:13 -05:00
megamage 7e1ca8f2ce *Merge.
--HG--
branch : trunk
2009-05-25 11:08:52 -05:00
megamage 98049925a6 *Fix a typo that makes seal of vengeance/blood deal huge damage.
--HG--
branch : trunk
2009-05-25 10:39:50 -05:00
QAston 93a9fef498 *Remove obsolete code for Arcane Blast
*Reduce amount of auras removed at arena match start.

--HG--
branch : trunk
2009-05-25 17:04:52 +02:00
Paradox 73be810987 Fix CRLF issues in 3517
--HG--
branch : trunk
2009-05-25 08:22:38 -04:00
Kudlaty d32ddea085 Update characters.sql
--HG--
branch : trunk
2009-05-25 13:28:34 +02:00
Paradox 991d4e4219 Fix genrevision to display Archive as revision and hash string, to give us a better idea of what revision is being used by people who directly download the archive, also fix .sln files.
--HG--
branch : trunk
2009-05-25 07:00:50 -04:00
Drahy a366210f99 * Added revision info to full tables up to revision are updated
* Removed some sqls from mangos already present in rev 3235
* Used trinity sql coding style

--HG--
branch : trunk
2009-05-25 02:29:41 +02:00
megamage 6f2eebf2c3 *Fix broken escort AI.
--HG--
branch : trunk
2009-05-24 18:16:43 -05:00
megamage 8140543de4 *Rewrite some OPvP functions.
*Apply tenacity buff for outnumbered players in wintergrasp.

--HG--
branch : trunk
2009-05-24 17:26:44 -05:00
QAston 1c505261bc *Remove auras with duration lower than 30 sec on arena start.
*Do not remove rougue poisons and dk runes on arena start.
*Apply healing bonus for healing stream totem.
*Do not duplicate damage bonus in code with the one in db for Seal of Vengenance/Corruption

--HG--
branch : trunk
2009-05-24 22:54:13 +02:00
megamage db834e7c7d *Add comment for spell_proc_event sql. To devs: you do not need to manually add comment when you add a new line. This can be done automatically.
--HG--
branch : trunk
2009-05-24 14:37:49 -05:00
megamage 80940e1abc *Use hex format for spell_full spell_proc_event table.
--HG--
branch : trunk
2009-05-24 14:06:00 -05:00
raczman 1efdaa8960 Fix commit 1509 that made it unable to speak with neutral NPCs.
At the same time, it is still not possible to exploit with cheating tool.

--HG--
branch : trunk
2009-05-24 20:57:59 +02:00
raczman 9f5f0159f8 Apply 6 second rule to mana potions on arenas.
--HG--
branch : trunk
2009-05-24 20:54:59 +02:00
megamage 452bda72a1 *When alliance and horde are in same group, also display pets as friendly.
--HG--
branch : trunk
2009-05-24 12:56:09 -05:00
megamage a4c88418ea *Fix the bug that warlock pet is not shown in stat window.
--HG--
branch : trunk
2009-05-24 12:28:26 -05:00
megamage 09b386a786 [7886] Drop use table petcreateinfo_spell
This is first commit in chain for remove oudated and not used pet functionality.

    * Use instead dropped table CreatureSpellData.dbc if creature_template.PetSpellDataId set (mostly hunter pets)
    * Use creature_template.spellN if not set creature_template.PetSpellDataId (mostly different summon creatures)
    * Fixed bug with not removing from action bar spell icon for not ranked unlearned spells.

    Note: summoned controllable creatures without PetSpellDataId must have expected spells in spellN feilds for creature_template.

[7887] Drop pet spell teaching code, including field in character_pet.

Author: VladimirMangos

--HG--
branch : trunk
2009-05-24 12:16:12 -05:00
megamage aa67033cc7 [7885] Fixed talent 34914 and ranks proc spell to correct spellid. Author: qsa
--HG--
branch : trunk
2009-05-24 11:32:44 -05:00
megamage c14fb42915 *Change the value of CREATURE_FLAG_EXTRA_NO_TAUNT.
*There is no creatures with this flag in core. So if you have custom content, you can use this:
update creature_template set flags_extra = (flags_extra | 0x00000100) where flags_extra & 0x00010000;
update creature_template set flags_extra = (flags_extra & ~0x00010000) where flags_extra & 0x00010000;

--HG--
branch : trunk
2009-05-24 11:29:38 -05:00
megamage 6da36b90cc [7882] For achievement criterias data check ACHIEVEMENT_CRITERIA_DATA_TYPE_T_PLAYER_DEAD include target's team check. Author: VladimirMangos
--HG--
branch : trunk
2009-05-24 11:18:23 -05:00
megamage 1a637493b7 [7881] More types with random generated item at recipe casting. Cleanups code. Author: VladimirMangos
Real resulting items creating required DB support (helper error message outputed at loading)

--HG--
branch : trunk
2009-05-24 11:17:41 -05:00
megamage 2fadf3dd77 Fixed bank bag slot amount achievement statistic. Cleanup related code. Author: VladimirMangos
--HG--
branch : trunk
2009-05-24 11:17:03 -05:00
megamage 35f08f9e21 [7880] Added error output for default switch case. Author: ApoC
--HG--
branch : trunk
2009-05-24 11:15:37 -05:00
megamage 57f14494b1 [7879] Added SPELL_AURA_MOD_SPELL_CRIT_CHANCE into isTriggerAura. Author: ApoC
This will fix auras (57529, 57531, possibly others) to be correctly removed dependently on their procFlags and procCharges.

--HG--
branch : trunk
2009-05-24 11:14:42 -05:00
megamage 4ebe23324b [7879] Fixed proc for 31571 and ranks. Author: Tanatos
--HG--
branch : trunk
2009-05-24 11:13:45 -05:00
megamage 9381493a64 [7878] Use bigger buf for better performence. Author: Derex
--HG--
branch : trunk
2009-05-24 11:10:55 -05:00
megamage 8450b33041 *Add vehicle id for three-seat mammoth.
*Fix spell impale of archavon.

--HG--
branch : trunk
2009-05-24 11:07:09 -05:00
QAston 1b2579a2ab Ancestral Awakening target selection
--HG--
branch : trunk
2009-05-24 15:36:15 +02:00
QAston 74770dbcf6 *Fix whath of air and flametongue totem
--HG--
branch : trunk
2009-05-24 14:58:54 +02:00
megamage 73770d7354 *Fix the bug that totem only apply one auraeffect on target.
*Fix the bug that players can get aura when out of range of totem.
*Use caster to check enemy/ally state and spell bonus. Use source to check distance.

--HG--
branch : trunk
2009-05-24 00:05:17 -05:00
megamage 0f2ac46d87 *Set vehicle faction when summoning instead of entering
--HG--
branch : trunk
2009-05-23 22:21:47 -05:00
megamage 946aa87445 *Store aura::source for all types of aura effect.
--HG--
branch : trunk
2009-05-23 22:21:26 -05:00
megamage af1f0fd419 *Rename formalCaster as "source"
--HG--
branch : trunk
2009-05-23 20:50:21 -05:00
megamage 94692ea5f7 *Use getworldobject for getunit. Also allow get vehicles using this function.
--HG--
branch : trunk
2009-05-23 20:42:31 -05:00
megamage 2475390852 *Fix a bug that player can change to an occupied seat on vehicle.
(The commit message of the last rev should be: do not allow player to use unusable vehicle seat)

--HG--
branch : trunk
2009-05-23 20:41:48 -05:00
megamage 27e3352d2b *Fix a bug that vehicle in wintergrasp is dismissed when player log out.
--HG--
branch : trunk
2009-05-23 20:40:44 -05:00
megamage 2780893030 *Fix a bug that player can change to an occupied seat on vehicle.
*Load full creature data for vehicles.

--HG--
branch : trunk
2009-05-23 20:40:14 -05:00
Anubisss 0b8e6ee15a *Some changes in bindings/interface.
*Fix the bug that You build it without Trinity Script the emu try to load the libtrinityscript lib instead of libtrinityinterface.

--HG--
branch : trunk
2009-05-23 20:48:32 +02:00
megamage 7ef7f7fa82 *Fix a crash caused by RecalculateAmount when aura caster is not present.
--HG--
branch : trunk
2009-05-23 11:17:15 -05:00
megamage a22aedf320 *Fix build.
--HG--
branch : trunk
2009-05-23 10:16:40 -05:00
megamage 5ca07b38d3 *Fix a bug that cause quest GO cannot be open.
--HG--
branch : trunk
2009-05-23 10:08:35 -05:00
megamage bfac33f24f *Try to fix an aura bug that cause server freeze
--HG--
branch : trunk
2009-05-23 10:04:12 -05:00
Anubisss 37aa9c3cbf *Fix compile in *nix if You build without Trinity Scripts(with trinityinterface).
--HG--
branch : trunk
2009-05-23 16:17:37 +02:00
raczman 9fda5c57e1 merge
--HG--
branch : trunk
2009-05-23 16:07:00 +02:00
raczman 1b5f45cf0f Fixed windows build.
By the way, isnt it ironic that biggest software vendor cant get name scopes right?

--HG--
branch : trunk
2009-05-23 16:06:02 +02:00
QAston ed8691ebad *Fix a typo which disallows ADD_TARGET_TRIGGER auras to proc from selfcast.
--HG--
branch : trunk
2009-05-23 14:06:07 +02:00