Commit Graph

10138 Commits

Author SHA1 Message Date
jackpoz bb97e888ff Core/Player: Fix crash related to vehicles
Fix assertion triggered when entering a vehicle while channelling a shared vision spell.
Fix #15953

(cherry picked from commit 2cb54d5606)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
2016-01-15 20:36:16 +01:00
jackpoz 2f1bd93c9e Core/Unit: Add Unit::KillSelf() overload
Add Unit::KillSelf() function as overload of Unit::Kill(this) . Use KillSelf() whenever the killer and the victim are the same to clearly state the Unit is going to kill itself.

(cherry picked from commit 3267c90102)

# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScript.cpp
2016-01-15 20:34:27 +01:00
jackpoz 3f0026d8e7 Core/Quest: Fix issues reported by static analysis
(cherry picked from commit 1ddf44caf3)

# Conflicts:
#	src/server/game/Quests/QuestDef.cpp
#	src/server/game/Server/WorldSession.cpp
2016-01-15 20:32:56 +01:00
jackpoz 0c81c1c184 Core/Quest: Fix issues reported by static analysis
(cherry picked from commit bffaa92633)

# Conflicts:
#	src/server/game/Entities/Pet/Pet.h
#	src/server/game/Texts/CreatureTextMgr.cpp
2016-01-15 20:29:43 +01:00
jackpoz 700899e0e5 Core/Quest: Fix issues reported by static analysis
(cherry picked from commit f1f4005ad8)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Entities/Unit/Unit.h
#	src/server/game/Handlers/GroupHandler.cpp
2016-01-15 20:27:04 +01:00
MitchesD 43d5d118b2 Core/Misc: fix warning and misc codestyle fixes
(cherry picked from commit 3b90b0368a)
2016-01-15 19:57:34 +01:00
Shauren 7b17f0a3d6 Core/Items: Transmogrification restriction followup
* main/off hand weapons marked as such cannot be used as appearance source for one hand weapons but can take appearances of them
* Staves and polearms belong to the same category as 2H axes, maces and swords
2016-01-12 19:26:17 +01:00
Shauren 6c48066a6f Core/Items: Relaxed transmogrification restrictions - maces/axes/swords can now be transmogrified into each other
Closes #15475
Closes #15486
2016-01-11 18:33:20 +01:00
Shauren d00ba9587d Core/DataStores: Dropped unused DB2 file 2016-01-10 23:26:45 +01:00
Shauren 53f768bd2a Core/Misc: Removed unused packet handler 2016-01-07 20:04:30 +01:00
Shauren 00383f4b12 Core/PacketIO: Renamed some unknown fields in FeatureSystemStatus 2016-01-06 23:47:28 +01:00
MitchesD 9f4e4b9546 Core/PacketIO: updated SMSG_CROSSED_INEBRIATION_THRESHOLD 2016-01-05 23:37:45 +01:00
Shauren 2a6f65fddc Core/Players: Split playerBytes fields in characters table 2016-01-05 00:03:18 +01:00
Shauren 9ab47a1624 Warning fixes 2016-01-04 00:24:33 +01:00
joschiwald 0f21736694 Core/Spells: partial cherry picked from commit 8a0bbc3869 2016-01-03 01:17:39 +01:00
Shauren be32e43fb9 Another warning fix 2016-01-03 00:58:37 +01:00
Shauren bb9c69b211 Warning fix 2016-01-03 00:55:48 +01:00
Shauren d9849fb87b Core/DataStores: Implemented checking PlayerCondition for future use 2016-01-03 00:40:18 +01:00
Golrag dec59b72cc Core/PacketIO: SMSG_DESTRUCTIBLE_BUILDING_DAMAGE 2016-01-01 15:34:15 +01:00
Vincent-Michael 478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren 8cecd17808 Core/Misc: Warning fix
warning C4459: declaration of 'realm' hides global declaration
2015-12-31 23:40:11 +01:00
Shauren 9dbc65f125 Core/PacketIO: Added new opcode 2015-12-30 23:08:15 +01:00
Shauren 6ace6aabbf Core/Networking: Added safety checks against linking instance socket with incorrect/old session
Ref #15892
2015-12-29 21:22:31 +01:00
Shauren 46bbcf74e8 Core/PacketIO: Corrected swapped opcode values 2015-12-28 22:22:35 +01:00
Shauren 41d6460c75 Core/Creatures: Improved creature text selection to be "more random" instead of favoring first entry 2015-12-25 23:29:01 +01:00
Shauren 2796de1a77 Core/PacketIO: Defined new known opcodes 2015-12-23 23:55:39 +01:00
Shauren a70bc7c427 Core/PacketIO: Corrected orientation sent in teleport packets
Closes #16061
2015-12-22 23:16:27 +01:00
Shauren 2ebf3fc44b Core/PacketIO: Removed handler for another opcode that doesn't exist anymore 2015-12-21 23:20:00 +01:00
Shauren ef91ba9517 Core/Spells: Fixed a crash when npc casts a spell with SpellLevel = 0 and SPELL_ATTR0_LEVEL_DAMAGE_CALCULATION attribute
Closes #16072
2015-12-20 12:44:14 +01:00
Shauren 67c57c4b5b Core/PacketIO: Updated and enabled /mountspecial packets 2015-12-19 23:43:39 +01:00
Shauren 642bd1a76d Core/PacketIO: Removed handler for an opcode that no longer exists 2015-12-18 21:46:58 +01:00
Shauren 84609efb46 Core/PacketIO: Updated and enabled CMSG_CANCEL_CHANNELLING 2015-12-17 23:10:00 +01:00
Software Engineer 0d8b5c2142 Server/ObjectMgr: Added Error Log And Server Shutdown At ID Overflow 2015-12-16 18:55:01 +01:00
Shauren 0d9fe2222b Core/PacketIO: Updated and enabled CMSG_CALENDAR_COMPLAIN 2015-12-14 20:21:17 +01:00
Shauren 882c9ce981 Core/Players: Updated base mana regen 2015-12-13 20:04:34 +01:00
jackpoz b03d36d702 Merge pull request #15920 from Treeston/3.3.5-MCHotkeyPos
Unit/PossessBar: Fix spell ordering on possess bar
(cherry picked from commit c703e01471)
2015-12-12 03:26:54 +01:00
jackpoz 5077363f51 Core/Player: Always allow accounts with RBAC_PERM_COMMAND_GM to enter instances on login
Always allow accounts with RBAC_PERM_COMMAND_GM to enter instances on login even if player had .gm off .
Send an ingame message to notify the user about the avoided kick.

