Commit Graph

10251 Commits

Author SHA1 Message Date
Machiavelli
95ddfbd9e2 Remove some redundant explicit NULL checks for pointers before ´delete´ or ´delete[]´ calls since this check is done implicitly when deleting.
Also fixes a memory leak in .reload creature_template command

--HG--
branch : trunk
2010-06-21 23:20:58 +02:00
click
1c96f52568 Add more CMake-related support for building g3dlib, zlib, bzip2, ace on Windows
--HG--
branch : trunk
2010-06-21 07:17:26 +02:00
click
1ff96c9846 Use CMakeLists.txt file-globbing on scriptslibrary instead of adding every single script.
Note that new scripts added means "run CMake to make it aware of any new files"

--HG--
branch : trunk
2010-06-21 03:36:36 +02:00
click
6bdabae38e Remove obsolete script for Highlord Mograine (not active as boss in Naxxramas)
--HG--
branch : trunk
2010-06-21 03:08:51 +02:00
Tartalo
d72185a57a Violet Hold: Fix portal #2 spawning. Some minor cleansing and pointer checks
--HG--
branch : trunk
2010-06-20 16:27:23 +02:00
Tartalo
1c42795081 Backed out changeset 444ae3a9769f
Going to use a spell_linked_spell based better approach

--HG--
branch : trunk
2010-06-20 11:44:18 +02:00
Tartalo
77565846c6 Fix Spell 20066 (Paladin, Repeteance), by maxdestroyer
Now removes Righteous Vengeance

--HG--
branch : trunk
2010-06-20 06:05:16 +02:00
Tartalo
bd599aea17 Fix spells 48129, 60320 & 60321 (Scrolls of Recall I, II & III)
Now they buff Lost! and stop teleporting if they are used beyond max safe
level
Lost! buff is not fixed so there is no random teleport penalty yet

