Commit Graph
712 Commits
Author SHA1 Message Date
Shauren 2ea043484d It is now possible to use CMake on windows for proper build (PCH support included)
Merged PCH header into gamePCH since they became the same after these changes

--HG--
branch : trunk
rename : src/server/game/PrecompiledHeaders/NixCorePCH.cpp => src/server/game/PrecompiledHeaders/gamePCH.cpp
rename : src/server/game/PrecompiledHeaders/NixCorePCH.h => src/server/game/PrecompiledHeaders/gamePCH.h
2010-06-30 13:10:13 +02:00
Shauren b0d5071598 Added rename forgotten in revision 1744c10a1b
--HG--
branch : trunk
2010-06-30 10:55:12 +02:00
Tartalo aa9b52c67a bypass Map::CanEnter() checks on login (fixes a crash)
Need info about this bypass is exploitable or not

--HG--
branch : trunk
2010-06-29 15:41:39 +02:00
Shauren 9a648e120d This should not be there
--HG--
branch : trunk
2010-06-29 14:33:07 +02:00
Shauren 4b19773df1 Added support for SPELL_AURA_SCHOOL_HEAL_ABSORB (301)
--HG--
branch : trunk
2010-06-29 14:20:49 +02:00
Machiavelli 87cc652a82 Replace some misplaced DirectExecute´s with delayed Execute calls. DirectExecute at this moment should only be used for transaction control and not for dynamic content.
--HG--
branch : trunk
2010-06-28 23:19:54 +02:00
Tartalo 948f333dc3 Little fix for Vehicle inmunities hack.
Closes issue #2590
We must found a less hacky way to handle this

--HG--
branch : trunk
2010-06-28 22:23:57 +02:00
Tartalo de71d39abf Apply inmunities to vehicle's on its creation, by Josh
--HG--
branch : trunk
2010-06-28 20:56:29 +02:00
Xanadu ebadd7ef79 Merge
--HG--
branch : trunk
2010-06-28 20:35:58 +02:00
Xanadu bde8e96cc5 Aspect of the Viper now correctly displayed as a buff. Closes issue #107.
--HG--
branch : trunk
2010-06-28 20:34:11 +02:00
Tartalo 5d3a529e84 Merge
--HG--
branch : trunk
2010-06-28 20:32:56 +02:00
Tartalo bb6d8a7e67 MapManager uses proper Map::CanEnter() function instead of rewriting the same
checks (we could move more code to there)

--HG--
branch : trunk
2010-06-28 20:31:20 +02:00
Supabad b9a2bd24f7 minor change to destructable buildings.
--HG--
branch : trunk
2010-06-28 18:45:54 +02:00
click 72de3dd6c4 Remove hardcoded stacking for ammunition-types (should now stack properly)
--HG--
branch : trunk
2010-06-28 17:12:36 +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
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
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 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 73a2a21ee4 Fix possible crash
--HG--
branch : trunk
2010-06-26 21:15:48 +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
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 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 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