aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-12-16Core/MovementGenerator: Add more assertsjackpoz
(cherry picked from commit 9ed35e2108d9b33ad579a7247ce51f78d4ff0c5b)
2021-12-16Core/MovementGenerator: Add more details to assertsjackpoz
Include movespline in Unit::GetDebugInfo() and the Player owner in FlightPathMovementGenerator::DoEventIfAny() assert (cherry picked from commit 560b7e33974904938f3f85a2f78c0850df2f9333)
2021-12-16Core/Movement: add a velocity argument for the spline chain meta table (PR ↵Ovah
#23575) (cherry picked from commit 3f7b2252a1d7d89d3b5e6a43aa10692c2bc8c457)
2021-12-16Script/Hunter: fix Snake Trap's snakes' initialization.OcelotGear
Closes #23570. (cherry picked from commit 085f40a2781cd4d781503cdc5c18ebf7b08d5c12)
2021-12-16Core/Creature: honor existing DB data for health and mana in case of ↵Wyrserth
summoned pets that don't have pet-specific stat data. Closes #23570. (cherry picked from commit 55570be6610483da129e40291e49090a8bc0f30c)
2021-12-16Core/Creature: don't set guardian stats in Creature::UpdateEntry(), because ↵Wyrserth
stat calculation from guardians is already done in Guardian::InitStatsForLevel. Closes #281. Signed-off-by: Wyrserth <wyrserth@protonmail.com> (cherry picked from commit 5f5d2028df70e82d5cd70837953acd059f2ac7fb)
2021-12-16Scripts/Commands: Adjust .list respawns to use enum iteration. Add enum ↵Treeston
iteration capability to SpawnObjectTypes. (cherry picked from commit b64834c3f5dd7e1be472950532ce00e70b4601fa)
2021-12-16Core/Achievement: don't increase ACHIEVEMENT_CRITERIA_TYPE_RECEIVE_EPIC_ITEM ↵Wyrserth
counters for items bought back from vendors. (cherry picked from commit a58955d88cb1f426f0af5db16e388f7f2b999349)
2021-12-16Script/BoreanTundra: move Pile of Fake Furs' script (related to quest Unfit ↵Wyrserth
for Death) from ItemScript to SpellScript. Closes #21890. (cherry picked from commit e7cf24d2630058128e556b7d5bbb36f4a810695f)
2021-12-16Core/GameObject: do not allow players to interact with gameobjects that use ↵Wyrserth
the "Point" icon. Updates #21890. (cherry picked from commit c52c0f0b7dbab9ff5f97426f1f742cb7cbe0732b)
2021-12-16Core/Player: don't send errors to client from Satisfy* methods when ↵Wyrserth
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-16Core/DB: Add RBAC for .debug poolstatus, because I need it for the pooling ↵Treeston
branch. (cherry picked from commit a82bbeb101d64b89d9918ff5cbe4866591f1101b)
2021-12-16Core/Misc: Fix no-pch buildjackpoz
(cherry picked from commit 504e45245034936fefa66b399f5278ce843f52e9)
2021-12-16Core/DB: Merge pool_creature, pool_gameobject and pool_pool into a single ↵Treeston
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-16Scripts/Commands: Add .debug questreset to force daily/weekly/monthly quest ↵Treeston
reset. (cherry picked from commit 293ba08d21c4e9634229bb5015445ecc0cc08fef)
2021-12-16Core/Chat: Properly reload saved channel settings from DB after 8c16f31.Treeston
(cherry picked from commit 2c1b87ca298bce37405329b3af0b5e375f4e53ef)
2021-12-16Core/DB: Add a world state for daily quest reset time to `characters`. Not ↵Treeston
used right now, but written to allow easier transition later. (cherry picked from commit 1277c542638522b210addd22966c32db89cb29b6)
2021-12-16Core/Misc: Various dynspawn cleanup and refactors split off from pooling ↵Treeston
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-16Core/Spawns: Exterminate CONFIG_SAVE_RESPAWN_TIME_IMMEDIATELY with extreme ↵Treeston
prejudice. (It didn't work anyway.) (cherry picked from commit 26440857c1a74031ea0a0234ca0b0fcb09b6bcb0)
2021-12-16Core/DB: Unify `creature_respawn` and `gameobject_respawn` into a single ↵Treeston
`respawn` table (cherry picked from commit 374597c8e96c886f1e3647d405bf3160c8b98bf8)
2021-12-16Core/DB: Improved terrible assertion messageShauren
(cherry picked from commit eed92676858c9c10b1bd570894d562b21e72a905)
2021-12-16Core/Commands: Add .debug guidlimits <optional map id> chat commandjackpoz
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-16Core/Spells: Port refactors from d1dc0e2dc1fbd692eeda90ae2ab82ae07e2cae0eccrs
(cherry picked from commit d1dc0e2dc1fbd692eeda90ae2ab82ae07e2cae0e)
2021-12-16Core/Chat: Rewrite some custom channel handling. Channel creation now ↵Treeston
properly saves passwords. Closes #23589. (cherry picked from commit 8c16f318fe072709fc40c61987570dba8f5b6483)
2021-12-16Core/Calendar: Fix issue with invite status being set to the wrong invitejackpoz
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-16Core/Player: prevent trade system from getting stuck in an invalid state ↵Wyrserth
when the LevelReq.Trade config is used. (cherry picked from commit a54af39e29f87735ce2bc9774e664b543c9dff02)
2021-12-16Scripts/ScarletEnclave: 4ee84bb followupccrs
(cherry picked from commit 81475f709f067eea0437361e7098b7a6b9cf3a26)
2021-12-16Scripts/ScarletEnclave: 4ee84bb followupccrs
(cherry picked from commit fa9a4ee20d6a63f2e99e9feb45cd0ecf83ccc7f5)
2021-12-15Core/Unit: movement related corrections prior to getting Charmedccrs
(cherry picked from commit 294a3a2789582e05a7847620173d533bd07e44e9)
2021-12-15Script/ScarletEnclave: use spline movement for the lauch phase of the Eye of ↵Wyrserth
Acherus. Closes #22802. (cherry picked from commit 4ee84bbecbccee2adb093d4c30172edc22ef8499)
2021-12-15Battleground/Arena: Properly check RBAC arena join permission before ↵Treeston
allowing queue. Closes #23000. (cherry picked from commit af082664ca8ff76cc8ef1947d6ce76310d65b58b)
2021-12-15Scripts/Commands: .account ban no longer fails if an account containing the ↵Treeston
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-15typo fix, duplicate assignmentTreeston
(cherry picked from commit 7d6896b54141c32c51f49f2c3fcd58cd986f0e02)
2021-12-15Entities/GO: FindNearestGameObject no longer incorrectly returns despawned ↵Treeston
gameobjects. Closes #23262. (cherry picked from commit 4423ca99e7f8c38ff83196134038a7790313ed7a)
2021-12-15DB/Quest: Seeds of the Blacksouled KeepersKillyana
(cherry picked from commit 42abf69a27058251b7dd59a59c1f059f834431e4)
2021-12-15Core/Weather: 6eecb68 followupccrs
missing IntervalTimer::Update call (cherry picked from commit 965ec9a57180062aa8dad3b929146c7692186262)
2021-12-15Core/ChatCommands: Fix .wp reload crashGiacomo Pozzoni
(cherry picked from commit e4c2bb4f1411f2db724a7cfcdc014013a63b37a5)
2021-12-15Core/Quest: remove arbitrary error logs related to breadcrumb quest chaining.Wyrserth
There are complex cases where breadcrumb quests are mutually exclusive with other breadcrumbs leading to other quests, chaining them shouldn't generate log errors. (cherry picked from commit e6080116f9acb41b1c3d26468a679ff7e4b7c106)
2021-12-15Scripts/World: Rewrite air force trigger bots script, add hostility check ↵Treeston
along the way. Closes #23307. (cherry picked from commit 0ae2afe307595463df8f4a16fdd1ee9740a11c9e)
2021-12-15Core/Movement: add missing parenthesis on MotionMaster::Sizeccrs
pretty sure this can cause unexpected behaviour (cherry picked from commit bec52dba3d7e4acb0b78c6a1093fe33da8205781)
2021-12-15warning fix f2cd721 follow-upTreeston
(cherry picked from commit be96d8242c0b8abf909862a577d04a9f8e18560a)
2021-12-15Core/Quest: Do not allow quests to be turned in if the player no longer ↵Treeston
satisfies level/skill/reputation requirements. Fixes #226. Yes, you read that issue tag right. (cherry picked from commit a1fd404b64fe46925cf5ab3e3af267ce9ba1badd)
2021-12-15Scripts/Naxxramas: Thaddius no longer evades on transition, and some general ↵Treeston
cleanup to that script. Fixes #23026. (cherry picked from commit f2cd721d5358f7febf36dc757f5e3e9693a6a7b6)
2021-12-15Scripts/Blood Furnace: Broggok improvements (#23300)Ianislav Vasilev
* 23285 Fixed lever respawn and future encounters after it respawns. * Removed unnecessary additional container. Made lever not to despawn and respawn but rather change flags only. * Made one conditional branch easier to debug. (cherry picked from commit c71e36acaea9c04e63dcba9a39b5a6a76e3cac75)
2021-12-15Scripts/Outland: Rewrite the Watch Commander Leonus event so it no longer ↵Treeston
starts exponentially more often if the grid remains loaded for over an hour. Closes #23348. (cherry picked from commit a3c35262692e2f059785c22f92fce39ffe4dc6ac)
2021-12-15Scripts/Spells: Brittle Armor & Mercurial Shield (#23576)Sorikoff
(cherry picked from commit a64d7df6623d90c529fab76dc6b41e2db5a3abd4)
2021-12-15Scripts/Commands: update .wp commands to use orientation field from DB (PR ↵ForesterDev
#23566) Closes #23330 (cherry picked from commit e71773140c8efbea4abe612a71d4a65f041d450c)
2021-12-14Entities/Player: Properly restore PvP-enabled state on loginTreeston
(cherry picked from commit 671052575a36624b06379ee5e13a7fea26870194)
2021-12-14Core/Misc: More coding standards (#23519)Aokromes
* Core/Misc: More coding standards * revert part * "void " or more to "void " * fix? reject * remove more double whitespaces * remove more double whitespaces * more standards * more coding standards * More standards * more coding * more coding standards * more coding standards * And more standards (cherry picked from commit 574a7c8d3d5f5a5660295deb70e905cf4dd756c4)
2021-12-14Entities/Unit: Nuke Map::ForceRespawn from orbit, with the following ↵Treeston
implications: - .npc respawn no longer causes stupid things to happen (Fixes #23014) - ::DeleteFromDB methods on Creature and GameObject rewritten to be as sensible as such a colossally stupid method can ever be. They're static now. - .npc delete and .gobj delete ported to new argument handling, and rewritten as per above. They can no longer crash the server when used in instances, too. Yay for that. - Adjusted various dusty cobwebbed hacks around the core (why does waypoint visualization use permanent spawns *shudder*) to still work too. (cherry picked from commit 84b7b2e08ea55575cbe62d795383d4a5341ffd4d)