Commit Graph

1471 Commits

Author SHA1 Message Date
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
linencloth
168a085723 Core/Guilds: Fix a crash
--HG--
branch : trunk
2010-10-21 17:15:13 +02:00
linencloth
d9d1ec3670 Core: optimize string splitting
- Mainly affects item loading performance
  - Reduces guild loading time a lot

--HG--
branch : trunk
2010-10-21 16:56:51 +02:00
Spp
8996a10f6c Core/Groups: Move OnGroupChangeLeader so it could be triggered when a leader leaves a group
--HG--
branch : trunk
2010-10-19 19:17:36 +02:00
Spp
959ef0878a Core/Groups: Use the proper RemoveMethod when player leaves a group
--HG--
branch : trunk
2010-10-19 18:32:04 +02:00
azazel
db04f13777 Core/Guilds: fixed small logical error when counting total loaded guilds
--HG--
branch : trunk
2010-10-19 18:50:50 +06:00
Supabad
b7b65eacf2 Core/Spells: Destructable Buildings
- Fix issue where damage can be done to GameObjects with hp 0
- add check for Gameobjects with faction 0

--HG--
branch : trunk
2010-10-19 13:15:47 +02:00
Spp
43220cc1f6 Core/Groups: Correct check for isFull(). LFG groups were able to invite more than 5 players
--HG--
branch : trunk
2010-10-19 12:39:46 +02:00
Spp
131fb1580b Core/Dungeon Finder: Use internal Teleport function when teleporting someone out of the dungeon after a kick (To ensure all spells are being properly removed)
--HG--
branch : trunk
2010-10-19 12:39:24 +02:00
Spp
c2413f2698 Core/Dungeon Finder: Fix players getting stuck after being teleported to dungeon while in a taxi flight
--HG--
branch : trunk
2010-10-19 12:39:03 +02:00
azazel
64c1b6b465 Core/Guilds: replace container type for guilds (use vector instead of map).
Scripts/Misc: remove another warning (I can't pass by such things and I don't want to make separate commit for such changes).

--HG--
branch : trunk
2010-10-19 16:17:54 +06:00
Shauren
a449a4020d Scripts/Forge of Souls: Added missing visual for Soul Fragment, thx Dark0r
--HG--
branch : trunk
2010-10-18 20:59:44 +02:00
Shauren
1fc734555d Scripts/Icecrown Citadel: Festergut will no longer target melee DPS with Vile Gas
Scripts/Icecrown Citadel: Rotface's Mutated Infection will now target only one player instead of whole raid

Closes issue #4449.
Closes issue #4422.

--HG--
branch : trunk
2010-10-18 18:58:51 +02:00
Shauren
09260ee6c1 Scripts/Forge of Souls: Revisited Bronjahm script, removed ugly hacks and fixed spells properly
--HG--
branch : trunk
2010-10-18 13:19:04 +02:00
Rat
b4c62b9646 Typo cleanup! :/
--HG--
branch : trunk
2010-10-17 22:00:40 +02:00
Rat
e9fffec5fb removed wrong SetFacing...
--HG--
branch : trunk
2010-10-17 21:26:04 +02:00
Rat
ee32b4b39a Core/Objects: added ToUnit(), ToGameObject() (will be used in future)
Core/Unit:
- added SetFacing() function, using proper packet implementetion (spline type)
- added GetAuraCount() function (will be used in future)
Core/Creature: renamed one unknown type_flag

--HG--
branch : trunk
2010-10-17 21:14:08 +02:00
Xanadu
1e101ed785 Core/Utils: Fixed some unsafe calls to utf8 translation functions.
--HG--
branch : trunk
2010-10-17 20:35:11 +02:00
azazel
c0faed2251 Core/Guilds: guild code was completely refactored and rewritten.
* OOP desing and implementation;
* all the queries are moved to prepared statements;
* guild loading is optimized;
* all the possible interaction with guild's data is done inside the guild class;
* added more hooks to GuildScript class;

WARNING: Make sure you backup your characters database before applying this change (just in case).

Known problems with guilds:
* when new member is added to the guild, MOTD is not displayed for him in guild tab of social window;
* if you add item with random property to guild bank visual representation of item below it becomes wrong (it displays wrong stack number);
* packets order differs from official: currently guild bank packet traffic is twice as more than on offy.

--HG--
branch : trunk
2010-10-17 19:54:13 +06:00
Xanadu
f5911917b4 Core/Vehicles: Mammoth mount vendors no longer jump off the mount when talked to.
--HG--
branch : trunk
2010-10-17 03:09:01 +02:00
silinoron
8716264eda Core/Misc: Implement opcode CMSG_HEARTH_AND_RESURRECT - thanks to Blaymoira and tom_rus
--HG--
branch : trunk
2010-10-16 16:40:25 -07:00
Xanadu
a77b8da5a9 Core/Vehicles: Fixed vendors on Tundra Mammoth mount - now they are visible after mounting up.
--HG--
branch : trunk
2010-10-17 01:31:19 +02:00
click
4070a205d1 Core/Scripts: Let Professor Putricide do his mischief on NIX-platforms to (when not using PCH)
--HG--
branch : trunk
2010-10-17 00:43:44 +02:00
linencloth
b545bd8ea9 Core/DBLayer: Replace some asynchronous queries to synchronous ones in instance loading to prevent corruption in some cases
--HG--
branch : trunk
2010-10-16 22:19:41 +02:00
Shocker
e38e590ec8 Core/Spells: Really move spec changing InBattleground check to its correct location
--HG--
branch : trunk
2010-10-16 17:53:33 +03:00