Commit Graph
100 Commits
Author SHA1 Message Date
Machiavelli c107b39421 Store refundable items for Player class instance per lowguid instead of fullguid.
--HG--
branch : trunk
2010-06-25 01:11:36 +02:00
Machiavelli 275469a930 Fix a crash in BuildPlayerTalentsInfoData.
--HG--
branch : trunk
2010-06-25 00:33:45 +02:00
Machiavelli 0f7657b68c Get rid of Trinity Singleton and Threading patterns and replace them with ACE_Singletons and ACE_GUARD_x macro´s with ACE_Thread_Mutex´es respectively.
Also get rid of unused CountedReference class that used Trinity threading pattern.

--HG--
branch : trunk
2010-06-25 00:18:01 +02:00
Xanadu a6b9e716a6 Fixed the compile.
--HG--
branch : trunk
2010-06-24 23:59:42 +02:00
click 7c6be33ae0 Revert previous commit.
--HG--
branch : trunk
2010-06-24 20:13:07 +02:00
click 931a827a0f Fix genrevision to use the revision of the CHECKED OUT sourcetree, not the revision from when it was last CACHED (BAH-HUMBUG-CRAP-BUG! Grrrr...)
--HG--
branch : trunk
2010-06-24 18:46:38 +02:00
click e7a3785d73 Merge
--HG--
branch : trunk
2010-06-24 17:34:30 +02:00
click 0b2dad9c97 Remove a possible NaN-value in WorldObject::HasInArc (thanks to arrai)
+ do some hack'n'slash-work on the CMakeLists with my trusted axe ( I just LOVE being a viking - I get to wield an axe for free!)

--HG--
branch : trunk
2010-06-24 17:32:50 +02:00
Tartalo e0507a4a8d Fix logic on namego
Now is possible to namego to a player inside an arena, by filip.havlicked
Closes issue #2130

--HG--
branch : trunk
2010-06-24 15:48:17 +02:00
Tartalo 38fa3c212b Fix primal tenacity reduce damage while stunned only on cat form, by laise
Closes issue #1143

--HG--
branch : trunk
2010-06-24 15:32:11 +02:00
Tartalo dbe29795d5 Branch merge
--HG--
branch : trunk
2010-06-24 15:13:15 +02:00
Tartalo 55ca26294a Fixed Shadow Ward coefficient, by dr.te...
--HG--
branch : trunk
2010-06-24 15:12:01 +02:00
click 35aa050db8 Temporary fix linux build (back to cmake 2.6.0 standards untill a better solution is found)
+ clean up the base cmakelists.txt a bit
+ remove a GCC-warning when attempting build from a CMake-generated VS-project/solution

--HG--
branch : trunk
2010-06-24 15:08:01 +02:00
Tartalo c21c24d461 Fix Ice barrier scaling, Fire Ward & Frost Ward, by dr.te...
--HG--
branch : trunk
2010-06-24 15:05:55 +02:00
Shauren a5a2676e88 Fixed OpenSSL cmake detection for x64 windows
--HG--
branch : trunk
2010-06-24 12:37:08 +02:00
Machiavelli 73ae5910d8 Fix an even sillier typo that broke compile
--HG--
branch : trunk
2010-06-23 20:13:32 +02:00
Machiavelli e75c39781f Fix 2 silly typo´s in GroupHandler.
- No longer can any party member invite a new member
- Assinging raid roles is doable by raid assistant again

--HG--
branch : trunk
2010-06-23 19:05:35 +02:00
Shauren 606b27eb6b minor fixes in boss_morogrim_tidewalker
--HG--
branch : trunk
2010-06-23 14:08:03 +02:00
Machiavelli b823302088 Remove a duplicate query.
--HG--
branch : trunk
2010-06-23 13:31:17 +02:00
click ceac6cd63a Correction on LoadDBC counter - no more 102%... for now :D
--HG--
branch : trunk
2010-06-23 11:45:30 +02:00
click 7bf807aee4 Kill off the issues with the map/dbcextractors - and a thanks to imbecile@lavabit for the comment about loadlib.h
Just now the intent was to get it sorted out, as we might merge the tools into one "datatool" for all of this stuff.

--HG--
branch : trunk
rename : src/tools/map_extractor/loadlib/adt.cpp => src/tools/map_extractor/adt.cpp
rename : src/tools/map_extractor/loadlib/adt.h => src/tools/map_extractor/adt.h
rename : src/tools/map_extractor/loadlib/loadlib.cpp => src/tools/map_extractor/loadlib.cpp
rename : src/tools/map_extractor/loadlib/wdt.cpp => src/tools/map_extractor/wdt.cpp
rename : src/tools/map_extractor/loadlib/wdt.h => src/tools/map_extractor/wdt.h
2010-06-23 10:16:40 +02:00
Xanadu 30a59b7b69 Mobs can no longer crit with spells. Closes issue #1704. Based on patch by PSZ.
--HG--
branch : trunk
2010-06-23 05:04:24 +02:00
Xanadu 05976b7708 Fixed Divine Hymn, Hymn of Hope, Dispersion and Amplify Magic being erroneously displayed as debuffs, instead of buffs. Based on previous thenecromancer's implementation.
--HG--
branch : trunk
2010-06-23 03:45:44 +02:00
Machiavelli 31e369b281 Remove obsolete table transport_event_scripts.
--HG--
branch : trunk
2010-06-23 03:35:12 +02:00
Machiavelli b917d5029e Preload grid on flightpath 2 nodes before final node instead of halfway.
Previous setup could preload grid in a long flight and unload it again in the very same flight.

--HG--
branch : trunk
2010-06-23 02:03:50 +02:00
Machiavelli 968c27f55f Implement taxi/transport event scripts support. Author: Vladimir
--HG--
branch : trunk
2010-06-23 01:59:32 +02:00
Xanadu ffaffe3fd7 * Renamed several VS projects and the executables they produce to reflect the new naming convention.
* Cleaned up some useless and redundant preprocessor definitions.
* Fixed the win build so that it correctly uses the mysql lib it built from the sources.
* Note that you still need to use 8615_mysql_openssl_libs.zip for the OpenSSL binaries.
* Also note that Win x64 build from the existing VS files is still fubar (mysql lib...).

--HG--
branch : trunk
2010-06-23 01:47:41 +02:00
Machiavelli 27062ffd61 Avoid redundant data copy in transport waypoints generation. Author: Vladimir
--HG--
branch : trunk
2010-06-23 01:28:57 +02:00
Machiavelli d50cb473cb Use original taxipath data in taxi flight movement generator. Author: Vladimir
+ Cleanup

--HG--
branch : trunk
2010-06-23 00:57:16 +02:00
click 922000a576 Fix vmap3extractor for windows again...
(Silly Microsoft and their idiotic "let's make SURE others can't use something that would make their lives easier")
http://msdn.microsoft.com/en-us/library/ms724897%28VS.85%29.aspx <--- the culprit (BLAAAAH!)

--HG--
branch : trunk
2010-06-22 17:04:37 +02:00
click 4b9ec1b539 Fix use of vmap3extractor on 64-bit *nix-systems
--HG--
branch : trunk
2010-06-22 16:04:05 +02:00
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