Commit Graph

8373 Commits

Author SHA1 Message Date
John Holiver
cba199fa20 * Fix Glyph of Mend Pet (tnx L1ghtGu4rd from Mangos)
--HG--
branch : trunk
2010-06-02 18:30:57 -03:00
John Holiver
9f28faa29b * Fix some spells that were benefiting from spellpower when they shouldn't.
- Glyph of Dispel Magic
- Glyph of Power Word: Shield
- Glyph of Healing Wave
- Ancestral Awakening

--HG--
branch : trunk
2010-06-02 18:21:13 -03:00
Rat
dd24d80312 stick with 1x rates, thankya
--HG--
branch : trunk
2010-06-02 20:41:31 +02:00
Liberate
5981aa5495 *Fix: Only don't apply aura's with 0 sec duration (because of diminishing return for example) if the aura is not positive.
--HG--
branch : trunk
2010-06-02 20:26:46 +02:00
Trazom62
b7471f800c Fix crash in Unit::HandleProcTriggerSpell (Actually in Object::GetUInt32Value when pVictim is null).
Fixes issue #2458.

--HG--
branch : trunk
2010-06-02 19:36:59 +02:00
Machiavelli
b1bf3b5e13 Merge
--HG--
branch : trunk
2010-06-02 18:45:19 +02:00
Machiavelli
fb8399c413 Few changes to *_scripts handling in core.
- Use pointers of most abstract classes possible where applicable.
- Don´t use dynamic_cast when casting possibility is already explicitly checked per typeid.
- Where applicable use the ToCreature() and ToPlayer() functions for typecasting.
- Fix functioning of SCRIPT_COMMAND_CAST_SPELL
- Fix possible crash in SCRIPT_COMMAND_KILL
- Always include script id in error messages.
- Added a few TODO comments.

These changesets were merged in from MaNGOS:
- [9576] Implement SCRIPT_COMMAND_CREATE_ITEM by NoFantasy
- [9577] Implement SCRIPT_COMMAND_DESPAWN_SELF by NoFantasy
- [9869] Extend SCRIPT_COMMAND_QUEST_EXPLORED to allow player<->player as
source/target by NoFantasy

--HG--
branch : trunk
2010-06-02 18:43:11 +02:00
Rat
d9728b2b80 fixed sota round two ships
--HG--
branch : trunk
2010-06-02 18:16:57 +02:00
Spp
60fd4a2f60 Dungeon Finder: Fix a crash when join queue had any restriction.
Fixes issue 2500

--HG--
branch : trunk
2010-06-02 17:03:48 +02:00
teacher
a653b31486 Added 8300_world_battleground_template.sql in sql\updated\333a_old. I wrongly removed it from repo (original file by click).
Small cleanup.

--HG--
branch : trunk
2010-06-02 13:57:39 +02:00
Rat
bff58bfc20 typo in world.sql, thanks to Fabriciomind for report, closes issue #2498
--HG--
branch : trunk
2010-06-02 07:51:19 +02:00
Rat
ad753b3f67 SOTA update
-proper warning text (under attack, destroyed, capture..)
-proper icons on map for gate states
-fixed second round starting

--HG--
branch : trunk
2010-06-01 23:55:09 +02:00
Spp
d53f91ff32 Dungeon finder: Fix typos
- Add missing credits from previous Dungeon Finder commit (6f13a4afc4)
* Thanks to Zor for packet structure
* Thanks to Taliesin for initial Queue design

--HG--
branch : trunk
2010-06-01 09:38:05 +02:00
John Holiver
768952ae71 Added missing delete from r34f4db8886.
Thnx kolapse01.

--HG--
branch : trunk
2010-06-01 00:37:59 -03:00
John Holiver
1943b19ff8 Fix to Drums of Forgotten Kings, Drums of the Wild and Runescroll of Fortitude.
Thx maczuga.k for the first 2 ;D
Fixes issue #1990

--HG--
branch : trunk
2010-06-01 00:07:40 -03:00
John Holiver
4eb7f38dfc Added scriptnames for ref4a8519f6.
Other stuff needed was posted on TDB forum (e.g. EAI for summons).

