Commit Graph

13352 Commits

Author SHA1 Message Date
QAston
d628145d95 Merge pull request #3143 from megamage/master
Threat manager. Fix crashes #2396 and #2992.
2011-09-21 01:03:53 -07:00
kiper
cdb4f60a14 Merge pull request #3040
Core/Spell: Fix spell related to reputation in Oracle and Frenzy faction
2011-09-21 10:02:30 +02:00
QAston
82bc917265 Merge pull request #2908 from Drethek/TwinsValk
Scripts:
Twins Valk - Cleanup / Remove Hardcoded Bullet Spawn (Need DB Support - Stalkers Spawns)
Acidmaw - Use Correct Submerge Spell
Trial Of Crusader - Correct Coordinate Spawn
Trial Of Crusader - Correct Open/Close Main Door Timer
Trial Of Crusader - Open/Close On Boss EnterEvadeMode
2011-09-21 00:27:20 -07:00
Rat
0ab9dd3f9f Core/SmartAI: Re-apply accidentally removed crash fix, whoops 2011-09-20 17:56:47 +02:00
Rat
41ad855bdf Core/SmartAI: fixed SMART_ACTION_SOUND, note: target(s) must be player(s)
Signed-off-by: Rat <gmstreetrat@gmail.com>
2011-09-20 17:46:40 +02:00
megamage
4ccb22e1a6 Fix the incorrect logic of threat online status check. Also add targets in other map or phase to offline container. 2011-09-20 10:26:34 -04:00
megamage
8aead2a1ee Do not add spell-caused threat to creatures in other map or phase. Fix crashes #2396 and #2992.
Note: Threat system is still thread-unsafe. This patch only reduces the chance of crash.
2011-09-20 10:24:44 -04:00
Shauren
3d4f9a0d1c Core/World: Shutdown messages are now sent in blizzlike intervals (every 15 seconds under 5 minutes and every minute under 15 minutes) 2011-09-20 11:40:08 +02:00
Shauren
80800def40 Core/Scripts: Reverted part of 7afb179185, fixes selecting random target starting at given position
Closes #3127
2011-09-20 09:03:12 +02:00
Shocker
77dff61979 Merge pull request #3126 from megamage/master
Move thread-unsafe events from Player to BattlegroundQueue. Fix crash #2960.
2011-09-19 17:09:08 -07:00
megamage
e81b3c6fde Move thread-unsafe events from Player to BattlegroundQueue. Fix crash #2960. 2011-09-19 17:22:27 -04:00
Shauren
d7f9aafe9f Merge pull request #3114 from megamage/master
Fix crash caused by invalid talker in SmartScript. Closes #3082.
2011-09-19 09:12:46 -07:00
megamage
c9a4efdf8f Fix crash caused by invalid talker in SmartScript. Solve #3082. 2011-09-19 09:24:59 -04:00
Shauren
a11bee31c3 Core/SmartAI: Corrected validation check for SAI action summon, type parameter 2011-09-19 14:41:21 +02:00
Shauren
7c3f40b6b7 Compile fix 2011-09-19 13:33:19 +02:00
Shauren
ff66d933d8 Scripts/Icecrown Citadel
* Traps after Deathbringer Saurfang will not turn off anymore
* Fixed Valithria Dreamwalker adds not attacking players

Closes #2343
Closes #2485
Closes #2815
2011-09-19 12:21:36 +02:00
click
872c2d4d63 Core/Build: Fix non-PCH builds 2011-09-18 16:30:18 +02:00
Shauren
8ce80db6e6 Scripts/Icecrown Citadel
* Suppresser adds will not melee attack Valithria Dreamwalker (they still can do that to players)
* Changed DoZoneInCombat calls on summons to randomly selected target from summoner's threat list as the former fails if there is noone within 50 yards