(cherry picked from commit 5f917e2286)
2015-12-12 03:08:45 +01:00
Shauren 04058052d3 Core/Misc: Build time improvement 2015-12-12 00:25:27 +01:00
Shauren 73a754b26c Core/Trade: Update TradeStatus enum for 6.2.3
Closes #15958
2015-12-11 23:08:23 +01:00
Shauren d97bca2c9b Core/Taxi: Updated taxi enums for 6.2.3
Closes #15959
2015-12-10 19:52:51 +01:00
Shauren 4695e23491 Core/Auras: Defined new spell aura types 2015-12-09 01:33:37 +01:00
Shauren 094f505e40 Core/Items: Fixed a possible crash with soulbound tradable items
Closes #15700
2015-12-08 18:02:10 +01:00
Shauren 93c4710c38 Added missing null checks to c488fb219a 2015-12-06 00:19:33 +01:00
Shauren c488fb219a Core/Creatures: Implemented automatic detection of trigger models, their order in creature_template no longer matters 2015-12-05 18:47:35 +01:00
MitchesD cdb5bd3eb7 Core/Conditions: extended CONDITION_NEAR_CREATURE, condition value 3 is now used to check for dead creature entries (0 - alive, 1 - dead)
* I used 0 for alive to avoid touching all conditions with this type
2015-12-03 21:37:33 +01:00
Shauren 9dde78716c Core/Spells: Extended .cheat cooldown command to also affect spells with charges 2015-12-03 00:08:44 +01:00
Shauren b512569258 Core/Spells: Fixed mistake in building SetSpellCharges packet 2015-12-02 23:50:41 +01:00
Shauren 8524faae94 Scripts/Icecrown Citadel: Professor Putricide - fixed Expunged Gas damage formula
Closes #6396

(cherry picked from commit 94e4bddb90)
2015-12-01 19:27:52 +01:00
Shauren 3c1748d8bd Core/DataStores: Added assertion for wrong max difficulty value 2015-11-30 00:18:08 +01:00
Shauren 8dad53d226 Core/Misc: Updated TransferAbortReason enum 2015-11-29 22:01:20 +01:00