Commit Graph
100 Commits
Author SHA1 Message Date
Machiavelli b6e180c17c Add PreparedStatementHolder class that will be used for registering and calling prepared statements on the MySQL server.
Information about prepared statements can be found here: http://dev.mysql.com/tech-resources/articles/4.1/prepared-statements.html
In short: better performance shall ensue.

--HG--
branch : trunk
2010-06-28 16:09:06 +02:00
click 988467467c Properly initialize variable in WorldObject::PlayDirectSound()
Fixes issue 2838

--HG--
branch : trunk
2010-06-28 14:40:57 +02:00
Supabad 37529a1e9f add forgotten header for leviathan
--HG--
branch : trunk
2010-06-28 14:24:35 +02:00
Supabad 418360d8f9 Add Hard Mode support to Flame Leviathan. more code cleanup.
Big Thanks to all who participated.

--HG--
branch : trunk
2010-06-28 14:05:32 +02:00
Xanadu 0485d99e5d Fixed periodic damage for stackable auras (Deadly Poison...). Patch by Lyall. Closes issue #1368.
--HG--
branch : trunk
2010-06-28 05:26:00 +02:00
Tartalo f4531c5a58 Violet Hold: Add crystal mechanic support to Portal's and Ichoron's adds
--HG--
branch : trunk
2010-06-28 01:04:13 +02:00
Tartalo cba6515acb Violet Hold: Add crystal activation support backend to instance script.
Support is not used yet by the instance mechanic so is not usable as is

