Treeston
3b02029cb6
remove an unused variable (follow-up fcd6fe0)
2017-08-01 17:58:17 +02:00
Treeston
fcd6fe0aac
Scripts/Commands: New utility command: .list spawnpoints.
...
(I just needed it for dynspawn follow-up work, really.)
2017-08-01 03:42:11 +02:00
Aokromes
41721642f7
NoPCH Build fix
2017-07-31 22:56:21 +02:00
r00ty-tc
59db2eeea0
Dynamic Creature/Go spawning:
...
- 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-31 21:21:04 +02:00
Shauren
d24ce1739a
Core/Misc: Util changes
...
* 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 fdd9227b23 )
2017-07-29 15:04:45 +02:00
Treeston
508c9d2fc1
Core/Chat: Provide a fully-formed protocol for addons to interact with GM 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-28 02:45:57 +02:00
Treeston
98aa7806c4
Core/Player: Always set flight state change packets for players, even if their latest MovementInfo doesn't indicate it's needed (the MI might be outdated). Fixes a player flight exploit and closes #20079 .
2017-07-25 20:00:13 +02:00
Treeston
7cbb6c101e
Scripts/IcecrownCitadel: Prevent players from becoming inaccessible when killed by Lord Marrowgar's Impale spell (the initial damage, not the DoT). Also fix the underlying bug in vehicle logic.
2017-07-25 02:01:32 +02:00
ccrs
1de89579c7
Core/AI: correct Permit level for trigger flagged creatures
...
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 ce3787f190
2017-07-23 18:01:42 +02:00
Treeston
f2f45765e4
Core/Unit: No code change, just updating a comment with insights gleaned from sniffs.
2017-07-23 02:07:18 +02:00
Treeston
28b3469e89
Core/WorldObject: Properly initialize position data for all types when initially creating them. Fixes some issues with PvP objectives not having the correct area ID set on initialization. Closes #20028 .
2017-07-23 00:01:11 +02:00
Killyana
21b03e7d9b
Core/Npc: Remove bytes1 once the npc start a combat
...
Closes #16832
By Rushor
2017-07-22 09:09:16 +02:00
Treeston
331e463de8
Core/PlayerAI: Some adjustments:
...
- 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-21 23:00:14 +02:00
Shauren
1f63554312
Core/Auth: Fixed client getting stuck on login or realm change
2017-07-21 20:34:00 +02:00
Treeston
40c78cac4c
Warning fix ( c7896f3 follow-up)
2017-07-21 18:12:59 +02:00
Treeston
c7896f3102
Core/Unit: For convenience, explicitly redirect CastSpell with nullptr as first argument to the Unit* overloads. No more ->CastSpell((Unit*)nullptr, ...) all over the place!
2017-07-21 18:02:48 +02:00
Treeston
42c993f8ad
nopch fix
2017-07-21 17:36:04 +02:00
Treeston
d80d7c6685
Scripts/Auchindoun: Last one, hopefully. Remove reliance on large grid searchers by integrating with instance script.
2017-07-21 17:29:06 +02:00
Treeston
04dc47e7e2
Scripts/Auchindoun: Blackheart the Inciter fully fixed now. I had way too 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-21 16:07:27 +02:00
Treeston
068254d6b9
nopch fix 2
2017-07-21 05:29:39 +02:00
Treeston
777befaaa9
nopch fix
2017-07-21 05:27:39 +02:00
Treeston
a38141fd6c
Scripts/Auchindoun: Replace the Blackheart the Inciter hack-filled script 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-21 05:22:26 +02:00
Treeston
49aa8a2e59
Scripts/Spell: Port spell_generic.cpp to new script registration syntax wherever possible. No actual changes in functionality. ( fb87ac8 follow-up)
2017-07-20 16:43:45 +02:00
Treeston
37f59f8850
Scripts/Item: Port spell_item.cpp scripts to new script registration syntax wherever possible. No actual changes in functionality. ( fb87ac8 follow-up)
2017-07-20 01:26:15 +02:00
treeston
fb87ac8e8d
Core/Scripts: Implement generic script loaders (and script registry macros) to greatly reduce code duplication ( #19526 ) (cherry-picked from commit a9174d5).
2017-07-20 00:27:20 +02:00
ariel-
f0357a861d
Core/Tools: fix whitespace
2017-07-19 12:40:01 -03:00
treeston
02b1d8bb48
Scripts/Item: Change Nitro -> Boosts <- to use the correct knockup effect for their backfire. Also, script that knockup effect to work properly ("usually" deploy a rescue parachute).
2017-07-18 18:32:56 +02:00
Aokromes
edb82fcfbf
Core/Spells: Renamed TARGET_DEST_UNK_110 to TARGET_UNIT_CONE_ENTRY_110
...
cherry pick from be7486f
2017-07-18 17:04:39 +02:00
treeston
24ec3ad340
Core/Taxi: Properly send taxi node status on login, as well as if the taxi master is out of range. Closes #20035 .
2017-07-18 15:55:31 +02:00
treeston
125127ea73
Scripits/Item: Nitro. BOOSTS.
2017-07-18 14:11:12 +02:00
treeston
f953d85960
Scripts/Item: Fix Nitro Boosts to only fail in flyable areas. Also, it's called nitro _boosts_. Not _boots_. Nitro _boosts_.
2017-07-18 14:08:10 +02:00
treeston
e0194e4a2c
Revert "Scripts/Commands: Fix a potential crash when summoning players that are just logging on." - the check was unnecessary (already done in extractPlayerTarget).
...
This reverts commit 05cdcdb230 .
2017-07-17 23:23:54 +02:00
treeston
05cdcdb230
Scripts/Commands: Fix a potential crash when summoning players that are just logging on.
2017-07-17 23:00:46 +02:00
jackpoz
832a114196
Core/Misc: Fix static analysis issues
2017-07-17 18:48:07 +02:00
keke222
15f6a02b72
Tools: Automatically create directories for tools ( #17971 )
2017-07-17 10:18:35 +02:00
Gustavo
551d0559aa
Core/Vehicles: Do not call InstallAllAccessories for dead Vehicles ( #20033 )
2017-07-16 23:39:55 +02:00
jackpoz
348b02155b
Core/Misc: Build fix
...
Fix build broken in 9cf4dd7345
2017-07-16 18:26:05 +02:00
jackpoz
9cf4dd7345
Core/Misc: Fix static analysis issues
2017-07-16 18:20:29 +02:00
Treeston
f44956b051
Core/Quest: Prevent an issue causing quests to become invisible upon relog. ( #20030 )
...
Closes #20012
2017-07-16 14:36:42 +02:00
jackpoz
41f4a80f30
Core/Misc: Fix static analysis issues
2017-07-15 16:41:59 +02:00
jackpoz
7d3291e804
Core/Misc: Fix static analysis issues
2017-07-15 16:31:07 +02:00
jackpoz
b2a341df6e
Core/Misc: Fix static analysis issues
2017-07-15 16:22:32 +02:00
Regigicas
d9c83a6c01
Scripts/Commands: Fix a crash on summon when no group is avaible ( #20029 )
...
Closes #20027
2017-07-15 12:43:03 +01:00
Weyrath
8b2bd9a5f2
Core/Quests: Fixed order of RewardChoiceItems and reputation reward. ( #19904 )
2017-07-13 17:52:26 +02:00
Treeston
8d0633c842
Core/AI: UnitAI::SelectTarget now applies offset BEFORE filtering by predicate (to match expected behavior). ( #19975 )
...
* Also some major code deduplication (SelectTarget now calls SelectTargetList).
2017-07-13 17:49:48 +02:00
Rochet2
b9f276f0a0
Tools/MMapsGenerator: Get all tiles in beginning and calulate proper total tile count ( #20013 )
2017-07-13 17:31:24 +02:00
Shauren
fba87d3f33
Core/Auth: Prevent queueing more than one realmlist query at the same time
2017-07-12 19:22:53 +02:00
treeston
3f8c0cb446
Some more script adjustments ported from #19930 .
2017-07-11 12:52:53 +02:00
Treeston
ed241a2fd6
Prevent an issue that stopped Aura AfterEffect handlers being called on default handler prevention. ( #20001 )
...
Fixes #19996 .
2017-07-09 13:58:59 +02:00
treeston
9bacaf15b6
Woopsie. Fix an oversight causing the main tank flag in SelectTarget to be inverted.
2017-07-09 02:53:00 +02:00