Commit Graph
108 Commits
Author SHA1 Message Date
Shauren a644e0d951 Core/Entities: GameObject's m_unique_users will now store full guids to get rid of silly casts 2011-09-17 13:20:21 +02:00
Shocker 7afb179185 Misc/Util: Add a template function for returning a random element from any container 2011-09-15 21:28:40 +03:00
Nay 791acfebac Core/Spells&GOs: Fix Ritual of Doom.
Thanks QAston and Shocker for helping.
Closes #2535
2011-09-15 17:52:35 +01:00
Spp af05915b9e [Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions) 2011-09-15 14:12:57 +02:00
kaelima e67a33eaaa Revert "Core/GameObjects: Fix possible crash in GameObject::SetDestructibleState."
This reverts commit 85c7a916a0.

Ty Shauren.
2011-09-07 15:11:12 +02:00
VladimirMangos 5823b0379b Core/Loot:
- SMSG_LOOT_MONEY_NOTIFY is sent after SMSG_LOOT_CLEAR_MONEY.
- Fixed chat message displayed when looting gold with > 1 member in group.
2011-09-07 00:04:27 +02:00
kaelima 85c7a916a0 Core/GameObjects: Fix possible crash in GameObject::SetDestructibleState. 2011-09-06 23:56:55 +02:00
cyberbrest 5708bc8b1e Core/Spells: Set summoner guid for GO cast triggers to allow proper hostility checks on cast 2011-08-29 23:49:46 +02:00
Lopin f94bd733e3 Core/GameObject: Fixed build on Linux 2011-08-19 21:09:12 +02:00
Lopin 8166e338ad Core/Logs: Added some useful informations to certain logs, part #1. Requested by Aokromes 2011-08-19 19:17:39 +02:00
Machiavelli 826ec0582a Core/GameObject: Fix GameObject::Use log error message 2011-08-15 15:41:06 +02:00
Machiavelli b560090692 Core/GameObject: Fix interaction distance with GameObjects in all corner cases by overriding Object:_IsWithinDist. Distance calculation to GO's need to take in account GameObjectDisplayInfoDBC entries, otherwise distance would not be calculated from the edges properly and ie. quest interaction with large gameobjects would fail. 2011-08-15 14:09:20 +02:00
Spp- e47b96af3e Core: Append single character to stream as character, not as a string 2011-07-29 14:18:28 +02:00
Shauren b9a6e2333c Core/Spells: Removed implicit casts from SpellImplicitTargetInfo, fixed copypaste mistakes and one crash 2011-07-27 12:35:59 +02:00
Spp- b2a84d9f1e Core/ObjectMgr: Remove GetPlayer function (Remove double use of singletons) 2011-07-27 12:14:27 +02:00
QAston b0fe236265 Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
2011-07-26 23:09:28 +02:00
Shauren 16a1435a0b Core/GameObjects: Prevent repeating damage/destruction events when the gameobject is already in that state 2011-07-24 23:55:14 +02:00
Shauren ba4c4d8943 Core/GameObject: Added missed change to destructible health setting 2011-07-22 21:42:17 +02:00
Shauren 74e2d981ac Core/GameObject: Refactored destructible building handling, properly implemented spell effect repair 2011-07-22 21:22:05 +02:00
Spp- bb921ae78c Core: Do not use STL container size method to check if container is empty 2011-07-01 14:58:44 +02:00
kaelima 142943d4c1 This reverts commit f580cddc09. 2011-06-28 13:05:15 +02:00
click f580cddc09 Core: Add wintergrasp-patch to wintergrasp_cleanup branch - resurrected from an old work-repository, now over as a branch to work on.
Original patch by socolin, cand a ton of contributors :
mathman, joda, spp, silinoron, josh, malcrom, shauren, machiavelli, click, rat, leak, tobmaps, _manuel_, the tcfr team (via socolin), and tons of others for chiming in.