--HG--
branch : trunk
2010-06-28 00:49:21 +02:00
Tartalo 068810d045 Violet Hold: Implement Defenseless Achievement
--HG--
branch : trunk
2010-06-27 22:53:35 +02:00
Tartalo 4c59bf69dc Violet Hold: Add copyright note
--HG--
branch : trunk
2010-06-27 22:52:37 +02:00
Xanadu ba2e5ec2a2 Fixed Shiv.
* Now it does weapon dmg and adds a combo point even without poison (yes, that's blizzlike).
* Poisons from Shiv cannot crit.
* No more double poison procs.

--HG--
branch : trunk
2010-06-27 20:40:41 +02:00
Machiavelli 0b063e189b Better way to check for RandomProperty == -1, assign 0 to it for now.
--HG--
branch : trunk
2010-06-27 19:46:25 +02:00
Machiavelli cd47c87a7c Added tag UP31 for changeset 01713607e30d
--HG--
branch : trunk
2010-06-27 12:15:29 +02:00
teacher 2e70b0b5d4 Moved sql update files to 3.3.3a_old directory. You know what that means!
--HG--
branch : trunk
2010-06-27 11:57:07 +02:00
Machiavelli 60349c5700 Remove some faulty code for picking a random item enchant if RandomProperty is -1. This will have to be implemented correctly later.
Also prevent the core throwing errors when loading items with RandomProperty -1

--HG--
branch : trunk
2010-06-27 11:48:33 +02:00
teacher 499fa9b7cb Added missing script to full (thank you azazel_kon for spotting them).
Small sql editing (cosmetic, NO sql need to be re-applied).

--HG--
branch : trunk
2010-06-27 11:30:38 +02:00
Machiavelli 85114979f8 Update ConfusedMovementGenerator with some coordinate sanity checks.
Please leave feedback on how this affects:
- Confused movement (polymorph, blind, etc)
- Stability with vmaps enabled

--HG--
branch : trunk
2010-06-27 04:54:51 +02:00
Xanadu 5870b57532 Get rid of a compile warning.
--HG--
branch : trunk
2010-06-27 04:30:11 +02:00
Xanadu 39429b0548 Dispell code cleanup - GetDispelChance now really returns dispel chance and not resist chance.
--HG--
branch : trunk
2010-06-27 04:03:30 +02:00
Machiavelli 26f4fae802 Fix bug that creatures which use FleeingMovementGenerator would not attack after respawning.
Bug was caused by improper react state

--HG--
branch : trunk
2010-06-27 03:47:18 +02:00
Tartalo 0fd3e47edc Fix crash when applying mind control to vehicles
Closes issue #2816
What should happen when mind control is applied to vehicles?

--HG--
branch : trunk
2010-06-27 00:58:04 +02:00
Tartalo 59ca58a49f Violet Hold, Cyanigosa: Clear transformation on EnterCombat, now is handled by
instance script

--HG--
branch : trunk
2010-06-26 23:43:15 +02:00
Tartalo 1361b8b86c Violet Hold: Azure Saboteour animation on boss encounters, by DenissRassman
From issue #2180

--HG--
branch : trunk
2010-06-26 23:40:24 +02:00
Tartalo 3da0d1d5b2 Violet Hold: Cyanigosa's pre-fight animation, by DenissRassmann
From issue #2810

--HG--
branch : trunk
2010-06-26 22:35:23 +02:00
Tartalo 1b95df4194 Violet Hold: bosses go out of the cell when door is open, by DennisRassmann
From issue #2810

--HG--
branch : trunk
2010-06-26 22:09:11 +02:00
Tartalo 73a2a21ee4 Fix possible crash
--HG--
branch : trunk
2010-06-26 21:15:48 +02:00
Tartalo 037857c2ce Another fix for naxx GO handling
--HG--
branch : trunk
2010-06-26 21:12:22 +02:00
Tartalo 20585e0fc5 Fix naxxramas saving
--HG--
branch : trunk
2010-06-26 20:19:37 +02:00
Tartalo d0be4e2cad Remove duplicated job
--HG--
branch : trunk
2010-06-26 20:18:41 +02:00
Tartalo 3614f7b089 Load&save gothik's door state on instancedata load&save
Partial fix for issue #1244

--HG--
branch : trunk
2010-06-26 20:11:34 +02:00
Tartalo ce94851015 Add forgotten return
--HG--
branch : trunk
2010-06-26 17:57:49 +02:00
Tartalo e2f0b19f99 Branch merge
--HG--
branch : trunk
2010-06-26 14:07:36 +02:00
Tartalo 57687c5c40 Allow GMs to bypass instance entry requirements
--HG--
branch : trunk
2010-06-26 14:06:29 +02:00
Machiavelli d2553a138a Use valid coördinates for Unit::UpdateUnderWaterState instead of raw coördinates. Fixes another potential crash related to vmaps.
Updates issue #2748

--HG--
branch : trunk
2010-06-26 13:41:36 +02:00
Tartalo 26da69a544 Fix some deprecated checks on MapManager::CanPlayerEnter()
--HG--
branch : trunk
2010-06-26 13:32:24 +02:00
Machiavelli 23ec7faf73 Typo
--HG--
branch : trunk
2010-06-26 13:06:36 +02:00
Machiavelli fac0ff3232 Also check for valid Y and O coordinates in Unit::SetPosition. Fixes another loophole related to vmaps.
--HG--
branch : trunk
2010-06-26 12:32:29 +02:00
Rat 6693bf5092 removed unneeded debug lines from conditions loading
--HG--
branch : trunk
2010-06-26 10:57:19 +02:00
Machiavelli 4357846c3c Remove a hack (added by someone that will NOt be NAMEd) that caused too high experience bonus for heirlooms. Heirloom experience bonus was already handled perfectly.
--HG--
branch : trunk
2010-06-26 02:02:59 +02:00
click 2b29d4e65d Don't return mails to non-existing characters (thanks to laviniu for finding the bug)
--HG--
branch : trunk
2010-06-25 21:49:27 +02:00
click 3d40804a33 Opcode updates (thanks to LordJZ)
--HG--
branch : trunk
2010-06-25 21:41:43 +02:00
click 07ede97b93 Initialize battleground difficulty before initializing it (thanks to kapate for the heads up)
--HG--
branch : trunk
2010-06-25 21:28:39 +02:00
click 06cd5563b6 Use the correct CMake-variable for where to place the generated revision.h file (whops)
--HG--
branch : trunk
2010-06-25 19:13:14 +02:00
click 09cde73072 Set revision.h to be a prerequisite of worldserver and authserver building on *nix
--HG--
branch : trunk
2010-06-25 18:00:51 +02:00
Rat be2d40d189 added externals/lib/ to .hgignore
--HG--
branch : trunk
2010-06-25 16:41:44 +02:00
Rat f01ef873fb fixed some loot condition reload bugs
--HG--
branch : trunk
2010-06-25 16:38:02 +02:00
Xanadu 711c12a68e Fixed win tool build.
--HG--
branch : trunk
2010-06-25 16:23:14 +02:00
Xanadu fec8ca58b5 Simplified and cleaned up honor calculation.
--HG--
branch : trunk
2010-06-25 15:58:27 +02:00
Machiavelli 66535c3700 Remove redundant accountid check in Item::IsBindedNotWith. Fixes the issue that BOA items would get stuck in the mail when original sender had deleted their character before the recipient could pick it up.
--HG--
branch : trunk
2010-06-25 15:22:06 +02:00
Shauren 456c6291ab Move trade data to dynamic structure and added support for applying enchant after trade ends, based on Vladimir's commits
--HG--
branch : trunk
2010-06-25 13:15:51 +02:00
Xanadu eb79fb91a6 Now that we know how to build mysql lib from sources on Win x64 thanks to Scazzato88, we can as well do it. Closes issue #2803.
Use with 8722_openssl_libs.zip from the download section, for details see the forum.

--HG--
branch : trunk
2010-06-25 06:57:32 +02:00
Machiavelli d54b534dca Small cleanup in Master class, thanks to [email protected]
Closes issue #2793

--HG--
branch : trunk
2010-06-25 01:30:06 +02:00
Machiavelli 19f69d2bad Merge
--HG--
branch : trunk
2010-06-25 01:13:58 +02:00
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
Xanadu 3051d245b7 Fixed win x64 build - it no longer tries to build mysql libs from the source but instead uses the lib binaries you supply - see the forum for details.
--HG--
branch : trunk
2010-06-25 01:11:19 +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