Commit Graph

6484 Commits

Author SHA1 Message Date
thenecromancer
1cda3dcb5f Fix possible issue where player could inherit stealth visibility from his/her pet.
--HG--
branch : trunk
2010-02-03 21:06:35 +01:00
thenecromancer
46c3236a14 Some changes to immunities
--HG--
branch : trunk
2010-02-03 16:43:47 +01:00
silver1ce
a307ba784c *Move object's field\visibility update functions to object from accessor
removed useless SendUpdateObjectToAllExcept - anyway fields will be updated, there is no sense to force update them

--HG--
branch : trunk
2010-02-03 16:53:40 +02:00
Brian
23bdbf1ad3 * Fixed reputation buying from vendors where the items had 0 for Req rep
* faction, but >0 for Req rank. In that case it pulls the faction of the
* vendor.
* HUGE thanks to QAston and silverice

--HG--
branch : trunk
2010-02-02 21:24:44 -07:00
silver1ce
a1bf304945 typo
--HG--
branch : trunk
2010-02-03 06:13:57 +02:00
silver1ce
02acc66043 cleanup into grid containers
grid containers doesn't contains guid keys, so guid parameter is useless,
 removed find functions(anyway result of search would be null always)

--HG--
branch : trunk
2010-02-03 05:23:32 +02:00
_manuel_
23b1a482c9 Changes in Trial of the Champion:
-Implemented new scripts for Grand Champions, it includes vehicle fight (it is not 100 % done)
-Implemented more Vehicles Accessories. (related with the instance)
-Implemented basic support for event at spawn or dead from Boss Eadric/Paletress.
-Implemented basic support for event at spawn from Boss Black Knight.

For a complete fix see TDB forum > New Fix Submissions > Core related DB content.

--HG--
branch : trunk
2010-02-02 23:25:46 -03:00
QAston
a4b89d8806 fix a typo in IsHighRankOfSpell(uint32 spell1,uint32 spell2)
--HG--
branch : trunk
2010-02-03 02:41:10 +01:00
QAston
10695f9131 *Drop spell_stack_masks table
*Add spell_group_stack_rules table (for more info see wiki)
*The table is maintained by core team
*Move some spell specific out of core to the new table

--HG--
branch : trunk
2010-02-02 22:35:01 +01:00
Trazom62
70425115f0 Fix Script DrakTharon/Trollgore.
- fix adds spawn points.
- fix achievement Consumption Junction.

--HG--
branch : trunk
2010-02-01 21:28:50 +01:00
Trazom62
a91bf2f028 Fix quest : Death From Above. Thanks clement.roussel for original patch.
Fixes issue #592.

--HG--
branch : trunk
2010-02-01 21:25:10 +01:00
QAston
a1256d88ee *drop spell_elixir table
*add spell_group table for storage of groups of spell (kinda obvious, isn't it?) and populate the table with converted spell_elixir table data
*the table is going to be maintained by core team
*fix percentage display at spell_ranks table loading
*add TARGET_UNIT_CASTER to allowed learn spell targets in npc_trainer table, thanks to Aokromes for noticing the issue.

--HG--
branch : trunk
2010-02-01 19:22:32 +01:00
thenecromancer
9b6cf93d7a Use normal ace thread mutex
--HG--
branch : trunk
2010-02-01 11:30:05 +01:00
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
_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
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
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
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
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
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
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