--HG--
branch : trunk
2010-05-31 22:02:13 -03:00
Brian
ed636d96d8 * Fix target count for Blazing Harpoon (spell 61588)
* Credits to click and Xanadu who had to show some love to Malcrom

--HG--
branch : trunk
2010-05-31 18:55:02 -06:00
Brian
76f4259091 * Fix Linux compile.
--HG--
branch : trunk
2010-05-31 18:10:29 -06:00
Liberate
f1e194aa6d Forgot to put the sql updates of my previous commit in world.sql and the world_script_full.sql again
--HG--
branch : trunk
2010-06-01 00:15:04 +02:00
Machiavelli
97ea58fe0c Revert unintended change in 39d9d11c09 - special thanks to HG for being so cooperative.
(Essence of 39d9d11c09 is still intact)

--HG--
branch : trunk
2010-05-31 23:03:14 +02:00
Liberate
b02bde6d2a *Fix: Strand of the Ancients.
- Massive Seaforium Charge (needs DB support for the spawns)
 - Demolishers are not attackable at the start
 - Demolishers spawn at the workshop if the graveyard is taken
   (The spawn locations aren't official yet)
 - Demolishers spawn immediately after being destroyed
 To make SotA perfect, it needs a lot of DB support.
 - Seaforium Bomb spawn locations
 - Set speed_run to 0 of the Cannons.

--HG--
branch : trunk
2010-05-31 23:01:47 +02:00
Machiavelli
a623ccd5fa Fix possible client crash in SMSG_ATTACKERSTATEUPDATE caused by outdated packet structure.
--HG--
branch : trunk
2010-05-31 22:09:58 +02:00
click
836f7e19fd Fix small filename typo
--HG--
branch : trunk
rename : sql/updates/8348_world_script_texts => sql/updates/8348_world_script_texts.sql
2010-05-31 22:02:00 +02:00
Spp
08a20ef8a2 Random BG: never select a disabled bg
--HG--
branch : trunk
2010-05-31 20:53:43 +02:00
John Holiver
973c837729 Skadi review of SnakeIce patch.
A minor bug is still present, you can find it on the SDComment.
Closes issue #1105 and #2251

--HG--
branch : trunk
2010-05-31 15:55:19 -03:00
Spp
824b1303ce Dungeon Finder:
- Add Rolechecks
- Can Join and Leave queue

* No Find group implementation, it just adds u to the queue.
* Still missing some join queue restrictions.

--HG--
branch : trunk
2010-05-31 20:25:21 +02:00
Trazom62
248782448c Fix hidden CD for HandleDummyAuraProc for random proc spell (put the hidden CD on one of the random spell to avoid multiple proc of different random spell).
Take trigger_spell from dbc in case there is one and not yet handled by custom case.

--HG--
branch : trunk
2010-05-31 20:14:21 +02:00
Trazom62
427e8be656 Fix Spell::m_selfContainer not reset in destructor. This should fix crash in Unit::FindCurrentSpellBySpellId.
Fixes issue #2263.

--HG--
branch : trunk
2010-05-31 19:19:30 +02:00
Trazom62
15847b2f2f Fix exploit with swaping already looted items.
Patch by Vladimir from idea of Zhenya.
Fixes issue #702.

--HG--
branch : trunk
2010-05-31 19:10:26 +02:00
Machiavelli
1a636d3af8 Fix realmd to accept more than 64 connections on windows. Author: Derex
--HG--
branch : trunk
2010-05-31 15:02:41 +02:00
Shauren
042b503665 ITEM_FLAGS_EXTRA_NEED_ROLL_DISABLED should only affect Need before Greed loot method
--HG--
branch : trunk
2010-05-31 14:07:29 +02:00
Xanadu
7fbeef3d09 Cleaned up and unified various sort predicates and moved them to Trinity namespace, replaced priority queues with sorts and purged some unused code.
--HG--
branch : trunk
2010-05-30 04:23:27 +02:00
Supabad
14382dd1fe Ulduar, Flame Leviathan: add Track tower activation state for Achievements
stil WiP and not finished
removes one comment from the TODO LIST

--HG--
branch : trunk
2010-05-30 03:03:31 +02:00
Tartalo
3ffdce920b Ulduar: Add missing breaks, ty Josh ;)
--HG--
branch : trunk
2010-05-29 23:25:00 +02:00
Tartalo
affccbdb57 Ulduar: Fix typo on Flame Leviathan's tower event's triggering system
--HG--
branch : trunk
2010-05-29 23:23:38 +02:00
Tartalo
0dceb037bf Ulduar, Flame Leviathan: Add initial tower event support.
This is WiP and is not finished. Actually the event is not activable since
    there is no script for Lore Keeper so don't complain about that.

    The code itself is not finished at all, but the main event managing is
    designed and implemented. Filling  up the 'TODO:' commented parts of
    Leviathan's DoAction() will be appreciated ;)

    It's easy to implement all the tower related achievs using an array of
    booleans and DoAction() triggers for tower state tracking.

    It's your time Supabad, enjoy teamwork :D

