Commit Graph
36698 Commits
Author SHA1 Message Date
Treeston 611ddfee3c build fix after d1dc0e2
(cherry picked from commit c0f8e8535a025b29557385c95338b642fbda39e8)
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 0e3e4353a1824dd6e40ca10a01c4465aa1b1fbad)
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 c8cb866db088837cd7c771059e66d98a46de4fdd)
2021-12-16 22:08:01 +01:00
Killyana 27991ff0ba DB/Pooling: Fix Storm Peaks Ore pool
(cherry picked from commit 28b8c369bb75d0a73c61e3a7e1694f989ca20cb7)
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 6e2ca481e5616f0e0c197f051fb8db6f41db4ed6)
2021-12-16 22:05:20 +01:00
jackpoz 17bf908847 Core/Misc: Fix warnings
(cherry picked from commit a9f1dc1da72e217874a5191d7740ebec36803b3e)
2021-12-16 22:04:25 +01:00
jackpoz 2c3cdf67c2 Core/MovementGenerator: Add more asserts
(cherry picked from commit 9ed35e2108d9b33ad579a7247ce51f78d4ff0c5b)
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 560b7e33974904938f3f85a2f78c0850df2f9333)
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 3f7b2252a1d7d89d3b5e6a43aa10692c2bc8c457)
2021-12-16 22:03:35 +01:00
OcelotGear 65abf9b482 Script/Hunter: fix Snake Trap's snakes' initialization.
Closes #23570.

(cherry picked from commit 085f40a2781cd4d781503cdc5c18ebf7b08d5c12)
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 55570be6610483da129e40291e49090a8bc0f30c)
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 <[email protected]>
(cherry picked from commit 5f5d2028df70e82d5cd70837953acd059f2ac7fb)
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 50b2c3b34d5ffc9539e3f3954ec6b4e5f8a87efc)
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 b64834c3f5dd7e1be472950532ce00e70b4601fa)
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 31f82182167070f326d71b2c1ff1c396df09e44b)
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 a58955d88cb1f426f0af5db16e388f7f2b999349)
2021-12-16 21:20:39 +01:00
Killyana 4d94c1d78f DB/Creature: Fix K'iru unit flag
(cherry picked from commit 18809a4420521dd363cf8a16a5499fae64eb325a)
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 1ec8bc628cb531a04a23c500ad0680f048d7e347)
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 e7cf24d2630058128e556b7d5bbb36f4a810695f)
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 c52c0f0b7dbab9ff5f97426f1f742cb7cbe0732b)
2021-12-16 21:20:38 +01:00
Killyana 44eb3f9e4e DB/Pooling: Fix Storm Peaks Ore pools
(cherry picked from commit bc3860be79c0d6af77cba2ce82b7d4e2596c6dae)
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 a4ddb30489d3c4cd96817232b28393c2f4e50595)
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 a82bbeb101d64b89d9918ff5cbe4866591f1101b)
2021-12-16 21:20:38 +01:00
jackpoz 488d59aef3 Core/Misc: Fix no-pch build
(cherry picked from commit 504e45245034936fefa66b399f5278ce843f52e9)
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 45bc91c238d04f2e2544622ff29faaf46713d15c)
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 293ba08d21c4e9634229bb5015445ecc0cc08fef)
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 2c1b87ca298bce37405329b3af0b5e375f4e53ef)
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 1277c542638522b210addd22966c32db89cb29b6)
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 d60082ae866d77a12a9e6d09dfce27fc1cb5df90)
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 26440857c1a74031ea0a0234ca0b0fcb09b6bcb0)
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 374597c8e96c886f1e3647d405bf3160c8b98bf8)
2021-12-16 01:10:06 +01:00
Shauren 58fb2ef631 Core/DB: Improved terrible assertion message
(cherry picked from commit eed92676858c9c10b1bd570894d562b21e72a905)
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 7421ccaf7eb134f549ad3734a815397216d020ed)
2021-12-16 00:53:58 +01:00
ccrs 1e84edde39 Core/Spells: Port refactors from d1dc0e2dc1fbd692eeda90ae2ab82ae07e2cae0e
(cherry picked from commit d1dc0e2dc1fbd692eeda90ae2ab82ae07e2cae0e)
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 8c16f318fe072709fc40c61987570dba8f5b6483)
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 7f3d8c99bb14c7b093a5c2419f3e931fef11004e)
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 a54af39e29f87735ce2bc9774e664b543c9dff02)
2021-12-16 00:14:52 +01:00
ccrs 49bc6533fd Scripts/ScarletEnclave: 4ee84bb followup
(cherry picked from commit 81475f709f067eea0437361e7098b7a6b9cf3a26)
2021-12-16 00:11:25 +01:00
ccrs 8c35206bb5 Scripts/ScarletEnclave: 4ee84bb followup
(cherry picked from commit fa9a4ee20d6a63f2e99e9feb45cd0ecf83ccc7f5)
2021-12-16 00:10:25 +01:00
ccrs ef6a5d3c3c Core/Unit: movement related corrections prior to getting Charmed
(cherry picked from commit 294a3a2789582e05a7847620173d533bd07e44e9)
2021-12-15 23:42:06 +01:00
Wyrserth 3bb61af113 Script/ScarletEnclave: use spline movement for the lauch phase of the Eye of Acherus.
Closes #22802.

(cherry picked from commit 4ee84bbecbccee2adb093d4c30172edc22ef8499)
2021-12-15 23:39:51 +01:00
Killyana f175cd38af DB/Misc: Vengeance Landing
(cherry picked from commit f9e0cac32e4614dba621d770ec1a8807c423ae6e)
2021-12-15 23:38:31 +01:00
Treeston a69a061d76 Battleground/Arena: Properly check RBAC arena join permission before allowing queue. Closes #23000.
(cherry picked from commit af082664ca8ff76cc8ef1947d6ce76310d65b58b)
2021-12-15 23:31:31 +01:00
Treeston b4b581de1b Scripts/Commands: .account ban no longer fails if an account containing the specified account name is already banned (f.ex. attempting to ban 'test' if 'test2' is already banned) - closes #22990
(cherry picked from commit daf423a6c3c0fdd13e421f02ccd791103f7bdd5b)
2021-12-15 22:48:03 +01:00
Treeston b8c7260bfd typo fix, duplicate assignment
(cherry picked from commit 7d6896b54141c32c51f49f2c3fcd58cd986f0e02)
2021-12-15 22:41:58 +01:00