Commit Graph

22713 Commits

Author SHA1 Message Date
joschiwald
0659a85436 Core/Entities: Fixed typo in AreaTrigger loading 2017-02-06 21:19:31 +01:00
joschiwald
e6b46f883b Core/Guilds: Addition to e0e0242cb3
* changed count type from uint32 to uint64
2017-02-06 19:26:47 +01:00
Shauren
a210c7ccf6 Core/Opcodes: Add missing handlers (for logging names mostly) 2017-02-06 17:23:39 +01:00
joschiwald
e0e0242cb3 Core/Guilds: Added log message about guild achievements on startup 2017-02-05 22:16:13 +01:00
joschiwald
e3d44a6497 Fixed build 2017-02-05 21:49:53 +01:00
ariel-
32fd993dd7 Core/Entities: Readded check removed in d7460887c8, caused flying ghost players to not move if they died during a root effect, root flag was never cleared clientside and impeded movement.
(cherry picked from commit ef85d01746)

# Conflicts:
#	src/server/game/Server/WorldSession.cpp
2017-02-05 21:23:29 +01:00
ariel-
635ea3258b Core/Loot: fix bug introduced in a49544cc18 in which creatures only having gold wouldn't show lootable sparks, and thus couldn't be looted
(cherry picked from commit 59f71f915a)
2017-02-05 21:14:22 +01:00
ccrs
297c0a9b9e Core/UnitAI: #17309 follow-up (#17608)
* Core/UnitAI: SelectTarget correction