--HG--
branch : trunk
2010-05-29 21:58:44 +02:00
Shauren
cf34b23692 Fixed Twisted Faith not increasing damage of Mind Flay while Shadow Word: Pain was present on target, thx maxdestroyer for pointing that EffectSpellClassMask doesn't match
Fixes issue #1085.

--HG--
branch : trunk
2010-05-29 21:00:30 +02:00
Shauren
29e891a02f Added missing delete statement in 8330_world_playercreateinfo_spell.sql, thx jesper.vortex for pointing it out
--HG--
branch : trunk
2010-05-29 19:45:56 +02:00
_manuel_
5718cabd9c Implemented script for Sunreaver Guardian and Silver Covenant Guardian.
--HG--
branch : trunk
2010-05-29 14:19:00 -03:00
_manuel_
78cb29a30d Implemented areaflag hacks for areas Sunreaver Pavilion and Silver Covenant Pavilion.
--HG--
branch : trunk
2010-05-29 14:13:56 -03:00
click
1758940ce2 Fix: use stored randombg resettime for calculating when to do the next daily reset of random battlegrounds
Thanks to HP for pointing this out.

--HG--
branch : trunk
2010-05-29 18:42:19 +02:00
click
ea3760066b Initialize the random logonhash on world startup to avoid socket hang on Windows platform. Patch by scarymovie87.
Update issue 1611
The "fix" itself will require further testing, though I'm suspecting this occurs due to that the loginhash
(to a realm that has just been restarted) isn't properly initialized. Consider this as a temporary workaround.

--HG--
branch : trunk
2010-05-29 17:26:43 +02:00
Shauren
a8b244afd5 Allow Flame Shock DoT ticks to be critical strikes
Fixes issue #2282.

--HG--
branch : trunk
2010-05-29 16:38:57 +02:00
Shauren
a083bc5981 RequiredReputationFaction == 0 && RequiredReputationRank != 0 means its some leftover data, not a sign we should check standing with vendor's faction
This fixes players "randomly" being unable to purchase an item due to missing reputation

Fixes issue #2193.

--HG--
branch : trunk
2010-05-29 16:17:28 +02:00
Supabad
d1747a66ce add sql for previous commit.
--HG--
branch : trunk
2010-05-29 15:44:03 +02:00
Supabad
1b66be14f6 Add support to Flame Leviathan.
Thanks to SnakeIce for posting patch, and Manuel for support during codecleanup.

--HG--
branch : trunk
2010-05-29 15:32:28 +02:00
Shauren
0d64afc166 Fixed quests 11505 and 11506 - Spirits of Auchindoun
Fixes issue #126.

--HG--
branch : trunk
2010-05-29 13:42:57 +02:00
Liberate
3b8be6d108 Fixes the cooldown of the heroic version of the Deathbringer's Will Trinket.
Thanks nightseas for testing and finding this bug.

--HG--
branch : trunk
2010-05-29 10:11:39 +02:00
Xanadu
d104f19469 *Properly initialize members to prevent DB logging before the DB is started. Fixes a rarely seen startup crash.
*Code cleanup.

--HG--
branch : trunk
2010-05-29 03:16:39 +02:00
Anubisss
de97bd4f00 Remove a duplicate check from map/vmap files existance of all races' startup areas. Dear God, my english rocks (:.
--HG--
branch : trunk
2010-05-29 00:16:06 +02:00