Commit Graph

21898 Commits

Author SHA1 Message Date
Shauren
e62f091a4b Core/Misc: Warning fix 2015-10-30 18:32:01 +01:00
Shauren
2e2bdec28f Travis fix. 2015-10-30 18:20:33 +01:00
Shauren
8c9ea7782a Core/Corpses: Fixed a crash happening when a corpse is added to a grid that was not yet fully loaded
Closes #15684
2015-10-30 17:53:00 +01:00
Shauren
a94bdd00a9 Core/Corpses: Prevent deleting corpses by ObjectGridUnloader, fixes accessing freed memory in multiple places due to the corpse still being registered in Map containers
Closes #15775
Closes #15781
2015-10-30 17:51:19 +01:00
Shauren
4a36850167 Core/World: Store account id in CharacterInfo to reduce the amount of database queries
(cherry picked from commit aaaa1c3441)
2015-10-29 21:08:00 +01:00
Shauren
38c7a37530 Core/Crash reporting: Fixed windows version detection for 8.1 and newer
(cherry picked from commit 4c866a0af0)
2015-10-29 18:59:24 +01:00
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 45994a177c)
2015-10-29 18:59:06 +01:00
Shauren
b1b72dafd0 Warning fixes
(cherry picked from commit 82db416b5d)
2015-10-29 18:56:26 +01:00
Naios
d96db56f03 Core/Tools: Fix brutal linking in mmaps extractor.
* caused warnings with shared linking
* ref #15671

