Commit Graph

455 Commits

Author SHA1 Message Date
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
Nay
990ab77b82 Core/PacketIO: Remove most calls to hexlike()
These are not needed in production code (even in debug logging)
2011-09-06 19:32:06 +01:00
Spp-
30fb856ea3 Fix typo (Rename SPELL_AURA_PREVENT_RESSURECTION to SPELL_AURA_PREVENT_RESURRECTION) 2011-09-06 14:23:53 +02:00
Spp-
4560991144 Core/Handler: Do now use dynamic memory allocation in character creation 2011-09-06 10:41:10 +02:00
kaelima
f8023d912d Core/PacketIO: Fix some more "unprocessed tail data" errors.
Also some cleanup.
2011-09-05 14:54:19 +02:00
kaelima
35680c2f1f Core/Channels: Properly fix "opcode CMSG_MESSAGECHAT have unprocessed tail data". 2011-09-05 13:58:49 +02:00
kaelima
18af717a0f Core/Channels: Fix crash in HandleJoinChannel introduced with commit bbde479f4a. 2011-09-05 13:53:14 +02:00
Nay
bbde479f4a Core/Channels: Fix the console error "opcode CMSG_MESSAGECHAT have unprocessed tail data" and some logic problems when joining/leaving some channels (like only be able to join LFG inside a city) 2011-09-04 18:56:04 +01:00
Chaplain
79fb3d487e Core/Spells: Core/Spells: Fix manual cancel of mind control. closes #2676 2011-09-03 17:29:56 +02:00
Spp-
aa85553bfd Core: Crash fix (TemporarySummon), remove some warnings and some other minor changes
- "const uint64" and "uint64 const" --> uint64
 - Add some info in LFGDungeonEntry
 - Move some definitions from ".h" files and move to ".cpp"
2011-08-30 13:46:36 +02:00
Spp-
45c0fd2d37 Core/Handlers: Set LFG_GET_STATUS session status to unhandled (Kills log flood) 2011-08-26 09:43:29 +02:00
Spp-
85164d2876 Core: Some cosmetic changes and minor optimizations 2011-08-26 09:41:33 +02:00
QAston
5ebb4ba4c1 Core/Packets: Update opcodes enum - research by TOM_RUS, also remove some useless/obsolete comments from opcodes.h 2011-08-25 12:48:51 +02:00
Lopin
0c410bda43 Core/Logs: Added some more log informations to certain logs 2011-08-24 13:37:05 +02:00
Chaplain
fb27848510 Core: Clean up here and there.
*replase postfix iterator increment\decrement with prefix in cycles
*replase strlen(*char) != 0 with *char[0] != '\0'
*replase strlen(rStr.c_str()) with rStr.length()
2011-08-23 18:09:08 +03:00
Shauren
ce27105a68 Core/Spells: Also prevent using self-resurrection spells like Reincarnation when under effect of SPELL_AURA_PREVENT_RESSURECTION 2011-08-21 14:38:21 +02:00
Shauren
5f6c6d3925 Core/Auras: Implemented SPELL_AURA_PREVENT_RESSURECTION 2011-08-21 12:42:22 +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
QAston
a077a26aa5 Core/Spells: update the core to the changes from 1fb1988d46 . To make your custom code work with those changes simply lookup the value of Targets enum value from prev rev, and update the name in your code. 2011-08-16 19:44:18 +02:00
tobmaps
54cf7f28d2 Core/Misc: Fix some typos in af040fc18d 2011-08-13 20:53:24 +07:00
leak
af040fc18d Core/Players: Allow players to answer gamemaster whispers even if whispers are disabled. Whitelist can be reset by .whispers off 2011-08-13 15:10:45 +02:00
Shauren
6ea362e9e0 Core/PacketIO: Documented structure of SMSG_OVERRIDE_LIGHT 2011-08-13 11:44:05 +02:00
Shauren
6ebca04861 Core/Misc: Removed existence check from HandleSetSelectionOpcode and moved setting faction visible to gossip open 2011-08-06 18:48:58 +02:00
Spp
d0de7976dc Core/ObjectMgr: Some minor changes in LocaleString functions 2011-08-04 15:14:15 +02:00
Silinoron
76fe596160 Core/Refer-a-Friend: Finish base work for Refer-a-Friend.
Any testing would be very much appreciated.
2011-08-03 09:28:12 -07:00
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
495ead5f7f Revert "Core/Spells: Fix a crash on checking school immunity added to unit manually (not by aura)"
This reverts commit 07badd7385.
2011-07-28 23:44:39 +02:00
QAston
07badd7385 Core/Spells: Fix a crash on checking school immunity added to unit manually (not by aura) 2011-07-28 23:41:29 +02:00
QAston
045dec19fa CoreSpells: Typofixes: fix area auras autocast and usage of items in combat. 2011-07-28 13:21:31 +02:00
Machiavelli
e291464e06 Fix a warning 2011-07-27 21:27:43 +02:00
Machiavelli
0dcc229071 Core/Commands: Allow muting offline players - the mute will become effective on next player login. 2011-07-27 17:51:57 +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