Ovahlord
15f09fb82b
Core/Misc: fixed warnings and building connection patcher with boost versions below 1.61
2019-11-06 00:51:04 +01:00
Ovahlord
1f78a55f20
Core/Creature: ported assert crashfix that fixes a focus related crash that was happening when dismissing a warlock pet while it was casting a spell
2019-09-02 00:36:34 +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
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
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
cbfb41f0ef
Core/Creatures: fixed an edge case assert triggered by the new focus handling
...
(ported commit: 6590a0bfcefe7b8e5f87c82ba5ab4df2c72be418)
2019-08-13 01:28:05 +02:00
Ovahlord
4ba820d5dc
Core/Spells:
...
* fixed releasing spell focus when a creature enters evade mode while focusing a target
* allow the focus handling to accept self cast spells
* fixed an issue that was prevent channeled spells without a cast time being rejected for focusing
* channeled spells will now always have a focus target
* target less casts will now trigger focusing as well
2019-08-11 13:57:55 +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
7a297ccd8e
Revert "Core/Creatures: updated aggro range calculation with 335 commit data"
...
This reverts commit 75ae86d062 .
2019-07-09 10:33:31 +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: 12701cb0c6c45eb105ad449eb9a56e76d84d691e)
2019-07-08 12:19:19 +02:00
Ovahlord
ba38f74816
Core/Creature: fixed build
2019-07-08 09:55:18 +02:00
Treeston
83a25ce554
Entities/Creature: Some asserts are now LOG_ERRORs that block spawning. Fix a group spawning bug exposed by the CoS merge. Improve some command output.
...
# Conflicts:
# src/server/game/Maps/Map.cpp
# src/server/scripts/Commands/cs_list.cpp
2019-07-08 09:34:07 +02:00
Ovahlord
75ae86d062
Core/Creatures: updated aggro range calculation with 335 commit data
2019-07-06 15:22:28 +02:00
Wyrserth
d0d7c1d51b
Core/Loot: fix some other cases where a creature should not be able to set focus. ( #23415 )
2019-06-17 00:35:39 +02:00
Wyrserth
5bcfe49c7b
Core/Creature: prevent dead creatures from setting a focus target, so they won't turn when hit by certain spells. ( #23367 )
2019-06-15 16:01:32 +02:00
Ovahlord
5501502a03
Core/Movement: ported some movement flag updates from master branch in order to properly fix swim movement for creatures
2019-05-30 13:14:07 +02:00
Ovahlord
d8787c0d1b
Core/Spells: moved updating channeled orientation for tracking channel spells to creature class
2019-05-18 01:03:28 +02:00
Ovahlord
eefa94a5fe
Core/Creatures: refactored sparring handling and added all data for 85% health sparring
2019-04-28 23:18:48 +02:00
Ovahlord
3d08987773
Core/Creatures: reduced a difference between 434 and 335
2019-04-27 17:36:41 +02:00
Ovahlord
da25314178
Core/Objects: ported changes for the collision height changes when mounting up
2019-03-17 15:22:17 +01:00
Ovahlord
4474655779
Core/Objects: SetZoneScript will now use map zone coordinates instead of using the cached zone id
2019-02-25 00:39:28 +01:00
Ovahlord
0c358c9a0b
Core/Objects: use the actual hoverheight value of creatures and players to get more accurate liquid status results
2019-02-24 23:13:50 +01:00
Ovahlord
9ce72fa1d9
Core/Creatures: Reworked setting move types in database (ported commit: 592516ae69d89da3bcb0ede144644a3d2e0186e0)
...
*merged followup commits
2019-02-18 07:52:25 +01: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
1d469a3d80
Core/Objects: Update position data of gameobjects and creatures before setting their zone scripts. This fixes capture points not being assigned to their outdoor pvp zone
2019-01-26 16:23:43 +01:00
Ovahlord
7543c45c7c
Core/Objects: ported and implement custom visibility range functionality for creatures and gameobjects. Gameobjects will now get their visbility range read from their template data while creatures can be modified at will. The initial visbility distance changes has been parsed from MoP difficulty data by Kilyana
2019-01-02 15:51:56 +01:00
Ovahlord
07fd038d90
Core/Pets: merged pet chase distance correction for ranged attacking pets (Imps, Water Elementals)
2018-09-22 15:13:54 +02: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
Ovahlord
1870ce04b5
Core/Creature: merged some missed changes for dynamic spawn regarding despawn functionality
2018-09-10 02:30:04 +02:00
Aokromes
47d7f7be1c
kill whitespaces
2018-09-09 16:41:58 +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
Treeston
836a607875
Core/Scripting: Delay zone script's OnCreatureCreate until the creature has been added to map stores
2018-08-29 19:13:07 +02:00
Ovahlord
416e6b36ba
Core/Creatures: merged some minor respawn standards
2018-08-29 06:26:31 +02:00
Ovahlord
853d966c5f
Core/Creature: merged some missed changes for dynamic spawn regarding despawn functionality
2018-08-29 04:57:22 +02:00
Ovahlord
3f53afd39e
Core/Maps: fixed several issues with liquids by merging some 335 branch commits that are taking mopg flags into account
2018-08-07 12:35:02 +02:00
Ovahlord
78e0328356
Core/Movement: fixed waypoint movement commits up to 2ce9a0a094a3d86a86a9323693c93ed6a2bbcaaf
2018-08-02 16:20:02 +02:00
Ovahlord
075a79dac1
Core/Movement: first batch of followup commits
2018-08-02 16:03:19 +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
Ovahlord
d59a20701e
Core/Movement: merged more movement commits and fixed build by merging the changes done to movement generators by the header cleanup
2018-08-02 13:52:12 +02:00
Ovahlord
6cea6eee77
Core/Objects: merged some CreateObject2 related commits and ported some transport changes from 335 branch
2018-07-25 15:58:27 +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
daf6cfca70
Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
2018-07-23 11:08:45 +02:00
Aokromes
ed6053e05c
make travis happy
2018-07-22 23:39:30 +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
a241ee78e9
Core/Spells: merged some spell focussing and unit state changes
2018-04-29 12:54:38 +02:00