Commit Graph

8336 Commits

Author SHA1 Message Date
silinoron
c09528a6bf Fix spellstealing durations when duration of stolen buff is infinite.
Based on patch by Toni.Shocker.
Fixes issue #3550
Fixes issue #3017

--HG--
branch : trunk
2010-08-23 15:10:27 -07:00
silinoron
1691065162 Damage over time spells should not cause spell pushback.
Based on patch by Toni.Shocker.
Fixes issue #3551

--HG--
branch : trunk
2010-08-23 15:06:51 -07:00
silinoron
29daa0bb84 Glyph of Innervate should return 45% of base mana instead of total.
Patch by Toni.Shocker.
Fixes issue #3553

--HG--
branch : trunk
2010-08-23 14:56:48 -07:00
silinoron
e581feb551 Pets should inherit owner's hostility status for the purposes of target checking
Based on patch by Toni.Shocker
Fixes issue #3552

--HG--
branch : trunk
2010-08-23 14:46:10 -07:00
John Holiver
181b995e38 Fix Priest T10 Healer 2P Bonus.
Thanks to Arcane.
Expect more tier bonus fixes. :D

--HG--
branch : trunk
2010-08-23 16:09:09 -03:00
silinoron
062f4267b5 Fix instance script for the Nexus.
Fixes issue #3572
Thanks seaofgreen@gmx.net

--HG--
branch : trunk
2010-08-23 11:23:22 -07:00
Machiavelli
32780c2280 typo
--HG--
branch : trunk
2010-08-23 19:25:50 +02:00
Machiavelli
3561270c64 Fix query in ObjectAccessor::ConvertCorpseForPlayer
Thanks to tru.bazoozoo and daibo411

--HG--
branch : trunk
2010-08-23 19:03:53 +02:00
azazel
caa3a58213 Core:
* add Player::HasEnoughMoney methods to check, whether player has specified amount of money and use new methods where applicable
* fix some signed/unsigned warnings and some typos

--HG--
branch : trunk
2010-08-23 22:58:32 +06:00
John Holiver
ad5c8cadf1 Fixes Mage T10 bonus. Thanks to Dr.Tenma. Close issue #3423
--HG--
branch : trunk
2010-08-23 13:26:25 -03:00
Machiavelli
2a57bc9cdc - Fix potential singleton memory deallocation problems
- Fix ¨mysql_global_end() 1 thread didn´t exit¨ error
Author: Derex

--HG--
branch : trunk
2010-08-23 18:15:01 +02:00
Spp
050f85b2c6 Core: Fix Windows compile
--HG--
branch : trunk
2010-08-23 15:46:12 +02:00
Spp
51d8333ccc Core: Fix more warnings
--HG--
branch : trunk
2010-08-23 15:11:06 +02:00
Brian
39247aba30 Core: Remove outdated comment
--HG--
branch : trunk
2010-08-20 04:45:12 -06:00
Spp
2f86baf20e Core/Vendors: Fix typo that prevented alliance GM from viewing horde items in vendors
--HG--
branch : trunk
2010-08-23 14:12:39 +02:00
Spp
58e94dcb9d Core: Fix more warnings
--HG--
branch : trunk
2010-08-23 14:10:24 +02:00
Spp
16d95d3115 Core: Fix some warnings
--HG--
branch : trunk
2010-08-23 07:51:19 +02:00
silinoron
ccc2a83510 * Some consistency changes.
* Move spell 6962 to spell scripts and make sure to set deathstate.

--HG--
branch : trunk
2010-08-22 21:07:18 -07:00
silinoron
5cbae843d5 Core/Game: fix all warnings related to converting doubles and floats.
--HG--
branch : trunk
2010-08-22 12:39:39 -07:00
azazel
399e35f8f5 Core:
* fix "warning C4305: 'initializing' : truncation from 'double' to 'float'" warnings
* fix some other warnings here and there

--HG--
branch : trunk
2010-08-22 23:46:40 +06:00
click
d38135d1fd Core: Remove function-redefinitions for Windows (for now) - we'll sort this out later
--HG--
branch : trunk
2010-08-22 19:40:43 +02:00
click
5eb1802ef5 Fix typo - thanks menke
--HG--
branch : trunk
2010-08-22 17:15:45 +02:00
click
0e307c4b07 Core/SOAP: Fix semaphore locking on non-POSIX systems (thanks to menke/arrai)
--HG--
branch : trunk
2010-08-22 16:57:06 +02:00
click
5739c2efa9 Core: replace redirectional outStaticDebug with a copy of debug for future use and rewrite
--HG--
branch : trunk
2010-08-22 16:33:43 +02:00
John Holiver
3fb1c08d20 Core/Script/Spells: Trial of the Crusader
* Keep in mind that this is a WIP although is extremely playable as it is.
* Known bugs are writen at the header of each file.
* If u know how to correctly solve any of those bugs or found a new bug, please report and, if you may, provide a fix for us to review.
* I'd like to thank all Trinity Community (in special, Shauren, QAston, Bio, Josh), rsa from SD2 for providing the base, all the ppl that helped me test and review so many many times.
* I personally have been working on this code since TC was near rev 8000 so i will take a break from it to work on other stuff (specially cause most of the bugs i was unable to solve alone).
* I'd like to strongly encourage others to provide the improvements that this instance need to become perfect.
* FInally, this commit might have something missing... i'll recheck as soon as i wake up tomorrow morning.

--HG--
branch : trunk
2010-08-22 05:55:54 -03:00
azazel
2a130e07bf Scripts:
* Fix crash in boss_morogrim_tidewalker script (thanks Toni.Shocker). Close issue #3531
* Small cleanup of code for boss_morogrim_tidewalker (used enum instead of defines, removed warnings and obsolete code)

