Commit Graph
484 Commits
Author SHA1 Message Date
Artamedes 57992c4f0d Core/PacketIO: Update UpdateFlags for SMSG_UPDATE_OBJECT movement update (#9)
* Core/PacketIO: Update UpdateFlags for SMSG_UPDATE_OBJECT movement update

* 1

* Core/NetworkOI: corrected connection type for SMSG_MOVE_UPDATE

* suggestions
2019-10-15 19:11:15 +02:00
sun c98c92b902 Core/PacketIO: Restore SMSG_DESTROY_OBJECT removed in 92816c0f17
- this packet was removed in WoD not 4.3.4...
2019-10-07 14:53:36 -04:00
Ovahlord adec9f98e0 Core/Transports: fixed displaying transport movement after relogging with a already moved transport 2019-10-05 05:23:59 +02:00
Ovahlord c68e39d074 Core/Transports: solved all remaining visual issues for transports 2019-10-05 03:46:31 +02:00
Ovahlord ba3084d1a4 Core/Transports: fixed a typo that was causing client crashes uppon relogging outside of instances 2019-09-15 19:57:30 +02:00
Ovahlord a1b90f3285 Core/Transports: solved several visual issues with transports which was causing them to move significantly slower than intended 2019-09-15 05:37:22 +02:00
Ovahlord 7cbd370c7d Core: fixed another warning and fixed build 2019-07-25 01:17:52 +02:00
Ovahlord 9435d6aeb2 Core: fixed some warnings 2019-07-25 01:16:55 +02:00
Ovahlord 01cca0513f Core/Objects: fixed display DynObjects and Gameobjects on transports (again) 2019-07-24 22:45:49 +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 29b952c797 Core/Transports: replace getMSTime with GetGameTimeMS 2019-05-27 15:46:22 +02:00
Ovahlord 9c40b2aba1 Core/Objects: removed some unnecessary update field handling 2019-05-25 11:32:49 +02:00
Ovahlord ab95871811 Core/Objects: replaced another IsFlying check with CanFly to make sure that hovering creatures will get their ground height returned properly
*also fixed a small typo in path generator
2019-05-06 02:30:24 +02:00
jackpoz 0020ea9f92 Core/Maps: Fix crash caused by setActive(false) called after DespawnOrUnsummon()
Fix crash caused by WorldObject::setActive(false) called after WorldObject::DespawnOrUnsummon() happening because the WorldObject would be set as not active but then Map::RemoveFromActiveHelper() would not be called because of not being in world anymore.
Whenever setActive() gets desync'd with what Map actually contains a rare crash would happen since Map only reads a few values of the active WorldObject, making it hard to reproduce. If this happens again some ASSERT calls should be added (or a check in Map::RemoveFromMap() could be added about if the WorldObject is in Map::m_activeNonPlayers container).
2019-04-27 21:08:52 +02:00
Ovahlord e5d59d5f98 Core/Object: Range check (#23179) (ported commit: 32e1de39a26628dcb64bc21ad415afb2ad938925) 2019-04-26 18:41:31 +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 c98be9d2d7 Core/Objects: merged new changes from undermap issue fixup PR 2019-03-17 12:29:08 +01:00
Ovahlord 7ccd3f9d8d Core/Objects: restore the original UpdateAllowedPositionZ helper from TC to fix some broken mechanics in terms of disabling gravity 2019-03-05 22:07:36 +01:00
Ovahlord ac3e401c2f Core/Objects: removed unneeded combat reach calls from several distance helpers as they need another commit to be merged before 2019-03-05 21:39:42 +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 d9c57aaf58 Core/Units: updated hover handling to 4.3.4
* SetHover now uses SMSG_SET_PLAY_HOVER_ANIM for playing unit hover animations
* UpdateObject packets will now use the corresponding bit to make units hover
2019-02-24 22:41:54 +01:00
Ovahlord fda1f556af Core/DataStores: use generated member names for AreaTable.dbc
*load all fields of AreaTable.dbc
2019-02-24 00:51:54 +01:00
Ovahlord fa4be652a0 Core/Objects: added missing changes to last commit 2019-02-23 22:40:38 +01:00
Ovahlord 43cc7ce7f3 Core/Spells: Fixed spells using MovePositionToFirstCollision for selecting target position getting Z coord offset by caster or target collision height (depending on spell target type) (ported commit: d63d15c505708d175c52d87afc76cbe4ac59497b) 2019-02-20 21:30:52 +01:00
Ovahlord d51d40d39f Core/Maps: re-added half-height values for collision checks 2019-02-20 17:31:24 +01:00
Ovahlord 785b6c9837 Core/Maps: use correct map pointer to get grids in GetWaterOrGroundLevel 2019-02-20 02:04:01 +01:00
Ovahlord 911f8636c9 Core/Objects: fixed remaining differences for collision height code and fixed an issue that was causing units getting summoned in the air 2019-02-19 17:56:35 +01:00
Ovahlord 8b8568a76a Core/Movement: fixed differences between 335 and 434 branch 2019-02-18 03:39:34 +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 d3aa72471e Core/Maps: removed GetBaseMap in order to fix a gridmap crash 2019-02-09 22:23:10 +01:00
Ovahlord 7edabcbd88 Core/Movement: ported and merged Follow and Chase movement generator rewrite 2019-02-07 23:51:45 +01:00
Ovahlord f96ac29e5b Revert "Core/Objects: use the new transport path progress timer for sending out transports"
This reverts commit 06934d96b6.
2019-01-04 21:38:44 +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 06934d96b6 Core/Objects: use the new transport path progress timer for sending out transports 2018-12-31 20:58:10 +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 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 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 4692c0ff6f Core/Maps: restored some older codes until the corresponding commits has been merged and (fixed?) a crash regarding terrain swap map area id's 2018-07-22 00:49:23 +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 0f32e2d263 Core/Spells: merged a radius calculation from 3.3.5 that covers the attempted fix from last commit 2018-07-13 15:17:54 +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
Ovahlord 46cad2a53c Core/Transports: fixed generic elevators such as in Orgrimmar
* fixed Lady Deathwhisper's Elevator
* use a better value for returning to stop frame 0
2018-06-23 17:53:56 +02:00
Ovahlord a659a8fa2d Scripts/BoT: initial work on Theralion and Valiona
Todo:
*Valiona's Deep Breath mechanic and phase switch
*Twilight Realm hostiles
*Heroic abilities
2018-05-12 23:13:04 +02:00
Ovahlord dac4772341 Core/Creature: fixed some spacing 2018-05-06 23:29:41 +02:00
Ovahlord cfee8a09a1 Core/Maps: Fixed loading vmaps and mmaps in instances
(ported commit b773d9997bdd723cad8c646170e025a48f140f1d)
2018-05-06 18:47:51 +02:00
Ovahlord 891422379b Core/Objects: simplified and corrected hover height addition for flying creatures 2018-04-25 13:59:53 +02:00