Commit Graph

10263 Commits

Author SHA1 Message Date
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
_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
_manuel_
61fcd1fade Core/Spells: Righteous Vengeance should proc with Divine Storm, Judgements and Crusader Strike criticals, fixed by cryser99.
Fixes issue 3082.
Fixes issue 2760.

--HG--
branch : trunk
2010-10-14 22:48:12 -03: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