Commit Graph

7582 Commits

Author SHA1 Message Date
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
Xanadu
ec63820f56 * Fixed extraction tools windows compile and core windows compile for 32-bit targets. This should do until sufficiently good project files can be generated using cmake.
* Windows users need to download 8615_mysql_openssl_libs.zip from the project download page and unpack it to /externals.

--HG--
branch : trunk
2010-06-16 06:36:35 +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
c3fed147d7 Removed useless vmap assembler solution file
--HG--
branch : trunk
2010-06-14 21:10:08 +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
click
8a2a82d1e8 port over some usability-fixes from lynx3d on the vmapextractor and remove an old header-relic
--HG--
branch : trunk
2010-06-13 20:36:07 +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
6520261ea6 Added _CRT_SECURE_NO_WARNINGS preprocessor definition to windows project files to reduce warning spam
Removed duplicate project file for map extractor

--HG--
branch : trunk
2010-06-13 13:05:25 +02:00
click
057ea32adf Fix issues with missing the printf()-function on newer distributions (thanks to svannon and brian for helping)
--HG--
branch : trunk
2010-06-12 00:45:24 +02:00
click
ccbff7a194 Remove README for the mapextractor, it's not used!
--HG--
branch : trunk
2010-06-11 23:14:14 +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
Shauren
96ac28ebad Fixed vmap assembler build in release mode - windows
Working as of this commit: map extractor debug, vmap extractor both and vmap assembler release

--HG--
branch : trunk
2010-06-11 13:57:10 +02:00
Shauren
5caa7e9c95 Fixed vmap extractor build on windows
--HG--
branch : trunk
2010-06-11 12:56:22 +02:00
Shauren
4d84a4e82e Fixed libmpq build on windows
Added 1 solution for map extractor, vmap extractor and vmap assembler
Fixed debug build of map extractor (windows), don't forget to compile dependencies (external - bzip, libmpq and zlib)

--HG--
branch : trunk
2010-06-11 12:25:49 +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
f3bf8f8778 If you allocate memory with malloc() you should deallocate it with free(), strdup() allocates with malloc() so use free() to deallocate it :).
--HG--
branch : trunk
2010-06-11 01:30:46 +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
Shauren
61bc0dce35 Fixed windows compile for game and TrinityCore
NOTE: config renamed from TrinityCore.conf to worldserver.conf

--HG--
branch : trunk
2010-06-10 19:22:53 +02:00
Shauren
7195abfad0 Fixed TrinityRealm compile on windows
Fixed shared build on windows fully

NOTE: TrinityRealm config file has been renamed to authserver.conf!

--HG--
branch : trunk
2010-06-10 16:39:51 +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
Shauren
489785418e win build: fixed game pch, generating revision.h, realm source dirs (but it doesnt build yet)
--HG--
branch : trunk
2010-06-09 22:22:02 +02:00
Tartalo
bddfebb0c7 add -v version option to map_extractor
--HG--
branch : trunk
2010-06-09 17:20:06 +02:00
Brian
5ee985b231 * Rename trinitycore.conf / ico / windows properties
--HG--
branch : trunk
rename : src/server/worldserver/trinitycore.conf.dist => src/server/worldserver/worldserver.conf.dist
rename : src/server/worldserver/TrinityCore.ico => src/server/worldserver/worldserver.ico
rename : src/server/worldserver/TrinityCore.rc => src/server/worldserver/worldserver.rc
2010-06-09 07:53:07 -06:00
Brian
bdb4b2bf8f * Rename conf file / icon file / Window file properties
--HG--
branch : trunk
rename : src/server/authserver/trinityrealm.conf.dist => src/server/authserver/authserver.conf.dist
rename : src/server/authserver/TrinityRealm.ico => src/server/authserver/authserver.ico
rename : src/server/authserver/TrinityRealm.rc => src/server/authserver/authserver.rc
2010-06-09 07:48:29 -06:00
Tartalo
4323ba11d3 Fix some typos on authserver & worldserver renaming
--HG--
branch : trunk
2010-06-09 15:47:00 +02: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
Tartalo
078a73692a Rename trinity-realm to authserver
--HG--
branch : trunk
2010-06-09 15:13:07 +02:00