Commit Graph

1967 Commits

Author SHA1 Message Date
click
07bebf0f35 Core/Handlers: Add some extra output in WorldSession::HandleDismissCritter (give more of which user attempts to dismiss it)
--HG--
branch : trunk
2010-12-25 17:53:50 +01:00
QAston
bce9b081ec Core/Unit: Fix crashes in Unit::CalcAbsorbResist and Unit::DealDamage caused by unsafe iteration over Unit::AuraEffectList - copy the list instead of using oryginal one.
--HG--
branch : trunk
2010-12-25 16:12:31 +01:00
Shauren
99ff32be28 Scripts/Spells: Added support for Red Rider Air Rifle (item 46725)
--HG--
branch : trunk
2010-12-25 15:26:16 +01:00
click
b181ba21d9 Core: Fix a few warnings here and there.
--HG--
branch : trunk
2010-12-25 06:28:38 +01:00
leak
2697315476 Core/ObjectMgr: Copy/Paste fail in the recent loading functions cleanup. Thanks to cyberbrest for noticing.
Closes issue 5264

--HG--
branch : trunk
2010-12-25 05:22:37 +01:00
click
088ed9404b Core/Entities: Fix a minor disrepancy in the handling of weapon specializations introduced in revision a83f26ef71 - patch by Dr.Tenma
Fixes issue 5059.
Fixes issue 5265.

--HG--
branch : trunk
2010-12-25 04:03:04 +01:00
Machiavelli
d587948a0f Core/Spells: Use a workaround for Grab Crate, cast triggered spell with original caster as caster instead of target. Previous approach was prone to out of range errors.
Spell will now correctly restore 25 Pyrite energy (assuming aura 62495 is present to trigger the initial handler)

--HG--
branch : trunk
2010-12-25 03:18:21 +01:00
Machiavelli
06955a1113 Core/Entities: Fix guid lookup for linked respawn system
--HG--
branch : trunk
2010-12-25 02:22:35 +01:00
Machiavelli
95eb430dc0 Core: It would help if we would actually load gameobject data before checking respawn links if we want to validate linked_respawn data properly
--HG--
branch : trunk
2010-12-24 23:56:59 +01:00
Machiavelli
ac920e763c Update some prepared statements to reflect b1759256b5´s changes
--HG--
branch : trunk
2010-12-24 21:20:16 +01:00
Machiavelli
385b81662a Fix build
--HG--
branch : trunk
2010-12-24 20:17:38 +01:00
Machiavelli
18cc4c4aba Scripts/Orgrimmar: Remove a not finished quest script. Proper quest support will be included in a future TDB release.
Author: Nay

--HG--
branch : trunk
2010-12-24 19:54:52 +01:00
Machiavelli
ee1e93d7ca Fix a search&replace failure from previous rev.
--HG--
branch : trunk
2010-12-24 19:50:42 +01:00
Machiavelli
398d71285d Core: Fix a possible crash in WorldSession::ProcessQueryCallbacks
Author: Cyberbrest
Closes issue #5262

--HG--
branch : trunk
2010-12-24 19:46:11 +01:00
Machiavelli
1e736fb32a Missing change from previous rev
--HG--
branch : trunk
2010-12-24 19:39:47 +01:00
Machiavelli
885960af45 Missing change from previous rev
--HG--
branch : trunk
2010-12-24 19:07:18 +01:00
Machiavelli
c05ed659cb Core/Entities:
- Rename creature_linked_respawn to linked_respawn
- Update functionality: add field ´linkType´.
** 0 = creature respawn dependant on creature (default)
** 1 = creature respawn dependant on gameobject
** 2 = gameobject respawn dependant on gameobject
** 3 = gameobject respawn dependant on creature

--HG--
branch : trunk
2010-12-24 18:55:50 +01:00
click
a99e12cf0f Buildsystem/Unix: Fix an idiotic split-package behaviour on RedHat-based systems (and possibly some others)
Closes issue 4380

--HG--
branch : trunk
2010-12-24 18:04:09 +01:00
Machiavelli
f690338de1 Core/CreatureAI: Add virtual bool CanRespawn().
This method will be checked on Creature::Update with deathstate ¨DEAD¨, and allows inherited scripts to manipulate respawn behaviour based on scripted events.

--HG--
branch : trunk
2010-12-24 16:18:23 +01:00
Shauren
fe1de5b1db Core: Fixed build broken by previous commit
--HG--
branch : trunk
extra : rebase_source : 40f72a7b78daedb90351f36de575b3fa7e57fcbf
2010-12-24 13:03:52 +01:00
azazel
8a8dedfd6e Scripts/HoL: fix Ionar dispersing into sparks (by tassader1000) Closes issue #4573
Fix tested and approved by Aokromes and kiper.

NOTE: Do not forget the DB part of the commit!

--HG--
branch : trunk
2010-12-24 17:59:54 +06:00
Shauren
928443d899 Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Spp
95daf7998f Core/Dungeon Finder: Fix a crash in rolecheck when a player is offline
Closes issue 5246

--HG--
branch : trunk
2010-12-23 21:11:11 +01:00
Shauren
e99ca097ed Core/ObjectMgr: Fixed loading groups
Closes issue #5197.

--HG--
branch : trunk
2010-12-23 21:03:27 +01:00
Shauren
b098c15674 Core/Auras: Removed pointless checks in SPELL_AURA_MOD_THREAT (10)
--HG--
branch : trunk
2010-12-23 19:58:00 +01:00
Shauren
3b903693aa Core/Player: Fixed faction change for characters that don't have any quests completed, patch by imprtat@uawow.com
Closes issue #5203.

