Commit Graph

32683 Commits

Author SHA1 Message Date
Shauren
a9f9f737b2 Core/Misc: Properly close database connections when using --update-databases-only arg 2020-06-22 09:53:10 +02:00
Rothend
4caa218641 Core/EscortAI: set maximum distance allowed between player and escortee to default vision range. (#24865) 2020-06-21 21:20:45 +02:00
jackpoz
3778f23c57 Core/LFG: Sanitize LFG roles sent by clients 2020-06-21 20:19:11 +02:00
NoName
51b221c8f8 Script/ScarletEnclave: Eye of acherus now rooted at spawn (#24725) 2020-06-21 12:56:41 +02:00
Gildor
a555bf1fd7 Core/Spells: SPELL_AURA_MOD_HEALING should be negative if TargetType is negative (#24862) 2020-06-21 12:55:29 +02:00
Carbenium
05025d79f3 Fix non-PCH build 2020-06-21 01:28:12 +02:00
ForesterDev
8e0365d8a6 DB/Account: update account_access table (#24788)
* DB/Account: update account_access table:

- rename fields id -> AccountID, gmlevel -> SecurityLevel
- add Comment field
- rename command .acc set gmlevel to .acc set seclevel

* Update auth database

* Fix primary key

* Temporary restore old command account set gmlevel with same handler as account set seclevel

Use Optional  for realmID - if not set, use -1 (for all realms)

* Rename 2020_XX_XX_00_auth.sql to 2020_06_20_00_auth.sql

* Update auth_database.sql

* Rename 2020_XX_XX_00_world.sql to 2020_06_20_06_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-06-20 21:49:18 +02:00
offl
4199a31432 DB/SAI: Convert support for 'Set Them Ablaze!' from event scripts to SAI
Closes #24805
2020-06-20 21:44:17 +02:00
offl
04ba947b3f DB/Creature: Spy To'gun
Closes #24804
2020-06-20 21:22:58 +02:00
offl
7549d04331 DB/Creature: Tortured Skeleton
Closes #24803
2020-06-20 21:21:41 +02:00
offl
0e1835ee78 DB/SAI: Rework Shadow Labyrinth
Closes #24800
2020-06-20 21:07:41 +02:00
ipriver
1e1c0d5e6f DB/spell_target_position: Update position for Atiesh portal destination
Closes #24797
2020-06-20 20:40:57 +02:00
Killyana
75bc0f6771 Script: Remove npc_avatar_of_martyred converted to SAI
Ref 5924e038d6
2020-06-20 20:35:36 +02:00
offl
5924e038d6 DB/SAI: Rework Auchenai Crypts
Closes #24795
2020-06-20 20:20:32 +02:00
Shauren
749a825afe Build: Fix gcc pch builds
(cherry picked from commit 8c4e6c5e14)
2020-06-20 15:11:03 +02:00
jackpoz
54e30d4eba Scripts/VioletHold: Limit the number of current summons before the waves start 2020-06-20 14:12:47 +02:00
Giacomo Pozzoni
4e1dbd1cf8 Log number of Creatures and GameObject per map (#24809)
* Shared/Metric: Allow to specify tags in metrics

* Core/Metric: Log number of Creatures and GameObject per map

* Apply feedback

* Codestyle changes

* Codestyle changes

* Remove whitespace

* Update Grafana dashboards to v7.0.3

* Fix missing filter on realm

* Include Creatures and Gameobjects in Maps dashboard

* Show instances with a different color
2020-06-20 00:04:01 +02:00
Gildor
56d60ee00c Core/Spells: Fix Shadowstep (Rogue), remove 4yd forced radius (#24838) 2020-06-19 22:59:43 +02:00
Gildor
7d88891983 Core/Spells: SPELL_AURA_MOD_ATTACK_POWER_PCT should be negative if TargetType or Basepoints are negative (#24837) 2020-06-19 22:58:41 +02:00
Gildor
18692ad20c Core/Unit: SPELL_INTERRUPT_FLAG_ABORT_ON_DMG should only affect player spells (#24836) 2020-06-19 22:56:46 +02:00
offl
b4b49a02ab DB/Creature: Dark Ranger Marrah
Closes #24718
2020-06-19 21:41:14 +02:00
ipriver
dc467ee0f6 Additional cmake entry for configs
Closes #24812

Co-authored-by: Carbenium <carbenium@outlook.com>
2020-06-19 15:06:03 +02:00
offl
d26c16b863 DB/Creature: Blood Knight Adept
Closes #24790
2020-06-19 00:30:05 +02:00
offl
17c1e07aab DB/Creature: Lakka
Closes #24781
2020-06-18 23:51:50 +02:00
offl
d9d314a89e DB/Creature: Update some creatures stats
Closes #24787
2020-06-18 23:38:55 +02:00
offl
04ee18e198 DB/Creature: Bael'Gar
Closes #24778
2020-06-18 23:20:30 +02:00
offl
4038c81021 DB/Creature: Qiraji Gladiator
Closes #24777
2020-06-18 23:18:28 +02:00
Killyana
e6b06c4f03 DB/Creature: Twilight Marauder Morna formation
Closes #24828
2020-06-18 20:54:19 +02:00
Ovahlord
c50bb00ac7 Core/Players: do not update position data on character creation
Retail does not have a zone id for newly created character until their first login so we do the same as well. This will drastically improve performance on character creations as we no longer unnecessarily load grids and map data.
2020-06-18 05:23:25 +02:00
Killyana
8b5549c0f1 Creature/Scripts: Remove deprecated scripts
Ref bd609caf09
2020-06-17 23:43:34 +02:00
offl
9052cf5390 DB/Creature: Shadowmoon Zealot & Shadowmoon Harbinger
Closes #24776
2020-06-17 23:22:42 +02:00
offl
bd609caf09 DB/SAI: Rework Sethekk Halls
Closes #24774
2020-06-17 23:19:49 +02:00
offl
2d0df38cd0 DB/Creature: Dark Iron Kidnapper
Closes #24773
2020-06-17 23:11:08 +02:00
offl
e9538e18ba DB/SAI: Use serverside spells for Bunthen Plainswind & Silva Fil'naveth
Closes #24772
2020-06-17 23:04:54 +02:00
offl
6300494c63 DB/Creature: Remove useless script from Deathshadow Agent
Closes #24770
2020-06-17 23:00:17 +02:00
offl
359b4712e2 DB/Creature: Add missing text & conditions to Sahaak's gossip
Closes #24769
2020-06-17 22:48:10 +02:00
offl
4a460554f4 DB/SAI: Remove useless event params and no repeat event flag from some event types
Closes #24768
2020-06-17 22:34:25 +02:00
Giacomo Pozzoni
995a443da2 Handle different slopes in mmaps (#24765)
* Tools/MMAPs: Remove input argument --maxAngle

Remove input argument --maxAngle . This should be just hardcoded in MapBuilder::GetMapSpecificConfig() so all settings are easily found in the same place instead of being spread around.

* Tools/MMAPs: Add new area type NAV_AREA_GROUND_STEEP

Add new area type NAV_AREA_GROUND_STEEP for ground with slope in the range (55, 70] .
NAV_AREA_GROUND is used for ground with range [0, 55] .
NAV_AREA_GROUND_STEEP takes priority over NAV_AREA_GROUND.

* Tools/MMAPs: Fix NAV_GROUND_STEEP flag not being saved in the mmtile

* Core/PathFinding: Implement NAV_GROUND_STEEP flag

Implement NAV_GROUND_STEEP flag, used only by Creatures that are in combat or evading.

* Distinguish between RC_WALKABLE_AREA and NAV_AREA_GROUND.

* Allow mobs in combat to walk on steeps up to 80°

* Allow mobs in combat to walk on steeps up to 85°.
Disable rcFilterLedgeSpans() filter as it removed long steep spans.

* Increase cost of steep spans to try making creatures walk around obstacles instead of walking on them

* Revert last commit
2020-06-17 22:20:26 +02:00
Max Drosdo.www
1e9c84a3ea Worldserver/CLI: console printf fix (#24802)
* Remove extra cli printf call for non-Windows systems

* Codestyle changes

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-06-17 22:14:27 +02:00
offl
8fef9aaf75 DB/SAI: Make SMART_EVENT_IS_BEHIND_TARGET unused and fix all actions with Backstab
Closes #24766
2020-06-17 22:11:55 +02:00
Rothend
e7a714f66c Core/SmartAI: allow AreaTrigger SAI scripts to use the player triggering it as base object for actions and targeting (#24817)
* Core/SmartAI: allow AreaTrigger SAI scripts to use the player triggering it as base object for actions and targeting.

Closes #23669
Closes #24791
Closes #24792
Closes #24793

* Apply suggested changes.

* Initialize atPlayer in the constructor

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-06-17 22:06:56 +02:00
offl
ff043b0861 DB/Quest: Update creatures related to 'Ending Their World' outro event
Closes #24757
2020-06-17 21:52:43 +02:00
offl
1e367d7fbe DB/SAI: Use c_s_g for more big summon groups
Closes #24756
2020-06-17 21:40:46 +02:00
offl
b6f40030c4 DB/Quest: Update 'Ending Their World' outro event
Closes #24754
2020-06-17 21:34:03 +02:00
Rothend
c4caae9b6d Script/Spell: properly round damage of Seal of Righteousness (on-hit proc). (#24821) 2020-06-17 19:28:05 +02:00
Peter Keresztes Schmidt
418c3b1fd5 game/AI: Convert SelectAggroTarget to enum class (#24818)
* game/AI: Convert SelectAggroTarget to enum class

* game/AI: Rename SelectAggroTarget to SelectTargetMethod
2020-06-16 23:08:56 +02:00
Max Drosdo.www
60e813df6b removed legacy cmake libsdir entry (#24813) 2020-06-16 14:22:46 +02:00
Peter Keresztes Schmidt
cb5694607d CP of CMake: Prepare for target_precompile_headers (#24810) for 3.3.5 (#24816)
* CMake: Remove guards around CMP0043 and CMP0054

We require CMake >= 3.8 which includes the policies.
CMP0043 OLD behaviour is still required by cotire.

(cherry picked from commit 18ad767226)

* CMake: Use target_precompile_headers instead of cotire with CMake >= 3.16.0

(cherry picked from commit f387673aa3)
2020-06-16 13:38:37 +02:00
TDB Release
3e7b0d6c05 TDB 335.20061 - 2020/06/15 TDB335.20061 2020-06-15 07:50:01 +00:00
Killyana
bbb308f628 DB/SAI: Replace "Disable combat movement" by "attack stop" used in the quest How To Win Friends And Influence Enemies
ref 13c81f55e3
2020-06-14 23:31:17 +02:00