Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
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
Supabad f275f8b4b5 More missing script_texts fixed by aokromes
--HG--
branch : trunk
2010-10-21 11:02:46 +02:00
click 88f81d80a4 BuildSystem: Add XCode specific compiler handling in the OSX compile-instructions (_BUILD_DIRECTIVE gave error)
Update issue #4368
OSX/XCode compilation is not "fixed" as such untill a newew release of G3D is sorted. This is worked on from the G3D developers, and known.

--HG--
branch : trunk
2010-10-20 16:35:17 +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
Shocker c2295e86be Core/Spells: Move hacky check for spec changing to its correct location
--HG--
branch : trunk
2010-10-16 17:44:42 +03:00
Shauren 60fea600bc Merge
--HG--
branch : trunk
2010-10-16 16:39:38 +02:00
Shauren 8a17d95647 Scripts/Icecrown Citadel: Added Professor Putricide script
Scripts/Icecrown Citadel: Fixed Professor Putricide gate opening when both Rotface and Festergut are dead
Scripts/Icecrown Citadel: Added script updating entries of NPCs at Light's Hammer depending on faction
Scripts/Icecrown Citadel: Rotface should not pick main tank as target for Slime Spray (removed debugging code)
Core/Spells/Conditions : Spell script target condition now accepts ConditionValue3 as affecting effect mask (only search targets with matching mask)

--HG--
branch : trunk
extra : rebase_source : 943e3bac5d9063974d7f7132f144e91946f825d4
2010-10-16 16:34:21 +02:00
Shauren 4ce274dbcd Scripts/Icecrown Citadel: Added Professor Putricide script
Scripts/Icecrown Citadel: Fixed Professor Putricide gate opening when both Rotface and Festergut are dead
Scripts/Icecrown Citadel: Added script updating entries of NPCs at Light's Hammer depending on faction
Scripts/Icecrown Citadel: Rotface should not pick main tank as target for Slime Spray (removed debugging code)
Core/Spells/Conditions : Spell script target condition now accepts ConditionValue3 as affecting effect mask (only search targets with matching mask)

--HG--
branch : trunk
2010-10-16 16:34:21 +02:00
Shocker 222d1cd211 Core/Misc: Also remove buffs from pet when joining arena to make sure a player won't enter with a prebuffed pet, fixes issue 4287
--HG--
branch : trunk
2010-10-16 17:34:21 +03:00
Shocker 8154f7243c Core/Arenas: Remove pet spell cooldowns on arena join too, fixes issue 1868
--HG--
branch : trunk
2010-10-16 17:01:01 +03:00
linencloth ae213dd580 Core: Improve constant channel handling
- Implement area restrictions
  - Disable constant channels in arenas
  - Implement city requirement
- Implement global constant channels
- Fix some packets

--HG--
branch : trunk
2010-10-16 12:59:53 +02:00
azazel 3bd1ee0665 Fix most of the recently introduced warnings
--HG--
branch : trunk
2010-10-16 13:32:30 +06:00
Xanadu 8823549694 Typo in SQL...my bad. Thanx Stryker for spotting it.
--HG--
branch : trunk
2010-10-15 17:53:18 +02:00
click 059e5758ed BuildSystem: Fix a minor issue when using CMake-2.6.x to generate the buildfiles
(Thanks to A.Metaphysical.Drama for the report/fix)

--HG--
branch : trunk
2010-10-15 15:47:30 +02:00
click 607bc17d05 BuildSystem: Set the proper type of the cached revision-variable, so it doesn't show up in the CMake GUI
--HG--
branch : trunk
2010-10-15 00:55:31 +02:00
click 92a379da7f BuildSystem: Clean up the revision.h generation a tad bit
--HG--
branch : trunk
2010-10-14 23:47:59 +02:00
click 88f196f1a9 BuildSystem: Cache results from when pulling the revision-information to avoid regenerating revision.h
(should remove the unneeded rebuilding of some core-files due to that the revision.h file has changed timestamp-wise)

--HG--
branch : trunk
2010-10-14 22:48:55 +02:00
Xanadu a735d84ecf Script/Spells: - Removed spell difficulty data already present in DBC.
- Added some spell difficulty data for Razorscale and Ignis (thanks to Eclipse).

--HG--
branch : trunk
2010-10-14 18:35:22 +02:00
click 3cc2770261 Core/Entities: Remove heartbeat update packet from Unit::SendMonsterStop()
(Also makes NPCs stop jumping when talked to - no more scared NPCs thankyou)