--HG--
branch : trunk
2010-06-20 04:34:58 +02:00
Tartalo
1f709c7d19 Fix spells 52942 & 58837 (Loken Pulsing Shockwave: dinstance depending damage, by Josh
--HG--
branch : trunk
2010-06-20 01:37:58 +02:00
Tartalo
a2ab87962d Minor cleansing
--HG--
branch : trunk
2010-06-20 01:34:11 +02:00
Tartalo
1d247017e5 Fix Spell 54732, Defibrillate from Gnomish Army Knife (now has success chance roll)
--HG--
branch : trunk
2010-06-20 00:55:54 +02:00
Tartalo
d024e563f8 Fix Grievious bite (48920): now if removed when target is fully healed
--HG--
branch : trunk
2010-06-20 00:37:02 +02:00
Tartalo
f690bafd3e Merge
--HG--
branch : trunk
2010-06-19 23:53:01 +02:00
Tartalo
2c407aca1f Ulduar: Halls of Stone, Krystallus: Fix Shatter usage
--HG--
branch : trunk
2010-06-19 23:52:24 +02:00
Tartalo
fb7dc51826 Fix spells 50811 & 61547 (Krystallus shatter), by microbius51
--HG--
branch : trunk
2010-06-19 23:51:33 +02:00
Machiavelli
cbf7d15947 Add another assert to track down an issue where variable gets infinity value
--HG--
branch : trunk
2010-06-19 23:48:10 +02:00
Tartalo
d674660539 Merge
--HG--
branch : trunk
2010-06-19 23:06:56 +02:00
Tartalo
78fab5fa18 Violet Hold: Some fixes, infinite loop one included
--HG--
branch : trunk
2010-06-19 23:01:26 +02:00
Machiavelli
f43727e18c Change some map/vmap-related runtime output to sLog format.
--HG--
branch : trunk
2010-06-19 22:08:03 +02:00
Brian
2db4af3949 * Changed references to Trinityd.conf / trinitycore.conf to proper
* worldserver.conf

--HG--
branch : trunk
2010-06-19 13:54:19 -06:00
Xanadu
09923bde06 Fixed win build of vmap assembler, too.
--HG--
branch : trunk
2010-06-19 21:50:34 +02:00
click
29d9e40f74 Some smaller fixes to the vmapextractor courtesy of Lynx3d (not using corefunctions + update errormessages to use the new fileextensions)
--HG--
branch : trunk
2010-06-19 21:35:32 +02:00
Tartalo
6e871d6f4d Violet Hold: Instance mechanics fixes, by PivoNRoll
Closes issue #2733
Implements door hiting by trash, trash waypoints and more

--HG--
branch : trunk
2010-06-19 20:57:58 +02:00
Machiavelli
d183d94be8 Fix possible crash in VMapManager sLog.OutXX functions.
--HG--
branch : trunk
2010-06-19 20:51:56 +02:00
Brian
108970ddba * Fix Linux compile
--HG--
branch : trunk
2010-06-19 11:14:00 -06:00
Machiavelli
8c8986b2bc Fix usage of uninitialized waypoint array variables in ConfusedMovementGenerator<T>::Initialize and revert 9b1c565510+ad8ce5245e that covered up this problem without fixing it and introduced a faulty LOS calculation.
With thanks to Lynx3d and click, and Aokromes and ritchy for testing.

--HG--
branch : trunk
2010-06-19 17:26:12 +02:00
Xanadu
1218b001ac Fixed priest and druid AoE spells broken two commits back. Closes issue 2737.
--HG--
branch : trunk
2010-06-18 17:21:39 +02:00
Xanadu
9cd4e4289c In arenas Replenishment should only affect the caster.
--HG--
branch : trunk
2010-06-18 16:21:23 +02:00
Xanadu
c2cdc9994e Reviewed and fixed smart heal and energize target selection:
* Implemented Divine Hymn and Hymn of Hope targeting. Closes issue #180. Closes issue #2538.
* Fixed CoH healing any monsters in your target.
* Removed obsolete hackfix of Wild Growth that attempted the above.
* Fixed Glyph of Holy Light target selection that had code in a wrong place.
* Removed too general check that gave smart targeting to spells that shouldn't have it.
* Implemented correct number of targets for Althor's Abacus heal proc.

--HG--
branch : trunk
2010-06-18 04:17:21 +02:00
click
7fe641c99e Fix a small "typo" regarding the calculation of LoS from the r9b1c565510 vmap-fix - fix by Gyullo, after being busy slapping himself for the mistake
--HG--
branch : trunk
2010-06-17 22:28:16 +02:00
click
aa74cac7cb Add plane/finitecheck tests for OOB intersection-vectors (this should fix vmap-related freezes) - patch by Gyullo
--HG--
branch : trunk
2010-06-17 20:38:46 +02:00
Xanadu
5238320af0 Fixed pool system I broke in 52fac32a0b35, added a check for child pools and rearranged primary keys to prevent inclusion of single creature/GO spawn in multiple pools.
--HG--
branch : trunk
2010-06-17 05:37:37 +02:00
Shauren
a71d549bc3 Fixed compile
i swear, i need more beer

--HG--
branch : trunk
2010-06-16 21:32:34 +02:00
Shauren
90fceb18ac Fixed spell 64142 (Upper Deck - Create Foam Sword)
--HG--
branch : trunk
2010-06-16 20:59:15 +02:00
Shauren
d976299dc3 Fixed spells with EffectCreateItem2 that do not have EffectItemType set in dbc and should pick it from spell_loot_template table (like 69412 Abyssal Shatter)
--HG--
branch : trunk
2010-06-16 20:10:42 +02:00
Shauren
d65690ad38 Fixed wrong string format in HandleNpcUnFollowCommand
--HG--
branch : trunk
2010-06-16 20:03:21 +02:00
Shauren
9b2d3b0a71 Fixed typo
--HG--
branch : trunk
2010-06-16 19:58:40 +02:00
Shauren
3be48fe4fc Fixed old no-fly zone code to use area flags instead of hardcoded area ids (this fixes flying in Wintergrasp)
This does NOT implement no-fly zones!

--HG--
branch : trunk
2010-06-16 19:36:50 +02:00
click
5d7bed7222 Adjust CMake "searchmacros" bit so that they point to correct locations
--HG--
branch : trunk
2010-06-16 03:43:09 +02:00
click
93f8d212e0 Fix linuxbuild
--HG--
branch : trunk
2010-06-15 19:16:25 +02:00
Shauren
ebb0785817 Commit from Lynx3d: Add assert to values that can cause nasty freeze, but should never occur with
valid input.

--HG--
branch : trunk
2010-06-15 17:08:04 +02:00
Trazom62
2a544c94b3 Implement Chef Hat.
Fixes issue #2514.

--HG--
branch : trunk
2010-06-15 00:04:03 +02:00
Shauren
b3f1bc11d9 Added support for removing blizz items from character creation info by adding entry to playercreateinfo_item with count -1
Added support for all class/all race in playercreateinfo_item by setting class/race to 0 (like currently playercreateinfo_spell)

--HG--
branch : trunk
2010-06-14 21:03:05 +02:00
Xanadu
d095e315a0 Improved startup pool check a little.
--HG--
branch : trunk
2010-06-14 20:52:36 +02:00
Trazom62
d205de69bf implement ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_DAILY_QUEST_DAILY.
Fixe issues #2213.

--HG--
branch : trunk
2010-06-14 18:33:46 +02:00
click
43f527b94f Fix compile-errors on older versions of GCC (missing definitions - thanks to lynx3d for the heads up)
(users are adviced to upgrade to a MORE RECENT version of GCC that supports the standardized tr1::unordered_map functionality though)

--HG--
branch : trunk
2010-06-14 02:43:18 +02:00
click
b232204264 Remove old DO_MYSQL-params in CMakeLists.txt files - not required as we only support MySQL anyway
+ add partial support for finding headers on Windows (not yet done)

--HG--
branch : trunk
2010-06-14 02:00:30 +02:00
Shauren
ad8638742c Do not apply duration spellmods to spells with infinite duration (fixes Glyph of Eternal Water + Enduring Winter making water elemental last 5,10,15 seconds)
--HG--
branch : trunk
2010-06-13 15:55:30 +02:00
Machiavelli
e6d0fa20cd Typo spotted by glizzard.ad
--HG--
branch : trunk
2010-06-13 14:24:44 +02:00
Machiavelli
b6621ddf90 Add some safer casting conditions in Map::ScriptsProcess.
Fixes issue #2676
Fixes issue #2553

--HG--
branch : trunk
2010-06-13 13:29:31 +02:00