Commit Graph

13637 Commits

Author SHA1 Message Date
Carbenium e8ea7b5ede Core/Player: Fix wrong format specifier in a log message
(introduced in 230e820898)
2015-11-14 16:17:07 +01:00
Vincent-Michael 39a5844c6e Core: Fix warning
(cherry picked from commit d0c28c66eb)
2015-11-14 04:25:11 +01:00
Vincent-Michael 700508e484 Core/Condition: Fix issue reported by static analysis
Coverity defect ID: 1339314

(cherry picked from commit d188960216)
2015-11-14 04:24:51 +01:00
Carbenium 230e820898 Core/Creature: Remove duplicate call to LoadCreatureAddons in Creature::Create
* Add error log for duplicated aura entries in creature_(template_)addon

(cherry picked from commit c5f635b689)

Conflicts:
	src/server/game/Entities/Creature/Creature.cpp
	src/server/game/Globals/ObjectMgr.cpp
2015-11-14 04:22:42 +01:00
Carbenium 4e76974ce5 Core/Player: Move KillRewarder to its own file 2015-11-14 03:01:02 +01:00
Shauren 5b1303a795 Core/PacketIO: Updated and enabled a few movement opcodes 2015-11-14 00:20:59 +01:00
Shauren d31706b07e Core/DBLayer: Improve error message from 0a27f8bce2 2015-11-13 22:43:36 +01:00
Carbenium 17a5f51a29 Fix non-PCH build 2015-11-13 14:17:01 +01:00
Carbenium 2d7d6f505c Core/Player: Move TradeData to its own file 2015-11-13 10:23:33 +01:00
Shauren 5604aed5f1 Fix build for mysql versions older than 5.7 2015-11-13 00:01:31 +01:00
Shauren 0a27f8bce2 Core/DBLayer: Ensure that MySQL version used when compiling is the same as libmysql.dll version used for running the server.
Ref #15848
2015-11-12 17:54:22 +01:00
Shauren 524e83986e Core/PacketIO: Updated and enabled battlefield opcodes 2015-11-11 00:40:53 +01:00
jackpoz ec3bba64f0 Core/Commands: Fix NULL dereference crash
Closes #15833

(cherry picked from commit abd4e2e0f1)
2015-11-10 21:27:50 +01:00
Shauren 61c7161a10 Core/Units: Updated melee/spell hit chance calculation 2015-11-10 17:33:36 +01:00
Carbenium 7eb314fcd1 Core/Player: Improve a log message 2015-11-10 00:06:03 +01:00
Carbenium 4ea7e707f7 Core/ObjectMgr: Disable not linked graveyard error log for zoneId == 0
(cherry picked from commit 52394eb93c)

Conflicts:
	src/server/game/Globals/ObjectMgr.cpp
2015-11-09 23:51:41 +01:00
Killyana 7e0a61c70b Merge pull request #15022 from robinsch/GOdespawn
SmartAI: Possibility to despawn object with SMART_ACTION_FORCE_DESPAWN
(cherry picked from commit 90c4304f1e)
2015-11-09 18:10:46 +01:00
Shauren dfc8ea0ad5 Core/Commands: Improved additem and additemset commands. Added optional parameter allowing to specify bonuslist ids for items (you can copy the ids from wowhead urls) 2015-11-09 17:57:37 +01:00
Shauren 7c238cdefa Core/Items: Implemented new item bonus types 2015-11-08 15:10:18 +01:00
Melvin1263 262e61aae1 Core/DataStores: Fixed reading uint64 fields from DB2 files
Closes #15818
Closes #15752
2015-11-07 18:50:13 +01:00
Shauren 78aa35ad5e Merge pull request #15791 from Golrag/FlyingCreatureGroupsPositionZ
Core/CreatureGroups: Don't set positionZ to ground for flying creatures.
2015-11-07 14:51:37 +01:00
MitchesD 0031a6e134 Merge pull request #14664 from tkrokli/Exorcism_of_Colonel_Jules
[Core/DB] Quest: The Exorcism of Colonel Jules
(cherry picked from commit 5db0202a0a)
2015-11-07 13:32:24 +01:00
Vincent-Michael 6d01960448 Updated url for tc wiki 2015-11-07 11:22:16 +01:00
Shauren 88584a7398 Merge pull request #15495 from Treeston/3.3.5-gemperfection
Core/Spell: Implement "Gem Perfection" (and framework for similar spells in the future)
(cherry picked from commit 15cafba8d5)
2015-11-07 01:15:21 +01:00
Carbenium 74d7627778 Merge pull request #15720 from Tonghost/3.3.5
Core/Items: Fix a trading spoof exploit.
(cherry picked from commit 12ae32a9b6)