--HG--
branch : trunk
2010-10-13 19:01:21 +02:00
Shocker 91aa72a5c6 Core/Vehicles: Add some missing power types, thanks to Heisenberg, closes issue 3841
--HG--
branch : trunk
2010-10-12 21:59:11 +03:00
Shocker 66dec6d86f Core/Misc: Implement config option for energy regeneration rate, patch by Ramus, closes issue 4394
--HG--
branch : trunk
2010-10-12 21:05:37 +03:00
Shocker 91db34c4b5 Core/Spells: Attach the spell_creature_permanent_feign_death script to one more spell, 31261
--HG--
branch : trunk
2010-10-12 20:40:32 +03:00
Rat 5ee2c83835 Code/ConditionMgr: added CONDITION_DRUNKENSTATE, true if player is drunk enough. sober(0), tipsy(1), drunk(2), smashed(3)
--HG--
branch : trunk
2010-10-11 23:35:55 +02:00
azazel adf0abc90c Scripts: Added some more missing script texts. By Aokromes.
--HG--
branch : trunk
2010-10-11 12:51:17 +06:00
runningnak3d 905c1c0532 Tools/MapExtractor: Fix typo in areaid error output.
Author: svetilo12
Closes 4395

--HG--
branch : trunk
2010-10-10 17:43:47 -06:00
runningnak3d 2a06d6a363 Core/Misc: Remove some not needed code that got through in the merge.
--HG--
branch : trunk
2010-10-09 01:57:04 -06:00
runningnak3d 1cdd1a6700 Branch merg
--HG--
branch : trunk
2010-10-09 01:54:36 -06:00
Supabad 8f9660fa07 Scripts/Ulduar: Boss Razorscale
- Update Boss Razorscale thanks to PrinceCreed
- harpoon event needs work
- apply trinity coding standard to patch
- change minor typo in Boss Ignis Thanks to Lopin

--HG--
branch : trunk
2010-10-11 01:17:16 +02:00
runningnak3d 7a9a9426a7 Misc/CodeStyle: Apply proper code style to c746695313
Thanks Paradox

--HG--
branch : trunk
2010-10-09 01:48:32 -06:00
runningnak3d 40e3ca4366 Misc: removed no longer needed / outdated tags
--HG--
branch : trunk
2010-10-09 01:17:53 -06:00
runningnak3d fa4586c17a Core/SQL: Updates for creature_classlevelstats by Shauren
--HG--
branch : trunk
2010-10-08 21:52:34 -06:00
runningnak3d 3feda9b6af Core/Vmaps: Remove the ability to ignore individual maps from vmap LOS /
height checking. Also add a warning if vmap.enableHeight is disabled. You
*MUST* have all LOS / height checking enabled to have a functional server.
Original patch by: Vladimir

--HG--
branch : trunk
2010-10-08 20:14:12 -06:00
runningnak3d a6170675c6 Core/Misc: Fix typo
Thanks: jamieplucinski

--HG--
branch : trunk
2010-10-08 19:05:52 -06:00
runningnak3d a667faaa94 Core/GameObject: Create enum GameObjectDynamicLowFlags instead of using hard
coded flags.
Author: NoFantasy

--HG--
branch : trunk
2010-10-08 18:38:58 -06:00
runningnak3d 86dbbe4afe Core/Misc: Fix logic problem.
Thanks Zor

--HG--
branch : trunk
2010-10-08 18:00:43 -06:00
runningnak3d 26d0598b9a Core/WorldPacket: Only activate GOs if in GM mode and not make them sparkle.
Got reports of blindness in GM mode.

--HG--
branch : trunk
2010-10-08 17:48:44 -06:00
Shauren e0b876d78b Fixed CRLF in SpellMgr.cpp
--HG--
branch : trunk
2010-10-10 11:09:16 +02:00
click 29bddfa50c Core/Pets: Initialize pet level properly (stupid mistake), and set loaded XP after initialization is completed.
--HG--
branch : trunk
2010-10-10 05:50:40 +02:00
click 91b48b33dc Core/Pets: Initialize petlevel before synchronizing with owner
--HG--
branch : trunk
2010-10-10 04:23:08 +02:00
click f358de5437 Core/Spells: Fix Hunters Mark and allow additional damage talents to provide benefits - patch by Dr.Tenma
Fixes issue 2674.
Fixes issue 2792.

--HG--
branch : trunk
2010-10-10 01:22:47 +02:00
click 0509a780c8 Core/Entities: Ensure that pets retain their XP-points when dismissed in any form or way (outrunning/riding/mounting/flying)
Also clean up the logic a bit - pet stats initialization initializes hp/mana/powers on pets, while they should only be initialized/changed on pet call/creation.
Fixes issues 4284

--HG--
branch : trunk
2010-10-10 01:03:21 +02:00
Supabad 64ccaa6c08 More missing boss scripts texts by Aokromes
--HG--
branch : trunk
2010-10-09 22:37:14 +02:00
Shauren 909897657f Core/Scripts: Fixed DefaultTargetSelector aura check, patch by bytewarrior
Closes issue #4375.

--HG--
branch : trunk
2010-10-09 20:14:22 +02:00
Shauren 063e89d07d Core/Guild: Fixed crash when unstacking items in guild bank
Closes issue #4360.

--HG--
branch : trunk
2010-10-09 18:07:27 +02:00
Shauren 91a97c7b83 DB-Schema/World/creature: Added possibility to override npcflag, unit_flags, dynamicflags in creature table
Core/Player: Fixed bad query in previous revision

