Commit Graph

10311 Commits

Author SHA1 Message Date
azazel
ff0fdbfbea Core/Guilds:
* on load initialize guild vector with maximum available guild id (to avoid reallocations while loading);
* reserve space for more than one guild when adding guild to guild vector in case when new guild is out of available vector's size (to avoid reallocations for at least 15 next new guilds).

--HG--
branch : trunk
2010-10-25 19:20:39 +06:00
Spp
2e08f94338 Core/Dungeon Finder/Script: Move debug log msg to debug priority
--HG--
branch : trunk
2010-10-25 13:00:34 +02:00
Spp
3ac979e624 Core/Dungeon Finder: Fix a crash in UpdateProposal (added in 66a8af8214)
Closes issue 4564

--HG--
branch : trunk
2010-10-25 12:21:42 +02:00
Shauren
8ab5a04b7f Core/Spells: Fixed coefficient of Frostbolt, by A.Metaphysical.Drama
Closes issue #4386.

--HG--
branch : trunk
2010-10-25 12:17:26 +02:00
Spp
ae38b0441b Core/Opcodes: Change status type of CMSG_UPDATE_PROJECTILE_POSITION Opcode to unhandled
--HG--
branch : trunk
2010-10-25 12:00:54 +02:00
Spp
d7bcc25e38 Core/Map: Reenable error msg to find missing graveyards and use a better msg when a zone id is not found
--HG--
branch : trunk
2010-10-25 11:47:23 +02:00
Spp
f381e74c10 Core/Map: Add log to find bad zone ids when trying to find a graveyard
--HG--
branch : trunk
2010-10-25 11:28:42 +02:00
Spp
b1d759e79f Core/Dungeon Finder: Fix proposal window now being removed after a proposal success
--HG--
branch : trunk
2010-10-25 11:26:22 +02:00
Spp
18de18e7b9 Core/Dungeon Finder: Prevent a crash in Leave by checking Player or Group exist
--HG--
branch : trunk
2010-10-25 11:26:01 +02:00
Spp
739f336618 Core: Fix warnings
--HG--
branch : trunk
2010-10-25 11:25:42 +02:00
Shauren
4acf6012a8 Scripts/Pit of Saron: Added script for Overlord's Brand aura
--HG--
branch : trunk
2010-10-25 11:23:29 +02:00
Shauren
b96a206dc3 Core/Scripts: Moved OnPlayerLogout hook call before removing player, fixes crashes in scripts using this hook
--HG--
branch : trunk
2010-10-25 11:17:17 +02:00
Shauren
42065a236e Core/Scripts: Moved HealReceived from CreatureAI to UnitAI and added HealDone and removed creature-only restriction
--HG--
branch : trunk
2010-10-25 11:12:47 +02:00
Shauren
4f5a60c487 Core/Scripts: Moved DamageDealt and DamageTaken down from CreatureAI to UnitAI
--HG--
branch : trunk
2010-10-24 22:12:35 +02:00
Spp
6d849ca34c Core/Dungeon Finder: revert 5f4b58ea4bc5 (Do not allow 1 member groups)
- Last member in dungeon not being kicked will be handled in other way

