Commit Graph
3129 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
Brian d2f6ae6f77 * Fix creatures spawning with less than max health if curhealth field in
* creature is != maxhealth in creature_template and the creature is supposed
* to regenerate health.
* Patch courtesy of Visagalis
* Thanks for taking the time to fix this LONG outstanding bug

--HG--
branch : trunk
2010-06-28 06:42:01 -06: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 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
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 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
Brian 852a0c44a2 * Renamed PoolHandler to PoolMgr since the pool systems has nothing to do with
* the client/server protocol.

--HG--
branch : trunk
rename : src/server/game/Pools/PoolHandler.cpp => src/server/game/Pools/PoolMgr.cpp
rename : src/server/game/Pools/PoolHandler.h => src/server/game/Pools/PoolMgr.h
2010-06-25 03:50:19 -06:00
Rat f01ef873fb fixed some loot condition reload bugs
--HG--
branch : trunk
2010-06-25 16:38:02 +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
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 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