Shauren
c7bad70e55
Core/Players: Check if player can enter the instance during login before trying to add him to map
...
* Fixes name displaying as "Unknown"
(cherry picked from commit 45994a177c128dc83ea01b0697377f7b74b5c4ba)
2015-10-29 18:59:06 +01:00
Shauren
b1b72dafd0
Warning fixes
...
(cherry picked from commit 82db416b5d4825f24da1ad92e771d6567750f649)
2015-10-29 18:56:26 +01:00
Shauren
31cf5ea305
Core/Misc: Removed manually defined ObjectGuid copy/move constructors. This will cause the compiler to automatically generate trivial constructors allowing them to be treated as simple integers
...
(cherry picked from commit 3fd15ed22a23af1c5bb2cf037f93c1bce5f1e243)
2015-10-29 18:52:00 +01:00
MitchesD
079c6b47f9
Core/Player: remove unused method prototypes
...
(cherry picked from commit 9617da72492953fcbbc6f100079c3241e0c3a096)
2015-10-29 18:50:30 +01:00
Shauren
1d17475791
Core/Corpses: Fixed map crash happening during map unload when there are corpses inside
2015-10-29 18:46:37 +01:00
Shauren
7dcddd90be
Core/Spells: Improved spell category cooldown handling
...
* Category cooldown is stored with the spell that started the cooldown (and only resetting cooldown on that spell will clear cooldowns on entire category - this fully mirrors client behavior)
* This significantly reduces the amount of data saved to database for cooldowns
* Spell casts from items that have a different category specified than on spell will now check for cooldown during the cast
(cherry picked from commit 1efb3f08e278530f59d681f676b031a7fc6db3ac)
Closes #15766
Closes #15137
Closes #14837
2015-10-29 17:56:18 +01:00
Shauren
20b4e6f03a
Core/Corpses: Fixed leaking corpses
...
Closes #15765
(cherry picked from commit bd16520ecc91d827abae7f0447cc292fe9e843e9)
2015-10-28 21:56:40 +01:00
MitchesD
8e7012f076
Merge pull request #15736 from ShinDarth/deserters
...
BG Deserters tracking system
2015-10-28 20:40:25 +01:00
ShinDarth
d380c12c56
Core/Battleground: implement deserters tracker feature
2015-10-28 20:39:04 +01:00
w1sht0l1v3
56b27711a4
Core/Player: Fix copy/paste mistake in 1ef1d42d14
2015-10-26 20:15:18 +02:00
w1sht0l1v3
1ef1d42d14
Core/Player: Fix not being able to do seasonal quests(if already done in the past)
2015-10-25 18:22:57 +02:00
ShinDarth
c6c3e72b55
Core/Scripts: convert the Duel Cooldown Reset feature to scripts
2015-10-18 18:41:58 +02:00
MitchesD
4204805d47
Merge pull request #15697 from ShinDarth/cd
...
Core/Player rewritten duel CD reset system
2015-10-17 18:38:31 +02:00
ShinDarth
1e52dd4797
Core/Player rewritten duel CD reset system
2015-10-17 18:37:34 +02:00
ShinDarth
2185165e84
Core/Misc split Rate.XP.Kill and Rate.XP.BattlegroundKill settings
2015-10-16 00:04:40 +02:00
pete318
c9258d436b
Core/Auras: Fixed auras limited to a single target not being removed in all cases as expected
...
* Fixes possible assertion failure in Aura::UnregisterSingleTarget
Closes #15696
Ref #15668
Cherry picked (manually) from b808910a89822f741d35d4b90e6c4bcf101cd9ef
2015-10-14 18:38:13 +02:00
pete318
3f29ce9e8f
Core/Pch - Fix non PCH build.
...
Issue introduced in https://github.com/TrinityCore/TrinityCore/commit/b1032ed6203a5839906fab7137484b0ef8f0e58f
2015-10-13 09:28:44 +02:00
pete318
b1032ed620
Change many uint32 to ObjectGuid::LowType in line with 6.x changes.
2015-10-12 23:10:41 +02:00
Shauren
b8a846d33e
Merge pull request #15504 from Treeston/3.3.5-bosscombatpulse
...
Core/Creature: Add default-disabled periodic zone combat pulse (and have base AI enable it for bosses)
2015-10-10 11:42:28 +02:00
pete318
cdb16c5181
Rooted vehicle movement ( #13342 for example)
...
Corrects issue where certain combinations of actions would cause vehicles (usually cannons/artillary) that should be rooted, to be fully movable
2015-10-06 22:05:11 +02:00
Shauren
5b8f1469ca
Merge pull request #15646 from ShinDarth/ticket
...
Core/Player: implement ResetCoolDownAfterDuel configurable feature
2015-10-05 16:57:02 +02:00
ShinDarth
24b41a5211
Core/Player: implement ResetCoolDownAfterDuel configurable feature
2015-10-05 15:57:53 +02:00
Shauren
325336137d
Core/Transports: Fixed accessing deleted instance transports
...
Thanks @jackpoz for valgrind log and @pete318 for reproduction steps
Closes #15633
(cherry picked from commit 8745e08be020471db886e11a3a7512a751141562)
2015-09-30 19:58:09 +02:00
Incorrect
e99e69d31f
Core/Misc: Fix a typo
2015-09-30 07:34:13 +03:00
Shauren
402a3c45ff
Core/Maps: Moved corpse management to map level
...
(cherry picked from commit cd27fd38b93884797c094a82dc7beb0498e2f124)
# Conflicts:
# src/server/database/Database/Implementation/CharacterDatabase.cpp
# src/server/database/Database/Implementation/CharacterDatabase.h
# src/server/game/Entities/Corpse/Corpse.cpp
# src/server/game/Entities/Creature/GossipDef.cpp
# src/server/game/Entities/Player/Player.cpp
# src/server/game/Entities/Player/Player.h
# src/server/game/Globals/ObjectAccessor.cpp
# src/server/game/Globals/ObjectAccessor.h
# src/server/game/Globals/ObjectMgr.cpp
# src/server/game/Globals/ObjectMgr.h
# src/server/game/Grids/ObjectGridLoader.cpp
# src/server/game/Handlers/AuctionHouseHandler.cpp
# src/server/game/Handlers/CharacterHandler.cpp
# src/server/game/Handlers/ChatHandler.cpp
# src/server/game/Handlers/QueryHandler.cpp
# src/server/game/Maps/Map.cpp
# src/server/game/Server/Packets/CharacterPackets.cpp
# src/server/game/World/World.cpp
# src/server/scripts/Commands/cs_reload.cpp
2015-09-29 18:45:01 +02:00
jackpoz
3f24853e29
Merge pull request #15473 from Treeston/3.3.5-fixplayerdamagereq
...
Core/Unit: Player-summoned creature damage counts towards quest credit
2015-09-25 22:51:42 +02:00
Shauren
e68ff4186e
Core/Commands: Fixed .gobject move and turn
...
(cherry picked from commit 7eb25f1af6b74d3559b541d45da6cce50e657ba4)
Closes #3802
Closes #15598
2015-09-25 21:26:31 +02:00
treeston
6a8524c068
Custom logic for putting people in combat instead of relying on CreatureAI or Creature methods.
2015-09-25 15:14:53 +02:00
treeston
d57193df44
Core/Creature: Add facilities to the Creature class to allow setting an automated, periodic pulse that puts every player in the zone in combat and on the creature's threat list.
...
Scripts/BossAI: Set the BossAI parent class to make use of this in its _EnterCombat and _Reset methods. Combat pulses happen every 5 seconds.
2015-09-25 14:09:01 +02:00
Aokromes
f84655cac7
Core/Creature: Better formations implementation
...
By Malcrom
2015-09-24 14:46:16 +02:00
pete318
dcb7082277
Map local guids 6.x -> 3.3.35:
...
Implemented:
https://github.com/TrinityCore/TrinityCore/commit/ca83e14f8b141fab0a13e08f48fca6c1ace0c4c7
https://github.com/TrinityCore/TrinityCore/commit/ee1c1b97be4492ecabe8b15ea6323fc37e4eaa8c
https://github.com/TrinityCore/TrinityCore/commit/18e4ab6911468b829b0fc768e532a770263c3717
https://github.com/TrinityCore/TrinityCore/commit/bf37446b3c2ed73b4d3aa9e227d3eff5c53b378b
https://github.com/TrinityCore/TrinityCore/commit/cb854a2b7bb7bd96cf9c4d1daf3789f797bf4db8
* This adds separate (per map) guid sequences depending on object type
* Ported map object container from cmangos/mangos-wotlk@a2d396e
* Added type container visitor for TypeUnorderedMapContainer
* Implemented helper function to erase unique pairs from multimap containers
* Moved object storage of all objects except players and transports to map level
* Added containers linking database spawn id with creature/gameobject in world
* Renamed DBTableGuid to spawnId
* Added a separate spawn id sequence generator for creatures and gameobjects - this will be used in db tables
* Moved building SMSG_UPDATE_OBJECT - updatefields changes broadcast to map update
* Added new function to return but not increment guid
* Adjusted .debug loadcells to show low guid in map before/after load
* Added debug messages for creature spawn/destroy, for map guid debugging
* Store all Gameobjects and Creatures added to OutdoorPvP, so the callback script can be removed when OutdoorPvP instance is destroyed.
2015-09-22 21:33:57 +02:00
Aokromes
75842fb1a5
Core/Creature: Fixes Issue with Formations with 2 waypoints
...
By Malcrom
2015-09-22 18:29:22 +02:00
Aokromes
57fabc78e4
Core/Creature: Fix formations to prevent crossover
...
By Malcrom
2015-09-21 22:18:34 +02:00
StormBytePP
7b245a0b6b
Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert
2015-09-21 15:11:06 +02:00
Shauren
1321427901
Core/Unit: Fixed incorrect value sent in highest threat unit update
2015-09-15 16:58:30 +02:00
MitchesD
0eea8d686b
Merge pull request #15497 from ShinDarth/335-misc
...
[3.3.5] Low priority changes after latest backports
2015-09-15 10:45:40 +02:00
ShinDarth
b1d773f3d5
Core/Misc: rename some variables after latest backports
2015-09-14 23:35:58 +02:00
Shauren
2056961aae
Core/Players: Changed multi-segment taxi paths to fly nearby flight masters along the way, not directly through them
...
* Taxi cost on multi-segment paths is now charged per segment when it is started
2015-09-12 20:15:34 +02:00
treeston
946fdbc06b
Allow player-created temporary summons (quest "helper" NPCs summoned by item etc.) to contribute to the 50% player damage requirement.
...
Fixes quests such as "Valduran the Stormborn" (12984) or "The Air Stands Still" (13125) which previously required the player to out-damage the "helper" NPC to get credit.
2015-09-09 18:47:50 +02:00
treeston
d42a498063
Allow mounting while under transformations that can be cast while mounted.
...
Closes #12042 .
Credit to @SeTM for base code used.
2015-09-07 19:04:44 +02:00
jackpoz
166e66cc06
Core/Spells: Fix crash happening when using items to cast spells
...
Fix a crash happening when using items casting spells like Item ID 37198
Fix #14900
2015-09-05 22:45:15 +02:00
StormBytePP
4ada913d02
Core/Unit: Prevent AoE damage to have effect in some cases when faction is unfriendly but they don't attack you and you don't have at war enabled (Example, Sporaggar faction)
...
Fixes #15374
2015-08-29 02:35:58 +02:00
StormBytePP
70f029fd0a
Core/Unit: Do not remove aura with interrupt flag AURA_INTERRUPT_FLAG_NOT_UNDERWATER when already flying
2015-08-24 16:00:38 +02:00
David Carlos Manuelda
603f49a551
Merge pull request #15327 from Trisjdc/fix_rest_state
...
Core/Players: Improve rest state handling, allow several rest states to be active
2015-08-23 20:32:54 +02:00
joschiwald
df21162fe4
Scripts/VioletHold: rewrote the whole instance
...
thanks @MitchesD for help
2015-08-23 14:43:11 +02:00
Trisjdc
c14b66c24c
Core/Players: Improve rest state handling, allow several rest states to be active
...
Fixes https://github.com/TrinityCore/TrinityCore/issues/15325
2015-08-23 10:47:16 +01:00
StormBytePP
424576e098
Core/Misc: Added checks for procSpell nullptr cases
...
Fixes Coverity Defect ID: 1023036
2015-08-20 16:29:36 +02:00
StormBytePP
0cc3d883e1
Core/Build: Renamed Revision.h to GitRevision.h to avoid compile failure when old revision.h file is present
2015-08-16 23:08:01 +02:00
StormBytePP
94f69fb1bc
Core/Build: Removed obsolete SystemConfig.h and made genrev be part of shared library, which allows cache hits to happen more likely
2015-08-16 17:15:38 +02:00
DDuarte
e1b534e40f
Core/Object: Add changes to ObjectGuid from 6.x
...
copy and move cctor
assignment and assig move operators
Ref 81abfe93bb96e5a769dc855f06fdc7578b352b39 and 89a8a7e1a4bdc22d2da17b1a3bf34fd52bf87e85
2015-08-15 18:09:12 +01:00