Commit Graph

7278 Commits

Author SHA1 Message Date
thenecromancer
fd5f1e554d Use recursive thread mutex for SQL transaction queue
--HG--
branch : trunk
2010-02-01 10:23:18 +01:00
_manuel_
adfce8fec4 Fixed npc issue after mind control by PrinceCreed. Closes issue 229.
--HG--
branch : trunk
2010-02-01 02:16:44 -03:00
_manuel_
7423553286 Removed tabs. Please if you make a patch make it with out tabs, use 4 spaces.
--HG--
branch : trunk
2010-02-01 01:59:46 -03:00
XTZGZoReX
994f40fa98 * Fix typo in script_texts entry -1580067. Reported by ogeraisi.
--HG--
branch : trunk
2010-02-01 02:08:04 +01:00
_manuel_
8da617fca9 Closes issue 565. Implemented script for wormhole by make_the_king. For a full fix see TDB Forums New Fix Submissions > Core related DB content.
--HG--
branch : trunk
2010-01-31 22:02:15 -03:00
Trazom62
0b198b085d Fix Glyph of Power Word: Shield
Heal was given twice:
- once when PW:S is applied (see SpellAuras.cpp line 982).
- once when damage is actually absorbed.

The blizz way is to heal when PW:S is applied.

--HG--
branch : trunk
2010-01-31 22:03:58 +01:00
Brian
ba9197236c * Backed out changeset af19f9ff6dd8
* Spell ranks are handled by the (imagine this) spell_ranks table
* Data already in spell_ranks for these spells
* Thanks QAston

--HG--
branch : trunk
2010-01-31 13:19:43 -07:00
Brian
a4759e9ce8 * Add spell required data for Totem of Wrath ranks 2-4
* Thanks Wladass

--HG--
branch : trunk
2010-01-31 13:04:57 -07:00
Trazom62
5114a2a327 Fix Metagem bug exploit. Thanks Azazel and p.alexej.
Fixes issue #579.
Fixes issue #453.

--HG--
branch : trunk
2010-01-31 18:10:27 +01:00
QAston
9de5acc4e1 *Drop no longer needed sql table.
--HG--
branch : trunk
2010-01-31 17:49:55 +01:00
QAston
ac388e6f21 *Add support for spells in npc_trainer table with multiple SPELL_EFFECT_LEARN_SPELL, this fixes problems with learning such spells from trainers.
--HG--
branch : trunk
2010-01-31 17:24:13 +01:00
Trazom62
d435366bce Fix Script Violet Hold/Ichoron.
Fixes issue #33.

- implement Dehydration achievement
- go frenzy at 25% health and no longer cast bubble
- loose health when water elements are killed (3%. may still need to be adjusted).
- use spawn loc for adds

--HG--
branch : trunk
2010-01-31 16:23:28 +01:00
Trazom62
4732618c22 Fix crash in SelectTargetList
Fixes issue #578.

--HG--
branch : trunk
2010-01-30 22:42:04 +01:00
Spp
aee31b9164 Remove unnecesary item enchants checks
By Az@zel
Closes issue #382

--HG--
branch : trunk
2010-01-30 20:48:23 +01:00
QAston
ba59411178 *Update spell_script_target table validation.
--HG--
branch : trunk
2010-01-30 20:28:42 +01:00
Spp
f726f89c8b AuctionHouse: Use MailDeliveryDelay config value at mail cash delivery
Thanks to MrSmite
Closes issue #485

--HG--
branch : trunk
2010-01-30 19:35:16 +01:00
QAston
a331b67244 *Add error checks at spell_required table loading
*Allow spell_required table to store more than 1 spell learn requirement for a spell
*spell_required table data is removed from world.sql and since this commit the data for it should be maintained by db project you're using.

