Commit Graph

2396 Commits

Author SHA1 Message Date
Shauren
38b326d27b Core/PacketIO: Updated cooldown packets 2015-04-04 20:24:31 +02:00
Shauren
b66d2da2c7 Core/PacketIO: Updated and enabled SMSG_SPELL_CHANNEL_START and SMSG_SPELL_CHANNEL_UPDATE 2015-04-04 16:04:40 +02:00
Shauren
89007ac1d0 Core/Players: Updated trading
* Use special Uniq ObjectGuid::TradeItem for enchanting trade items
* Added additional validation of trade state
* Fixed an ancient bug in trade display causing pending enchantment to never update clientside if too many operations were done in a trading session
2015-04-04 00:07:16 +02:00
DDuarte
7c776ddadf Core/Packets: Fix writing WorldPackets::Duel::DuelRequested 2015-04-02 18:58:35 +01:00
xerkoss
ae9f9f5de6 Core/Packets: Updated and enabled duel opcodes
Closes #14438
2015-04-02 18:44:27 +02:00
Gacko
db9173488f Fix warnings 2015-03-29 21:56:22 +02:00
Rat
dcd18eef2a Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into 6.x 2015-03-29 17:56:49 +02:00
jackpoz
9ba60b52c5 Core/Misc: Revert a static analysis "fix"
Revert assertion check added in 5dfd07fa4f , the issue reported by Coverity is a false positive.
2015-03-29 14:28:59 +02:00
Rat
3660c3a37f Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into 6.x
Conflicts:
	src/server/game/Handlers/MiscHandler.cpp
	src/server/game/Server/Protocol/Opcodes.cpp
2015-03-29 11:25:48 +02:00
Shauren
8cfb542ee4 Core/PacketIO: Updated values of all known server opcodes 2015-03-27 22:21:24 +01:00
Rat
eebc468e62 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into 6.x
Conflicts:
	src/server/collision/Management/MMapManager.cpp
	src/server/game/Conditions/ConditionMgr.cpp
	src/server/game/Conditions/ConditionMgr.h
2015-03-24 20:01:02 +01:00
Rat
930b74d0ca Core/Spells: Spell radius calculation update 2015-03-23 07:42:50 +01:00
Carbenium
ee6fd67552 Core/PacketIO: Sync with WPP 2015-03-22 18:55:22 +01:00
Shauren
cc4d79495f Core/Misc: Warning fixes 2015-03-22 13:47:55 +01:00
Rat
3fef9dcd66 Core/Spells: updated spelleffect array to 6.1 2015-03-21 22:00:46 +01:00
Rat
ee3a111756 Core/Spells: updated spelleffect, auraeffect, spelltarget enums to 6.1, should fix most of the spell crashes 2015-03-21 21:54:56 +01:00
click
4df9f46214 Core: Move some more INFO-level logentries to DEBUG
(cherry picked from commit db302c28c2)

Conflicts:
	src/server/game/Spells/Spell.cpp
	src/server/game/Spells/SpellEffects.cpp
2015-03-18 00:15:52 +00:00
Rat
8f3a80c1cf Core/Phases: Ported new phasing system from 4.3.4 branch and fixed some map swap logic 2015-03-16 07:28:49 +01:00
Carbenium
62e2d8e971 Merge pull request #14334 from Naios/static2
Core/Game: & Core/Scripts: Fix some issues detected by static analysis.
2015-03-11 20:22:46 +01:00
MitchesD
c6718dc120 Core/PacketIO: updated and enabled SMSG_PLAY_MUSIC 2015-03-11 20:04:57 +01:00
Naios
9a61049f88 Core/Game: Fix some issues detected by static analysis.
* Possible inefficient checking for 'list' emptiness.

* Variable '_scheduledScripts' is assigned in constructor body.
  Consider performing initialization in initialization list.

* Variable 'Text' is assigned in constructor body.
  Consider performing initialization in initialization list.