--HG--
branch : trunk
extra : rebase_source : 6a7676a125be28e5b150db9f27d3488899f6c728
2010-12-23 19:15:44 +01:00
Machiavelli
f3dd337c6a Core/Spells: Fix Glyph of Felhunter
Author: Lopin

--HG--
branch : trunk
2010-12-23 19:03:28 +01:00
click
ca78881c63 Core/Spells: Fix a warning in SPELL_AURA_MOD_DAMAGE_PERCENT_DONE (explicitly define which parts to check for)
--HG--
branch : trunk
2010-12-23 18:35:43 +01:00
Machiavelli
0cdc4153d8 Core/Spells: Fix Glyph of Death Grip
Fixes issue #4608

--HG--
branch : trunk
2010-12-23 17:38:31 +01:00
click
a90aeb7657 Core: Adjust precompiled headers: Remove a few already defined/included headers in the shared PCH-file (already included from Common.h)
--HG--
branch : trunk
2010-12-23 17:20:56 +01:00
Machiavelli
392a312c6b Core/Spells: Fix SPELL_AURA_MOD_DAMAGE_PERCENT_DONE(79) to affect proper spellschools based on EffectMiscValue.
Author: Dr.Tenma
Fixes issue #4019
Fixes issue #5059

--HG--
branch : trunk
2010-12-23 16:22:30 +01:00
Machiavelli
76e111fa07 Core/DBLayer: Allow asynchronous queries with callbacks to be executed in prepared statement format as well.
+ Cleanup and documentation

--HG--
branch : trunk
2010-12-23 16:05:43 +01:00
Spp
b6724bea03 Core/Dungeon Finder: Fix crash in recursive calls while joining
closes issue 5162

--HG--
branch : trunk
2010-12-23 15:26:41 +01:00
Shauren
b2b2f44506 Core/Battleground: SOTA
* Fixed boats model (Alliance/Horde)
* Send boats movement to all players
* Fixed demolisher respawn time
* Added support for achievement Storm the Beach (1310)
Patch by Socolin.

--HG--
branch : trunk
2010-12-23 13:15:26 +01:00
linencloth
b89994fc3f Core/AuthServer: Little more query tuning. Missed by leak.
--HG--
branch : trunk
2010-12-23 08:03:57 +01:00
leak
2ee9a528ca Core/AuthServer: Little query tuning. Query by linencloth.
--HG--
branch : trunk
2010-12-23 06:15:53 +01:00
Spp
067984ba9f Core/Dungeon Finder: Reset player Locked Dungeons after change level or bind to heroic instance
Note: Actual DF system is not supposed to select a dungeon you are already saved to (core does not support someone to have multiple saves on the same instance)

--HG--
branch : trunk
2010-12-23 06:06:24 +01:00
Spp
0c8b07d3e5 Core/ScriptMgr: Add OnBindToInstance Player hook
--HG--
branch : trunk
2010-12-23 06:06:21 +01:00
Spp
1f238d1700 Core/Dungeon Finder: Some cosmetic changes
- Drop pointer use in updateData struct
- Variable renaming
- Use of guid instead of group/player in rolecheck update

--HG--
branch : trunk
2010-12-23 06:06:19 +01:00
Xanadu
cfa26522ad Core: Fixed occasional wrong order of async operations at respawn time saving. Closes issue #5239.
DB schema: Sorted out a discrepancy in respawn time column format.

--HG--
branch : trunk
2010-12-23 05:49:23 +01:00
Shauren
66b4c8003c Core/Spells: Removed a really retarded hack that searched for GameObject targets 50 yards further than it should
--HG--
branch : trunk
2010-12-22 23:04:05 +01:00
Machiavelli
7ba4caf3d0 Fix a real nasty typo that prevented people from using teleports/areatriggers
--HG--
branch : trunk
2010-12-22 21:56:43 +01:00
leak
3252836f91 Memory leak fixed
--HG--
branch : trunk
2010-12-22 21:53:24 +01:00
Shauren
cef7c4d4f3 Core/Spells: Fixed "unprocessed tail data" packet spam for CMSG_CAST_SPELL
--HG--
branch : trunk
2010-12-22 21:32:48 +01:00
click
b1ded4bd98 Core/Unit: Check if NPC is on a transport before sending StopMoving() -packet (normally shipped when trying to speak to moving NPCs) - fixes creatures falling off boats etc.
Thanks to Socolin for hunting down and patching this annoying bug.

--HG--
branch : trunk
2010-12-22 21:31:52 +01:00
Shauren
0f3b9019a8 Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
Shauren
0948fc5bbe Core: Converted (hopefully) all remaining singletons to use ACE_Singleton class
--HG--
branch : trunk
2010-12-22 20:52:47 +01:00
Shauren
7b4e1c6387 Core/ObjectMgr: Static members are no longer accessed through singleton
--HG--
branch : trunk
2010-12-22 20:23:47 +01:00
Shocker
446c300505 Core/Spells: Small cleanup in SpellEffects, spells always have caster
--HG--
branch : trunk
2010-12-22 20:18:34 +02:00
Shocker
42304c0b25 Core/Spells: Implement SPELL_EFFECT_UNTRAIN_TALENTS, thanks to Heisenberg, closes issue #5238
--HG--
branch : trunk
2010-12-22 20:14:30 +02:00