Commit Graph

35076 Commits

Author SHA1 Message Date
Ovahlord
cdc0e22c33 DB: renamed sql from last Dragon Soul proc commit 2019-08-18 20:01:10 +02:00
Ovahlord
387dac1c57 DB/Spells: added proc data for Firelands trinkets 2019-08-18 20:00:42 +02:00
Ovahlord
c91292b45c DB/Spells: added proc data for most remaining Dragon Soul item procs 2019-08-18 19:20:06 +02:00
Ovahlord
0783639355 DB/Spells: added proc data for stackable Dragon Soul trinket procs 2019-08-18 15:02:30 +02:00
Ovahlord
ad654a160a DB: fixed two startup errors 2019-08-18 14:05:31 +02:00
Treeston
c597a1bcb7 Entities/Creature: Fix a bug that caused map respawn timers to be scheduled for compatibility mode creatures. 2019-08-18 13:11:37 +02:00
Ovahlord
d7e79d1892 Core/Movement: fixed build 2019-08-18 12:53:29 +02:00
Treeston
90540d684b Core/Misc: Various dynspawn cleanup and refactors split off from pooling 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

----------

Core/DB: Unify `creature_respawn` and `gameobject_respawn` into a single `respawn` table
2019-08-18 12:47:10 +02:00
Treeston
f9184f026b Entities/Unit: Nuke Map::ForceRespawn from orbit, with the following 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.
2019-08-18 12:12:09 +02:00
jackpoz
8a1828aa43 Core/Misc: Fix linux build 2019-08-18 11:53:01 +02:00
jackpoz
b407e6da1c Core/MMaps: Fix mobs evading when target is out of MMap meshes
Fix mobs evading when target is out of MMap meshes causes by an overzealous check added in c602220e02 when trying to fix an infinite loop in Recast.
If the target is outside of the MMap mesh (for example very close to a wall which is an un-walkable area with current TrinityCore settings and that might be changed in the future) Detour will not be able to find the height of the poly and getPolyHeight() will return DT_FAILURE | DT_INVALID_PARAM . Most of the time this is ok and can be ignored and it's still better than having the Unit evade.
Fix #23613
2019-08-18 11:52:54 +02:00
Shauren
0b8ab68eb3 Core/Map: Kill zoneId from RespawnInfo, all it did was significantly slow down startup to make one gm command faster 2019-08-18 11:51:09 +02:00
Ovahlord
16b459b7cd Revert "Core/Maps: Loading respawn times will now used database cached zoneId data to avoid loading unnneeded grids during startup"
This reverts commit bdc0f1433f.
2019-08-18 11:30:59 +02:00
Ovahlord
53e99dbb85 Core/Spells: fixed cooldowns of weekly profession spells. The cooldown will now start by the time the item gets created and lasts for a whole week 2019-08-18 00:29:05 +02:00
Ovahlord
e8e5e05b0a Scripts/VP: fixed build 2019-08-18 00:27:49 +02:00
Ovahlord
616ae7f809 Scripts/VP: fixed tabbing from recent codestyle cleanup 2019-08-17 20:46:27 +02:00
Ovahlord
98ac53f828 DB/Spells: fixed Vindication talent 2019-08-17 00:14:04 +02:00
Ovahlord
b8e542543d Core/Movement: fixed packet structure of CMSG_MOVE_HOVER_ACK 2019-08-16 23:39:49 +02:00
Ovahlord
c5d906c3aa Core/Movement: fixed packet structure for CMSG_MOVE_WATER_WALK_ACK 2019-08-16 23:27:56 +02:00
Ovahlord
cfc1c81ec1 Core/Spells: updated Scourge Strike to Cataclysm 2019-08-16 21:58:02 +02:00
Ovahlord
3ee81cf90b Core/Spells: removed debug messages from last commit 2019-08-16 01:41:07 +02:00
Ovahlord
bd7094b8cc Core/Spells: corrected formular for Frostfever and Blood Plague 2019-08-16 01:32:52 +02:00
Ovahlord
fdd896ecd5 Core/Spells: Shadow Infusion will no longer proc when the Ghoul is already transformed
* the Dark Transformation dummy aura will now always be cast when the spell procs to indicate that the ghoul can be transformed
2019-08-16 00:55:10 +02:00
Ovahlord
ad97b57944 DB/Instances: since 4.2 Magister's Terrace no longer needs the quest "Hard to Kill" to be rewarded to enter heroic difficulty. Also changed minlevel to 65 to match area trigger message 2019-08-15 20:00:22 +02:00
Ovahlord
d135e6eaf9 Scripts/VP: updated remaining scripts to new model, applied coding standards and removed some unneeded function calls 2019-08-15 18:39:40 +02:00
Ovahlord
161aa6f195 Scripts/VP: apply coding standards to Grandvizier Ertan's script 2019-08-15 17:26:07 +02:00
Ovahlord
5738c01ae5 Scripts/VP: use sniffed values for different height thresholds 2019-08-15 02:11:45 +02:00
Ovahlord
b29e1ff2bc Scripts/VP: corrected Catch Fall mechanic. Players will always get teleported back to the entrance 2019-08-15 01:37:34 +02:00
Ovahlord
3870caa185 Scripts/VP: implement fall catcher even when players fall into the void 2019-08-14 23:48:05 +02:00
Ovahlord
26a8177419 DB/VP: linked a missing npc to Altairus' spawn group 2019-08-14 20:17:53 +02:00
Ovahlord
080bcbe120 Scripts/VP:
* reworked slipstream system. Use database spawned slipstreams to avoid grid unload issues and link them to dynamic spawn groups so we have full control over them now
* scripted shortcut cases for the remaining slipstreams
* spawn Zephyrs only if their grid is loaded
2019-08-14 20:15:34 +02:00
Ovahlord
8c9e8f798a Scripts/VP: added boundaries to bosses 2019-08-14 16:05:10 +02:00
Ovahlord
8bd81e030f Scripts/VP: updated Slipstream and Slipstream Landing Zone script to new model and removed some obsolete calls that have been covered by previous vehicle changes 2019-08-14 15:53:11 +02:00
Ovahlord
44d07e3303 * Scripts/World: Rewrite air force trigger bots script, add hostility check along the way.
(ported commit: 0ae2afe307)
2019-08-14 15:47:43 +02:00
Ovahlord
3821779d24 Core/Movement: enabled SMSG_MOVE_UPDATE_FLIGHT_BACK_SPEED and added movement structure for it. Todo: test for errors 2019-08-13 22:00:43 +02:00
Ovahlord
911eeb0b63 Core/Spells: updated Shadow Ward aurascript to new model and assigned it to correct spell id 2019-08-13 19:28:35 +02:00
Ovahlord
c7cbbc278f Core/Spells: Spirit of Redemption will no longer cause revived players to stay immune 2019-08-13 19:03:56 +02:00
Ovahlord
4df96f8126 Core/Scripts: removed an unintended change from last commit 2019-08-13 18:16:15 +02:00
Ovahlord
680d82db4e Core/Spells: added a missing breakpoint that was granting Death's Embrace more bonus values than it should get 2019-08-13 17:53:34 +02:00
Ovahlord
dc25b61983 DB/Uldum: added missing meeting stone and instance portal spawns for The Vortex Pinnacle entrance 2019-08-13 15:03:47 +02:00
Ovahlord
6a0a48040a Merge branch '4.3.4' of https://github.com/Ovahlord/TrinityCore into 4.3.4 2019-08-13 14:31:50 +02:00
Ovahlord
86e7ab8863 Scripts/VP: Young Storm Dragons will now be aggressive again at first before being attacked 2019-08-13 14:24:13 +02:00
Ovah
65d7cf1efd Merge pull request #2 from Keader/patch-1
Core/Spells: Fixed SPELL_EFFECT_DISPEL when target has 2 spells with same ID
2019-08-13 14:20:07 +02:00
Keader
e8ab568e82 Core/Spells: Fixed SPELL_EFFECT_DISPEL when target has 2 spells with same ID 2019-08-13 09:02:44 -03:00
Ovahlord
ae8add5ce9 Scripts/VP: reworked script for Young Storm Dragon and fixed Healing Well summon destinations 2019-08-13 11:25:10 +02:00
Ovahlord
cbfb41f0ef Core/Creatures: fixed an edge case assert triggered by the new focus handling
(ported commit: 6590a0bfce)
2019-08-13 01:28:05 +02:00
Ovahlord
249fa6bf54 Core: fixed build 2019-08-12 23:14:42 +02:00
Ovahlord
b9c31bacb3 Scripts/VP:
* re-ordered header file
* improved Zephyr handling to despawn after a 18 seconds according to sniff data
* reworked and fixed the Howling Gale orbs
2019-08-12 23:08:34 +02:00
Ovahlord
50aa2251e6 Core/SpawnGroups: fixed a logic mistake in validating flags 2019-08-12 23:05:48 +02:00
Ovahlord
1a6d71a4fc DB/VP: linked all trash npcs of the Vortex Pinnacle to their corresponding bosses so they wont respawn anymore when the bosses have been defeated
* fixed startup errors caused by Nefarian's End instance spawn group entry.
2019-08-12 21:03:40 +02:00