Closes #3094
2011-09-18 11:50:52 +02:00
Machiavelli
a4ea803c83 Edited src/server/scripts/Northrend/Ulduar/ulduar/boss_flame_leviathan.cpp via GitHub 2011-09-18 12:08:22 +03:00
Machiavelli
35228bdcc1 Scripts/Ulduar: Fix timer issues in Flame Leviathan script, thanks to Svannon.
(Edit via github)
2011-09-18 11:39:35 +03:00
Machiavelli
ab3acb7c5c Merge pull request #3097 from Aokromes/master
Remove 2 useless logs
2011-09-18 01:33:21 -07:00
Aokromes
055b9c7574 Remove 2 useless logs 2011-09-18 09:29:09 +03:00
Aokromes
0f908d4b1e Scripts/Shadow Labyrinth: Fix wrong target of Incite Chaos spell 2011-09-18 11:26:22 +07:00
QAston
8c2e58d036 Core/Entities: Allow 2 side parties to work. 2011-09-17 13:45:07 +02:00
Shauren
a644e0d951 Core/Entities: GameObject's m_unique_users will now store full guids to get rid of silly casts 2011-09-17 13:20:21 +02:00
Shauren
63b62d4ad0 Core/Grids: Added GameObjectWorker 2011-09-17 13:18:42 +02:00
Shauren
94e5ff6549 Core/Commands: Removed setting orientation from cast commands 2011-09-17 12:16:33 +02:00
QAston
a2d9aabbb3 Core/Entities: Allow creatures to attack players while in sanctuary. 2011-09-17 01:50:53 +02:00
QAston
fe25ce4fa3 Core/AI: Replace many Unit::IsHostileTo with Unit::IsValidAttackTarget or Creature::canCreatureAttack. 2011-09-17 00:56:59 +02:00
QAston
580264b5a5 Core/Entities: Remove obsolete function Unit::canAttack. 2011-09-16 23:51:01 +02:00
QAston
c0b1823524 Core/Entities: Replace Unit::canAttack usage with more accurate Unit::IsValidAttackTarget 2011-09-16 23:49:31 +02:00
QAston
3a3f2d927f Core/Misc: Whitespace and a minor typo fix (thanks Kapoeira) 2011-09-16 22:37:49 +02:00
QAston
9bbb4ef583 Core/Spells: Use Unit::IsValidAttack/AssistTarget functions to validate spell explicit targets. 2011-09-16 22:17:49 +02:00
QAston
31e755c291 Core/Entities: Add Unit::IsValidAssistTarget and Unit::IsValidAttackTarget functions for proper serverside checks of related entity flags. 2011-09-16 22:17:48 +02:00
Spp
bf38cd8f3e Tab2spaces previous commit :S 2011-09-16 21:56:29 +02:00
Spp
d0f9406a10 Core/Instances: Resurrect a dead player (with corpse) before enter to instance. Original patch by Den 2011-09-16 21:54:45 +02:00
Spp
2f83db28f2 Core/Instances: Fix client freeze when trying to enter an instance which have players inside and you have save but not in same group that people inside and your homebind is in the same continent that the instance 2011-09-16 21:52:49 +02:00
Shauren
f356f65fa6 Core/Spell: Remove obsolete check, its already handled in a better way using SpellScript 2011-09-16 12:32:09 +02:00
Shauren
113080dace Core/Spells: Temporarily commented out SPELL_ATTR6_CAN_TARGET_UNTARGETABLE check, needs more research 2011-09-16 12:27:00 +02:00
Shauren
732e27f1e8 Core/Spells: Spells having the same effect types on multiple effects will now select them at the same time (except targets selected by entry) to ensure correct behavior with MaxAffectedTargets use 2011-09-16 11:40:53 +02:00
Shauren
c93c27d056 Scripts/Icecrown Citadel:
* Mark of the Fallen Champion should be a debuff
* Fixed periodic damage taken from Twisted Nightmare on heroic difficulties of Valithria Dreamwalker encounter
2011-09-16 11:29:35 +02:00
Spp
6c943bfb08 Core: Cleanup in MiscHandler::SendAreaTriggerMessage and warning fixes 2011-09-16 10:53:24 +02:00
Shocker
400716926c Core/Misc: Revert the loot-related code from 74616464f2, the iterator is needed later 2011-09-16 00:37:04 +03:00
megamage
bd4cf4b78b Store pendingInstanceId instead of pointer of instance save, because pointer may become invalid. Fix #2987. 2011-09-15 22:04:51 +02:00
Shocker
74616464f2 Core/Misc: Fix gcc build 2011-09-15 21:44:50 +03:00
Shocker
7afb179185 Misc/Util: Add a template function for returning a random element from any container 2011-09-15 21:28:40 +03:00
Nay
8504a0107e Forgot a SQL in last commit =& 2011-09-15 17:56:07 +01:00
Nay
791acfebac Core/Spells&GOs: Fix Ritual of Doom.
Thanks QAston and Shocker for helping.
Closes #2535
2011-09-15 17:52:35 +01:00
tharaca
e70676a8f6 DB/NPCs: Proper spawns for Shaper's Terrace (Un'goro) (waypoints and such).
Closes #2523
2011-09-15 17:52:34 +01:00
QAston
e07535c3e3 Core/Entities: Add new functions: Unit::GetReactionTo and Unit::GetFactionReactionTo for more direct reaction checks than Unit::IsFriendly/HostileTo (those functions have many duplicated code and have many checks unrelated to unit reaction). 2011-09-15 17:44:03 +02:00