Commit Graph
100 Commits
Author SHA1 Message Date
Tartalo 51a93aa652 Halls of Lighting: Make sure doors are closed at start
--HG--
branch : trunk
2010-02-15 14:55:29 +01:00
Tartalo 00d30ee06a Storm Peaks, Thorim: Fix quest 13064
--HG--
branch : trunk
2010-02-15 14:44:41 +01:00
n0n4m3 490f4bf7ec Fix some problem with Guild Bank after switch to client version 3.3.2, also cleanup code. Thx TOM_RUS.
--HG--
branch : trunk
2010-02-15 14:30:12 +01:00
Machiavelli a5585ceb3c Store to be traded items in array based on item guid instead of item slot to prevent exploiting. Fixes #667.
--HG--
branch : trunk
2010-02-15 13:55:16 +01:00
Machiavelli 9fe3a501cc Fix in outgoing MSG_QUERY_NEXT_MAIL_TIME (the new mail notification icon next to the mini map): do not show the name of a player asociated with the mail sender GUID if the mail is not from a player (messagetype != MAIL_NORMAL).
--HG--
branch : trunk
2010-02-15 10:17:33 +01:00
Xanadu c865c72e30 Added a classlevelstats update. Brought to you by Malcrom.
--HG--
branch : trunk
2010-02-13 04:12:40 +01:00
Machiavelli ce2d71e1d9 Add config option that determines the maximum allowed time between the last received CMSG_CHAR_ENUM and another incoming packet, and will disconnect the peer if this time limit is exceeded.
In other words, a time limit in which idlers can stay logged in on the character selection screen before they are disconnected.
Fixes issue #335

--HG--
branch : trunk
2010-02-12 19:59:44 +01:00
Xanadu ab146caaa8 Fixed persistent area aura visual radii (flamestrike, consecration etc.). Thanks to QAston and _manuel_ for research.
Closes issue 522. Closes issue 719.

--HG--
branch : trunk
2010-02-11 21:31:12 +01:00
n0n4m3 a893682dbf Fix compile warning on win.
--HG--
branch : trunk
2010-02-10 18:36:08 +03:00
n0n4m3 293ea07a25 Revert revision: 053bfe8ad9, this cause some crash.
Use dynamic_cast more is safer.
I think no more crash on db code.

--HG--
branch : trunk
2010-02-10 16:04:48 +03:00
Trazom62 1e4684826e Fix Script HoS/Tribunal Event. Thanks beberlescaraber.
Fixes issue #58.

- fix brann defending when he should not.
- fix reset of gossip flag.
- fix reset of GO at end of event.

--HG--
branch : trunk
2010-02-08 19:26:45 +01:00
Rat 8344eea132 *Kraz should not be un-hexed from a forest frog
--HG--
branch : trunk
2010-02-07 22:59:00 +01:00
Rat d89b04ef89 *reset npc flag, in overlord morghor script, after event is done
--HG--
branch : trunk
2010-02-07 22:50:09 +01:00
Trazom62 b0ea16f10b Fix crash in Spell::EffectApplyAura.
Fixes issue #657.

--HG--
branch : trunk
2010-02-07 18:16:53 +01:00
Trazom62 8c87b682d3 Fix crash in npc_thassarianAI::JustDied.
Fixes issue #531.

- store GUID instead of pointers to creature that may despawn.
- and some code style updates.

--HG--
branch : trunk
2010-02-07 17:43:00 +01:00
Trazom62 34755de77d Fix Script Naxxramass/Patchwerk. Thanks Scarymovie87.
Fixes issue #187.

--HG--
branch : trunk
2010-02-07 17:32:14 +01:00
Trazom62 fee3181e54 Add VH script texts.
Fixes issue #64.

Some texts still not used in code.
Thanks wowwiki for most of them.
Thanks adminemu for Xevozz ones.

Fix some typo in Brann (HoS).

--HG--
branch : trunk
2010-02-07 17:15:06 +01:00
Trazom62 5325084b6c Fix Improved Fire Nova and Earthen Power Shaman Spells. Thanks Retriman.
Fixes issue #559.

--HG--
branch : trunk
2010-02-07 15:31:02 +01:00
Trazom62 5bdbb5e6d1 Fix creature script example to be conform to Trinity code standards.
--HG--
branch : trunk
2010-02-07 13:06:03 +01:00
Trazom62 32ef583616 Fix Mage Polymorph Reflect. Thanks breakerfly.
Fixes issue #652.

--HG--
branch : trunk
2010-02-07 12:31:51 +01:00
Trazom62 4e500f7227 Fix The Dwarven Spy text. Thanks zthoreen.
Fixes issue #616.

