Commit Graph

92 Commits

Author SHA1 Message Date
Machiavelli
4e361d0d9b Don´t allow inviting people to chat channels if they are banned from that channel.
Also fix response codes CHAT_PLAYER_NOT_BANNED_NOTICE + CHAT_PLAYER_INVITE_BANNED_NOTICE for SMSG_CHANNEL_NOTIFY.

--HG--
branch : trunk
2010-06-22 00:39:07 +02:00
Machiavelli
a9cfe876fa Allow -ExtendedCostID and ExtendedCostID to be in the same vendor´s item list.
--HG--
branch : trunk
2010-06-21 23:41:28 +02:00
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
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
fb7dc51826 Fix spells 50811 & 61547 (Krystallus shatter), by microbius51
--HG--
branch : trunk
2010-06-19 23:51:33 +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
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
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
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
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
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
Shauren
4261828d63 Added support for item set names in case where item does not exist in item_template (like gladiator gear)
--HG--
branch : trunk
2010-06-11 20:02:46 +02:00
click
39e793b2bd Add extractors and assembler - EXTRACTION OF NEW MAPS IS REQUIRED!
This will allow for easier testing of functionality between different
projects, ie. one set of maps/vmaps instead of 2 (saves space, saves
time and saves us some confusion).

--HG--
branch : trunk
2010-06-11 05:01:30 +02:00
silverice
d6d9d50952 Fix some memory leaks
--HG--
branch : trunk
2010-06-11 05:00:46 +03:00
Anubisss
d9d6e5732d Add NULL rows for 2 ChatCommand table.
--HG--
branch : trunk
2010-06-11 01:55:04 +02:00
Anubisss
148f554814 Fix a mem leak in Item::IsTargetValidForItemUse().
--HG--
branch : trunk
2010-06-11 01:48:52 +02:00
Anubisss
6da05ec5d1 Fix memory leaks in ConditionManager.
--HG--
branch : trunk
2010-06-11 01:25:10 +02:00
Shauren
4507e7dd66 Fixed some spaces
--HG--
branch : trunk
2010-06-10 20:52:15 +02:00
John Holiver
5dff68e457 Allow to sell item for: money, extendedCost or money+extendedCost.
The new method (money+extende) can be used by using negative values on npc_vendor.ExtendedCost.
This one goes dedicated to ZxBiohazardZx.
Tnx also to VladimirMangos.

--HG--
branch : trunk
2010-06-09 19:38:15 -03:00
Tartalo
2457c5a174 Add copyright notes to CMake files
--HG--
branch : trunk
2010-06-09 15:39:34 +02:00
Tartalo
767d9b4091 Strip trinityscript ASCII banner
--HG--
branch : trunk
2010-06-09 15:21:43 +02:00
Rat
4cdb5c78f2 added revision.h O.o
game.vcproj update , game.lib now buildable
todo: auth+world server

--HG--
branch : trunk
2010-06-09 14:05:50 +02:00
Machiavelli
f24290b47e Typo (It´s not like you can compile anyways)
--HG--
branch : trunk
2010-06-09 10:04:42 +02:00
Machiavelli
81bba22353 Update structure SMSG_AUTH_RESPONSE with response code AUTH_WAIT_QUEUE.
Fixes issue #2631

--HG--
branch : trunk
2010-06-09 09:59:28 +02:00
Brian
02efe02b43 * Added missing include paths that got lost in the merge a few revs ago
* Fixed realative path to Reference.h
* Re-enabled PCH building by default
* Re-enabled scripts building by default
* Linux compile now fully functional again.

--HG--
branch : trunk
2010-06-09 00:34:22 -06:00
Brian
bc04d7ce25 * Remove the last of the realative paths from #include statements
--HG--
branch : trunk
2010-06-08 17:01:03 -06:00
Brian
dee7fd1382 * Remove more not needed relative paths in include files
--HG--
branch : trunk
2010-06-08 16:13:55 -06:00
Brian
9b6669e5f3 * Remove more relative paths from includes
--HG--
branch : trunk
2010-06-08 15:50:23 -06:00
click
7561bab716 Change around some more headers to adhere to new strucutre and namebase
--HG--
branch : trunk
2010-06-08 23:44:55 +02:00