--HG--
branch : trunk
2010-10-25 07:36:26 +02:00
Spp
3fc2d414b1 Core/Dungeon Finder: Use scripts to interact between groups and LFG
--HG--
branch : trunk
2010-10-25 07:29:53 +02:00
Spp
4cd2431cd7 Core/Dungeon Finder: Redo Find algorithm to select one proposal (not all and later pick one)
--HG--
branch : trunk
2010-10-25 07:16:46 +02:00
linencloth
9b8a457aeb Core/DBLayer: Optimize creature formation loading
--HG--
branch : trunk
2010-10-25 02:32:33 +02:00
linencloth
2d692e9e87 Core/DBLayer: Optimize waypoint script loading
--HG--
branch : trunk
2010-10-25 02:31:19 +02:00
linencloth
3742e8ddec Core/Transport: Prevent creature passengers from teleporting to an invalid grid.
--HG--
branch : trunk
2010-10-25 02:30:50 +02:00
click
910264070c Core/OpenPVP: Fix Outdoor PVP objectives in Eastern Plaguelands - patch by retriman, converted by D_Skywalker
--HG--
branch : trunk
2010-10-25 01:51:48 +02:00
click
989f696d1e Core/Scripts: Fix chest respawn exploit in Hellfire Rampart - origjnal fix by Gyullo (thanks)
--HG--
branch : trunk
2010-10-25 01:39:18 +02:00
click
b3f60aee2d Core/Scripts: Fix non-PCH compile
--HG--
branch : trunk
2010-10-25 01:22:00 +02:00
Shauren
ae58481c21 Core/Entities: Remove circular dependencies from GameObject headers, fixes *nix compile
--HG--
branch : trunk
extra : rebase_source : bcedd4aed81ad6fb72a13607cf954c11356bbfcc
2010-10-24 22:03:53 +02:00
Rat
5eb8ea2a5d Core/ConditionMgr: added CONDITION_QUEST_COMPLETE, conditionValue1: questiID, true if player has the quest in the questlog as 'completed'
--HG--
branch : trunk
2010-10-24 21:44:58 +02:00
Shauren
88ae092744 Core/Quests: Use honor multiplier as base for calculating honor rewards, not the amount of kills (fix by Nay)
--HG--
branch : trunk
2010-10-24 21:32:26 +02:00
Shauren
d03aeab9ad Scripts/Icecrown Citadel: Added Blood Prince Council script
Scripts/Icecrown Citadel: Festergut will not cast Vile Gas on melee targets if there are at least 3 (25 man: 8) ranged targets
Scripts/Icecrown Citadel: Festergut and Rotface gates will close with delay (when Putricide reaches the balcony)
Scripts/Icecrown Citadel: Replaced ASSERT(instance) with code disabling the AI if not inside instance
Core/Spells: Fixed TARGET_DEST_TARGET_RANDOM usage
Core/Scripts: Extended DamageDealt in AI to accept damage type as 3rd parameter
Scripts/Quests: Fixed quest "Unholy Infusion" (24749)

--HG--
branch : trunk
2010-10-24 21:27:02 +02:00
linencloth
07fa1bcbdf Core/Creature: Implement FarTeleportTo (teleport to an other map)
Core/Transport: Cleanup and optimize transport and passenger handling
- Only transports will be active objects
  - Reduced cpu and memory usage
- Using FarTeleportTo for creature passengers at transport teleportation
  - Creatures won't be recreated on teleport

--HG--
branch : trunk
2010-10-24 02:55:50 +02:00
Supabad
153352aac0 More missing script_texts by Tome
- Master Kelerun Bloodmourn
- fix typo in previous commit
- fix typo in script and apply some standards

--HG--
branch : trunk
2010-10-24 00:46:21 +02:00
Rat
62739ed26f Core/AI: implemented basic class for GameObjectAI
--HG--
branch : trunk
2010-10-23 23:31:37 +02:00
Shauren
e484a63622 Core/World: Changed corpse clean timer to 20 minutes (down from 3 hours)
--HG--
branch : trunk
2010-10-23 11:25:51 +02:00
click
f16c94701d Core/World: Remove autobroadcast notifications from console (only showing when viewed in loglevel 3 (debug)) + some codestyle changes
--HG--
branch : trunk
2010-10-22 22:56:42 +02:00
Rat
e67f04d362 Core/ConditionMgr: added CONDITION_SOURCE_TYPE_VEHICLE_SPELL, sourceGroup=creatureTemplate.entry, sourceEntry=spellEntry
--HG--
branch : trunk
2010-10-22 22:45:11 +02:00
_manuel_
3ee05b26ce Core/Spells: Now you can cast the Water Elemental's Freeze without cancelling its Waterbolt.
Author: dr.tenma

Fixes issue #4215

