aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
AgeCommit message (Collapse)Author
2021-12-18Core/Map: Kill zoneId from RespawnInfo, all it did was significantly slow ↵Shauren
down startup to make one gm command faster (cherry picked from commit 3a4216fd979eb2a7667b0861a770e9af4f242eab)
2021-12-18Scripts/Spells: Port druid scripts to new script registration syntax (3 of ↵Sorikoff
3) (#23714) (cherry picked from commit f7793e78000389315d53b22fb4e117d512c5a4d6)
2021-12-18[3.3.5] Core/Authserver: TOTP rewrite: (PR #23633)Treeston
- Proper management commands (.account 2fa) - Secrets can now be encrypted (set TOTPTokenSecret in .conf) - Secret now stored in binary - Argon2 and AES primitives - Base32/64 support (cherry picked from commit 4211645834c467a03c60248e80818d3607be9ea7)
2021-12-18Scripts/Spells: Runic Healing Injector (#23690)Sorikoff
* Scripts/Spells: Runic Healing Injector * Rename 9999_99_99_99_world.sql to 2019_08_08_00_world.sql (cherry picked from commit 382f563571d39f9ec02a0df899dbdaaf1745af83)
2021-12-18Scripts/Spells: Port Part of Druid Scripts to New Script Registration (#23691)Sorikoff
(cherry picked from commit 996d4f7cc49041d57ab6152961dd645784b909a7)
2021-12-18Scripts/Commands: Add .go boss, and do a usability pass over .go instance to ↵Treeston
match it. (cherry picked from commit 57b36dfdc6b077cc4eba29406e3ded4dbf9f8ce6)
2021-12-18Scripts/Commands: Cleanup some output from .go instanceTreeston
(cherry picked from commit 4320a021e93423122745684e2689aa1a7028f8b4)
2021-12-18Scripts/Blackrock Depths: Use DB Texts for Doom'rel (#23681)Sorikoff
* Scripts/Blackrock Depths: Use DB Texts for Doom'rel * Quick Fix (cherry picked from commit 33807a065a24410cb3daf17cea6eb31af408c4e8)
2021-12-18Core/Pooling: Quest pooling rewrite: (PR#23627)Treeston
- Split quest pooling from PoolMgr (into QuestPoolMgr) - Proper saving/restoring on server restart - No more hacking into sObjectMgr to insert/remove available quests (cherry picked from commit a5e73e41c0e813e674bb0a644e0052052435494e)
2021-12-18Core/Unit: Spell focusing now no longer nonsensical. HasSpellFocus always ↵Treeston
const. Error logs for various stuff. (cherry picked from commit 4a219eda07c353139608065f7d0a016094ee4ce0)
2021-12-18Scripts/Spells: Fix Incanters Flow (#27395)aquadeus
2021-12-18Core/Unit: rename more methodsccrs
Workaround prework till actual facing system rework arrives (cherry picked from commit 85ad0befc51879627f865c86a6b415ca12401fe3)
2021-12-18Core/Unit: rename IsFocusing methodccrs
Workaround prework till actual facing system rework arrives (cherry picked from commit ec9f15a5fff7830bf2aebc517654784a6d54bb74)
2021-12-18Script/Hyjal: prevent Archimode from attacking players while invisible, and ↵Wyrserth
fix his scale (thanks Killyana!). Closes #16424. (cherry picked from commit 9da5e850f63fef2ae44739350a4771930e98cfda)
2021-12-18Scripts/Spells: Devour Humanoid (#23660)Sorikoff
(cherry picked from commit 0d53a0ba981a2471fcd951465f6be5d073fddd38)
2021-12-17Scripts/Hyjal: Seriously, who calls EnterEvadeMode in a AI constructor????Treeston
(cherry picked from commit c444cb17e10e118e704012e23c86e1b47f94031b)
2021-12-17Scripts/FollowerAI: Some cleanup:Treeston
- FollowerAI properly resumes follow after evading. - Removed duplicated getters from CreatureAI (IsEscorted vs IsEscortNPC), they were used to do the same thing - FollowerAI properly assists in combat. - FollowerAI properly despawns if quest is abandoned. - FollowerAI now supports dynamic respawning for escort NPCs. (cherry picked from commit 3d4bebd8d9210fbb84f8fc75742e248071192b09)
2021-12-17Scripts/ICC: Prevent Professor Putricide from displaying weird behavior ↵Treeston
during the Rotface/Festergut encounters as a result of his boss boundary (cherry picked from commit 7fa990edc6cbae05e8b68da58313fd675ac5fa81)
2021-12-17Scripts/Blood Furnace: Fix infinite loop in Broggok encounterGiacomo Pozzoni
Fix infinite loop in Broggok encounter caused by https://github.com/TrinityCore/TrinityCore/pull/23300 (cherry picked from commit 30a4aca266be7cc065abb6f8ef79c3a3af2f5836)
2021-12-17Script/CullingOfStratholme: add out-of-combat texts to Postmaster Malown and ↵Wyrserth
fix Arthas' attack animation when he kills the two civilians for the RP event. (cherry picked from commit 2cb1e7b18dcafa3f2ad72fd196d9332e9a551b15)
2021-12-17Scripts/Defines: cleanup some magic numbers in factions (#23631)ForesterDev
(cherry picked from commit 0c317498a57b3983de61d381d684a77176b281e4)
2021-12-17Scripts/Spells: Fix priest Mind Bomb (#27415)aquadeus
2021-12-17Script/ScarletEnclave: remove Eye of Acherus control and speed auras from ↵Wyrserth
player when the Eye of Acherus is dismissed. (cherry picked from commit bf8741c53d299a1d167354a174f5e40ae1981551)
2021-12-17Core/AI: Finally move the "is creature engaged" flag to be a property of the ↵Treeston
creature AI, where it honestly always belonged. Fixes #17981 and #23602 for real this time. (cherry picked from commit 0e7c66cb4c7ff7d44e232d0b50703a48605ffd24)
2021-12-16Script/SethekkHalls: fix gossip text and quest event for NPC Lakka in ↵Wyrserth
Sethekk Halls. (cherry picked from commit b8d86bba999684998da59f4765d7982cba30ec21)
2021-12-16Core/Misc: Handle timezones for hour-specific events specifieds in ↵Giacomo Pozzoni
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 aeddd417c460c43d885cb89ceaa6e051c44b1d27)
2021-12-16Script/Hunter: fix Snake Trap's snakes' initialization.OcelotGear
Closes #23570. (cherry picked from commit 085f40a2781cd4d781503cdc5c18ebf7b08d5c12)
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-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-16Scripts/Commands: Add .debug questreset to force daily/weekly/monthly quest ↵Treeston
reset. (cherry picked from commit 293ba08d21c4e9634229bb5015445ecc0cc08fef)
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/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-16Scripts/ScarletEnclave: 4ee84bb followupccrs
(cherry picked from commit 81475f709f067eea0437361e7098b7a6b9cf3a26)
2021-12-16Scripts/ScarletEnclave: 4ee84bb followupccrs
(cherry picked from commit fa9a4ee20d6a63f2e99e9feb45cd0ecf83ccc7f5)
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-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-15Scripts/World: Rewrite air force trigger bots script, add hostility check ↵Treeston
along the way. Closes #23307. (cherry picked from commit 0ae2afe307595463df8f4a16fdd1ee9740a11c9e)
2021-12-15warning fix f2cd721 follow-upTreeston
(cherry picked from commit be96d8242c0b8abf909862a577d04a9f8e18560a)
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/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)
2021-12-14Entities/Creature: Some asserts are now LOG_ERRORs that block spawning. Fix ↵Treeston
a group spawning bug exposed by the CoS merge. Improve some command output. (cherry picked from commit ded18a2690063991d5440df7d3e5d526b884ec16)
2021-12-14Script/TheOculus: adapt Mage-Lord Urom's script to use EventMap, fix various ↵Wyrserth
issues with Teleport and Empowered Arcane Explosion, add missing heroic-mode spell Frost Buffet. Closes #19452. (cherry picked from commit 37862942ce61ceffe5440d67efe7db553fa22f9b)
2021-12-14Script/BlackrockDepths: randomize timers for Ironhand Guardian's spell Gout ↵Wyrserth
of Flame. (cherry picked from commit 6ef1b3e6c6d51635dc4ba4cf4f9fb9565d390807)
2021-12-14Script/BlackrockDepths: fix Ironhand Guardian's Gout of Flame spell cast. ↵Martin Topholm
(#21816) (cherry picked from commit 4529a94e0d093fb01c6ae4a98dade46ce75f82a9)
2021-12-14Core/Unit: Implement more helper methods (#23555)ForesterDev
(cherry picked from commit c44fb37f74347e3b6d399c941716971503af4cf8)
2021-12-14Scripts/Icecrown Citadel: Ensure Deathbringer Saurfang cast Frenzy (#23559)Gildor
(cherry picked from commit a0a64b10b53e74c0cfaa518f196150c622e75bd2)