Commit Graph
100 Commits
Author SHA1 Message Date
Xanadu 5fa2becbff Merge
--HG--
branch : trunk
2010-06-22 02:54:36 +02:00
Xanadu c9b20170a3 Cleanup of logging - removed a few duplicit functions from olden times, fixed a typo.
--HG--
branch : trunk
2010-06-22 02:53:04 +02:00
Machiavelli a765961618 Fix player loading to transports. Author of original version: Vladimir
--HG--
branch : trunk
2010-06-22 01:30:37 +02:00
Machiavelli 0aa52477ae Simplify and cleanup Transport system. Author: Vladimir.
--HG--
branch : trunk
2010-06-22 01:29:02 +02:00
Machiavelli eefe75a31f Fix possible bug occuring during shuffling of raid subgroups, and prevent client side exploit. Author: Vladimir.
--HG--
branch : trunk
2010-06-22 00:42:31 +02:00
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 06ef6e2553 Update worldserver log message to indicate which database has a config problem, by Ranger.
Minor codestyle applied in function.

--HG--
branch : trunk
2010-06-21 23:58:27 +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
teacher 5c86cc2aee Added forgotten spell_linked_spell values in previous commit (thank you Gyullo for spotting it).
Added place holder for serverside spell.

--HG--
branch : trunk
2010-06-21 22:12:14 +02:00
teacher f95bc8e077 Drop cond3 fields in gossip_menu_option table (the sql update was forgotten when condition table was implemented) and finally update world_database.sql accordingly.
Removed all vehicle and gossip data from world_database.sql. DB projects must now handle such data.
One file renamed (cosmetic) (thx Aokromes for spotting it).

--HG--
branch : trunk
2010-06-21 15:21:48 +02:00
click 3b81567acf Set CMake to compile jemalloc only on linux, and also set ace/bzip2/zlib to only be compiled on "true" Windows-platforms
--HG--
branch : trunk
2010-06-21 12:43:39 +02:00
teacher f9f72b53af Added missed sql update file for Rev 8613.
Removed hackish non-TrinityCore related 8640_world_creature_template.sql. Proper fix can be found on forum (Accepted Fixes). Don't worry if you used it, it was a harmless hotfix and it will not cause any issue when using proper fix from forum.
Added to world_database missed changes updates.
Minor sql standards cleanup.

--HG--
branch : trunk
2010-06-21 09:34:38 +02:00
Rat f12131020d Additional Options
--HG--
branch : trunk
2010-06-21 07:45:34 +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
Rat 833302c687 added x64 build for mysql, should work, but can not test atm
--HG--
branch : trunk
2010-06-20 18:42:53 +02:00
Rat 19d9ef73c3 why are vcprojs added to ignore list.. O.o
--HG--
branch : trunk
2010-06-20 18:05:18 +02:00
Rat 62a30e0549 update .hgignore for Tools dir under win
--HG--
branch : trunk
2010-06-20 17:17:18 +02:00
Rat c43ef87c34 use new mysql for win build
+small include fix

--HG--
branch : trunk
2010-06-20 17:14:52 +02:00
Rat e0a5d00116 added mysql source for win build
--HG--
branch : trunk
2010-06-20 17:13:10 +02:00
Rat fc0dc9556d update packagelist.txt with correct version infos
--HG--
branch : trunk
2010-06-20 17:10:45 +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
Shauren e00345dc0e This should fix ACE compile on x64 windows
--HG--
branch : trunk
2010-06-20 13:20:58 +02:00
Tartalo 47955ba8a8 Nicer approach for Repeteance fix using spell_linked_spell
--HG--
branch : trunk
2010-06-20 11:54:28 +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
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
Xanadu 0e4954df2e Fixed the client crash near Exodar mysteriously caused by a model ID. Closes issue #2731.
--HG--
branch : trunk
2010-06-19 21:23:56 +02:00
click 3e03e8d26b FIx vmap3_assembler compile on linux
--HG--
branch : trunk
2010-06-19 21:17:26 +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
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 706c0568a5 Changed PKs in world_database.sql...which I forgot to do in 8625.
--HG--
branch : trunk
2010-06-18 22:38:18 +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
Shauren 7ef4418d51 Fixed TrinityRealm build issues on windows x64
--HG--
branch : trunk
2010-06-17 21:37:21 +02:00
Shauren 68e8ac3336 This should fix g3dlite compile on windows x64
--HG--
branch : trunk
2010-06-17 21:00:03 +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
click d027d64f2f Fix issue where the MySQL library/include searchmacro wouldn't detect the MySQL-libraries/headers - it now respects the result from mysql_config properly
--HG--
branch : trunk
2010-06-17 01:17:33 +02:00
click b637ddf1ce Tempfix for detecting the threadsafe mysl-library (the detectionroutine needs to properly use mysql_config if available, and for some odd reason it doesn't)
--HG--
branch : trunk
2010-06-17 00:22:12 +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 560f3bb87b Added OpenSSL registry path for win 7 x64.
--HG--
branch : trunk
2010-06-16 06:41:57 +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
John Holiver 1955d42ae4 Drop Flag on Nitro Boost usage for WSG and EoS.
By Gyullo. Fixes issue 2166.

--HG--
branch : trunk
2010-06-15 20:34:29 -03:00
Shauren 05178900db Add support for detecting openssl with cmake using registry (windows)
--HG--
branch : trunk
2010-06-15 20:06:05 +02:00
click d63b601f61 First part of supporting CMake under Windows - this is WIP, and if you want to work on it, be on IRC.
This is NOT a complete product, but we need all hands on deck to get this sorted out ASAP, and as such we throw it in.
No changes are done to Windows buildmethods untill this is -completed- and -working-.

--HG--
branch : trunk
2010-06-15 19:19:17 +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
Xanadu edb8c7a8aa Removed useless comment columns from the pool system DB tables.
--HG--
branch : trunk
2010-06-14 22:22:11 +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
John Holiver c88ecf99c3 Missing file from the last commit.
--HG--
branch : trunk
2010-06-14 11:44:55 -03:00
John Holiver 07289ab4f2 Fix Nature's Guardian ICD (5->30).
--HG--
branch : trunk
2010-06-14 11:40:25 -03:00
click d226e92ebb Fix linux compileissues when compiling with scripts - I actually forgot to reinstate it when cleaning up the CMakeLists.txt earlier. Sorry!
--HG--
branch : trunk
2010-06-14 11:27:44 +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
click 5c8ccefef5 Remove duplicate DO_WARN conditional in toplevel CMakeLists.txt (thanks to imbecile for spotting)
--HG--
branch : trunk
2010-06-13 17:36:05 +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 34617d0965 Correction on scripts config-entry in CMakeLists.txt + some generic cleanup on the output
+ set proper cmake-tagging when building in release- or debug-mode

--HG--
branch : trunk
2010-06-13 00:15:23 +02:00
Shauren 38417ef2f6 Added forgotten field to item_set_names since this data come from WDB
--HG--
branch : trunk
2010-06-12 17:21:21 +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