Commit Graph

7179 Commits

Author SHA1 Message Date
QAston
d1a40eb688 *Do not keep area aura targets in combat with aura owner
*Add some safety checks to area aura target map update.

--HG--
branch : trunk
2010-01-24 13:08:25 +01:00
Rat
79accd730e *removed no more needed extern keywords from ScriptLoader
--HG--
branch : trunk
2010-01-24 11:56:33 +01:00
Rat
f10cb92298 *merge ScriptMgr::LoadOverridenDBCData to SpellMgrLoadSpellCustomAttr, patch by Azuritus, closes issue #444
--HG--
branch : trunk
2010-01-24 11:45:50 +01:00
XTZGZoReX
9f00ca3eb8 * Remove CellLock class and all cell-level thread locking.
** It was wasting CPU power as cell-level locking is not needed.
** Our multithreading is on map-level, not cell-level.
** CellLock was just a 'proxy' between Cell and CellPair and in some cases carried redundant data.
** Some minor cleanup in Cell::Visit/Map::Visit.

--HG--
branch : trunk
2010-01-23 22:24:41 +01:00
XTZGZoReX
fe07518baf * Partly revert [7173]. The log call is useful - "CRASH ALERT" part removed.
--HG--
branch : trunk
2010-01-23 20:08:44 +01:00
arcanzic
35e7a65c3c Merge...
--HG--
branch : trunk
2010-01-23 13:01:54 -06:00
arcanzic
c827f58d93 Remove useless spam at core boot. I have never seen, nor heard of a script not assigned to a npc, crashing the core.
--HG--
branch : trunk
2010-01-23 13:00:06 -06:00
XTZGZoReX
6e3127bbe5 * Fix CRLF.
--HG--
branch : trunk
2010-01-23 20:00:01 +01:00
Trazom62
171e7b70a5 Fix some crashes linked to gurgthock summon
Fixes issue #440.
Fixes issue #441.

--HG--
branch : trunk
2010-01-23 18:48:06 +01:00
thenecromancer
fd5390c4c1 Merge
--HG--
branch : trunk
2010-01-23 17:47:18 +01:00
thenecromancer
b2bb515c22 table create for previous commit
--HG--
branch : trunk
2010-01-23 17:46:03 +01:00
Trazom62
2b4a229934 Fix Script Naxxramass/Anub'Rekhan. Thanks scarymovie87.
Fixes issue #141.
Fixes issue #305.

- Fix some timers
- Implements Berserk ability after 10 minutes
- Fixed spawning method for Crypt Guardians
- Fix spawn of Corpse Scarabs on player or crypt guardian death.
- code cleanup

--HG--
branch : trunk
2010-01-23 17:34:18 +01:00
thenecromancer
d32e0878c7 Remove Battle Shout/Blessing of Might hack
Add table holding stacking masks for non-target/caster related stacking rules
Aura bounce check is still to be done

--HG--
branch : trunk
2010-01-23 17:05:20 +01:00
thenecromancer
caf3505f75 Fix Unrelenting Assault applying debuff to non-player target
--HG--
branch : trunk
2010-01-23 16:37:06 +01:00
thenecromancer
1f602fae47 Apply SPELLMOD_COST in takeRunePower() ( replacement for removed hack in previous commit )
--HG--
branch : trunk
2010-01-23 16:19:23 +01:00
thenecromancer
9a236d18ff Merge
--HG--
branch : trunk
2010-01-23 16:06:23 +01:00
thenecromancer
e893ad71cf Fix Empowered Rune Weapon
Cleanup cast flags

--HG--
branch : trunk
2010-01-23 16:06:06 +01:00
Anubisss
340ded3973 Fix compile in WIN.
--HG--
branch : trunk
2010-01-23 16:00:05 +01:00
thenecromancer
84980ea77c Apply armor reduction for physical attacks before other calculations ( for correct block amount and etc..)
--HG--
branch : trunk
2010-01-23 15:44:28 +01:00
thenecromancer
39ba392c75 Merge
--HG--
branch : trunk
2010-01-23 15:05:33 +01:00
Anubisss
d9cb070215 Implement QueryResult_AutoPtr type which is ACE's reference counted auto_ptr(ACE_Refcounted_Auto_Ptr) for QueryResult pointers.
Use this auto_ptr for every DB queries(except QueryNamedResult yet).

This patch guarantees NO memory leaks from QueryResult pointers.

Thanks to raczman for the idea and for the helping to make this patch.

--HG--
branch : trunk
2010-01-23 14:45:58 +01:00
Trazom62
c784110d87 Fix Crash in boss_gluthAI::UpdateAI.
Fixes issue #442.
Thanks JuliuSZS for pre-diagnose

