Commit Graph

36705 Commits

Author SHA1 Message Date
Wyrserth
3e7f31a3a4 DB/Event: add game_event entry for Operation: Gnomeregan and assign related creatures/gameobjects.
(cherry picked from commit 9695285e66)
2021-12-16 23:12:52 +01:00
Wyrserth
094165dc95 DB/Loot: add conditions for items Draconic for Dummies (Chapter II) and Draconic for Dummies (Chapter III).
Those items aren't marked as "quest item" but are still tied to the quest The Only Prescription.

(cherry picked from commit a295a9f10a)
2021-12-16 23:10:07 +01:00
Wyrserth
3efc2caf96 Script/SethekkHalls: fix gossip text and quest event for NPC Lakka in Sethekk Halls.
(cherry picked from commit b8d86bba99)
2021-12-16 22:58:41 +01:00
Wyrserth
a8b2a363f2 DB/Quest: small cosmetic fixes for Ammo for Rumbleshot's outro event.
(cherry picked from commit 97c472e913)
2021-12-16 22:42:15 +01:00
Killyana
00e0b8176a DB/Misc: Death Knights starting area
(cherry picked from commit e2f8fb2f82)
2021-12-16 22:39:16 +01:00
Giacomo Pozzoni
493fe066f6 Core/Misc: Handle timezones for hour-specific events specifieds in worldserver.conf (#23540)
* Core/Misc: Handle timezones for hour-specific events specifieds in worldserver.conf

* Handle Respawn.RestartQuietTime too

* Handle XP.Boost.Daymask too

* Core/Misc: Code cleanup

* Core/Misc: Code cleanup

* Update Util.cpp

* Update boosted_xp.cpp

(cherry picked from commit aeddd417c4)
2021-12-16 22:35:44 +01:00
Wyrserth
53c41b2821 DB/Quest: fix some cosmetic issues for quest On Nethery Wings.
Ref #6210.

(cherry picked from commit fbd0fe26ee)
2021-12-16 22:18:50 +01:00
Treeston
611ddfee3c build fix after d1dc0e2
(cherry picked from commit c0f8e8535a)
2021-12-16 22:16:07 +01:00
ccrs
e94dca132b Core/SmartAI: add missing movement generator type check on SmartAI::SetCombatMove
ref #21562

(cherry picked from commit 0e3e4353a1)
2021-12-16 22:10:54 +01:00
ccrs
f1ef2f73a4 Core/SmartAI: allow more Unit::ResumeMovement calls on JustReachedHome()
Since ResumeMovement also works on other MOTION_SLOT_DEFAULT generators (like RandomMG)

(cherry picked from commit c8cb866db0)
2021-12-16 22:08:01 +01:00
Killyana
27991ff0ba DB/Pooling: Fix Storm Peaks Ore pool
(cherry picked from commit 28b8c369bb)
2021-12-16 22:07:32 +01:00
Ovah
879e7094b7 Core/Misc: Add new centralized location for generic predicates (PR #23607)
(cherry picked from commit 6e2ca481e5)
2021-12-16 22:05:20 +01:00
jackpoz
17bf908847 Core/Misc: Fix warnings
(cherry picked from commit a9f1dc1da7)
2021-12-16 22:04:25 +01:00
jackpoz
2c3cdf67c2 Core/MovementGenerator: Add more asserts
(cherry picked from commit 9ed35e2108)
2021-12-16 22:04:12 +01:00
jackpoz
f65edd1130 Core/MovementGenerator: Add more details to asserts
Include movespline in Unit::GetDebugInfo() and the Player owner in FlightPathMovementGenerator::DoEventIfAny() assert

(cherry picked from commit 560b7e3397)
2021-12-16 22:03:52 +01:00
Ovah
a24a5e7778 Core/Movement: add a velocity argument for the spline chain meta table (PR #23575)
(cherry picked from commit 3f7b2252a1)
2021-12-16 22:03:35 +01:00
OcelotGear
65abf9b482 Script/Hunter: fix Snake Trap's snakes' initialization.
Closes #23570.

(cherry picked from commit 085f40a278)
2021-12-16 22:01:40 +01:00
Wyrserth
434ef51c10 Core/Creature: honor existing DB data for health and mana in case of summoned pets that don't have pet-specific stat data.
Closes #23570.

(cherry picked from commit 55570be661)
2021-12-16 22:01:10 +01:00
Wyrserth
537b425377 Core/Creature: don't set guardian stats in Creature::UpdateEntry(), because stat calculation from guardians is already done in Guardian::InitStatsForLevel.
Closes #281.

Signed-off-by: Wyrserth <wyrserth@protonmail.com>
(cherry picked from commit 5f5d2028df)
2021-12-16 21:57:19 +01:00
Wyrserth
3e120de7df DB/SAI: add out-of-combat texts to High General Abbendis and nearby NPCs in the Death Knight starting zone.
(cherry picked from commit 50b2c3b34d)
2021-12-16 21:54:10 +01:00
Treeston
e270351a16 Scripts/Commands: Adjust .list respawns to use enum iteration. Add enum iteration capability to SpawnObjectTypes.
(cherry picked from commit b64834c3f5)
2021-12-16 21:41:24 +01:00
Wyrserth
39ef3e3e78 DB/Gossip: fix some gossip option texts for guards that give directions.
(cherry picked from commit 31f8218216)
2021-12-16 21:20:39 +01:00
Wyrserth
8b71e65f20 Core/Achievement: don't increase ACHIEVEMENT_CRITERIA_TYPE_RECEIVE_EPIC_ITEM counters for items bought back from vendors.
(cherry picked from commit a58955d88c)
2021-12-16 21:20:39 +01:00
Killyana
4d94c1d78f DB/Creature: Fix K'iru unit flag
(cherry picked from commit 18809a4420)
2021-12-16 21:20:39 +01:00
Wyrserth
6554c227fd DB/SpellArea: add K'iru's Song of Victory to Isle of Quel'Danas and Magister's Terrace.
https://wowwiki.fandom.com/wiki/K'iru's_Song_of_Victory
(cherry picked from commit 1ec8bc628c)
2021-12-16 21:20:39 +01:00
Wyrserth
96bca1fe2b Script/BoreanTundra: move Pile of Fake Furs' script (related to quest Unfit for Death) from ItemScript to SpellScript.
Closes #21890.

(cherry picked from commit e7cf24d263)
2021-12-16 21:20:39 +01:00
Wyrserth
1f8a6bac87 Core/GameObject: do not allow players to interact with gameobjects that use the "Point" icon.
Updates #21890.

(cherry picked from commit c52c0f0b7d)
2021-12-16 21:20:38 +01:00
Killyana
44eb3f9e4e DB/Pooling: Fix Storm Peaks Ore pools
(cherry picked from commit bc3860be79)
2021-12-16 21:20:38 +01:00
Wyrserth
cc0a9d1fe9 Core/Player: don't send errors to client from Satisfy* methods when Player::CanRewardQuest() is called with msg = false.
Fixes cases where people would get strange errors like "You are not high enough level for that quest" when entering WotLK instances.

(cherry picked from commit a4ddb30489)
2021-12-16 21:20:38 +01:00
Treeston
093223d7b4 Core/DB: Add RBAC for .debug poolstatus, because I need it for the pooling branch.
(cherry picked from commit a82bbeb101)
2021-12-16 21:20:38 +01:00
jackpoz
488d59aef3 Core/Misc: Fix no-pch build
(cherry picked from commit 504e452450)
2021-12-16 21:20:38 +01:00
Treeston
8b78f50556 Core/DB: Merge pool_creature, pool_gameobject and pool_pool into a single pool_members table.
(More pooling prep, I really don't want to have any sql update files in that PR if I can help it.)

(cherry picked from commit 45bc91c238)
2021-12-16 21:20:38 +01:00
Treeston
6f6cf975e4 Scripts/Commands: Add .debug questreset to force daily/weekly/monthly quest reset.
(cherry picked from commit 293ba08d21)
2021-12-16 21:20:38 +01:00
Treeston
bd7aae928e Core/Chat: Properly reload saved channel settings from DB after 8c16f31.
(cherry picked from commit 2c1b87ca29)
2021-12-16 21:20:38 +01:00
Treeston
9fa5c71409 Core/DB: Add a world state for daily quest reset time to characters. Not used right now, but written to allow easier transition later.
(cherry picked from commit 1277c54263)
2021-12-16 21:20:38 +01:00
Shauren
c204badd0f Rename 2021_12_16_03_world.sql to 2021_12_16_11_world.sql 2021-12-16 21:11:34 +01:00
funjoker
dee2098f9f DB/Class: Correct druid level 44 strength 2021-12-16 21:09:19 +01:00
funjoker
c016f3ca6a DB/Class: Update demonhunter level 1-7 stats to more accurate values 2021-12-16 20:19:51 +01:00
funjoker
a78b29c4bc DB/Class: Update death knight player_classlevelstats 2021-12-16 20:12:52 +01:00
Shauren
7bc3a92b2c Core: Updated allowed build to 9.1.5.41488 2021-12-16 12:26:58 +01:00
Treeston
eee950cdd7 Core/Misc: Various dynspawn cleanup and refactors split off from pooling rewrite:
- Map::RemoveRespawnTime(SpawnObjectType, LowType, doRespawn) split into Map::Respawn and Map::RemoveRespawnTime, without the extra boolean
- Map::RemoveRespawnTime(RespawnInfo*) merged into Map::DeleteRespawnInfo(RespawnInfo*) and is now private
- Map::DeleteRespawnInfo(void) renamed to Map::UnloadAllRespawnInfos to properly describe what it does
- Map::ProcessRespawns now actually saves the delayed respawn time to DB if the respawn was delayed
- Map::AddRespawnInfo now takes const reference, and returns success as a boolean
- Map::AddRespawnInfo no longer offers an unused "replace" parameter
- Map::DeleteRespawnInfo no longer offers a variety of unused private overloads
- Map::SaveRespawnTime no longer offers a tantalizing writeDB parameter. Parameter is now called "startup" to properly describe what it does.
- Map::SaveRespawnInfoDB now takes RespawnInfo reference instead of all the various fields. Still public because compatibility mode. QQ.
- Map::GetWorldObjectBySpawnId sanitized
- Map::GetXRespawnTime methods sanitized to all go through Map::GetRespawnTime

(cherry picked from commit d60082ae86)
2021-12-16 01:33:09 +01:00
Treeston
d5e58cef69 Core/Spawns: Exterminate CONFIG_SAVE_RESPAWN_TIME_IMMEDIATELY with extreme prejudice. (It didn't work anyway.)
(cherry picked from commit 26440857c1)
2021-12-16 01:18:15 +01:00
Treeston
be05590a12 Core/DB: Unify creature_respawn and gameobject_respawn into a single respawn table
(cherry picked from commit 374597c8e9)
2021-12-16 01:10:06 +01:00
Shauren
58fb2ef631 Core/DB: Improved terrible assertion message
(cherry picked from commit eed9267685)
2021-12-16 00:54:53 +01:00
jackpoz
e7b94603f2 Core/Commands: Add .debug guidlimits <optional map id> chat command
Add .debug guidlimits <optional map id> chat command to show the highest low guid counter for Creature and GameObject, useful when reaching Respawn.GuidWarnLevel

(cherry picked from commit 7421ccaf7e)
2021-12-16 00:53:58 +01:00
ccrs
1e84edde39 Core/Spells: Port refactors from d1dc0e2dc1
(cherry picked from commit d1dc0e2dc1)
2021-12-16 00:42:21 +01:00
Treeston
ea753efb93 Core/Chat: Rewrite some custom channel handling. Channel creation now properly saves passwords. Closes #23589.
(cherry picked from commit 8c16f318fe)
2021-12-16 00:37:01 +01:00
jackpoz
71b2f8c6ab Core/Calendar: Fix issue with invite status being set to the wrong invite
Consider the case of Player A inviting Player B to a Calendar Event. After Player B clicks on Accepts/Tentative/Reject, the calendar shows that status for Player A instead.

(cherry picked from commit 7f3d8c99bb)
2021-12-16 00:15:48 +01:00
Wyrserth
1b7a1c51ae Core/Player: prevent trade system from getting stuck in an invalid state when the LevelReq.Trade config is used.
(cherry picked from commit a54af39e29)
2021-12-16 00:14:52 +01:00
ccrs
49bc6533fd Scripts/ScarletEnclave: 4ee84bb followup
(cherry picked from commit 81475f709f)
2021-12-16 00:11:25 +01:00