Commit Graph

37732 Commits

Author SHA1 Message Date
Shauren
26bdbde467 Core/DataStores: Fixed a crash in db2 loader happening when trying to load additional localized strings from a db2 file newer than db2 for default worldserver locale 2022-01-07 21:22:51 +01:00
My name is Mud
7a7c0c25cd Core/Auras: Implement SPELL_AURA_MOD_BONUS_ARMOR (465) (#27539) 2022-01-07 15:08:21 +01:00
Shauren
c5d3bd2cdd Core/Battlefield: Fixed startup crash when compiled without scripts
(cherry picked from commit 1405760f31)
2022-01-07 00:31:38 +01:00
Gildor
81a5bc597b Core/Spells: SPELL_AURA_PERIODIC_DUMMY should be negative if TargetType is enemy (#24864)
(cherry picked from commit 9405f78ee4)
2022-01-07 00:25:52 +01:00
Carbenium
366a514462 Core/Battlefield: Move SendInitWorldStatesTo to Battlefield class
(cherry picked from commit 488b91ab83)
2022-01-07 00:25:36 +01:00
Carbenium
81a3c135a7 Scripts/Battlefield: Move npc_wg_give_promotion_credit script to BattlefieldWG
The script references BattlefieldWG, which is not exported in dynamic builds.
Move the script, so it is in the same library.

(cherry picked from commit c40b897d36)
2022-01-07 00:22:38 +01:00
Carbenium
49523a74a4 Battlefields: Move BF scripts out of game
This commit introduces the usual script interface
for battlefields.

(cherry picked from commit f7faf20254)
2022-01-07 00:20:57 +01:00
Shauren
a26cc135fa Entities/WorldObject: Move IsInWorldPvpZone declaration to keep files similar to 3.3.5 2022-01-06 23:51:30 +01:00
Carbenium
ca62d93481 Core/Misc: Move WorldState enum to SharedDefines
Move WG battlefield world states to the global enum

(cherry picked from commit 22c12e7123)
2022-01-06 23:50:34 +01:00
Carbenium
60b48ad046 Core/Misc: Create new enum for AreaIds
Move Wintergrasp BF related values there

(cherry picked from commit 6a8c12587e)
2022-01-06 23:42:15 +01:00
ipriver
bde36062b7 fixed indentation for cmake files
(cherry picked from commit a46d047f94)
2022-01-06 23:40:39 +01:00
Shauren
c776218cb5 Core/Misc: Properly close database connections when using --update-databases-only arg
(cherry picked from commit a9f9f737b2)
2022-01-06 23:35:09 +01:00
Rothend
962a2ac703 Core/EscortAI: set maximum distance allowed between player and escortee to default vision range. (#24865)
(cherry picked from commit 4caa218641)
2022-01-06 23:34:02 +01:00
jackpoz
4431df1f13 Core/LFG: Sanitize LFG roles sent by clients
(cherry picked from commit 3778f23c57)
2022-01-06 23:31:40 +01:00
NoName
959e84e715 Script/ScarletEnclave: Eye of acherus now rooted at spawn (#24725)
(cherry picked from commit 51b221c8f8)
2022-01-06 23:31:12 +01:00
Gildor
71ce61cc95 Core/Spells: SPELL_AURA_MOD_HEALING should be negative if TargetType is negative (#24862)
(cherry picked from commit a555bf1fd7)
2022-01-06 23:30:16 +01:00
ForesterDev
69cadae38a DB/Account: update account_access table cherry-pick take 2 (with refactors)
(cherry picked from commit 8e0365d8a6)
2022-01-06 23:28:52 +01:00
offl
e38b2e8f5a DB/SAI: Convert support for 'Set Them Ablaze!' from event scripts to SAI
Closes #24805

(cherry picked from commit 4199a31432)
2022-01-06 23:22:12 +01:00
offl
70520b5f04 DB/Creature: Spy To'gun
Closes #24804

(cherry picked from commit 04ba947b3f)
2022-01-06 23:21:46 +01:00
offl
a9ef7c3d7e DB/Creature: Tortured Skeleton
Closes #24803

(cherry picked from commit 7549d04331)
2022-01-06 23:21:20 +01:00
offl
63566aef71 DB/SAI: Rework Shadow Labyrinth
Closes #24800

(cherry picked from commit 0e1835ee78)
2022-01-06 23:20:48 +01:00
ipriver
adc3eda443 DB/spell_target_position: Update position for Atiesh portal destination
Closes #24797

(cherry picked from commit 1e1c0d5e6f)
2022-01-06 23:19:00 +01:00
Killyana
81d6cde257 Script: Remove npc_avatar_of_martyred converted to SAI
Ref 5924e038d6

(cherry picked from commit 75bc0f6771)
2022-01-06 23:17:10 +01:00
offl
c789505019 DB/SAI: Rework Auchenai Crypts
Closes #24795

(cherry picked from commit 5924e038d6)
2022-01-06 23:16:57 +01:00
jackpoz
ebe183ea93 Scripts/VioletHold: Limit the number of current summons before the waves start
(cherry picked from commit 54e30d4eba)
2022-01-06 23:15:59 +01:00
Giacomo Pozzoni
07f42907c6 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

(cherry picked from commit 4e1dbd1cf8)
2022-01-06 23:15:07 +01:00
Gildor
fc43a95729 Core/Spells: SPELL_AURA_MOD_ATTACK_POWER_PCT should be negative if TargetType or Basepoints are negative (#24837)
(cherry picked from commit 7d88891983)
2022-01-06 23:13:44 +01:00
offl
34238c7a53 DB/Creature: Dark Ranger Marrah
Closes #24718

(cherry picked from commit b4b49a02ab)
2022-01-06 22:56:03 +01:00
ipriver
8979493bb7 Additional cmake entry for configs
Closes #24812

Co-authored-by: Carbenium <carbenium@outlook.com>
(cherry picked from commit dc467ee0f6)
2022-01-06 22:54:29 +01:00
offl
bcd00244c3 DB/Creature: Blood Knight Adept
Closes #24790

(cherry picked from commit d26c16b863)
2022-01-06 22:49:32 +01:00
offl
b181128b0b DB/Creature: Lakka
Closes #24781

(cherry picked from commit 17c1e07aab)
2022-01-06 22:48:26 +01:00
offl
972f3dc40d DB/Creature: Update some creatures stats
Closes #24787

(cherry picked from commit d9d314a89e)
2022-01-06 22:47:48 +01:00
offl
34f3c18d7e DB/Creature: Bael'Gar
Closes #24778

(cherry picked from commit 04ee18e198)
2022-01-06 22:45:34 +01:00
offl
22e92a56f7 DB/Creature: Qiraji Gladiator
Closes #24777

(cherry picked from commit 4038c81021)
2022-01-06 22:44:54 +01:00
Killyana
22b4c05128 DB/Creature: Twilight Marauder Morna formation
Closes #24828

(cherry picked from commit e6b06c4f03)
2022-01-06 22:43:14 +01:00
Ovahlord
ab46d25d0c 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.

(cherry picked from commit c50bb00ac7)
2022-01-06 22:32:41 +01:00
Killyana
fa47977c4a Creature/Scripts: Remove deprecated scripts
Ref bd609caf09

(cherry picked from commit 8b5549c0f1)
2022-01-06 22:32:24 +01:00
offl
b802c48fbf DB/Creature: Shadowmoon Zealot & Shadowmoon Harbinger
Closes #24776

(cherry picked from commit 9052cf5390)
2022-01-06 22:32:08 +01:00
offl
dbcbfaa6c7 DB/SAI: Rework Sethekk Halls
Closes #24774

(cherry picked from commit bd609caf09)
2022-01-06 22:31:38 +01:00
offl
e48a6a5484 DB/Creature: Dark Iron Kidnapper
Closes #24773

(cherry picked from commit 2d0df38cd0)
2022-01-06 22:30:18 +01:00
offl
fe41da6155 DB/SAI: Use serverside spells for Bunthen Plainswind & Silva Fil'naveth
Closes #24772

(cherry picked from commit e9538e18ba)
2022-01-06 22:29:39 +01:00
offl
4dd22acb0f DB/Creature: Remove useless script from Deathshadow Agent
Closes #24770

(cherry picked from commit 6300494c63)
2022-01-06 22:29:07 +01:00
offl
4099f96a74 DB/Creature: Add missing text & conditions to Sahaak's gossip
Closes #24769

(cherry picked from commit 359b4712e2)
2022-01-06 22:28:32 +01:00
offl
665f3c1055 DB/SAI: Remove useless event params and no repeat event flag from some event types
Closes #24768

(cherry picked from commit 4a460554f4)
2022-01-06 22:27:55 +01:00
Max Drosdo.www
1b605eb5b0 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>
(cherry picked from commit 1e9c84a3ea)
2022-01-06 22:10:03 +01:00
offl
ef8998f52b DB/SAI: Make SMART_EVENT_IS_BEHIND_TARGET unused and fix all actions with Backstab
Closes #24766

(cherry picked from commit 8fef9aaf75)
2022-01-06 22:09:30 +01:00
Rothend
1ddde5ca3c 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>
(cherry picked from commit e7a714f66c)
2022-01-06 22:05:03 +01:00
offl
611e9e67c7 DB/Quest: Update creatures related to 'Ending Their World' outro event
Closes #24757

(cherry picked from commit ff043b0861)
2022-01-06 22:00:29 +01:00
offl
76e06c769c DB/SAI: Use c_s_g for more big summon groups
Closes #24756

(cherry picked from commit 1e367d7fbe)
2022-01-06 21:57:52 +01:00
offl
40cb0beaec DB/Quest: Update 'Ending Their World' outro event
Closes #24754

(cherry picked from commit b6f40030c4)
2022-01-06 21:54:49 +01:00