Commit Graph

2382 Commits

Author SHA1 Message Date
ccrs
94980ab362 Core/Movement: move MoveSplineInit (#21857)
The number of edge cases in which weirdness is seen on "effect movements" will be kinda reduced, plus consistency, plus movementInform on custom movement spline initalizations.

Core/Movement: use helpers for validation

Core/Movement: crashfix workaround
2019-10-06 04:55:46 +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
Ovahlord
148291729f Core/Spells: ported focusing rework and fixed an additional issue that was causing channeled spells getting interrupted when being cast within the focus delay release time 2019-08-10 23:43:15 +02:00
Ovahlord
c074c3a9c6 Revert "Core/Misc: Replace time(NULL) with GameTime::GetGameTime()"
This reverts commit 5fe3a1f7f9.
2019-07-08 15:56:29 +02:00
Ovahlord
5fe3a1f7f9 Core/Misc: Replace time(NULL) with GameTime::GetGameTime()
(ported commit: 12701cb0c6)
2019-07-08 12:19:19 +02:00
Ovahlord
eb15db4522 Core/Movement: first part of porting the new creature hover handling 2019-02-18 01:52:15 +01:00
Ovahlord
50a91bd590 Core/Movement: merged Collision height handling from 335 branch to reduce the probability that creatures are falling under the map 2019-02-17 23:40:24 +01:00
Ovahlord
a02056c184 Scripts/FrozenHalls: fixed Well of Souls visual effect destinations in Devourer of Souls encounter in order to fix a visual in Jin'do the Godbreaker's encounter 2019-01-17 11:00:25 +01:00
Ovahlord
cce24f2cef Scripts/ICC: temp-fixed Lady Deathwhisper's elevator 2018-11-21 15:01:37 +01:00
Ovahlord
5229a734dd Core/Transports: ported transport refactoring
* this implements full support for stoppable transports as well as serverside transport position tracking
* fixed several vehicle related issues
* fixed gameobject passengers not being displayed as transport passengers
* pets, dynamic objects and other summons are not added as transport passengers and will now properly be displayed
Todo:
- Deeprun Tram visual issues needs to be resolved
- Lady Deathwhisper's elevator needs some additional research
2018-11-21 12:04:26 +01:00
Ovahlord
1a1790b737 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScript.cpp
#	src/server/game/Skills/Archaeology/ArchaeologySites.cpp
#	src/server/scripts/Spells/spell_mage.cpp
2018-09-17 15:43:22 +02:00
Full-Stack Developer
e023243ad8 Scripts/VoA: Archavon no longer leaps in melee range (PR #22414) 2018-09-11 13:27:53 +02:00
Ovahlord
65a0dbadd3 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2018-09-03 07:14:17 +02:00
Keader
f83fdd7693 Scripts/Misc: Removed more UpdateEntry on InstanceScripts 2018-09-02 21:36:18 +02:00
Keader
196eee57fa Scripts/ICC: Removed not needed entrys added in last commit 2018-09-02 21:25:35 +02:00
Keader
db38a286b9 Scripts/ICC: Fixed Deathbringer after Delay zone script's OnCreatureCreate
Also removed some UpdateEntry hacks
Followup: b4a1887c4d
2018-09-02 21:25:27 +02:00
Ovahlord
c808b981f7 Core/Movement: merged smooth waypoint movement. Followup commits will be merged soon (tm) 2018-08-02 15:38:35 +02:00
Aokromes
370df76016 Scripts/Misc: Use InstanceMap* in InstanceScript instead of Map* 2018-07-28 12:59:44 +02:00
Ovahlord
d6f96df74b Fixed build 2018-07-28 02:06:06 +02:00
Ovahlord
78ed8acdcc Core/Instances: merged some master branch commits in preparation for merging the upcomming instance save rewrite 2018-07-28 02:00:24 +02:00
Ovahlord
a0e288e761 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2018-07-23 15:57:10 +02:00
Treeston
f441d36d78 Misc: Pass std::chrono types by value everywhere. 2018-07-23 13:53:13 +02:00
Ovahlord
59d169e8e4 Merge branch 'dynamicSpawnMerge' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
# Conflicts:
#	src/server/game/Entities/Creature/Creature.cpp
#	src/server/game/Entities/Object/Object.cpp
#	src/server/game/Maps/Map.cpp
#	src/server/game/Maps/Map.h
2018-07-21 23:13:55 +02:00
Ovahlord
b976bc1187 Core/Spawns: merged Dynamic Spawning 2018-07-21 20:44:41 +02:00
Ovahlord
0d46b893fc Core/Objects:
*merged 3.3.5 renaming of GetObjectSize() to GetCombatReach()
*made GetBoundaryRadius virtual and use it to determine the actual spell radius distance with it instead of using CombatReach
2018-07-13 14:50:10 +02:00
Aokromes
54a69fdd43 Revert "Scripts/Ruby Sanctum: Fixed Baltharus target amount of Enervating Brand part 2"
This reverts commit ff4859f26c.
2018-06-09 08:09:43 +02:00
Aokromes
2052f3e151 Revert "Scripts/Ruby Sanctum: Fixed Baltharus target amount of Enervating Brand"
This reverts commit 4b95dad0c9.
2018-06-09 08:09:25 +02:00
Keader
ff4859f26c Scripts/Ruby Sanctum: Fixed Baltharus target amount of Enervating Brand part 2
(I forgot the clones, ty Gildor)
2018-06-09 07:34:58 +02:00
Keader
4b95dad0c9 Scripts/Ruby Sanctum: Fixed Baltharus target amount of Enervating Brand 2018-06-09 07:34:19 +02:00
Ovahlord
1998dc1287 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScript.cpp
2018-05-17 12:44:55 +02:00
jackpoz
a5cad33ba0 Scripts/Icecrown Citadel: Fix "intended" crash
Change an assert (that can happen easily using ".npc add") to a sanity check
2018-05-12 13:23:44 +02:00
Jorge Turrado Ferrero
a8262881f9 Scripts/Ulduar: Fixed Vehicles when flame leviathan die(#21897) 2018-05-03 14:51:53 +02:00
Ovahlord
a241ee78e9 Core/Spells: merged some spell focussing and unit state changes 2018-04-29 12:54:38 +02:00
Aokromes
89d893c0b6 Core/Misc: whitespace/tab cleanup 2018-04-06 07:38:38 +02:00
ariel-
18b04b326e Scripts/ICC: use script searchers instead of saving list of creature pointers
Closes #21644
2018-03-29 00:51:39 +02:00
ariel-
4f0870cf32 And finally zmq nightmare is over 2018-03-28 06:11:01 -03:00
ariel-
5ff847159c Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources 2018-03-28 04:41:59 -03:00
Treeston
b09c808291 Scripts/Naxxramas: Fix an issue that could cause Sapphiron to stop using Drain 2018-03-12 12:21:37 +01:00
Ovahlord
e44bb5f387 Core/Entities: Phase Rework (main commit) 2018-03-08 22:58:50 +01:00
Wilcalaf
be2a17f191 Scripts/Nexus: Fixed a rare bug when sometimes Magus telestra managed to die while invisible preventing players from looting. (#21436) 2018-02-18 18:36:49 +01:00
sirikfoll
263617f81f Scripts/Icecrown Citadel: Prevent Lady Deathwhisper movement during first phase. 2018-02-18 18:00:13 +01:00
Aokromes
cbe84fa130 Core/Entities: remove grid-wide visibility from setActive and implement another method for it 2018-02-17 17:45:03 +01:00
Aokromes
ade258873e Scripts/TotC: Reduce Twin Val'kyr berserk timer from 10 minutes to 8 minutes on normal mode (match DBM). 2018-02-16 03:49:47 +01:00
Aokromes
4721d9814b Core/Scripts: Fixed some delayed enrage 2018-02-16 03:26:36 +01:00
Aokromes
9f0f00257e Core/Scripts: fix nopch 2018-02-16 01:38:48 +01:00
Treeston
c83d9d3a4b Scripts/AzjolNerub: Hadronox is a big spider mommy, and needs more room to pet her spider pets properly. Hopefully this'll reduce the number of evades happening during the encounter. Tag #20310. 2018-02-16 01:24:55 +01:00
ariel-
e6888f72e0 Core/Scripts: implemented Combined Toxins proc only from poisons 2018-02-16 01:22:39 +01:00
jackpoz
46467499f3 Scripting/Obsidian Sanctum: Fix crash
Fix crash caused by calling Reset() in constructor (which is not allowed)
2018-02-16 01:03:56 +01:00
Keader
563de5bf20 Scripts/Icecrown Citadel: Fixed Sindragosa spawn after grid unload
ty sirikfoll :)
2018-02-10 12:08:32 +01:00
Keader
a162d421ce Core/Scripts: Fixed tabs issues introduced in 5bef3e426a 2018-02-10 12:04:09 +01:00