aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-08-08Tools/MMapsGenerator: Use system supported threads instead of hardcoded ↵Rochet2
amount (#19255) - Use unsigned int for thread count - Use std::thread::hardware_concurrency() to try estimate available threads instead of hardcoded 3 threads by default - Print thread count always regardless of using --threads switch or not
2017-08-08Core/Movement: ee2d7c1d53 followupccrs
2017-08-08Core/Movement: PropagateSpeedChange should only be called on the top ↵ccrs
(current active) movement generator
2017-08-08Core/Movement: add new helper that cleans the referenced MovementSlotccrs
2017-08-08Scripts/ICC: Minor Fixes for Lich King (#20120)Demonid
- Fixed Shadow Trap and Defile Targets - Fixed Shadow Trap Summon Delay and Duration - Fixed Berserk Timer (15 Minutes) - Fixed Shadow Trap Despawn when Snowstorm starts
2017-08-07Revert "Core/Npc: Remove bytes1 once the npc start a combat"Keader
This reverts commit 21b03e7d9bc9165f5e0cf4fbdc5bd9b1534dbcd7.
2017-08-07Core/Scripts: Razorscale Rewrite (#19828)Keader
#MakeUlduarGreatAgain
2017-08-06Core/Scripts: dynamic_spawning follow-up, I had forgotten JustRespawned existed.Treeston
- Rename JustRespawned to JustAppeared, which better matches its behavior anyway. - Properly invoke JustAppeared for new (re-)spawns - fixes #20111. - Fix Thaddius script to work with dynamic_spawning (mostly unrelated to the above) - Feugen/Stalagg should really be a summon group, but I don't have time to fix that right now. - Fix default value for DynamicEscortNPC to match worldserver.conf.dist.
2017-08-06Core/Pet: Fix an issue that was causing lower ranks of pet spells to remain ↵Necropola
in DB (#20112)
2017-08-05Revert permision changeAokromes
2017-08-04[3.3.5] Core/Pet: Make pet action bar autocast persist properly (#20110)Necropola
Partial revert of of 6c21ddd9b98d372cb802c9abf034e2aa3ecc70b9. Closes #16211.
2017-08-04Scripts/InstanceScript: Implement database framework for managing spawn ↵Treeston
groups based on boss state. (#20103)
2017-08-03Core/Unit: Don't apply liquid effects to game masters.Treeston
2017-08-03Core/Misc: Revert back to using boost::regex, std::wregex doesn't work for ↵Shauren
name validation Closes #20094
2017-08-02Scripts/Commands: Fix some quirkiness and potential crashes with live DB ↵Treeston
modification commands (npc move and npc delete), which are horrible and should be deleted anyway. Fixes #20104.
2017-08-01more unneeded checks (follow-up 3b02029)Treeston
2017-08-01remove an unused variable (follow-up fcd6fe0)Treeston
2017-08-01Scripts/Commands: New utility command: .list spawnpoints.Treeston
(I just needed it for dynspawn follow-up work, really.)
2017-07-31NoPCH Build fixAokromes
2017-07-31Dynamic Creature/Go spawning:r00ty-tc
- True blizzlike creature spawn/respawn behavior - new creature = new object - Toggleable spawn groups (with C++/SAI/command options to use them) - Custom feature: dynamic spawn rate scaling. Accelerates respawn rate based on players in the zone. - Backward compatibility mode (set via group and for summons) to support creatures/gos that currently don't work well with this (this should be removed once the exceptions are fixed) Fixes and closes #2858 Tags #8661 as fixable. Fixes and closes #13787 Fixes #15222.
2017-07-29Core/Misc: Util changesShauren
* Move IteratorPair to its own header * Add AsUnderlyingType function to cast enum value to its underlying type (avoids repeating std::underlying_type everywhere) (cherry picked from commit fdd9227b232db9aae9bc4b2c60ca4de2cdaa0b54)
2017-07-28Core/Chat: Provide a fully-formed protocol for addons to interact with GM ↵Treeston
commands (#20074) Send success/fail state, allow interleaving, and indicate end of output. Add framework for supporting non-human-readable output in commands.
2017-07-25Core/Player: Always set flight state change packets for players, even if ↵Treeston
their latest MovementInfo doesn't indicate it's needed (the MI might be outdated). Fixes a player flight exploit and closes #20079.
2017-07-25Scripts/IcecrownCitadel: Prevent players from becoming inaccessible when ↵Treeston
killed by Lord Marrowgar's Impale spell (the initial damage, not the DoT). Also fix the underlying bug in vehicle logic.
2017-07-23Core/AI: correct Permit level for trigger flagged creaturesccrs
This broke several mechanics such as LK hc Frostmourne Room or Rotface's slime, how come no one noticed it? Like really, no one? ref ce3787f190d28c1e981598eef2cd24c622a2cbae
2017-07-23Core/Unit: No code change, just updating a comment with insights gleaned ↵Treeston
from sniffs.
2017-07-23Core/WorldObject: Properly initialize position data for all types when ↵Treeston
initially creating them. Fixes some issues with PvP objectives not having the correct area ID set on initialization. Closes #20028.
2017-07-22Core/Npc: Remove bytes1 once the npc start a combatKillyana
Closes #16832 By Rushor
2017-07-21Core/PlayerAI: Some adjustments:Treeston
- Add a 2 second delay before the AI begins using spells. This should provide opportunity for counterplay before that rogue activates cloak and goes on an unstoppable rampage among your healers. (Sorry, guys.) - Stopped the AI from attacking invalid targets under some conditions. It should now properly leash back and follow the charmer if we try to select an invalid target. - Stopped the AI from constantly re-creating the follow movement generator (and thus spamming movesplines).
2017-07-21Core/Auth: Fixed client getting stuck on login or realm changeShauren
2017-07-21Warning fix (c7896f3 follow-up)Treeston
2017-07-21Core/Unit: For convenience, explicitly redirect CastSpell with nullptr as ↵Treeston
first argument to the Unit* overloads. No more ->CastSpell((Unit*)nullptr, ...) all over the place!
2017-07-21nopch fixTreeston
2017-07-21Scripts/Auchindoun: Last one, hopefully. Remove reliance on large grid ↵Treeston
searchers by integrating with instance script.
2017-07-21Scripts/Auchindoun: Blackheart the Inciter fully fixed now. I had way too ↵Treeston
much fun with this one. Two points of note: 1) Spawning 5 invisible triggers with 5 distinct factions which then MC one target each? Biggest. Hack. Ever. Best part? It's blizzlike. 2) For over ten years, I thought it was spelled "Auchinodoun". It's not. It's spelled "Auchindoun". TIL.
2017-07-21nopch fix 2Treeston
2017-07-21nopch fixTreeston
2017-07-21Scripts/Auchindoun: Replace the Blackheart the Inciter hack-filled script ↵Treeston
with a slightly less hack-filled script that actually mostly works. This should at least make the boss encounter possible to complete. No claims to correctness, of course.
2017-07-20Scripts/Spell: Port spell_generic.cpp to new script registration syntax ↵Treeston
wherever possible. No actual changes in functionality. (fb87ac8 follow-up)
2017-07-20Scripts/Item: Port spell_item.cpp scripts to new script registration syntax ↵Treeston
wherever possible. No actual changes in functionality. (fb87ac8 follow-up)
2017-07-20Core/Scripts: Implement generic script loaders (and script registry macros) ↵treeston
to greatly reduce code duplication (#19526) (cherry-picked from commit a9174d5).
2017-07-19Core/Tools: fix whitespaceariel-
2017-07-18Scripts/Item: Change Nitro -> Boosts <- to use the correct knockup effect ↵treeston
for their backfire. Also, script that knockup effect to work properly ("usually" deploy a rescue parachute).
2017-07-18Core/Spells: Renamed TARGET_DEST_UNK_110 to TARGET_UNIT_CONE_ENTRY_110Aokromes
cherry pick from be7486f
2017-07-18Core/Taxi: Properly send taxi node status on login, as well as if the taxi ↵treeston
master is out of range. Closes #20035.
2017-07-18Scripits/Item: Nitro. BOOSTS.treeston
2017-07-18Scripts/Item: Fix Nitro Boosts to only fail in flyable areas. Also, it's ↵treeston
called nitro _boosts_. Not _boots_. Nitro _boosts_.
2017-07-17Revert "Scripts/Commands: Fix a potential crash when summoning players that ↵treeston
are just logging on." - the check was unnecessary (already done in extractPlayerTarget). This reverts commit 05cdcdb230a9d69f8ad8f2af696f452151a1c364.
2017-07-17Scripts/Commands: Fix a potential crash when summoning players that are just ↵treeston
logging on.
2017-07-17Core/Misc: Fix static analysis issuesjackpoz