Commit Graph
387 Commits
Author SHA1 Message Date
Spp 43720b1e3a Core/Movement: Add better error log msg when trying to change active mover 2011-08-02 21:32:35 +02:00
Silinoron 28d541fed3 A handful more compilation errors tossed out. The core should now compile as normal. 2011-08-01 19:34:26 -07:00
Silinoron 588f5af26a A few more mistakes are fixed. Keep in mind you have to re-run cmake in order to compile properly. 2011-08-01 18:54:03 -07:00
Silinoron a80b2c0dc0 Fix a couple of mistakes made in the last commit. It appears to have been too long since I last worked on TC. 2011-08-01 18:25:48 -07:00
Silinoron 286749550f Add some packet handlers for Refer-a-Friend (work in progress). There is no guarantee that this code will work or even compile. Use at own risk. 2011-08-01 18:19:29 -07:00
Spp- acd0fc79f6 Core: Pass by const reference for simple objects replaced with pass by value 2011-08-01 14:23:27 +02:00
Machiavelli 58f10c74f7 Core/Spells: Change low level bool triggered with bitmask TriggerCastFlags to better manipulate the behaviour of certain triggered spells. 2011-07-31 21:58:25 +02:00
Shauren 8753a18263 Core/Auras: Corrected SPELL_AURA_CLONE_CASTER and mirror image opcode handling, will no longer rely on incorrectly used creator guid 2011-07-31 16:43:54 +02:00
Machiavelli b2d37062a0 Core/Vehicles: Allow damaging NPC passengers.
+ Forgotten change from 2effb7
2011-07-30 21:55:06 +02:00
Spp- e47b96af3e Core: Append single character to stream as character, not as a string 2011-07-29 14:18:28 +02:00
QAston 045dec19fa CoreSpells: Typofixes: fix area auras autocast and usage of items in combat. 2011-07-28 13:21:31 +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
Machiavelli 85caf3a2c1 Core/Instances: Fix dungeon and raid difficulty setting for characters under level 70. Prevents entering heroic modes of instances when access criteria are not met. 2011-07-19 20:35:05 +02:00
Shauren 1e3c23a4e8 Core/Spells: Set UNIT_FIELD_TARGET to current spell cast target for proper facing the target 2011-07-15 12:33:03 +02:00
Spp- 6e68b82250 Core/Handlers: Use correct packet size in SMSG_LOOT_MONEY_NOTIFY 2011-07-08 11:15:00 +02:00
Spp- 3f9db9d29e Core/Quests: Reduced the need to expose internal Player's class member 2011-07-08 10:54:46 +02:00
Spp- a17aae626c Core/Misc: Add better log error in CMSG_FAR_SIGHT Opcode 2011-07-08 10:18:20 +02:00
Nay d6782fa826 Core/Misc: Refactor SendPlaySpellVisual and SendPlaySpellImpact and move them to Unit (from Spell) 2011-07-04 14:46:48 +01:00
click a3ff97297d Core: Fix a minor issue with GUID readout for a questhandler logentry 2011-07-02 01:42:18 +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
Spp- e9aa72cc7b Cosmetic: rename function escape_string to EscapeString 2011-06-30 14:52:44 +02:00
Machiavelli e5d253170e Core/Entities: Fix looting gold from vehicles. 2011-06-28 23:11:15 +02:00
Shauren 1eff27f57c Core/Quests: Fixed adding autoaccept quests many times to log when started from items
Closes #2106
2011-06-28 20:16:15 +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
kaelima d2508f6a6a Core/Arenas: Prevent players from sending MSG_PVP_LOG_DATA when in an arena.
Fixed #1215
2011-06-27 02:50:00 +02:00
Shauren 0bdbd771ce Core/Creatures: Reverted quest requirement for vendors, this has to be done differently 2011-06-24 15:11:29 +02:00
Shocker 5ddf90c5fe Core/Spells: Don't allow players to cast client-side hidden spells directly 2011-06-23 23:43:49 +03:00
tobmaps e033d4c7cc Fix build 2011-06-24 02:57:06 +07:00
Shauren 0ae926e28e Core/Creatures: Items out of stock or items which are required for quests will no longer be displayed in vendor list 2011-06-23 21:24:16 +02:00
Liberate 03eb4ae502 Core/WorldSession: Fix level requirement for Death Knight creation.
Closes #2098
2011-06-23 15:00:44 +02:00
QAston 3137a82c7c Core/Spells: Cleanup in Spell.h:
- Codestyle (fix function naming) and cleanup changes in SpellCastTargets class, also access variables of this class by getters/setters
 - Move IsQuestTameSpell function to SpellMgr.h
 - Move UnitList typedef to Unit.h
Additionally - add missing copyright notice to SpellAuraEffects.h
2011-06-23 13:28:52 +02:00
click f7b0e58a14 Core: Remove a few warnings (unused variables), clean up tabs whitespaces 2011-06-23 09:13:58 +02:00
Machiavelli 719a079464 Core/WorldSession: Store correct packet in CharacterCreateInfo 2011-06-22 23:30:30 +02:00
Machiavelli 78a90e7bad Core/Worldsession: Fix death knight character creation logic after recent commits 2011-06-22 23:03:53 +02:00
Machiavelli 2b3ee302f7 Missing line from 9b17b9. 2011-06-22 20:55:32 +02:00
Machiavelli 9b17b9c3ba Core/DBLayer: Fix possible crashes from fe8cb7 2011-06-22 18:04:12 +02:00
Machiavelli fe8cb75bf1 Core/DBLayer: Make database interaction after create character packet completely asynchronous. This is more performant and fixes a DoS loophole and possible data desynchronisation caused by spamming this packet.
Closes #584
Closes #2089
2011-06-22 14:22:08 +02:00
Shauren 5a18ee0e66 Core/Quests: Fixed autoaccept quests for quest chains 2011-06-18 17:15:52 +02:00
Lopin b1bde4d01f Core/Items: Prevent swapping item sets while player is in combat 2011-06-17 18:07:34 +02:00
kaelima b9e8694540 Core: Continued cleanup
If and for whitespaces.
2011-06-12 02:30:32 +02:00
click f16df538ee Core: More codestyle cleanups 2011-06-12 01:47:45 +02:00
click 158966dc79 Core: Codestyle cleanup 2011-06-11 22:35:29 +02:00
Azazel 9f8e4b031e Core/Quests: add anti-cheat check in quest reward method 2011-06-03 11:54:44 +06:00
tobmaps 600cc16c94 Core/Players: Pet talents can be reset at a pet trainer for free, original idea by rsa 2011-05-31 05:47:17 +07:00
tobmaps 4a0290c17b Core/Quests: Fix quests that require player to be dead
Closes #1441
2011-05-30 02:59:37 +07:00
NoFantasy ab15d2526f Core/Loot: Fixed gold looting messege sent to player while in group 2011-05-29 14:32:46 +02:00
kaelima 78692e1246 Core/Area: Updated AreaFlags documentation to match 3.3.5 dbcs. 2011-05-27 00:58:18 +02:00