(cherry picked from commit 13654bac2c)
2015-10-29 18:56:25 +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 3fd15ed22a)
2015-10-29 18:52:00 +01:00
MitchesD
079c6b47f9 Core/Player: remove unused method prototypes
(cherry picked from commit 9617da7249)
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 1efb3f08e2)

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 bd16520ecc)
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
GigaDev90
b774aedd93 Scripts/DuelReset:
- fixed druid mana restoration
- fixed bug when a player accepts duel with a spel on onHold true (like when stealth of rogue/druid is active)
2015-10-28 20:14:21 +01:00
ShinDarth
f5781ec3af Scripts/DuelReset:
- impemented health and mana reset
- do not reset anything when duel is interrupted
2015-10-28 20:13:21 +01:00
w1sht0l1v3
56b27711a4 Core/Player: Fix copy/paste mistake in 1ef1d42d14 2015-10-26 20:15:18 +02:00
treeston
577fcf356e Scripts/Naxxramas: Faerlina cleanup:
- Move greeting to areatrigger instead of MoveInLineOfSight hack
- Clean up add spawn handling to prevent various glitching with combinations of evade state and add aggro
- Ensure all adds are always pulled alongside the boss and vice versa
- Add missing texts.
- Fix a bug in the core that prevents castable-while-dead spells (such as Widow's Embrace) from appearing on possess bars.
2015-10-26 00:43:01 +01: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
w1sht0l1v3
11f0c85bd4 Core/Quests: Fix a CMSG injection abuse.
closes #15709
2015-10-25 18:21:08 +02:00
Shauren
96b5bfd985 Core/Commands: Fixed merge error 2015-10-23 18:12:42 +02:00
MitchesD
6f844f36c3 Merge pull request #15755 from ShinDarth/reset-stealth
Fixed some rare stealth/prowl visual bugs after duel cd reset
2015-10-23 12:09:41 +02:00
MitchesD
b2575a04ce Merge pull request #15753 from Rushor/blood
Scripts/IcecrownCitadel: Quest 'Blood Quickening' - Add Killcredit in 25ManRaid
2015-10-23 12:06:03 +02:00
ShinDarth
81980ae58c Core/Spells: fixed some rare stealth/prowl visual bugs after duel cd reset 2015-10-23 11:56:47 +02:00
Shauren
c92faf6277 Core/Commands: Refactored chat command script hook, fixes a crash when building with gcc 5
Closes #15616
Closes #15740

(cherry picked from commit 2d942ddcc5)

# Conflicts:
#	src/server/scripts/Commands/cs_battlenet_account.cpp
#	src/server/scripts/Commands/cs_cast.cpp
#	src/server/scripts/Commands/cs_debug.cpp
#	src/server/scripts/Commands/cs_go.cpp
#	src/server/scripts/Commands/cs_misc.cpp
#	src/server/scripts/Commands/cs_mmaps.cpp
#	src/server/scripts/Commands/cs_modify.cpp
#	src/server/scripts/Commands/cs_npc.cpp
#	src/server/scripts/Commands/cs_reload.cpp
#	src/server/scripts/Commands/cs_ticket.cpp
2015-10-22 22:34:16 +02:00
Rushor
c5641a9a58 Scripts/IcecrownCitadel: Quest 'Blood Quickening' - Add Killcredit in 25ManRaid
closes #15733
2015-10-22 12:24:26 +02:00
Rushor
5dbe53279b Core/Spells: Reduce Duration for EffectEnchantHeldItem-Spells 2015-10-20 16:34:38 +02:00
blub
5c449b50aa Merge pull request #15731 from ShinDarth/toscri
Convert the Duel Cooldown Reset feature to scripts
2015-10-18 18:46:28 +02:00
ShinDarth
c6c3e72b55 Core/Scripts: convert the Duel Cooldown Reset feature to scripts 2015-10-18 18:41:58 +02:00
ShinDarth
9bd8522c0d Core/SpellHistory: Improved Cooldown Duel Reset
- Do not send useless data to the client
- Fixed a rare visual bug
2015-10-18 02:11:51 +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
Incorrect
a120053de7 Core/Items: Fix a trading spoof exploit. 2015-10-17 14:37:02 +03: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 b808910a89
2015-10-14 18:38:13 +02:00
ShinDarth
b76ea11685 Core/BG: Improved d7cb84f6cd
- Handle case when some players leave or InvitationType changes while running
- Add some comments
2015-10-13 17:41:08 +02:00
pete318
3f29ce9e8f Core/Pch - Fix non PCH build.
Issue introduced in b1032ed620
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
Naios
f179c4180f Merge pull request #15676 from ShinDarth/bg2
Core/Battlegrounds: implement even BG teams configuration
2015-10-12 21:26:18 +02:00
pete318
69941864ef Merge pull request #15707 from ShinDarth/pvpstats
Core/BG fix .character changefaction pvpstats victories amount
2015-10-12 20:07:40 +02:00
ShinDarth
d7cb84f6cd Core/Battlegrounds: implment even BG teams configuration 2015-10-12 20:02:13 +02:00
ShinDarth
2ebf068fc7 Core/BG fix .character changefaction pvpstats victories amount 2015-10-12 19:25:43 +02:00
pete318
5edc557a8d Resolve coverity #1023086
Correctly destroy AH pointer and return error to user in unlikely event
auctioneer is invalid
2015-10-11 21:23:02 +02:00
treeston
4771740d42 Gem Perfection implemented:
- Add new DB table `skill_perfect_item_template` that holds information about "perfect" crafts that replace the normal result
- Implement this new DB table into core (SkillExtraItems.cpp, SkillExtraItems.h, SpellEffects.cpp)
- Add data about perfect crafts to new DB table (2015_09_11_00_world.sql)
- Add reload capability to this new table (latch onto skill_extra_item_template to avoid changing command IDs)

Random other change because I stumbled across it and it annoyed me:
- npc_professions.cpp no longer uses magic numbers for quest IDs and creature IDs.
2015-10-11 11:36:18 +02:00
treeston
17fdb1e091 Scripts/Naxxramas: Loatheb follow-up:
- Fix Deathbloom (for real this time)
2015-10-11 11:24:04 +02:00
joschiwald
361ef5efa3 Merge pull request #15680 from tkrokli/dk_initiates_creature_say
Core/Scripts: The Endless Hunger & Death's Challenge, creature text
2015-10-10 16:48:31 +02:00
MitchesD
4e2dd6ee0b Merge pull request #15692 from ShinDarth/instance
Scripts/Commands: enhanced .instance get/setbossstate commands
2015-10-10 15:17:25 +02:00
tkrokli
89107c3a8e Core/Scripts: The Endless Hunger & Death's Challenge, creature text
This PR solves the following say text issues:
In quest ID 12733, Death's Challenge, the creature script npc_death_knight_initiate is supposed to target the player and refer to the player character's name in the following 2 lines from `creature_text`.`entry` 28406:

- "You don't stand a chance, $n." (`BroadcastTextId` 29267)
- "Remember this day, $n, for it is the day that you will be thoroughly owned." (`BroadcastTextId` 29270)

In quest ID 12848, The Endless Hunger, the creature script npc_unworthy_initiate is supposed to target the player and refer to the player character's race in the following 2 lines from `creature_text`.`entry` 29519, 29520, 29565, 29566 and 29567:

- "You are hopelessly outmatched, $r."  (`BroadcastTextId` 30212)
- "Sate your hunger on cold steel, $r!" (`BroadcastTextId` 30214)

The untargeted variables $r and $n appear in the say lines because the existing script assigns the text to the player character instead of the creatures. This does not produce any race or name information in /say or chat.

This Pull Request closes issue #14700 and replaces PR  #15678.
2015-10-10 14:57:49 +02:00