--HG--
branch : trunk
2010-01-30 19:25:04 +01:00
Spp
6b9914f0d7 Typo in last commit :(
--HG--
branch : trunk
2010-01-30 18:30:27 +01:00
Spp
e4b06aa71c Added missing CMakeList file.
* Thanks to Taliesin
* Closes 573

--HG--
branch : trunk
2010-01-30 18:00:40 +01:00
Brian
6a3cd98529 * Fixed the console in Linux so the prompt doesn't get hung, that was so
* annoying. Original idea by stump

--HG--
branch : trunk
2010-01-30 09:26:56 -07:00
Brian
cfa8ff7bd6 * Set the default spawntimesecs for creatures / gameobjects added in game to 5 minutes
* Was 25 seconds
* Thanks Paradox

--HG--
branch : trunk
2010-01-30 08:05:08 -07:00
Trazom62
c7d9ffd25b Fix Script Naxxramas/KelThuzad. Thanks scarymovie87 for pointing out the issue in previous patch.
- frost blast shall target MT in 25-mode only.

--HG--
branch : trunk
2010-01-30 16:01:46 +01:00
QAston
1b92277e8c *Fix the dead loop in Player::removeSpell, or at least optimize the cycle.
--HG--
branch : trunk
2010-01-30 15:57:41 +01:00
thenecromancer
a120426f9f Add support to time remaining display in WSG
--HG--
branch : trunk
2010-01-30 15:35:34 +01:00
XTZGZoReX
168d315882 * Revert [7239]. Research/code was wrong - caused wrong corpse position.
--HG--
branch : trunk
2010-01-30 15:32:25 +01:00
Brian
50f0279bdb * Set auto increment values for creature and gameobject GUIDs outside of TDB
ranges.
* All custom content should have GUIDs > 250000 for `creature` and GUIDs >
200000 for `gameobject`

--HG--
branch : trunk
2010-01-30 07:14:34 -07:00
thenecromancer
3c4db4786c Fix error with undeclared name
--HG--
branch : trunk
2010-01-30 14:02:51 +01:00
thenecromancer
a6630824f4 *Do not check for charminfo->petnumber when responding to Pet name query
*Send Unknown if pet is not found by object accessor

--HG--
branch : trunk
2010-01-30 13:54:34 +01:00
QAston
f587fd14af *Fix second crash in the opcode handler.
--HG--
branch : trunk
2010-01-30 13:22:55 +01:00
QAston
23f589efa3 *Fix a crash in CORPSE_MAP_POSITION_RESPONSE handler.
--HG--
branch : trunk
2010-01-30 11:37:39 +01:00
XTZGZoReX
7209312044 * Merge - screw you, Brian!
--HG--
branch : trunk
2010-01-29 22:25:09 +01:00
XTZGZoReX
c3ae3b88aa * Implement CMSG_CORPSE_MAP_POSITION_QUERY/CMSG_CORPSE_MAP_POSITION_QUERY_RESPONSE opcodes. Thanks to: Ceris, Lightguard, raczman for helping with research/code.
* Fix SMSG_QUERY_TIME_RESPONSE use/structure. Patch/research by TOM_RUS.

--HG--
branch : trunk
2010-01-29 22:24:18 +01:00
Brian
d140d67699 * Changed the default security levels for some commands
* Deleted no longer used loadscripts command
* Updated security levels in the command table to match defaults in the core

--HG--
branch : trunk
2010-01-29 14:19:43 -07:00
Brian
038c1ad776 * Added check in ObjectMgr to allow RewSpellCast=-1. Thanks QAston
--HG--
branch : trunk
2010-01-29 12:54:30 -07:00
Trazom62
7a6ad7d4f4 Merge
--HG--
branch : trunk
2010-01-29 19:49:46 +01:00
Trazom62
3c9c950c5f Fix UnitAI::SelectTarget: avoid erasing player from the threadlist.
--HG--
branch : trunk
2010-01-29 19:46:30 +01:00
Trazom62
5757e4f77f Fix Script Naxxramas/Kel'thuzad. Thanks tbaart.
Fixe issue #321.

- frost blast shall not target MT.

--HG--
branch : trunk
2010-01-29 19:45:49 +01:00
Trazom62
268230ed92 Fix Script Naxxramas/Maexxna. Thanks Scarymovie87.
Fixe issue #162.

- Add an repeating event for Frenzy, spell only lasts 10 minutes
- Added comments for missing texts
- Code style : Changed "return;"s to "break;"s in switch-case
- Code style : Move code of AI of Wrap Webs from mob_generic_creature.cpp into boss_maexxna.cpp file, since it belongs to the fight

--HG--
branch : trunk
2010-01-29 19:44:15 +01:00
Trazom62
0192d4e0cf Fix Script Naxxramas/Heigan. Thanks Scarymovie87.
Fixe issue #176.

- fix timers

--HG--
branch : trunk
2010-01-29 19:37:53 +01:00
XTZGZoReX
a385ea64b0 * Call Database::ThreadStart()/Database::ThreadEnd() for all databases in all threads.
--HG--
branch : trunk
2010-01-29 19:24:14 +01:00
Brian
80061b7899 * Fixed import error on spell_ranks, thanks for the info QAston
--HG--
branch : trunk
2010-01-29 11:22:34 -07:00
QAston
785cb86c6a *Fix build with GCC, thanks to Brian.
--HG--
branch : trunk
rename : sql/updates/7234_world_spell_ranks.sql => sql/updates/7236_world_spell_ranks.sql
2010-01-29 19:08:42 +01:00
QAston
94e5e3970e *Prevent linked effects to apply area auras in Unit::RemoveAreaAurasDueToLeaveWorld, finally fix the update sql
--HG--
branch : trunk
2010-01-29 18:51:06 +01:00
QAston
04aff1dba8 *Changes from recent commit into update file, sorry for that :<
--HG--
branch : trunk
rename : sql/updates/7233_world_spell_ranks.sql => sql/updates/7234_world_spell_ranks.sql
2010-01-29 18:21:51 +01:00
QAston
7776faa6ac *Typofix - Journeyman - rank 2 Apprentice - rank1
--HG--
branch : trunk
rename : sql/updates/7232_world_spell_ranks.sql => sql/updates/7233_world_spell_ranks.sql
2010-01-29 18:16:46 +01:00
QAston
9e31e08358 *Move spell rank extractor out of core, use sql table instead for easier maintaining of dependant database data.
--HG--
branch : trunk
2010-01-29 17:54:29 +01:00
XTZGZoReX
39a260d10d * Added actual loading of the addons table... This was missing in the original commit.
--HG--
branch : trunk
2010-01-29 11:56:48 +01:00
Trazom62
f5e267da16 Fix Script HoL/Ionar. Thanks WarHead.
Fixes issue #258.

--HG--
branch : trunk
2010-01-28 22:06:31 +01:00
Trazom62
62cd3ff865 Fix Script Violet Hold
- fix event reset if wipe at a boss
- fix boss not random again after a wipe
- fix erekem guard handling
- fix portal random location
- fix save and load data
- fix world state display for wave count
- fix some timers
- fix mob_erekem_guard set on correct creature_template entry

Still WIP.

--HG--
branch : trunk
2010-01-28 20:22:11 +01:00
Trazom62
4d0960e630 Fix Script Naxxramas/Kel'Thuzad. Thank PrinceCreed, Scazzato88 and Gyullo.
Fixes issue #486.
Fixes issue #511.

- fix kel'thuzad not casting when entering phase 2.
- fix crash when casting Detonate Mana.

--HG--
branch : trunk
2010-01-28 19:30:15 +01:00