click
3c027962ba
Buildsystem/Core: Adjust MySQL headers on relevant files to use simplified #include <mysql.h> instead of <mysql/mysql.h>
...
+ add support for compiling under MacOSX (thanks to elegos for the research)
NOTE: G3D requires a redefinition-hack under OSX, please see wiki for this info (dep-sources will not be changed)
--HG--
branch : trunk
2010-08-26 16:40:28 +02:00
Shauren
692779f283
Core/Scripts: Added possibility to disable default aura effects for the whole duration of aura (PreventDefaultAction works per script call, PreventDefaultEffect is global)
...
Scripts/Icecrown Citadel: Corrected aura scripts for new PreventDefaultEffect, thx QAston for pointing it out
SQL: Corrected name for 9599 vehicle accessory
SQL: Fixed import errors in 9600_world_script_texts.sql by Supabad
--HG--
branch : trunk
rename : sql/updates/9599_vehicle_accessory.sql => sql/updates/9599_world_vehicle_accessory.sql
2010-08-26 15:32:08 +02:00
Shauren
73d3f210a9
Scripts/Icecrown Citadel: Add script for Deathbringer Saurfang (only missing alliance outro due to need of spawning and moving a transport)
...
Scripts/Icecrown Citadel: Corrected Lord Marrowgar, should no longer target tanks with Bone Spike Graveyard, his Coldflame should now spread properly
Core/Scripts: Moved Lady Deathwhisper Mana Barrier handler to scripts
Core/Scripts: Allow AuraScript to prevent default effects by effect index
Core/Scripts: Added Is25ManRaid() method to ScriptedAI, obviously used to check if raid is 25man
Core/Achievements: Pass m_caster to UpdateAchievementCriteria for ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET
--HG--
branch : trunk
2010-08-21 20:50:38 +02:00
Supabad
97f98e9bbd
Add sql´s in fulls and replace .txt file to .sql in previous commit
...
--HG--
branch : trunk
2010-08-26 14:30:32 +02:00
Supabad
62bf0540c7
Core/scripts: proper core support for quest Trolls Is Gone Crazy
...
--HG--
branch : trunk
2010-08-26 13:12:28 +02:00
Supabad
9366110515
Core/scripts: core support for escort Stinkys Escape!
...
Thanks to Kiper
--HG--
branch : trunk
2010-08-26 13:06:13 +02:00
azazel
fd5ab90170
Scripts: fix area trigger scripts. Thanks yavi. Closes issue #3634
...
--HG--
branch : trunk
2010-08-26 16:22:59 +06:00
azazel
afa5f20e92
Scripts/ToCH: add missing scripts to loader. Thanks [email protected] . Closes issue #3617
...
--HG--
branch : trunk
2010-08-26 16:02:37 +06:00
azazel
5fa14f58dc
Core/Cleanup:
...
* move repeating code into separate method for storing locale strings in ObjectMgr (copy/paste sucks, you know)
* fix 'signed/unsigned' warnings (at least in VS)
* fix some other warnings and cleanup relative code
--HG--
branch : trunk
2010-08-26 15:54:56 +06:00
Supabad
6036166716
Core/scripts: core support for escort Mark V is Alive!
...
Thanks to Schmoozerd from sd2
--HG--
branch : trunk
2010-08-26 11:36:26 +02:00
Supabad
267ee68406
Scripts/Ulduar: More work on Flame Leviathan (still WIP)
...
- Add support for shutdown and repair events
--HG--
branch : trunk
2010-08-26 11:08:42 +02:00
click
87a7560d5f
Core: Remove include for ObjectMgr.h from... ObjectMgr.h
...
--HG--
branch : trunk
2010-08-26 09:25:02 +02:00
Shocker
87e3700981
Typo in previous commit, I apologize
...
--HG--
branch : trunk
2010-08-26 06:57:50 +03:00
Shocker
2748f86bdb
Fix crash when using a pool template with an entry > 65535, fixes issue #3632
...
--HG--
branch : trunk
2010-08-26 06:49:31 +03:00
Shocker
aa768001a7
Fix Item - Icecrown Dungeon Melee Trinket (Needle-Encrusted Scorpion), fixes issue #3599
...
--HG--
branch : trunk
2010-08-26 05:53:52 +03:00
Shocker
89eb544bd8
Add LOTS of forgotten users to the THANKS file. I went through the last 5k entries from the HG log and checked forgotten members who have contributed to the development of TrinityCore but were accidentally forgotten. Sorry if I missed/misspelled anyone or if there are alternate nicknames of those already mentioned. "TrinityCore, Power of the community"
...
--HG--
branch : trunk
2010-08-25 23:21:53 +03:00
azazel
341e6303ef
Core:
...
* add helping methods for manipulating unit's health and use it where applicable
* fix some conversion warnings and cleanup code (formatting, CRLF, tabs to spaces)
--HG--
branch : trunk
2010-08-26 01:20:57 +06:00
Machiavelli
bb5f7b6492
More async queries in stable master opcode handlers instead of blocking queries
...
Please report any issues that pop up.
--HG--
branch : trunk
2010-08-25 21:03:28 +02:00
Shocker
91ebad0016
* Add support for quest 1393 (Galen's Escape), original code by przemratajczak, port by McBitter, closes issue 3463
...
* Fix typo in AuctionHouseHandler, thanks GriffonHeart, fixes issue 3609
* Forgotten thanks
--HG--
branch : trunk
2010-08-25 21:23:28 +03:00
Machiavelli
e8a7a53bfa
Fix crash added in 9c655c11b7
...
--HG--
branch : trunk
2010-08-25 19:12:53 +02:00
Shocker
a43b0b9fd1
* Change default config value for group visibility mode, allow visibility of stealthed/invisible players ride-wide, closes issue 3532
...
* Also make sure default values are set in World.cpp too, thanks svetilo12
--HG--
branch : trunk
2010-08-25 19:00:40 +03:00
Shocker
bd2ffab07a
* Move Paladin Judgement bonuses to spell_bonus_data, thanks deltapower.inc
...
* Avoid code duplication by moving spell interrupt code for jump effects to a common function for both EffectJump and EffectJumpDest, thanks devthenecro
--HG--
branch : trunk
2010-08-25 18:24:40 +03:00
Shocker
020211bb31
Fix seal unleash damage for Seal of Wisdom / Light / Justice / Vengeance
...
--HG--
branch : trunk
2010-08-25 06:17:12 +03:00
Shocker
9013353a4b
Change default settings for OffhandCheckAtSpellUnlearn (new: 1) and MaxArenaPoints (new: 10000)
...
--HG--
branch : trunk
2010-08-25 05:43:40 +03:00
Shocker
c741163313
Knockback (ex: Thunderstorm) and Jump (ex: Death Grip) effects must instantly interrupt spellcasting on victim. Fixes issue 1973
...
--HG--
branch : trunk
2010-08-25 05:14:16 +03:00
Shocker
4da71ac657
* Fix a crash in Culling of Stratholme
...
* Typo fix from previous rev
--HG--
branch : trunk
2010-08-25 03:53:43 +03:00
Shocker
d3c6edeb4a
Correct usage of basePoints in various locations
...
--HG--
branch : trunk
2010-08-25 03:21:22 +03:00
silinoron
b940a92415
Fix CRLF.
...
--HG--
branch : trunk
2010-08-24 17:02:39 -07:00
enjoi
25c8ab63f8
Core/Player: Add new function AddItem. Useful in the scriptsystem for custom scripts.
...
--HG--
branch : trunk
2010-08-24 18:18:31 -05:00
silinoron
aaaeecc916
Add support for vehicle scaling based on item level.
...
Requires database data.
Fixes issue #2754
--HG--
branch : trunk
2010-08-24 15:04:34 -07:00
Shocker
c0dda8b492
* Forgotten stack rules for rev f69fb2d3e0, thanks svetilo12
...
* Fix a crash in rev a972aa682b
--HG--
branch : trunk
2010-08-24 22:47:41 +03:00
silinoron
9b75f358ba
Implement ACTION_T_MOUNT_TO_ENTRY_OR_MODEL (43) for creature eventAI.
...
Read doc/EventAI.txt for details.
Originally by NoFantasy.
--HG--
branch : trunk
2010-08-24 10:34:35 -07:00
Spp
89d87339d5
Core: Update Player Limit and Player Security Level variables
...
- Allowed Security Level will be set at server load or with 'server plimit reset' command (before it was read each time someone tried to join)
- If Security Level is updated to a more restrictive value all people under that level will be autokicked
--HG--
branch : trunk
2010-08-24 19:09:41 +02:00
Machiavelli
119e057810
I love you HG
...
--HG--
branch : trunk
2010-08-24 19:05:59 +02:00
Machiavelli
4185bb3181
DBLayer:
...
- Implement QueryCallback_2 template for ACE_Future callbacks using 2 parameters for the callback function
- Make MSG_LIST_STABLED_PETS´s handler use async query instead of blocking query
--HG--
branch : trunk
2010-08-24 19:04:25 +02:00
click
e5337169c8
Core: Fix non-PCH builds - defining SpellScripts before we have the auraApplications defined will not work
...
--HG--
branch : trunk
2010-08-24 16:07:52 +02:00
Spp
9e4357c9ad
Core: Fix more warnings
...
--HG--
branch : trunk
2010-08-24 14:44:56 +02:00
Shocker
c728681422
* Remove some old checks in aura stacking and change default stack rule to true
...
* Add stacking rules for Mark/Gift of the Wild, Power Word/Prayer of Fortitude, Prayer of/Shadow protection
NOTE: Although highly unlikely, this *might* cause some stacking problems until we properly define rest of the stacking rules in spell_group, so report any stacking issues
* Some missing lads from THANKS file
--HG--
branch : trunk
2010-08-24 14:38:00 +03:00
Spp
eedce26148
Dungeon Finder: Limit the number of groups added to queue to one per update
...
--HG--
branch : trunk
2010-08-24 10:37:55 +02:00
Spp
33f1c597a0
Remove trailing spaces in Dungeon Finder files
...
--HG--
branch : trunk
2010-08-24 10:32:53 +02:00
Shauren
0079e8e3b5
compilefix
...
--HG--
branch : trunk
2010-08-24 11:40:40 +02:00
Shauren
41ec3bf89d
Core/PlayerDump: Generate new guids for equipement sets when loading dumps
...
--HG--
branch : trunk
2010-08-24 11:08:12 +02:00
Shocker
4a30a2815b
Force offhand weapon unequip when player doesn't have Dual Wield anymore
...
--HG--
branch : trunk
2010-08-24 08:19:17 +03:00
Shocker
b2f542530f
Fix Guardian Spirit's healing
...
--HG--
branch : trunk
2010-08-24 07:49:16 +03:00
silinoron
85e72c9132
Only send LANG_NOT_ENOUGH_GOLD notification during trade if the trader does not have enough money...
...
Thanks 0xFuture.
Fixes issue #3587
Update THANKS file...
--HG--
branch : trunk
2010-08-23 21:41:29 -07:00
silinoron
c2286fc70d
Fix a typo in World.cpp.
...
Thanks Paradox for pointing it out.
--HG--
branch : trunk
2010-08-23 21:36:52 -07:00
Shocker
5e92a8e55a
Fix accessories for vehicle player mounts (the vendors on Traveler's Tundra Mammoth for example)
...
--HG--
branch : trunk
2010-08-24 07:19:29 +03:00
John Holiver
fcebd3117a
Fix Shaman T10 Ele 2P. Big thanks to Dr.Tenma!!!
...
Fix Warrior T10 Melee 2P.
--HG--
branch : trunk
2010-08-24 01:01:46 -03:00
silinoron
4c382c0b98
Fix typo in SQL file name.
...
--HG--
branch : trunk
2010-08-23 20:38:35 -07:00
silinoron
8649bee17f
Replace World::getConfig with World::getFloatConfig, World::getIntConfig, and World::getBoolConfig.
...
Also fix a warning from a previous commit.
--HG--
branch : trunk
2010-08-23 19:56:47 -07:00
John Holiver
b30800e9bc
Forget to save the file before pushing. Sorry. =p
...
--HG--
branch : trunk
2010-08-23 23:25:10 -03:00
John Holiver
d7d63012c5
Fix Spirit Walk adding the remove imparing movement effect.
...
--HG--
branch : trunk
2010-08-23 23:24:15 -03:00
John Holiver
24c88d1802
Fix several Idols, Relics, Librams and Sigils.
...
Thanks also to Arcane.
--HG--
branch : trunk
2010-08-23 23:13:51 -03:00
John Holiver
b5633c4863
Fix Warlock, Rogue and Hunter T10 Bonuses.
...
Thanks also to Arcane.
--HG--
branch : trunk
2010-08-23 22:25:08 -03:00
silinoron
6601f46fd3
Fix Bladestorm and disarm.
...
Fixes issue #1899
Fixes issue #2562
Fixes issue #2833
--HG--
branch : trunk
2010-08-23 17:11:50 -07:00
silinoron
1d54b8e3d6
Tabs to spaces...
...
--HG--
branch : trunk
2010-08-23 16:55:37 -07:00
John Holiver
48bfe264d9
Fix Shaman Tier Bonus
...
* T9 Ele 4P
* T10 Res 4P
* T10 Enh 2P
* Partially, T10 Ele 2P (need some way to send ¨decrease CD¨ msg to client)
--HG--
branch : trunk
2010-08-23 20:41:54 -03:00
silinoron
34384a3832
Spell 62124 should allow critical hits.
...
Based on patch by Toni.Shocker (yes, again).
Fixes issue #3554
Also get rid of GuildScript in TODO, as it already exists.
--HG--
branch : trunk
2010-08-23 15:51:34 -07:00
silinoron
2a38ba09ca
Update THANKS file.
...
--HG--
branch : trunk
2010-08-23 15:15:35 -07:00
silinoron
8bebc56b8f
merge
...
--HG--
branch : trunk
2010-08-23 15:13:20 -07:00
QAston
07a3a1254b
*Add AuraScript class for scripting aura objects - scripts are registered same way as SpellScripts, bound to SpellScriptNames table. For more details see example_spell.cpp and SpellScript.h
...
*Rename SpellHandlerScript to SpellScriptLoader, EffectHandlerFn to SpellEffectFn, HitHandlerFn to SpellHitFn, SpellScript::EffectHandlers to SpellScript::OnEffect, these changes were neccesary to prevent namespace collisions, happily you can solve these by simple find and replace
*Make spells 66244 and 5581 example scripts.
--HG--
branch : trunk
2010-08-24 00:10:49 +02:00
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 [email protected]
--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
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
6e7f11aa41
Typo from prev commit
...
--HG--
branch : trunk
2010-08-22 06:13:27 -03: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