Set CurrentVictim as first element on targetList if necessary, which is then filled with the threatlist elements that satisfy the predicate.
(cherry picked from commit b008b677ad)
2017-02-05 21:14:04 +01:00
Gustavo
accaee579e Core/AI Prevent bosses respawn when BossState is set to DONE (#17616)
(cherry picked from commit f826ecb4b2)
2017-02-05 21:09:43 +01:00
ariel-
a5502cb7ec Core/Player: fix crash
Closes  #17073

(cherry picked from commit 028e473ec4)
2017-02-05 21:09:09 +01:00
ariel-
5d36f29843 Core/Misc: remove two synch queries and replace them with CharacterInfo cache
(cherry picked from commit 1a52c1cd36)
2017-02-05 21:07:32 +01:00
ariel-
5565defd9f Core/LFGMgr: fix race condition in _SaveToDB
(cherry picked from commit 94fb921cea)
2017-02-05 21:07:32 +01:00
ariel-
587c6da262 Core/ArenaTeamMgr: fix race condition in LoadArenaTeams
(cherry picked from commit b991f3e13d)
2017-02-05 21:07:32 +01:00
ccrs
afbdb99d90 Core/UnitAI: SelectTarget correction (#17309)
Core/UnitAI: SelectTarget correction - have current victim always be first element of target list
(cherry picked from commit 63e62117ea)
2017-02-05 21:07:31 +01:00
ariel-
f2c5c6995f Core/World: fix race condition in _UpdateRealmCharCount
(cherry picked from commit 5251dadf29)
2017-02-05 21:07:31 +01:00
ariel-
e5e1834bd5 Core/Player: silence warning
(cherry picked from commit dda338ece6)
2017-02-05 21:07:30 +01:00
SnapperRy
06c7849aa1 Core/Conditions: implement CONDITION_DAILY_QUEST_DONE to check whether or not a daily quest has been completed by a player in that day.
Also use it to fix two quest chains broken in commit 7905651. Should be the only ones of their kind.

(cherry picked from commit b4b3c10c69)
2017-02-05 21:07:30 +01:00
ariel-
5f666a2ce6 Core/Spells: Fix Roar of Sacrifice damage part (#17519)
(cherry picked from commit 6988407b43)

Rename 2016_99_99_99_world.sql to 2016_07_16_03_world.sql
(cherry picked from commit 4bcb5a058b)
2017-02-05 20:35:19 +01:00
Gustavo
4a21e8158f Core/Spells GameObjects needs to be spawned in order to be acceptable as a SpellFocus (#17594)
(cherry picked from commit 23e89b8aef)

# Conflicts:
#	src/server/game/Grids/Notifiers/GridNotifiers.h
2017-02-05 20:00:55 +01:00
Andrew Letson
53c98267a5 Core/Scripts: Migrate Tanaris NPC's to SAI (#17390)
(cherry picked from commit 6ea48c036e)

Rename 2016_06_15_99_world.sql to 2016_07_15_08_world.sql
(cherry picked from commit a37a8a316b)
2017-02-05 17:48:52 +01:00
SnapperRy
3e74109857 Core/SmartAI: change SMART_ACTION_RISE_UP (114) to SMART_ACTION_MOVE_OFFSET and implement offset movement via target fields. (#17362)
(cherry picked from commit ba0cb53b02)

Rename 9999_99_99_99_world.sql to 2016_07_15_07_world.sql
(cherry picked from commit 2fd124f9a3)
2017-02-05 17:45:07 +01:00
SnapperRy
c8e7e68e66 Core/SpellArea: iterate spell_area entries by player's current area instead of quest id. (#17509)
(cherry picked from commit d7e47de264)
2017-02-05 17:38:36 +01:00
SnapperRy
90be9d143b Core/Unit: remove emote state when creature attacks another unit (#17542)
(cherry picked from commit a732749d72)
2017-02-05 17:36:37 +01:00
SnapperRy
c9cb63653a Core/Creature: implement INHABIT_ROOT to apply UNIT_STATE_ROOT to creature (#17543)
Add flag 8 to InhabitType for creatures that should appear rooted client-side
(cherry picked from commit f78ab9aba4)
2017-02-05 17:32:10 +01:00
robinsch
3ef1f2c531 Script/Archavon: Implement EMOTE_LEAP (#17588)
(cherry picked from commit 8a2df73a82)

Script/Archavon: Implement EMOTE_LEAP

By robinsch
(cherry picked from commit 1a2bd0dc3a)
2017-02-05 17:31:54 +01:00
P-Kito
3b66943330 Game/Entities: Fix math problem "Disk Point Picking" in GetRandomPoint (#17577)
(cherry picked from commit 0aad705f95)
2017-02-05 16:53:53 +01:00
SnapperRy
a390604fb2 Core/Quest: implement usage of QUEST_FLAGS_RAID to allow a quest to be completed while in raid. (#17535)
By @ForesterDev
(cherry picked from commit baf54cff3b)
2017-02-05 16:38:18 +01:00
Meruemu
e575a6a03e Core/Entities: Fix flag CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN implementation. (#17548)
(cherry picked from commit 4a46fee03e)
2017-02-05 16:37:49 +01:00
Warpten
3cd73a36e3 Scripts/RubySanctum: Fix missing break reported by Coverity.
(cherry picked from commit 07ce570be8)
2017-02-05 16:37:36 +01:00
Keader
1a788ab226 Core/Movement Fixed minimum speed check (#17555)
(cherry picked from commit 23b6991273)
2017-02-05 16:29:27 +01:00
Snapper
a3096cc1c1 Core/Misc: use enum for UNIIT_NPC_FLAGS' zero values
(cherry picked from commit ebb33bbfc1)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
2017-02-05 16:27:55 +01:00
Shauren
e991a15dd7 Core/Groups: Fixed UI bugs related to leaving and rejoining the same group
Closes #18789
2017-02-05 01:57:15 +01:00
Aokromes
331fa3e03c Core/Player: Move few logs of loglevel and add few notes (#17554)
(cherry picked from commit 8211266f9b)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
2017-02-05 00:57:20 +01:00
Snapper
c639153567 Core/Misc: kill whitespace and use enum instead of hardcoded value.
(cherry picked from commit 21797c6c4f)
2017-02-05 00:57:20 +01:00
SnapperRy
977cccab92 Core/Quest: don't save queststatus for autocomplete quests (#17487)
(cherry picked from commit bf9b89dd2e)
2017-02-05 00:57:19 +01:00
Shauren
64059516fe Core/Quests: Fixed crash during loading quest rewarded status added in 7905651b07
Closes #17552

(cherry picked from commit cb786e8841)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
2017-02-05 00:57:18 +01:00
Golrag
140d7828c8 Core/Unit: Add proc cooldown to all units (#17546)
(cherry picked from commit 0b98544286)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
2017-02-05 00:57:18 +01:00
treeston
9046483f3c Entities/Creature: Add some more std::chrono overloads
(cherry picked from commit 0547926f17)
2017-02-05 00:57:17 +01:00
SnapperRy
caf744ad02 Core/Script: small improvement for quest "The Hunt is On". (#17537)
Reset emotestate when the event starts.
(cherry picked from commit eb1cd4c907)
2017-02-05 00:57:16 +01:00
Krudor
3781b05263 Core/Criterias: Define 31 criteria types (#19042)
Defined criteria types:
CRITERIA_TYPE_SURVEY_GAMEOBJECT
CRITERIA_TYPE_CLEAR_DIGSITE
CRITERIA_TYPE_MANUAL_COMPLETE_CRITERIA
CRITERIA_TYPE_COMPLETE_CHALLENGE_MODE_GUILD
CRITERIA_TYPE_DEFEAT_CREATURE_GROUP
CRITERIA_TYPE_COMPLETE_CHALLENGE_MODE
CRITERIA_TYPE_SEND_EVENT
CRITERIA_TYPE_COOK_RECIPES_GUILD
CRITERIA_TYPE_EARN_PET_BATTLE_ACHIEVEMENT_POINTS
CRITERIA_TYPE_SEND_EVENT_SCENARIO
CRITERIA_TYPE_RELEASE_SPIRIT
CRITERIA_TYPE_OWN_PET
CRITERIA_TYPE_GARRISON_COMPLETE_DUNGEON_ENCOUNTER
CRITERIA_TYPE_COMPLETE_LFG_DUNGEON
CRITERIA_TYPE_LFG_VOTE_KICKS_INITIATED_BY_PLAYER
CRITERIA_TYPE_LFG_VOTE_KICKS_NOT_INIT_BY_PLAYER
CRITERIA_TYPE_BE_KICKED_FROM_LFG
CRITERIA_TYPE_LFG_LEAVES
CRITERIA_TYPE_COUNT_OF_LFG_QUEUE_BOOSTS_BY_TANK
CRITERIA_TYPE_REACH_AREATRIGGER_WITH_ACTIONSET
CRITERIA_TYPE_START_ORDER_HALL_MISSION
CRITERIA_TYPE_RECRUIT_GARRISON_FOLLOWER (was defined for id 187)
CRITERIA_TYPE_OWN_HEIRLOOMS
CRITERIA_TYPE_ARTIFACT_POWER_EARNED
CRITERIA_TYPE_ARTIFACT_TRAITS_UNLOCKED
CRITERIA_TYPE_HONOR_LEVEL_REACHED

Redefined criteria types:
CRITERIA_TYPE_RECRUIT_GARRISON_FOLLOWER_WITH_QUALITY (was
CRITERIA_TYPE_RECRUIT_GARRISON_FOLLOWER)
2017-02-05 00:17:43 +01:00
joschiwald
e774c29c21 Fixed build 2017-02-05 00:16:58 +01:00
Aokromes
4cdd8e048c Core/Misc: Coding standard
(cherry picked from commit 3016783595)
2017-02-05 00:00:50 +01:00
Aokromes
a5f21b4c62 Core/Misc: Coding standard (#17521)
(cherry picked from commit a832865ce2)

# Conflicts:
#	src/server/game/Handlers/PetHandler.cpp
#	src/server/game/Spells/Spell.cpp
2017-02-05 00:00:38 +01:00
Aokromes
6d9a0ade7b Core/Mmaps: Charge ignoring z position of target (#17516)
* Core/Mmaps: Charge ignoring z position of target

By cemak closes #15011
(cherry picked from commit fda9f1a136)

Typo fix
(cherry picked from commit fcffdc38a7)

And another typo fix
(cherry picked from commit e0cc650ea9)
2017-02-04 23:59:27 +01:00
ariel-
ad6e0b6d79 Core/Unit: remove duplicate resist roll in Unit::MeleeSpellHitResult (#17520)
(cherry picked from commit cfbfa8158a)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
2017-02-04 23:59:07 +01:00
SnapperRy
9f9692427a Core/Fishing: update fishing skill regardless of success or failure (junk items fished) (#17504)
(cherry picked from commit bf30ec9c8e)
2017-02-04 23:49:42 +01:00
SnapperRy
623215ce31 Event/Midsummer: improve pole ribbon functionality (#17464)
Event/Midsummer: improve pole ribbon functionality:

- Bunny creature should hover, which puts it in the intended position.
- Use correct visual and internal spells to handle cosmetics and timers.
(cherry picked from commit 03b15d968b)

Rename 9999_99_99_99_world.sql to 2016_07_05_03_world.sql
(cherry picked from commit 8edc1caf32)
2017-02-04 23:37:59 +01:00
Gustavo
e55420af86 Core/Scripts Corrections on Halion's Encounter (#16725)
Core/Scripts: Updates to Halion

* Fixed Combustion and Consumption.
* Fixed Living Embers and Blazing Auras.
* Timer changes.
(cherry picked from commit dfe278459d)

# Conflicts:
#	src/server/game/Spells/SpellMgr.cpp
#	src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp

Fix sql for merged PR
(cherry picked from commit 7f944695dd)

Derp.

github editor is bad.
(cherry picked from commit 1829049461)
2017-02-04 23:33:26 +01:00
SnapperRy
752c789aaf Core/Quest: do not save/load Dungeon Finder/daily/repeatable quests as completed (#17458)
* Core/Quest: do not save/load Dungeon Finder/daily/repeatable quests as completed
(cherry picked from commit 7905651b07)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
2017-02-04 23:21:27 +01:00
SnapperRy
8ee0a14c27 Core/Spell: allow use of ground mounts while swimming (#17488)
(cherry picked from commit b20912c8f6)
2017-02-04 23:20:08 +01:00