--HG--
branch : trunk
2010-10-09 17:52:00 +02:00
Shauren 324de6fb4c Core: Added some anti-WPE filter checks to prevent putting non-empty bags into other bags/gbank/mail/auction, original patch from mythcore
Core: Changed inventory saving - will no longer abort operation at single item fail

Closes issue #1994.

--HG--
branch : trunk
2010-10-09 17:36:53 +02:00
Shauren a20dd32de0 Core/Trade: Fixed crash in WorldSession::moveItems, thx Derex for pointing it out
Closes issue #4216.

--HG--
branch : trunk
2010-10-09 17:33:19 +02:00
Shauren 9a47bc96a1 Scripts/Icecrown Citadel: Added Rotface script
Scripts/Icecrown Citadel: Corrected death speech for Stinky and Festergut
Scripts/Icecrown Citadel: Fixed Boned! achievement conditions

--HG--
branch : trunk
2010-10-09 16:50:03 +02:00
Spp aae2f3b48e Core/Dungeon Finder: Partial revert "cfad2a99ac" (remove use of Luck of the draw and Dungeon Deserter Spells)
Note: Will be readed later after some functions remake

--HG--
branch : trunk
2010-10-09 14:56:51 +02:00
QAston f8a4312701 Core/ScriptSystem: Add compile time type check of function assigned to hooks -
prevents incorrect function calls. Since this rev you have to put
PrepareAuraScript(<yourscriptclassnamehere>) at the beginning of every aura
script.

--HG--
branch : trunk
2010-10-08 22:33:21 +02:00
click ce712adda2 Buildsystem: Clean up the revision.h target generation
- rename src/revision.h folder to src/genrev
- ensure BUILDDIR/revision.h file is cleared/removed before generation (deleted/recreated during buildmode-changes)
Note: This needs further testing, so please give feedback.

--HG--
branch : trunk
rename : src/revision.h/CMakeLists.txt => src/genrev/CMakeLists.txt
2010-10-08 22:11:47 +02:00
QAston 1760e42e2c Core/ScriptSystem: Add compile time type check of function assigned to hooks - prevents incorrect function calls. Since this rev you have to put PrepareSpellScript(<yourscriptclassnamehere>) at the beginning of every spell script. Yes, i know it's unhandy, but unfortunately C++ preprocessor is very limited, so you have to do that extra work each time you write a script:(.
--HG--
branch : trunk
2010-10-08 21:33:44 +02:00
QAston e5e53498ce Core/Spells:
- Add more descriptive enumerator of procflags - now clearly pointing out that proc flags are dependant to the spell dmg class of the spells causing procs.
 - Define and implement PROC_FLAG_DONE_MAINHAND_ATTACK.

--HG--
branch : trunk
2010-10-08 19:17:49 +02:00
Supabad 3339e6345e really fix sql this time... ty svetilo12 for the notice
--HG--
branch : trunk
rename : sql/updates/10182_world_spell_script_names.sql => sql/updates/10183_world_spell_script_names.sql
2010-10-08 18:37:59 +02:00
Supabad 8dbdd388c9 fix sql from previous commit
--HG--
branch : trunk
rename : sql/updates/10181_world_script_texts.sql => sql/updates/10182_world_script_texts.sql
rename : sql/updates/10181_world_spell_script_names.sql => sql/updates/10182_world_spell_script_names.sql
2010-10-08 18:26:37 +02:00
Supabad f6645ce6e8 Scripts/Ulduar: Boss Ignis
- Update Boss Ignis thanks to snakeice for main patch
- add support for spell slagpot thanks to Shauren and Linencloth
- apply trinity coding standard to patch

--HG--
branch : trunk
2010-10-08 18:04:11 +02:00
runningnak3d 04566e5be9 Core/GameObject: Make chests (type 3) GOs active even if they have no loot if
a questID is defined and active for the player. It is possible for events to
happen even if the GO has no loot.
Original Author: NoFantasy
Optomized by: kamikazetg

--HG--
branch : trunk
2010-10-06 18:21:42 -06:00
runningnak3d debeea7f2a Core/GameObject: Check if a GO is a requirement of a quest, and if so make it
sparkle
Author: NoFantasy

--HG--
branch : trunk
2010-10-06 16:46:18 -06:00
runningnak3d 89833567d2 Core/WorldPacket: Add support for generic (type 5) GOs sparkling if objective
of quest.
Author: NoFantasy

--HG--
branch : trunk
2010-10-06 16:36:50 -06:00
runningnak3d 9e322ce69f Core/WorldPacket: Update packet to make type 10 GOs sparkle when objective of
a quest.
Author: NoFantasy

--HG--
branch : trunk
2010-10-06 16:19:12 -06:00
runningnak3d 6183efccee Core/Transport: Update taxi mask size for 3.3.5a
Author: Fmut

--HG--
branch : trunk
2010-10-06 16:14:42 -06:00
click 6e86977b16 Buildsystem: Fix minor typo
--HG--
branch : trunk
2010-10-07 22:37:13 +02:00
click 8832254c6d Buildsystem: Clean up uninstall-target files a bit
--HG--
branch : trunk
2010-10-07 21:34:13 +02:00