Conflicts:
	src/server/game/Entities/Item/Item.cpp
2015-11-07 01:02:11 +01:00
w1sht0l1v3 f605300c71 Core/Quests: Fix a CMSG injection abuse.
closes #15709

(cherry picked from commit 11f0c85bd4)

Conflicts:
	src/server/game/Handlers/QuestHandler.cpp
2015-11-07 00:47:58 +01:00
MitchesD b236f5f50d Merge pull request #15755 from ShinDarth/reset-stealth
Fixed some rare stealth/prowl visual bugs after duel cd reset
(cherry picked from commit 6f844f36c3)
2015-11-07 00:43:18 +01:00
Shauren 949c0b58a9 Merge pull request #15746 from Rushor/Venom
Core/Spells: Reduce Duration for EffectEnchantHeldItem-Spells
(cherry picked from commit c04c409f41)

Conflicts:
	src/server/game/Spells/SpellEffects.cpp
2015-11-07 00:42:41 +01:00
blub bf7175ee83 Merge pull request #15731 from ShinDarth/toscri
Convert the Duel Cooldown Reset feature to scripts
(cherry picked from commit 5c449b50aa)
2015-11-07 00:38:05 +01:00
MitchesD 42cf4e7713 Merge pull request #15727 from ShinDarth/duel-cd
Core/SpellHistory: Improved Cooldown Duel Reset
(cherry picked from commit 981e764004)

Conflicts:
	src/server/game/Spells/SpellHistory.cpp
2015-11-07 00:37:34 +01:00
MitchesD 63f253e95c Merge pull request #15697 from ShinDarth/cd
Core/Player rewritten duel CD reset system
(cherry picked from commit 4204805d47)

Conflicts:
	src/server/game/Spells/SpellHistory.cpp
	src/server/game/Spells/SpellHistory.h
	src/server/game/World/World.h
2015-11-07 00:35:24 +01:00
Shauren 8ceffaef44 Merge pull request #15646 from ShinDarth/ticket
Core/Player: implement ResetCoolDownAfterDuel configurable feature
(cherry picked from commit 5b8f1469ca)

Conflicts:
	src/server/game/Spells/SpellHistory.cpp
	src/server/game/Spells/SpellHistory.h
	src/server/game/World/World.h
2015-11-07 00:15:00 +01:00
Naios ed20680f92 Merge pull request #15711 from ShinDarth/bg-leave
Core/BG: Improved Battleground.InvitationType = 2
(cherry picked from commit 5a71eb7384)
2015-11-06 23:51:10 +01:00
Naios 441be76050 Merge pull request #15676 from ShinDarth/bg2
Core/Battlegrounds: implement even BG teams configuration
(cherry picked from commit f179c4180f)
2015-11-06 23:46:53 +01:00
pete318 39d29edf93 Merge pull request #15707 from ShinDarth/pvpstats
Core/BG fix .character changefaction pvpstats victories amount
(cherry picked from commit 69941864ef)

Conflicts:
	sql/base/characters_database.sql
	src/server/game/Battlegrounds/Battleground.cpp
2015-11-06 23:46:03 +01:00
Shauren ec1583df67 Core/Corpses: Fixed a possible crash adding bones to grid
Closes #15808
2015-11-06 21:30:08 +01:00
duhow 28bdb50d80 Scripts/Commands: Add taxinodes cheat status to
* Some cleanup

Closes #15065

(cherry picked from commit 558ce7d877)

Conflicts:
	src/server/scripts/Commands/cs_cheat.cpp
2015-11-06 20:17:38 +01:00
Killyana 286f0ea6f3 Scripts/ICC: moved saurfang gossips to db
Closes #14904