* Possible inefficient checking for 'm_loadedScripts' emptiness.
2015-03-11 08:53:13 +01:00
MitchesD
47517b2128 Core/PacketIO: updated SMSG_CLEAR_TARGET and enabled some opcodes 2015-03-10 16:29:52 +01:00
Shauren
14c5e67a89 Core/Spells: Fixed level value scaling for spells with scaling class < -1
Closes #14133
2015-03-09 00:50:09 +01:00
Shauren
e15ba34444 Core/Misc: Cleaned up data truncation warnings 2015-03-08 22:04:34 +01:00
Shauren
75f0cabde7 Core/Auras: Fixed applying more than 8 aura effects 2015-03-08 19:52:53 +01:00
Shauren
c97a9e5607 Core/Spells: Implemented SPELLMOD_JUMP_DISTANCE 2015-03-08 17:39:20 +01:00
Shauren
75db12bf41 Core/Auras: Implemented SPELLMOD_EFFECT4 and SPELLMOD_EFFECT5 2015-03-08 17:36:44 +01:00
Shauren
0ba2e0d5ee Core/Spells: Implemented multiple spell power costs 2015-03-08 13:31:57 +01:00
Shauren
8cd1c9514f Core/Auras: Fixed possible crash in Aura::RefreshDuration - Aura::GetCaster can return NULL 2015-03-07 23:45:22 +01:00
Shauren
e63872e1ee Core/DataStores: Updated dbc structures to 6.1 2015-03-04 12:17:06 +01:00
Shauren
40b6736f69 Core/DataStores: Added iterator class for DBCStorage and DB2Storage 2015-02-22 12:44:24 +01:00
Shauren
5c4fd7ac4f Core/DataStores: Added tables for all loaded DB2 stores 2015-02-22 10:29:12 +01:00
click
b02f14e5ac Core/Log: Change periodic spell notificiations to DEBUG-level and set it as a unique logging-mechanism named "spell.periodic"
(cherry picked from commit 8c8ca2ab8d)

Conflicts:
	src/server/game/Spells/Auras/SpellAuraEffects.cpp
2015-02-22 06:18:10 +00:00
Shauren
ea9eccae85 Core/Spells: Restored totem category check
Revert "Core/Totems: In cata totem items are no longer needed"

This reverts commit 45e0cae7be
2015-02-21 16:58:09 +01:00
jackpoz
d2396fb897 Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
2015-02-21 14:53:17 +01:00
Shauren
68fceee10e Core/Spells: Removed leftovers of old cooldown handling
* Use ItemEffect.db2 data directly instead of copying it to another structure
2015-02-21 13:08:33 +01:00
Shauren
474d299b0e Core/Auras: Implemented using Mount.db2 for selecting mount display id 2015-02-19 22:25:59 +01:00
joschiwald
d56d318c7f Core/Spells: fixed mem leak 2015-02-17 21:00:15 +01:00
Shauren
56186319bd Core/Spells: Cooldown updates
* Refactored cooldown handling to separate class shared by creatures and players
* Updated and enabled cooldown packets
* Implemented creature school lockouts
* Implemented spell charges
* Fixed AuraUpdate structure
* Fixed aura flag AFLAG_NOCASTER handling
* Implemented spell charge related auras
2015-02-17 01:01:44 +01:00
Duarte Duarte
709275eecb Core/Spells: Fix a float division issue in EffectLeapBack
Ref Coverity CID 1227511
2015-02-15 15:01:36 +00:00
Duarte Duarte
c29aebfc2c Core/Spells: Refactor code changed in 8c49d204c3 2015-02-12 22:08:17 +00:00
Duarte Duarte
8c49d204c3 Core/Packets: Write targets (hit & miss) to SMSG_SPELL_GO
Fixes most spell visuals.

Also write explicit basic types in SpellPackets (cosmetic)
2015-02-12 20:02:37 +00:00
Duarte Duarte
97e62c0ea5 Core/Packets: Update and enable CMSG_GOSSIP_SELECT_OPTION, SMSG_BINDER_CONFIRM, SMSG_GOSSIP_COMPLETE and SMSG_PLAYER_BOUND
Fixes #14115
2015-02-12 04:23:19 +00:00
Duarte Duarte
20aa605485 Core/Packets: Update and enable CMSG_USE_ITEM
Ref #14115
2015-02-12 02:37:42 +00:00
jackpoz
e6f26cfb1f Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity.
Rename SpellMgr::EnsureSpellInfo() to SpellMgr::AssertSpellInfo() to be consistent with other similar methods.
2015-02-08 19:40:03 +01:00
Shauren
a043d539f0 Core/Spells: Implemented SpellLearnSpell.db2 for auto learning linked spells 2015-02-08 16:23:31 +01:00
Shauren
9db2e6dbbe Core/Players: Updated player byte field offsets 2015-02-05 20:52:51 +01:00
Shauren
663052dd72 Core/Players: Resetting talents will no longer reset character specialization
* Fixed level requirements for specialization spells

Closes #14014
2015-02-03 20:10:12 +01:00
Rushor
515aaaa1bd Game/Spells: AoD Specials should only target one Unit
(cherry picked from commit b01e638126)

Conflicts:
	src/server/game/Spells/SpellMgr.cpp
2015-02-02 19:43:51 +00:00
Shauren
6d70acbbd6 Core/Spells: Renamed SPELL_ATTR4_TRIGGERED to SPELL_ATTR4_CAN_CAST_WHILE_CASTING and adjusted trigger flags accordingly 2015-01-31 19:52:36 +01:00