Commit Graph

1559 Commits

Author SHA1 Message Date
Naios 800d5d8939 Core/Misc: Replace tc's optional with boost::optional.
* benefits from empty optimization (objects are only constructed if needed).
* supports r-value references (move semantics) (boost >= 1.56.0).
* preparation for c++14/17's std::optional and std::none_t.
* add move constructor to CompactArray.
2015-04-26 23:45:52 +02:00
MitchesD 8096edec15 Core/Unit: fixed removing UNIT_FLAG_PET_IN_COMBAT from guardians
Closes https://github.com/TrinityCore/TrinityCore/issues/14566
2015-04-19 14:44:59 +02:00
Vincent-Michael 5fc4ab186c Core: Fix missing save :( 2015-04-19 01:56:17 +02:00
Vincent-Michael b04537df95 Core Fix build 2015-04-19 01:41:41 +02:00
Vincent-Michael e7464e6d8a Core/PacketIO: Fix packet order in 3499b77d5f 2015-04-19 01:17:49 +02:00
Vincent-Michael 3499b77d5f Core/PacketIO: Updated and enabled SMSG_SPELL_HEAL_LOG for WoD 2015-04-19 00:59:27 +02:00
MitchesD a1831e0c1e Core/PacketIO: SMSG_DURABILITY_DAMAGE_DEATH, SMSG_QUEST_UPDATE_COMPLETE, SMSG_PAGE_TEXT and enabled some opcodes 2015-04-11 11:11:43 +02:00
Shauren 0953bcf73f Core/PacketIO: Enabled and implemented CancelGrowthAura/CancelMountAura 2015-04-10 00:13:44 +02:00
Shauren 01cc5d8c05 Core/PacketIO: Updated and enabled SMSG_SET_VEHICLE_REC_ID and SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA
* Implemented SMSG_MOVE_SET_VEHICLE_REC_ID and CMSG_MOVE_SET_VEHICLE_REC_ID_ACK
2015-04-06 00:40:56 +02:00
Shauren 0878a42b7e Core/PacketIO: Updated and enabled collision height opcodes
* Removed old 4.3.4 movement structures
2015-04-05 01:39:32 +02:00
MitchesD e7e940db22 Core/Packets: rename classes to match standards 2015-04-04 19:52:53 +02:00
MitchesD 786834600f Core/PacketIO: SMSG_ZONE_UNDER_ATTACK, SMSG_THREAT_CLEAR and enabled some opcodes 2015-04-04 18:03:56 +02:00
Carbenium 16e749cdd0 Core/Unit: Fix crash introduced by 930a6af70a 2015-04-02 17:07:23 +02:00
Carbenium 930a6af70a Core/Unit: Implement SMSG_HEALTH_UPDATE 2015-04-02 02:36:12 +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
Shauren cc4d79495f Core/Misc: Warning fixes 2015-03-22 13:47:55 +01:00
click cbe97cc37d Core: More INFO -> DEBUG (Unit.cpp this time)
(cherry picked from commit 64584e9e7a)

Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
2015-03-18 00:32:56 +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
Shauren c8944d73b3 Core/Players: Set holy power decay timer to 20 seconds after leaving combat (also added OnCombatExit hook for stuff like this) 2015-03-10 20:53:29 +01:00
Shauren e15ba34444 Core/Misc: Cleaned up data truncation warnings 2015-03-08 22:04:34 +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
Epicurus4 7665c9ee55 Core/PacketIO: Sync with wpp 2015-03-01 16:21:15 -05:00
Vincent-Michael 369b08b68d Core/Misc: Update base stuff for V6.1.0 build 19702 2015-03-01 02:24:59 +01:00
Shauren 474d299b0e Core/Auras: Implemented using Mount.db2 for selecting mount display id 2015-02-19 22:25:59 +01:00
joschiwald 2d40d3678d Core/Packets: fixed crash on SMSG_ATTACKSTOP and fixed init of ItemInstance 2015-02-17 21:08:28 +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
Golrag 7eb02e945f Core/Opcodes:
* SMSG_POWER_UPDATE
* CMSG_SET_SHEATHED
* SMSG_ATTACKSTOP
2015-02-14 17:09:02 +01:00
Ante 3f8fea9b5f Stat fixes 2015-02-10 21:47:28 +01:00
jackpoz 27e71f1805 Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
2015-02-08 21:04:20 +01: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 9db2e6dbbe Core/Players: Updated player byte field offsets 2015-02-05 20:52:51 +01:00
joschiwald 053d5f24ee Core/Packets:
- added inspect packets
- updated opcode values
2015-02-01 20:52:05 +01:00
Shauren 9ccaf7d7a0 Core/Spells: Updated base spell hit chance calculation (spells will never miss targets up to 3 levels higher than caster) 2015-02-01 00:38:28 +01:00
Shauren dcd4f749c6 Core/Movement: Fixed speed change packets 2015-01-31 22:39:32 +01:00
Shauren 3f28fd304d Core/Spells: Reimplemented automatic spell learning
* Fixed learning/unlearning talents
2015-01-30 23:58:16 +01:00
Nayd 802725817b Core/Packets: Update and enable CMSG_STAND_STATE_CHANGE and SMSG_STAND_STATE_UPDATE 2015-01-28 19:29:31 +00:00
Unholychick 870d50648f Scripts/Spells: Fix some faulty code in spell_dk.cpp
thanks to @joschiwald
2015-01-27 17:38:06 +01:00
Duarte Duarte b9e435631d Merge pull request #13907 from Aaron126/diminishing_returns
Core/Spells: Update DR's for WoD
2015-01-26 20:27:53 +00:00
joschiwald b8b3079917 Core/Packets: moved CMSG_AUTOSTORE_BAG_ITEM, CMSG_CANCEL_AURA, CMSG_CHAR_UNDELETE_ENUM, CMSG_GET_UNDELETE_COOLDOWN_STATUS, CMSG_UI_TIME_REQUEST to packet classes 2015-01-26 12:59:18 +01:00
joschiwald c61bcf1206 Core/NetworkIO: sync opcodes with wpp 2015-01-25 21:08:54 +01:00
jackpoz 0edc35b921 Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
2015-01-20 22:55:06 +01:00
joschiwald fd6668d17a Core/NetworkIO: sync opcode values with wpp and removed duplicate ones 2015-01-18 23:56:01 +01:00
jackpoz 5dfd07fa4f Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
2015-01-18 18:30:34 +01:00
Aaron126 f0e5c8b78f Core/Spells: Update DR's for WoD
thx @fatalaim for doing some of the spells
2015-01-17 15:04:31 -06:00
jackpoz 6df3f795ba Core/Aura: Replace assert with logged error for invalid AuraRemoveMode
Fix AuraScript::Remove() triggering an assert with default parameter and log an error when Aura is removed with invalid mode AURA_REMOVE_NONE instead of triggering an assert deep down in the call tree.
Fix https://github.com/TrinityCore/TrinityCore/issues/714 , triggered by spell 50240 "Evasive Maneuvers" script

(cherry picked from commit 9ea93eae33)
2015-01-17 17:46:22 +01:00
joschiwald 36e50ff8ae Core/Opcodes: sync with wpp 2015-01-17 03:55:29 +01:00
Unholychick 0eb025512d Scripts/Spells: Update several Death Knight spell scripts
New Scripts:
Army Transform
Festering Strike
Glyph of Death's Embrace
Glyph of Foul Menagerie
Glyph of Runic Power
Glyph of the Geist
Glyph of the Skeleton
Periodic Taunt
Soul Reaper
Unholy Blight

Updated to 6.x:
Anti-Magic Shell
Blood Boil
Death and Decay
Death Coil
Death Pact
Death Strike
Icebound Fortitude
Raise Dead
Vampiric Blood
Will of the Necropolis

Deprecated and removed Scripts:
spell_dk_anti_magic_shell_raid
spell_dk_anti_magic_shell_self
spell_dk_anti_magic_zone
spell_dk_blood_gorged
spell_dk_butchery
spell_dk_death_strike_enabler
spell_dk_improved_blood_presence
spell_dk_improved_frost_presence
spell_dk_improved_unholy_presence
spell_dk_necrotic_strike
spell_dk_pestilence
spell_dk_presence
spell_dk_rune_tap_party
spell_dk_scent_of_blood
spell_dk_scourge_strike

Closes #13759
2015-01-12 23:49:19 +00:00