--HG--
branch : trunk
2010-10-22 17:22:38 -03:00
click
dc9708d09f Core/Guild: And fix a typo... *sigh*
--HG--
branch : trunk
2010-10-22 21:51:19 +02:00
click
67d5708bf0 Core/DBLayer: Use DirectPExecute, NOT DirectExecute, since we're actually using parameters in the queries - my bad!
--HG--
branch : trunk
2010-10-22 21:38:22 +02:00
click
12289c872e Core/DBLayer: Use DirectExecute instead of PQuery on some instance-saving queries
--HG--
branch : trunk
2010-10-22 21:08:27 +02:00
click
de0a8f9777 Core/Guilds: Adjust size of guildMap by 1 element, not 512 (fix by machiavelli)
--HG--
branch : trunk
2010-10-22 21:07:11 +02:00
_manuel_
4ab3b63646 Core/Scripts: Applied some Coding Standards.
--HG--
branch : trunk
2010-10-21 23:24:12 -03:00
click
a1319a2020 Core/Unit: Revert r457923c3f3 - combattimer handling from that revision is wrong, as it dictates wether not a creature will actually enter combat or not - with
the earlier change this ment that any creature entering combat would not properly continue if target moved.

--HG--
branch : trunk
2010-10-22 03:59:08 +02:00
click
caf8bbbe0a Core/Grid: Fix infinity-loop in grid loading (patch by SilverIce)
--HG--
branch : trunk
2010-10-22 03:39:27 +02:00
_manuel_
8ad97b1a47 Core/Scripts: Uldaman improvements.
Uldaman now is near to 99% blizzlike, datas and events are fully rewriten.
* Add save to instance.
* Add support for quest 2240 (Hidden Chamber).
* Archeadas Encounter more blizzlike.
* Ironaya Event (and animation) now working for Horde and Ally.

Author: D_Skywalk

Closes issue #4431.

--HG--
branch : trunk
2010-10-21 20:54:47 -03:00
click
cfa052d429 Core/Spells: Explicitly set target-effects to hot ONLY owner/caster and his/her pet for Hunter T10 Set bonuses and the Warlock T10 4P bonuses
Thanks to tenma for the mini-discussion on the subject.

--HG--
branch : trunk
2010-10-22 01:33:47 +02:00
click
30542a442d Core/PetHandler: Implement CMSG_PET_STOP_ATTACK - thanks to zergtmn for the original code
--HG--
branch : trunk
2010-10-22 01:10:39 +02:00
click
78f506be8a Scripts/VioletHold: Give Ichiron adds the proper visual model (give them the proper aura) - fix by Gyullo / Manuel
Closes issue 3288

--HG--
branch : trunk
2010-10-21 22:17:04 +02:00
click
8ac91ada22 Core/Unit: Fix leave combat timer - original patch by Laise
Needs further testing, give feedback if wrong.

--HG--
branch : trunk
2010-10-21 22:09:45 +02:00
click
ea847598d0 Buildsystem: Add initial support for Intel C++ Compiler (patch by Leak)
Note: Intel C++ Compiler for Windows is not supported in this change
Closes issue 4361

--HG--
branch : trunk
2010-10-21 22:00:12 +02:00
click
03c6c34a4b Core/Spells: Fix a small proc-issue with Warlpcl T10 4P bonuses (Devious Minds)
Same functionality as for 70728 (Exploit Weakness) - thanks to Svetilo for the heads up

--HG--
branch : trunk
2010-10-21 21:18:19 +02:00
click
e2dbc2e53a Core/Spells: Fix a small proc-issue with hunter T10 set bonuses (Exploit Weakness)
(original fix by Dr.Tenma)
Comment issue #4362
From DBCs TargetA[0] is already set as TARGET_UNIT_PARTY_CASTER, which maps to TARGET_UNIT_CASTER,
so it should be enough to explicitly target the casters pet in this case, ie. just doing
spellInfo->EffectImplicitTargetB[0] = TARGET_UNIT_PET; - feedback on this required.

--HG--
branch : trunk
2010-10-21 21:05:29 +02:00
click
34eed2de3f Core/Scripts: Fix menu clearing in onGossipSelect()-sections for some scripts (including examples) - patch/fix by Paradox
Closes issue 4524

--HG--
branch : trunk
2010-10-21 20:12:33 +02:00