(cherry picked from commit 7225b7abf1)
2015-11-06 13:17:54 +01:00
CreshandKesh 143d00a242 Core/Scripts: Salanar the Horseman, Into the Realm of Shadows
- Show gossip_menu_option 9739 only if quest 12687 is accepted & not completed
- Cast spell 52693, SPELL_REALM_OF_SHADOWS, when gossip option is selected

Core script by @CreshandKesh (with some modifications)
SQL part by @CreshandKesh and @tkrokli, condition adjustment by @Killyana.

Closes #15603
Closes #15657

(cherry picked from commit 359df54b79)
2015-11-06 13:14:05 +01:00
Incorrect b022724458 Core/Misc: Remove unneeded files
These 3 BlackRock Mountain scripts can be removed from source:

- boss_anubshiah.cpp
- boss_gorosh_the_dervish.cpp
- boss_grizzle.cpp

They already removed from the creatures in DB, and are currently causing
DBErrors.

(cherry picked from commit d98037a75d)
2015-11-06 13:00:21 +01:00
Shauren 710d9c0ecc Core/Players: Fixed saving players with incorrect gender
(cherry picked from commit 6c53f820ae)
2015-11-06 12:55:18 +01:00
Kittnz 24bad7fd20 Core/Player: Set correct Gender by Modelid
An example: You are a blood elf female, you use [Iron Boot Flask], you turn into a male dwarf, you use  [Orb of the Sin'dorei] and it will turn you into a blood elf male. This is the correct behavior like retail.
(cherry picked from commit 3c82b498cc)
(cherry picked from commit 16f9d4ceeb)
2015-11-06 12:52:41 +01:00
MitchesD dd58e56f84 Core/Player: Fix not being able to do seasonal quests(if already done in the past)
(cherry picked from commit 1ef1d42d14)
(cherry picked from commit 56b27711a4)
2015-11-06 12:35:21 +01:00
ShinDarth 040b098aef Scripts/Commands: enhanced .instance get/setbossstate commands
(cherry picked from commit 1ffec02d76)

# Conflicts:
#	src/server/game/Instances/InstanceScript.cpp
#	src/server/scripts/Commands/cs_instance.cpp
2015-11-06 11:56:13 +01:00
joschiwald c4f64c6d9c Scripts/BWL: cleanup instancescript
(cherry picked from commit 05429b3593)

# Conflicts:
#	src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/instance_blackwing_lair.cpp
2015-11-06 11:48:53 +01:00
MitchesD 81ce5acb34 Core/Scripts: fix build after recent cherry picks 2015-11-06 11:28:35 +01:00
sirikfoll d4b3b1d1d2 DB/CORE Minor change in quest Kick, What Kick? and some codestyle
Remove the line that despawns the 'Apple' npc, this despawn is non-blizzlike and breaks the quest.
Thx Killyana for sql and valuable information

Closes #15480

(cherry picked from commit 22f1d26986)
2015-11-06 11:11:16 +01:00
treeston 6d14c4871f Scripts/Naxxramas: Anub'rekhan encounter cleanup.
- Cleaned up events behavior to use phases instead of weird checks for auras.
- Cleaned up Crypt Guard despawn behavior, they should no longer despawn instantly upon death.
- Moved initial greeting from MoveInLineOfSight hack to proper areatrigger script.
- Fixed Crypt Guard respawn behaviour to prevent pulling them before Anub'rekhan has fully reset.
- Fixed Crypt Guard aggro behaviour to call for help on aggro. This prevents pulling the initial pair of Crypt Guards without engaging the boss.
- Added missing boss emotes.
- Code style cleanup.

(cherry picked from commit 91de0322bb)

# Conflicts:
#	src/server/scripts/Northrend/Naxxramas/boss_anubrekhan.cpp
2015-11-06 11:07:31 +01:00
treeston b6ac8c577c 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.

(cherry picked from commit 577fcf356e)

# Conflicts:
#	src/server/scripts/Northrend/Naxxramas/boss_faerlina.cpp
2015-11-06 10:59:34 +01:00
jackpoz 5f5ac9630c Scripts/Naxxramax: Fix clang warning
(cherry picked from commit da0671f4fe)
2015-11-06 10:56:27 +01:00