NOTE: THIS IS A WORKING-BRANCH, AND _NOT_ MENT FOR PUBLIC USE OR EVEN CONSIDERED STABLE!
2011-06-28 00:56:29 +02:00
click 8fc13f508f Core/Logs: Remove some excessive log-information regarding non-existing gameobjects. Removes angle and rotation-info, as it's useless. 2011-06-27 19:37:15 +02:00
Shauren 7bdc090681 Core/GameObject: Removed useless typecast 2011-06-25 15:39:43 +02:00
Shocker c8233a543d Core/Logs: Small improvement to gameobject-use error log to include player/object name and entry 2011-06-16 00:33:30 +03:00
kaelima b9e8694540 Core: Continued cleanup
If and for whitespaces.
2011-06-12 02:30:32 +02:00
click c77aa6e846 Core: And some more cleanups... 2011-06-12 02:00:43 +02:00
click 158966dc79 Core: Codestyle cleanup 2011-06-11 22:35:29 +02:00
Shauren a28da3582e Core/Objects: Fixed linked respawn cases when linking to itself in order to prevent respawning 2011-05-16 15:36:02 +02:00
leak dfacd287a4 Core/ObjectMgr: Refactor group related functions into dedicated class 2011-05-05 10:25:17 +02:00
tobmaps 6f154498e0 Core/Gameobject: Fix default cooldown on traps with no cooldown. Should stop you from stepping in camp fires and getting Spam(c) fried. (I prefer steak, thank you). 2011-05-02 13:36:17 -04:00
runningnak3d f4a29646a5 Core/GameObject: Fix handling of cooldown for type 6 (trap) GOs. This should fix problems with of trap spamming, like Gift of the Harvester. 2011-05-02 12:30:05 -04:00
leak 1003f30448 Add spaces after commas 2011-04-29 20:47:02 +02:00
leak 01a79947d5 More cleanup after last commit spree 2011-04-29 19:59:40 +02:00
leak e2e9431ca3 Core/ObjectMgr: Refactor sGOStorage 2011-04-28 22:54:30 +02:00
Shauren 890b1f6cc7 Core/GameObjects: Summon trigger for spellcast with at least spell cast time duration, also removed unneeded visibility hack 2011-04-18 22:29:17 +02:00
Supabad 3771798a2e Core/BattleGrounds: update Gameobject hook to support multiple destructable building events.
little cleanup in GameObject.cpp
2011-04-10 20:55:17 +02:00
Shauren 6a9fa42a60 Core/GameObjects: Destructible gameobjects now read display info from dbc files 2011-04-09 22:04:56 +02:00
Supabad a5a545a403 Core/GameObjects: add script hook when destructable building is damaged. 2011-04-09 19:28:36 +02:00
Supabad 5f4337f7e9 Core/GameObjects: traps that dont have a owner should despawn after spell cast. 2011-04-08 18:33:13 +02:00
Supabad 66ca2a88c4 Scripts/Ulduar: Add proper support for Razorscale harpoon event.
Add script for Razorscale Controller.
Add spell script for Devouring Flame.
A little code cleanup in script
2011-03-24 01:13:53 +02:00
Shauren 2f79b0f266 Core: Removed all double (and more) empty lines 2011-03-21 10:52:14 +01:00
Machiavelli 1c3082446e Core/Gameobject: Respect cooldown for trap and goober gameobjects.
Original patch by VladimirMangos
2011-03-14 23:16:34 +01:00
Shauren 6c020c72cc Core/SAI: Implemented Gameobject action allowing to send SMSG_GAMEOBJECT_CUSTOM_ANIM with parameter set in param1 2011-03-02 16:50:09 +01:00
Azazel 4c8130235e Core/Logs: improve one more debug log entry (for Aokromes) 2011-02-22 01:46:19 +06:00
Machiavelli e07e20ffca Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf. 2011-02-20 20:16:34 +01:00
Machiavelli 957c69de83 Update copyright note for 2011.
Happy new year.
2011-01-01 15:01:13 +01:00
Shauren 79070ca820 Scripts/Serpentshrine Cavern: Fixed "The Lurker Above" achievement and removed hacks for the event
--HG--
branch : trunk
2010-12-26 16:35:29 +01:00
QAston f4e46db38a Core/Auras: Add some asserions to hunt down reason of a crash in Aura::UpdateTargetMap. Thanks to Shauren for inspiration.
--HG--
branch : trunk
2010-12-26 00:14:13 +01:00
Machiavelli 06955a1113 Core/Entities: Fix guid lookup for linked respawn system
--HG--
branch : trunk
2010-12-25 02:22:35 +01:00