Commit Graph

10244 Commits

Author SHA1 Message Date
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
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