Commit Graph

8933 Commits

Author SHA1 Message Date
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
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
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
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
_manuel_
ecfd91a77d Core/Scripts: Target Dummies can be stunned in retail, and they leave combat after 5 seconds (it starts to count after the last damage done) not 10.
--HG--
branch : trunk
2010-10-15 00:00:23 -03: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
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
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
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
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