Lopin
9e9a84cf0e
Core/Events: Fixed items removing from World Events. The items will be removed on first player's login after the end of the event. Also prevents using those items between the end and login of the player
2011-08-17 18:47:34 +02:00
hacknowledge
0c500486f3
Core/Spells: Fixed weapon dependent damage mods for players as well as autohit damage mods for NPCs and pets. This fixes also meta sockel effects. Also fixed displaying the correct values in the char info. I also took care of applying and unapplying the weapon based damage mods when the player is being disarmed and equips/unequips his weapon.
...
Fixes #178 , #418 , #1276 , #259 and possible a few other issues.
2011-08-13 23:26:16 +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
idostyle@zoit
93238fe6c3
Core/Players: Corrected faction id check for RepObjectiveFaction2
2011-08-13 11:40:45 +02:00
Fest
c1f0833672
Core/ReferAFriend : fix strange grantableLevels value in DB
2011-08-11 17:42:02 +02:00
Machiavelli
04c2f2929e
Core/Player: Fix item refund exploit
2011-08-07 15:57:26 +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
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
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
Spp-
e47b96af3e
Core: Append single character to stream as character, not as a string
2011-07-29 14:18:28 +02:00
Spp-
b2a84d9f1e
Core/ObjectMgr: Remove GetPlayer function (Remove double use of singletons)
2011-07-27 12:14:27 +02:00
Spp-
fa50c0a464
Fix some warnings here and there
2011-07-27 11:00:39 +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
tobmaps
5a370392d4
Core/Chat: Prevent turning whispers on, receive spam about AFK or DND in case of whispering with addon message
2011-07-24 03:14:28 +07:00
tobmaps
a0f1a5c789
Core/Spells: Removed remaining part of old global cooldown handler
2011-07-23 03:30:43 +07:00
QAston
72ea9c9fa8
Core/Spells: Add a base for brand new proc system, this is a WIP and doesn't affect currently working code.
2011-07-10 13:13:02 +02:00
click
48e47a9245
Core/Achievements: Simplify handling of achievements for GMs: Do not allow achievements when GM-mode is enabled, allow when disabled
2011-07-02 02:14:49 +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
QAston
fb9719c653
Core/Spells: Define SPELL_ATTR0_ABILITY (old SPELL_ATTR0_UNK4)
2011-06-30 01:47:09 +02:00
Machiavelli
609efde598
Core/Corpses: Fix a crash in ConvertCorpseForPlayer
2011-06-29 16:08:23 +02:00
Machiavelli
f19f0a19f2
Core/Players: Fix possible (exploitable) data desynchronisation that would lead to repeating the same quest while already having received the rewards.
2011-06-28 21:36:21 +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
Machiavelli
e8b4d1fab7
Core/Spells: Fix side effects from 33f3397 (issues related to Mangle for druids not being re-learned on talent switch). Original fix done alternatively.
2011-06-27 02:01:20 +02:00
Machiavelli
33f3397976
Core/Spells: Completely remove spells which were taught by SPELL_EFFECT_LEARN_SPELL on talent reset or talent spec switch - instead of keeping them stored as disabled. Reason for this is that if the primary spell with effect SPELL_EFFECT_LEARN_SPELL is learnt again, a 'new' secondary spell will be taught while the old one was still around. The latter was the reason for primary key violations in character_spell that led to transaction failures and thus character rollbacks.
...
Closes #1231
Closes #480
2011-06-23 02:39:36 +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
QAston
c4818f1892
Core/Auras: Fix refresh of auras with spellmodifiers applied to currently cast spell.
2011-06-21 19:59:17 +02:00
Shauren
f4047ff7dc
Core/Alcohol: Drunk players will now properly see drunk-visible units.
2011-06-21 16:09:07 +02:00
Nay
62908812cb
Core/Gossip: Ditch gossip_scripts as it is no longer used. SAI is a better option
2011-06-19 15:24:59 +01:00
Lopin
19ede8fa72
Core/Quests: Fixed destroying of quest items which start a quest and are also needed for completing this quest
2011-06-18 21:08:14 +02:00
tobmaps
1abdb65f5a
Core/Misc: Cleanups, code style and typo fixes
2011-06-16 20:08:28 +07:00
Shauren
fb44a609ff
Core/Gossip: Fixed incorrect gossip menu texts introduced after dropping npc_gossip table
2011-06-15 18:53:55 +02:00
Machiavelli
e1f7f9e5b1
Core/Players: Fix average item level calculation: omit shirt shot, not chest armor slot. Thanks to AreYouSiries for pointing out.
...
See issue #894
2011-06-12 03:06:33 +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
kaelima
9ef8bd3072
Core/Misc: Fix compile, revert part of a73c7f506e, these should actually be errors.
2011-06-11 19:20:49 +02:00
kaelima
a73c7f506e
Core/Misc:
...
- Changed some error messages for changing spec to be displayed as debug messages.
- Fixed compile warnings.
2011-06-11 19:05:47 +02:00
Shauren
9b79df7074
Core/Spells: Implemented SPELL_ATTR7_IS_CHEAT_SPELL serverside checks and allow GMs to cast these spells
2011-06-11 13:02:54 +02:00
tobmaps
a4a57ab096
Core/Player: Allow hp5 bonus from items to regenerate also in combat
2011-06-10 20:40:23 +07:00
tobmaps
60470e4bd8
Core/Misc: Some random cleanups
2011-06-09 19:41:13 +07:00
QAston
0c3e99c450
Core/Auras: Move repeating code for aura packet creation to separate function. Fixes usage of SPELL_ATTR5_HIDE_DURATION attribute.
2011-06-08 10:41:32 +02:00
QAston
0575dddbb3
Core/Auras: Fix visibility aura effect handlers to work correctly on amount change
2011-06-08 09:19:34 +02:00
QAston
6c5f68e8fc
Core/Auras: Do not use spellmod system to drop auras with spell proc event entry.
2011-06-07 19:09:20 +02:00