Commit Graph

22010 Commits

Author SHA1 Message Date
Treeston
d4b00df781 Core/Spell: Reset threat to zero when the hunter use Feign Death
Closes #23874
2019-12-07 19:13:06 +01:00
Killyana
6db4bf6671 Quest: Weakness to Lightning
Closes #23916
2019-12-07 16:57:16 +01:00
Shauren
3bf44a5891 warning fix 2019-12-07 14:43:46 +01:00
Shauren
b990a79fd8 Core/Realms: Move build info (and auth seeds) to database
(cherry picked from commit 61f2eed353)
2019-12-07 13:14:16 +01:00
Ovah
60763fc5e2 Scripts/ScarletEnclave: reworked Eye of Acherus script (#23953)
* updated script model to new standard
* corrected spell usage and timers based on sniff data
* removed hacks
2019-12-06 07:37:34 +01:00
ccrs
3842ab2781 Core/AI: add another helper for "ScriptedAI::ForceCombatStop" 2019-11-25 20:43:23 +01:00
Giacomo Pozzoni
909941e1b4 Core/GameObjects: Skip LoS checks for traps (#23936)
* Core/GameObjects: Skip LoS checks for traps

* Core/GameObjects: Fix spells cast by traps missing always

* Scripts/Spells: Fix WSG heal buff not healing

The WSG green heal buff is now cast by a GameObject so the spell target should be used to calculate the healing, not the GameObject.
2019-11-24 21:00:42 +01:00
Ovah
4ddf7f5976 Fixed pets repositioning themselves after every cast (#23923) 2019-11-17 14:29:31 -03:00
Killyana
754e207777 Movements/Pets: Fix the follow angle 2019-11-17 16:20:06 +01:00
Shauren
73bc3d8ea4 Core/Random: Refactor random number generation to use std::uniform_*_distribution to restrict result range instead of doing that ourselves
* Seed SFMTRand with more values for its state
2019-11-09 15:09:22 +01:00
daMaex
4e0279b0e4 Dep/SFMT: updated to newest upstream version from https://github.com/MersenneTwister-Lab/SFMT
* only needed files added
* used CMake and SFMTRand from https://github.com/TrinityCore/TrinityCore/pull/23240 (Thank you Artox)
2019-11-09 15:09:22 +01:00
Shauren
4710a3f6c1 Build fix - include went missing when resolving merge conflicts 2019-11-09 14:03:57 +01:00
Shauren
11ed9d7963 Build fix
(cherry picked from commit 7c168fb6eb)
2019-11-09 13:49:31 +01:00
Shauren
23afc545f1 Fix dynamic linking builds for msvc
(cherry picked from commit a6635436ce)
2019-11-09 13:49:31 +01:00
Shauren
b5480acf54 Core/DBUpdater: Fixed db updater for mysql 8 on windows using named pipe connections
(cherry picked from commit f689f6e9bd)
2019-11-09 13:49:31 +01:00
Shauren
5f06c476f6 Core/DBLayer: Support using mysql 8
(cherry picked from commit c3a9d56b56)
2019-11-09 13:49:27 +01:00
Trond B. Krokli
42f1861f30 Core/Spells: add spell fix to Trained Rock Falcon (#23896)
fixed by sirikfoll
2019-10-28 15:33:26 -03:00
Shauren
267bdde323 Core/PacketIO: Restrict CMSG_STANDSTATECHANGE to only allow the same stand states that client can send by itself 2019-10-27 11:15:15 +01:00
Shauren
369cfc29d9 Core/PacketIO: Restrict CMSG_EMOTE to only allow emotes that are hardcoded in client 2019-10-27 10:54:22 +01:00
ccrs
a58ed271c9 Scripts/PoS: a7a96d4 followup
cause edge cases may exist
ty Aokromes
2019-10-27 02:28:28 +01:00
ccrs
06c6b30ed4 Scripts/ScarletMonastery: instance script cleanup (#23889)
Adapt InstanceScript into newer structure and style
Adapt existing boss scripts into newer structure and style
Improve existing boss related definitions

Should make each boss more functionally reliable, but nothing new has been added
2019-10-26 23:33:30 +02:00
jackpoz
00703ee238 Core/Misc: Enable MaxCoreStuckTime setting by default
Enable MaxCoreStuckTime setting by default to force worldserver to exit in case of infinite loops.
Note that this will not affect existing setups with the setting MaxCoreStuckTime set to 0 in the local worldserver.conf .
2019-10-26 19:49:41 +02:00
ccrs
fcbcb43b2b Scripts/PoS: a7a96d4 followup
we cant despawn all summons since vehicle spawn their passengers as regular summons
ty Aokromes
2019-10-24 10:51:27 +02:00
ccrs
40116f1025 Scripts/PoS: a7a96d4 followup 2019-10-23 17:39:25 +02:00
ccrs
a7a96d4271 Scripts/PoS: little implementation cleanup in boss_krickandick with, you guessed it, movement related corrections
also, never forgetti  -->
                                     ¨¨Ç*^¿?_:;_^!"·Ç!Ñ·$%/(/)/()(=)(=]]{
Unit::StopMoving() is evil, and so is MotionMaster::Clear()

the first can really mess up existing movement generators
the second can interrupt "controlled" movements... can do it literally mid-air
2019-10-23 17:29:34 +02:00
ccrs
8fd33dfd79 Build: fix nopch - add missing declaration 2019-10-23 14:06:17 +02:00
ccrs
d27fd717c1 Scripts/PoS: move boss_krickandick into new script definition 2019-10-23 12:53:46 +02:00
ccrs
c9c6871659 Core/Movement: prevent any Initialize queue till AddToWorld is signaled 2019-10-23 03:28:57 +02:00
ccrs
bc9a9ad7e1 Core/Movement: d033032 followup
now THATS a typo... sorry folks
2019-10-23 03:26:49 +02:00
ccrs
5d056f37c7 Core/Movement: d033032 followup
ty jackpoz
2019-10-22 15:48:00 +02:00
ccrs
bb9af06cd4 Core/AI: 06443e3 followup 2019-10-22 13:36:23 +02:00
ccrs
fe7c2c3772 Core/AI: add missing public tag & correct alignment 2019-10-22 12:46:20 +02:00
Gildor
e1df7b751e Core/Spells - Rogue: Fix Unfair Advantage range (#23877)
Closes #23873
2019-10-21 19:34:17 +02:00
ccrs
bc507209a7 Core/Movement: d033032 followup
ty jackpoz
2019-10-21 16:49:25 +02:00
ccrs
a71c5f4c7f Core/AI: 06443e3 followup
cause its not "that" horrible
2019-10-21 16:43:39 +02:00
ccrs
d033032d33 Core/Movement: delay movement update in MotionMaster until its owner signals AddToWorld
ref #23199
closes #23876
2019-10-21 13:55:23 +02:00
Aokromes
69b7958ebc Core/Totem: Change log level of a log
To much spam of people doing quests with totem-like creatures
2019-10-21 10:19:52 +02:00
jackpoz
84937337da Revert "Core/Movement: Fix a crash on login"
This reverts commit 9941b4c2ed.
2019-10-20 12:25:14 +02:00
jackpoz
9941b4c2ed Core/Movement: Fix a crash on login
Fix a crash in MotionMaster happening when logging in with an aura of type SPELL_AURA_MOD_CONFUSE
2019-10-19 23:05:22 +02:00
jackpoz
90bb10aa3a Core/GameObject: Fix battleground flags not showing burning animation
Fix battleground flags not displaying the typical burning animation when they "despawn" (they don't actually despawn, they just change state)
2019-10-17 20:18:25 +02:00
jackpoz
30823f9b79 Core/Misc: Fix C++17 build errors 2019-10-13 20:12:36 +02:00
ForesterDev
c03c88d0c0 Core/Defines: define UNIT_FLAG_SWIMMING (#23630) 2019-10-13 17:43:23 +02:00
Giacomo Pozzoni
fed030da19 Scripts/Kologarn: Fix "stuck in combat" issues (#23866)
Fix players stuck in combat with NPC_ARM_SWEEP_STALKER and/or both arms after killing the boss.
2019-10-13 17:37:52 +02:00
ForesterDev
f4be544629 Core/Achievements: fixed bug with counting honorless units for achievement type ACHIEVEMENT_CRITERIA_TYPE_SPECIAL_PVP_KILL (#23844)
* Core/Achievements: fixed bug with counting honorless units for achievement type ACHIEVEMENT_CRITERIA_TYPE_SPECIAL_PVP_KILL

* Remove codestyle changes

* Remove codestyle changes
2019-10-12 20:51:31 +02:00
jackpoz
06443e38e7 Core/AI: Add new method to force creatures around to stop combat 2019-10-12 20:29:39 +02:00
Ovah
7fcb77ecd1 Core/Taxis: teleport players to the destination taxi node location instead of their current ground position (#23835)
* Core/Taxis: teleport players to the destination taxi node location instead of straight to their current ground position

* fixed a typo
2019-10-08 11:11:24 +02:00
Giacomo Pozzoni
abcad7cda5 Core/LFG: Fix re-queueing while in a dungeon (#23862)
Fix an issue that wouldn't allow to re-queue after joining a dungeon, having 1 member leave/get kicked, queue, leave, queue.
In this case a message "One or more dungeons was not valid" would be displayed because LFG would try to queue the group as "continue dungeon" but the current group was not marked as "in dungeon" state anymore.
2019-10-06 22:24:13 +02:00
jackpoz
ada4e431ae Core/LFG: Remove Dungeon Cooldown when getting kicked 2019-10-05 20:40:17 +02:00
jackpoz
88317a4ec8 Core/Misc: Fix issues reported by static analysis
Fix issues reported by Coverity Scan
2019-10-04 19:16:45 +02:00
Keader
a108f2ba61 Scripts/ICC: Fixed some issues with Rotface Oozes (#23845) 2019-10-04 09:35:22 -03:00