Commit Graph

31082 Commits

Author SHA1 Message Date
jackpoz
9da8123959 Core/MovementGenerator: Add more details to asserts
Implement GetDebugInfo in MovementGenerator, PathMovementBase, FlightPathMovementGenerator, WaypointMovementGenerator.
Add an additional assert in FlightPathMovementGenerator::DoEventIfAny(), the input node must not be null
2019-05-30 19:50:00 +02:00
Wyrserth
88c6c61b95 Core/Script: add script hook to allow overriding of a vehicle passenger's exit position (#23322)
* Core/Script: add script hook to allow overriding of a vehicle passenger's exit position.

* Allow to change orientation, and fix nopch.

* Keep original orientation, thanks jackpoz!

* Update Unit.cpp

Code cleanup

* Update Unit.cpp
2019-05-30 17:35:18 +02:00
jackpoz
7b8f294c02 Core/Channel: Sanitize channel names 2019-05-29 23:02:40 +02:00
jackpoz
f0bd90cc35 Core/Channel: Fix CRT Debug Assert triggered with invalid channel names 2019-05-29 21:12:50 +02:00
Killyana
22888f80e9 DB/Quest: The Wrath of Neptulon 2019-05-29 18:41:02 +02:00
Killyana
d1e3de15d9 DB/Creature: Scryer Cavalier 2019-05-29 16:40:30 +02:00
Killyana
c946966275 DB/Creature: Add Grip immunity to Nightbane 2019-05-29 14:53:16 +02:00
Killyana
f417615514 DB/Creature: Lightsworn Elekk Rider 2019-05-29 14:37:58 +02:00
Giacomo Pozzoni
5d7f0eef6e Core/Movement: Fix assertion triggered in SplineChainMovementGenerator
Fix an assertion triggered in SplineChainMovementGenerator happening when a new generator is added while last spline of the SplineChainMovementGenerator is being processed but is not finalized yet.
Fix #23077
2019-05-29 14:16:20 +02:00
Killyana
1cc7944f72 DB/Creature: Black Temple Battle Sensor 2019-05-29 13:33:57 +02:00
dr-j
64dabaad80 DB/Creature: Wolver Orphan & Oracle Orphan event in Dalaran
Closes #14621
2019-05-29 02:26:52 +02:00
Killyana
2717b72f3e DB/Creature: Outland Children's Week Dark Portal Trigger 2019-05-29 00:59:40 +02:00
Killyana
c99193325b DB/Creature: Ethereum Avenger 2019-05-29 00:33:47 +02:00
Killyana
16bf11ab20 DB/Creature: Arcane Burst 2019-05-28 01:43:19 +02:00
Killyana
e8b7cc6e1c DB/Creature: Eclipsion Hawkstrider 2019-05-28 01:39:55 +02:00
Killyana
f024c0d2f7 DB/Creature: Dragonmaw Nether Drake 2019-05-28 01:24:01 +02:00
Killyana
4f6bf01a19 DB/Creature: Enslaved Doomguard 2019-05-28 00:21:36 +02:00
Ovah
635cefc67e Core/Players: out of range group updates will now get sent every 5 seconds instead of as soon as they are available to reflect retail behaivior. (#23323)
* according to sniffs the group update packet for out of range members has a fixed 5 seconds interval instead of spaming packets like crazy for example when updating positions. On 4.x and above this will fix a very nasty and ugly fps drop
* validated with 4.3.4 and 3.3.5 sniffs
2019-05-27 16:37:47 -03:00
lactoseti
bfffa5d45e Creature/Script: npc_tallhorn_stag
Ref #2623
2019-05-27 03:21:36 +02:00
Killyana
6023d7e7e1 DB/Quest: Vyletongue Corruption
Ref #21078
2019-05-26 23:46:19 +02:00
Killyana
87ef7997f2 DB/Creature: Restore Bath'rah the Windwatcher script
Closes #23318
2019-05-26 23:41:38 +02:00
Wyrserth
d8ce37e0c9 Core/Console: start CliRunnable thread after all log messages have been printed. (#23321) 2019-05-26 23:01:50 +02:00
Ovah
a70845c93d Core/GameObjects: goober gameobjects may reset only if they have a lock id or a reset time specified (#23298)
* Core/GameObjects: goober gameobjects may reset only if they have a lock id

Tests have shown that Goobers without a lock id (Data0=0) are not allowed to reset their go state such as the teleporters in Ulduar and Icecrown Citadel. The tests has been expanded by checking 4.x goobers as well and the perfect example that confirms that result is the Ancient Bell for Atramedes' intro which also is not suposed to reset after using it.

* Core/GameObjects: allow to reset goobers without a lock id if a reset time is defined

* fixed a typo
2019-05-26 21:54:09 +02:00
jackpoz
9e58ef6940 Core/SmartAI: Improve SMART_EVENT_GOSSIP_HELLO
Add another value to event_param1 for SMART_EVENT_GOSSIP_HELLO to support all cases of OnGossipHello/OnReportUse in GameObjects:
- event_param1 set to 0: execute the action for both OnGossipHello and OnReportUse. This might result in the action being executed twice when clicking the GameObject
- event_param1 set to 1: execute the action for only OnGossipHello
- event_param1 set to 2: execute the action for only OnReportUse
2019-05-26 12:44:58 +02:00
sirikfoll
f1ab05ab46 DB/Quest: No Place to Run
Closes #22719
2019-05-26 06:57:13 +02:00
Killyana
64786995d5 DB/SAI: Update gossip hello event for game objects to trigger only in OnReportUse() and not OnGossipHello()
The only remaining case is the gob 188596 as apparently it triggers OnReportUse() only
2019-05-26 01:45:54 +02:00
Killyana
346514b50d DB/Spell: D.I.S.C.O. 2019-05-26 01:38:01 +02:00
Killyana
069d3c3952 DB/Quest: Improvements for Death From Below 2019-05-26 00:54:08 +02:00
Kittnz
cf05c3dd2c Core/Weather: Define WEATHER_STATE_DRIZZLE state 2019-05-25 18:17:53 +02:00
Killyana
63c7bccb50 DB: Fix wrong spawnMask 2019-05-25 05:46:50 +02:00
Killyana
2829f5fb9c DB/Creature: Hydross the unstable npc triggers
Update the correct channel spell SPELL_BLUE_BEAM and spawn triggers used to cast it
2019-05-25 04:26:58 +02:00
Killyana
3731c4be95 DB: Typo in the previous commit 2019-05-25 02:56:09 +02:00
Killyana
fdec429f18 DB/Creature: Dark Portal Dummy 1.30 2019-05-25 02:51:42 +02:00
Killyana
ba20ca75f8 DB/Misc: Eclipsions Npcs 2019-05-25 01:50:48 +02:00
Killyana
6910dc4d9c DB/Quest: Portals of the Legion 2019-05-24 21:54:37 +02:00
Gildor
ad89472fe3 Core/Spells: Fix spells with Health Leech effect, now check damage absorb when calculate Heal (#23312)
Closes: #23311
2019-05-24 21:44:26 +02:00
jackpoz
507a56d627 Core/SmartAI: Implement SMART_EVENT_SUMMONED_UNIT and SMART_EVENT_SUMMON_DESPAWNED for GameObject owners 2019-05-24 20:52:54 +02:00
Ianislav Vasilev
45887846b6 Scripts/Zul'Gurub 22974 high priestess marli hatching eggs (#23212)
* Issue 22974: Initial bugfix suggestion.

* Fixed allignment.

* Removed unused call.

* Initial spider spawn targeting is done.

* Resolves issue 22874. Initial implementation suggestion.

* Commenting out dead code.

* Reordered private members to meet standards of member initializer list.

* Removing unused parameter and changing data structure from list to vector.

* Changed list to vector in the grid notifier.

* Removing comments and fixing identation.

* Stupid collapsed blocks.

* Scripts/Misc: Change IsSummonedBy(Unit*) to IsSummonedBy(WorldObject*)

* Scripts/Misc: Fix build

* Core/TempSummons: Rename GetSummoner() to GetSummonerUnit()

* Core/TempSummons: Add support to TempSummons::GetSummoner() to return GameObject too

* Fix build

* Core/TempSummons: Allow GameObject to be owner of TempSummon

* Core/TempSummons: Add support to SAI for GameObject owner of TempSummon

* Scripts/Misc: Fix no-pch build

* Cleaned up all the core changes and scripted eggs and spell according to pull request comments.

* Fix no-pch build.

* Fix no-pch build 2.

* Added sql file for the spell and gameobject script.

* Update 2019_05_20_00_world.sql

* Added conditions to spell thanks @xvywh and some minor changes to the code.

* Removed some strange leftovers.

* Removed obsolete brackets.

* Rename 2019_05_20_00_world.sql to 2019_05_24_00_world.sql
2019-05-24 08:45:37 +02:00
Killyana
1e1d626da0 DB/Misc: Remove some auras related to channel spell and add the proper script to Eclipsion Spellbinder & Eclipsion Archmage
Also fix some cosmetic mounts
2019-05-24 02:53:11 +02:00
Killyana
142cefdfd7 DB/GameObject: Fix wrong rotations
Closes #23306
2019-05-24 00:27:33 +02:00
Killyana
e06521a9b5 DB/Quest: Test Flight: The Zephyrium Capacitorium
It fix also the 3 other Test Flight quests
Closes #17840
2019-05-23 21:52:34 +02:00
Giacomo Pozzoni
797fba98e9 3.3.5 gameobject summoner (#23289)
* Scripts/Misc: Change IsSummonedBy(Unit*) to IsSummonedBy(WorldObject*)

* Scripts/Misc: Fix build

* Core/TempSummons: Rename GetSummoner() to GetSummonerUnit()

* Core/TempSummons: Add support to TempSummons::GetSummoner() to return GameObject too

* Fix build

* Core/TempSummons: Allow GameObject to be owner of TempSummon

* Core/TempSummons: Add support to SAI for GameObject owner of TempSummon

* Scripts/Misc: Fix no-pch build

* Core/TempSummons: Implement PR comments
2019-05-23 21:08:29 +02:00
jackpoz
457fc22473 Core/SmartAI: Fix SMART_EVENT_SUMMON_DESPAWNED
Fix SMART_EVENT_SUMMON_DESPAWNED not working when event_param1 was set to any value other than 0
2019-05-23 20:54:09 +02:00
Shauren
9dbedb6b64 Core/GameObjects: Validate rotation quaternion at startup
Ref #23306
2019-05-23 20:00:35 +02:00
Killyana
716c14846f DB/Creature: Floating Skull 2019-05-23 00:39:54 +02:00
Killyana
dd6b968251 DB/Creature: Warder/Defender Corpses
Ref #21102
2019-05-22 21:15:53 +02:00
Killyana
17057dbf3d DB/Creature: Tidewalker Warrior 2019-05-22 20:12:50 +02:00
Killyana
c478d0cc7c DB/Creature: Shadowmoon Villager
And fix some auras and equipements
2019-05-22 19:16:45 +02:00
Killyana
e306b259ae Rename file 2019-05-22 17:38:10 +02:00
Killyana
0a9fe2753b DB/Quest: Items of Power
Closes #6388
2019-05-22 17:36:27 +02:00