--HG--
branch : trunk
2010-01-23 11:52:45 +01:00
QAston
d9b38250ff *Remove Death runes from Reaping/Blood of the North/Death Rune Mastery when talent aura is removed.
--HG--
branch : trunk
2010-01-23 10:33:16 +01:00
QAston
216d32e8a7 *Prevent assertion fail in Unit::_AddAura after creature add to remove list.
--HG--
branch : trunk
2010-01-22 20:03:47 +01:00
Trazom62
7b3691ac9e Fix irand(min,max) usage (min shall always be lower than max)
--HG--
branch : trunk
2010-01-22 18:38:33 +01:00
Brian
b57fec2961 * Fixed a typo in 7147_world_creature_template.sql that prevented import
--HG--
branch : trunk
2010-01-22 10:21:25 -07:00
QAston
c1aa60aaab *Run grid searches for area auras every 500ms instead of every unit update
*Fix a stupid typo which caused memory leak in Unit::RemoveOwnedAura

--HG--
branch : trunk
2010-01-22 18:06:01 +01:00
Brian
7bfea3fea3 * Added 3.2.2a stable release tag
* TrinityCore2 Rev: 7101 Release Hash: 51984508c849 (Unix,little-endian)
* Online players: 68 (max: 237)
* Active connections: 78 (max: 250) Queued connections: 0 (max: 0)
* Server uptime: 2 Day(s) 4 Hour(s) 37 Minute(s) 25 Second(s).
* I would say that is pretty stable...

--HG--
branch : trunk
2010-01-22 06:43:16 -07:00
Brian
b6ee92fef3 Added tag 3.2.2a-stable for changeset 51984508c849
--HG--
branch : trunk
2010-01-22 06:39:12 -07:00
Brian
268aa04593 * SQL need to restore the *structure* of the DB after the backout
* from the previous commit

--HG--
branch : trunk
2010-01-21 18:51:00 -07:00
Brian
ea3b11f8c2 * merge
--HG--
branch : trunk
2010-01-21 18:39:27 -07:00
Brian
7162dcd475 * Backed out changeset c7c6faf26cbd
* A different solution to damage will be implemented
* You will need data from your DB provider if you don't have a backup

--HG--
branch : trunk
2010-01-21 18:38:49 -07:00
Rat
b4a6fd1a81 Merge
--HG--
branch : trunk
2010-01-22 00:06:35 +01:00
Rat
f221f5911a *update eventAI docs
*add missed docs

--HG--
branch : trunk
2010-01-22 00:04:50 +01:00
Trazom62
2a261b44e1 Fix EffectSendEvent to work if target is GO or Unit.
--HG--
branch : trunk
2010-01-21 23:57:14 +01:00
Trazom62
54458c0f13 Fix Script Naxxramass Thaddius/Stalagg/Feugen
- Stalagg and Feugen respawn if the other adds not dead within 5 sec.
- Thaddius start combat timers as soon as both are killed.
- Fix Thaddius flags after a crash
- Fix global variables used for adds alive flag.

--HG--
branch : trunk
2010-01-21 20:37:02 +01:00
thenecromancer
76102c1cdd Change temp threat aura mods to use temp threat modifier instead of "asisting" it's threat value over all references.
--HG--
branch : trunk
2010-01-21 16:25:09 +01:00
thenecromancer
3b29a4e6f4 Do not apply SPELL_AURA_MOD_THREAT to negative threat changes (Eg. let Feint and alikes apply full effect)
--HG--
branch : trunk
2010-01-21 15:51:11 +01:00
thenecromancer
0f531f75ff Send all 24 bits of spell Id for vehicle spell actions
--HG--
branch : trunk
2010-01-21 15:33:43 +01:00
win32
2572e9ef8e * Add support for basedmg and baserangeddmg values in creature_classlevelstats.
* Remove mindmg, maxdmg, attackpower and ranged field in creature_template and add Dmg_Mod, Rangeddmg_Mod field.

--HG--
branch : trunk
2010-01-21 13:48:27 +02:00
XTZGZoReX
1c310c887b So much for my fix-without-compile skills. :(
(inb4 scores)

--HG--
branch : trunk
2010-01-21 11:21:47 +01:00
XTZGZoReX
73719d3e76 * Removed unnecessary query.
--HG--
branch : trunk
2010-01-21 10:42:46 +01:00
win32
0cee18494e update sql in prev commit to trinity format
--HG--
branch : trunk
2010-01-21 11:38:19 +02:00
win32
178a881d17 Implement minimal arena team size for some items arena rating requirements.
Autor LordJZ.

--HG--
branch : trunk
2010-01-21 11:29:22 +02:00
win32
19ac6f6a3c Implement new commands for add/remove/lookup titles.
Autor Vladimir.

--HG--
branch : trunk
2010-01-21 11:19:34 +02:00
win32
ce620223eb restore work scripts in *nix system
--HG--
branch : trunk
2010-01-21 08:23:30 +02:00
Xanadu
e21081172c Removed the Debug_NoPCH config from Windows build.
--HG--
branch : trunk
2010-01-21 03:23:43 +01:00
Xanadu
01bb79cc7d Fix SPELLMOD_PCT spell mods to stack in a truly multiplicative way
--HG--
branch : trunk
2010-01-21 02:02:35 +01:00
Xanadu
9e91fc997c Fix build.
--HG--
branch : trunk
2010-01-21 01:28:18 +01:00
Brian
da263cd1c4 * Restore Dalaran no fly zone lost in last commit
--HG--
branch : trunk
2010-01-20 15:04:47 -07:00