--HG--
branch : trunk
2010-02-07 12:16:35 +01:00
n0n4m3 8676e5056f Implement async class for database operations for better performance, remove 10ms sleep, fixed some crash on sql execute.
--HG--
branch : trunk
2010-02-07 08:22:31 +03:00
n0n4m3 bb7222c376 Fixed data loss at player save.
--HG--
branch : trunk
2010-02-06 19:07:28 +03:00
n0n4m3 982296518c Fixed crash in PetAI::UpdateAI.
--HG--
branch : trunk
2010-02-06 19:06:55 +03:00
teacher 5cb0a6177c Removed script_waypoints data form world.sql. They should not be there.
Removed obsolete readme file for fulls. Fulls are now just for testing purposes.

--HG--
branch : trunk
2010-02-06 14:47:49 +01:00
Xanadu 6e1176e7fc Modify world.sql, too...thx to _manuel_for reminding me. Also thx to Aokromes for testing revs 7299 & 7300.
--HG--
branch : trunk
2010-02-06 01:08:17 +01:00
Xanadu 29cf32ce9b Modified the .dist command to display exact distances, too.
--HG--
branch : trunk
2010-02-06 01:00:08 +01:00
Xanadu d536614df8 Fixed some GetDistance functions, added several asserts
--HG--
branch : trunk
2010-02-06 00:28:19 +01:00
teacher d9ecdfdd56 Moved sql files to sql\updates\3.2.2a_old directory.
--HG--
branch : trunk
2010-02-05 22:06:27 +01:00
Xanadu 45002f590e Merge
--HG--
branch : trunk
2010-02-05 19:16:03 +01:00
Xanadu f8d1920fa5 Yet more cleanup, mostly in the script system. This should conclude the script integration into core.
--HG--
branch : trunk
2010-02-05 13:01:32 +01:00
Xanadu a5d1bc77ab A great purge of obsolete macros.
--HG--
branch : trunk
2010-02-05 00:31:28 +01:00
Trazom62 4674dec37b Fix Drak'Tharon Script Text
Fixes issue #77.
Thanks Tlexii for Trollgore entries.

--HG--
branch : trunk
2010-02-04 23:47:47 +01:00
Trazom62 646fc8276a Fix ResetInstance.
Fixes issue #70.

Reset Instance was removed during the merge to 3.2.2, then fixed again, then backed-out due to bug. This latter is now fixed.
Thanks to the original authors (already credited in old rev).

--HG--
branch : trunk
2010-02-04 22:03:09 +01:00
Xanadu b0b261585f Move the EvilID.h includes to pch.
--HG--
branch : trunk
2010-02-04 21:07:12 +01:00
QAston 3df5bb041c *Way more correct way of selecting caster and target for Periodic Trigger auras.
--HG--
branch : trunk
2010-02-04 18:34:46 +01:00
teacher 61cc641384 Added Spell "Launch Spear" to creature "Ymirheim Spear Gun" (by Malcrom).
Added missing spell updates for Rev 7285 (by manuel).
Renamed a wrongly named file.
Added two recent scriptname updates to world_scripts_full.sql.

--HG--
branch : trunk
2010-02-04 16:12:52 +01:00
Xanadu ad63efde8d Fixed Ritual of Souls, implemented soulwell giving healthstones according to warlock's Improved Healthstone talent points.
--HG--
branch : trunk
2010-02-04 14:43:07 +01:00
QAston 6ec51e7bbc *Implement spell target type TARGET_GAMEOBJECT_NEARBY_ENTRY
--HG--
branch : trunk
2010-02-04 00:36:40 +01:00
Trazom62 b1cc10aaf0 Quest Support All Along the Watchtowers (5097,5098). Thanks Retriman.
Fixes issue #519.

--HG--
branch : trunk
2010-02-03 22:27:35 +01:00
Trazom62 000876b2f4 Fix Script AQ40/C'Thun.
Fixes issue #587.
Thanks kb_z for original patch.

Still some visual effect not working.

--HG--
branch : trunk
2010-02-03 21:32:08 +01:00
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
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
teacher 65705a16c1 Updated world.sql and characters.sql.
Removed commented code form realm.sql and set account.expansion field default value to 2 (wotlk) (thx Aokromes).
Properly set default values for some world DB fields.
Properly set some world DB fields to allow Database import in strict mode (by Brian).
Updated world_script_full with recent committed npc script.
Renamed a couple of files with proper revision number.
Note: no DB data will changed nor harmed by this commit.

--HG--
branch : trunk
2010-02-01 18:52:42 +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
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
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
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
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 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
Rat cb05b01854 *fix script config, closes issue #521
--HG--
branch : trunk
2010-01-28 16:56:01 +01:00
thenecromancer 38209db46e Merge
--HG--
branch : trunk
2010-01-28 14:42:40 +01:00
thenecromancer 984a47b541 Implement Insanity phase for Herald Volazj encounter (still missing AI for adds)
--HG--
branch : trunk
2010-01-28 14:42:05 +01:00
_manuel_ 0711119de5 Removed tabs. Closed issue 397 and 171.
--HG--
branch : trunk
2010-01-27 15:15:49 -03:00