--HG--
branch : trunk
2010-08-22 13:27:22 +06:00
azazel
b0086ce4fc Fix logic in SpellScript (thanks Toni.Shocker)
--HG--
branch : trunk
2010-08-22 13:04:10 +06:00
click
670964803f Core: Fix more warnings, add new function sLog.outStaticDebug() that replaces DEBUG_LOG
--HG--
branch : trunk
2010-08-22 01:57:04 +02:00
Spp
a40cb46e61 Core: fix "comparison of unsigned expression < 0 is always false" warnings
--HG--
branch : trunk
2010-08-21 23:40:53 +02:00
Spp
572f7bbd1d Core: Remove "may be used uninitialized in this function", "unused parameter ‘xxx’" and "'xxx' defined but not used" warnings
--HG--
branch : trunk
2010-08-21 23:08:54 +02:00
Spp
a136403dee Core: Remove "suggest parentheses around ‘&&’ within ‘||’" and "suggest parentheses around assignment used as truth value" warnings
--HG--
branch : trunk
2010-08-21 21:54:41 +02:00
Spp
c15c605a11 Core: Remove "unused variable 'xxx'" warnings
--HG--
branch : trunk
2010-08-21 21:14:35 +02:00
Spp
e7856a831c Core: Remove "enumeration value 'xxx' not handled in switch" warnings
--HG--
branch : trunk
2010-08-21 20:55:31 +02:00
QAston
77bd968c63 *Remove some unused containers from Spell class.
--HG--
branch : trunk
2010-08-21 21:00:06 +02:00
Spp
c3343638cb Core: Remove lots warnings:
- All "'xxx' will be initialized after 'yyy' when initialized here"
- Some "unused variable"
- Some "enumeration value 'xxx' not handled in switch"

--HG--
branch : trunk
2010-08-21 20:08:47 +02:00
QAston
6714feb3ee *Add script hooks for SpellScript class - now you can use BeforeHit, OnHit, AfterHit hook lists.
--HG--
branch : trunk
2010-08-21 20:18:54 +02:00
click
3febdd7884 Core: Remove warning-ignores from Common.h, and fix a shitload of retarded warnings that was hidden by it - NO MORE HIDING IN CORE THANKYOU!
--HG--
branch : trunk
2010-08-21 19:40:05 +02:00
Shauren
d7814e88d8 Scripts/Icecrown Citadel: Added Lady Deathwhisper script, huge thanks to wowgargamel for script parts, timers and sniffs
Core/Scripts: Added GetPhaseMask() method to EventMap

--HG--
branch : trunk
2010-08-21 11:09:58 +02:00
click
50789b0461 Core: Remove already defined FD_SETSIZE (picked up from Common.h)
--HG--
branch : trunk
2010-08-21 16:37:30 +02:00
click
ace057f1d7 Core/Build: Finalize the non-PCH building - now compiles on all platforms in nonPCH-mode, and in PCH (unless we've fucked up somewhere)
--HG--
branch : trunk
2010-08-21 11:36:52 +02:00
click
d16656bb5d Core/Guild: Compile properly on *nix + fix so we don't delete the same item twice on disband (thanks shauren)
--HG--
branch : trunk
2010-08-21 10:31:46 +02:00
click
f7ad5b2624 Core/Build: Clean up more nonPCH-issues + fix a warning in Timer.h (unsigned/signed cast)
--HG--
branch : trunk
2010-08-21 09:53:04 +02:00
click
6939c92a76 Buildsystem/PCH: Remove DatabaseEnv.h from PCH-list, due to the insane amounts of times it seems to be "forgotten" in main sources
--HG--
branch : trunk
2010-08-21 08:23:53 +02:00
click
71b48cadc2 Core: Make shared build happily without PCH (there are still issues with game ++)
--HG--
branch : trunk
2010-08-21 08:08:49 +02:00
John Holiver
6e6d62def9 Core: Creature should aggro player when players aggro creature during SetInCombatWithZone (otherwise, creature will remain not in combat).
--HG--
branch : trunk
2010-08-21 02:15:19 -03:00
John Holiver
fcca6060d0 Core/Spells/Scripts: Another spell effect needed for ToCr (Paralytic Toxin). Thanks for Dark0r.
--HG--
branch : trunk
2010-08-21 01:02:38 -03:00
Machiavelli
8cfc3782e3 Fix linux build (with PCH enabled, mind you)
--HG--
branch : trunk
2010-08-21 03:44:02 +02:00
Machiavelli
994186f267 DB Layer:
- Make SQL Transactions actual objects used in code. (Thanks to Derex for the idea)
* Uncommitted transactions will be automatically rolled back and cleaned up using ACE_Refcounted_Auto_Ptr, so no need to call Rollback() in the code.
* Prevents recursive transactions and makes developers aware of transactions going on.
* Gets rid of unneccesary overhead iterating over a concurrent map.
- Some cleanups in affected code, including better usage of transaction control in AH / mail related code to prevent data loss.

*** Experimental, use at own risk, recommended to backup your DBs. ***

--HG--
branch : trunk
2010-08-21 03:19:25 +02:00
click
a7498d2f56 Core/Includes: Include ACE as an external dependency, not local (#include "ace/something.h" -> #include <ace/something.h>)
--HG--
branch : trunk
2010-08-21 02:27:12 +02:00
silinoron
d89671727b fix r905a640a2d - tabs to spaces, and add a forgetten break.
--HG--
branch : trunk
2010-08-20 15:22:42 -07:00