Commit Graph

121 Commits

Author SHA1 Message Date
hondacrx 644589d6bd Core/PathFinding: Fix mmaps raycast without hit
Port From (https://github.com/TrinityCore/TrinityCore/commit/d89671dd5960a7184b060b47413dfce454cb72c4)
2022-01-07 11:22:32 -05:00
hondacrx 69da866100 Core/PathFinding: Add support to WorldObject pathfinding
Port From (https://github.com/TrinityCore/TrinityCore/commit/3729c76523f42831a0bbe9c53d9594004860001a)
2022-01-07 11:09:08 -05:00
hondacrx e71512b36e Core/PathFinding: Return raycast hitpoint when specifying straightLine
Port From (https://github.com/TrinityCore/TrinityCore/commit/313b9d2531830e6470132beb3c131527a50b9d50)
2022-01-07 11:03:10 -05:00
hondacrx 1528e28b7a Core/Movement: Add support to cyclic splines to GenericMovementGenerator
Port From (https://github.com/TrinityCore/TrinityCore/commit/a5b4d0c53976119d561924143a465c9ab38ca8a8)
2022-01-07 10:07:28 -05:00
hondacrx c6186f17bd Core/Creature: Use proper name for wander distance.
Port From (https://github.com/TrinityCore/TrinityCore/commit/72093e98e1bdbd3b83d8030d1cb50306bb04b028)
2022-01-07 09:33:54 -05:00
hondacrx e51b775636 Core/Movement: Fix WaypointMovementGenerator ignoring EscortAI::SetEscortPaused() on Gossip Hello
Port From (https://github.com/TrinityCore/TrinityCore/commit/f1f1bc01ba418056bdfd311fc9df218213e83009)
2022-01-06 10:58:06 -05:00
hondacrx 5ebe20c4ea Core/Movement: improved RandomMovementGenerator wait handling to get closer to retail behaivior
Port From (https://github.com/TrinityCore/TrinityCore/commit/cdeb752941104137c98e40e8feb8143b8dc7f076)
2022-01-06 10:27:38 -05:00
hondacrx 923a993f1e Core/MMaps: Handle path on same position
Port From (https://github.com/TrinityCore/TrinityCore/commit/0ed58b09526c5c0b8670348f4b72491852c2f1eb)
2022-01-06 10:15:16 -05:00
hondacrx 52d17c91dd Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon
Port From (https://github.com/TrinityCore/TrinityCore/commit/1a070fd1271702689314ed13351de3675e834cde)
2022-01-06 10:12:19 -05:00
hondacrx 5f81b80b8d Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd929665e564e01b5346844adb96d8fd0eb710c4)
2022-01-06 00:02:56 -05:00
hondacrx be2a51486e Core/Movement: Remove a wrong set SetWalk from HomeMovementGenerator
Port From (https://github.com/TrinityCore/TrinityCore/commit/956a3428451fbda41add44c28f762788978d4bf4)
2022-01-05 23:56:28 -05:00
hondacrx 654c9743e3 Fix fleeing speed to 66% run speed
Port From (https://github.com/TrinityCore/TrinityCore/commit/d095d4afe95125bba64312025528a2c4aab157e0)
2022-01-05 23:51:18 -05:00
hondacrx 7c43adf9f8 Core/MMaps: Fix charge underwater/falling
Port From (https://github.com/TrinityCore/TrinityCore/commit/8d32849b3493d9e819be27945ef31488d8ba6dcf)
2022-01-05 23:45:25 -05:00
hondacrx 43d3298724 Core/Movement: Fix fleeing speed to 66% run speed
Port From (https://github.com/TrinityCore/TrinityCore/commit/2327ff4d6dab16cedb5e82c50f1cdcce8983abde)
2022-01-05 23:24:23 -05:00
hondacrx c32ccf7e4e Core/Movement: Add more LOS checks
Port From (https://github.com/TrinityCore/TrinityCore/commit/1635a342284145cb4572840f2f3fdc29e4498bc3)
2022-01-05 23:19:46 -05:00
hondacrx f017da4540 Core/Taxis: teleport players to the destination taxi node location instead of their current ground position
Port From (https://github.com/TrinityCore/TrinityCore/commit/14c2a7fb92e49265071f36b65fb845ecc6dd4381)
2022-01-05 17:12:45 -05:00
hondacrx 0d68984717 Misc fixes, and added GetDebugInfo() which was missed. 2022-01-05 13:11:32 -05:00
hondacrx cf0ddc132b Core/Movement: fixed taxi pathings getting finalized earlier than intended
Port From (https://github.com/TrinityCore/TrinityCore/commit/091084353869b843f700969e017746310492bdf6)
2022-01-04 20:48:33 -05:00
hondacrx 7f053ea099 Core/Movement: Fix LoS issue of NPCs chasing targets
Port From (https://github.com/TrinityCore/TrinityCore/commit/f012d4b7fcf0376de75f09c2b59509247fd133cb)
2022-01-04 20:09:33 -05:00
hondacrx 12c9ea08ac Core/MovementGenerator: Fix crash in taxi paths
Port From (https://github.com/TrinityCore/TrinityCore/commit/2eea34fb47ade2ab3bf8d46d18a9880a007a2274)
2022-01-04 20:05:19 -05:00
hondacrx e8b154b4e2 Core/MMaps: Fix mobs evading when target is out of MMap meshes
Port From (https://github.com/TrinityCore/TrinityCore/commit/bea0e48531bae904079ea5b9f489a436e58abaed)
2022-01-04 18:49:06 -05:00
hondacrx 61391aa446 Core/Movement: add a velocity argument for the spline chain meta table
Port From (https://github.com/TrinityCore/TrinityCore/commit/a24a5e77786266ee9456fa8c422a173168804a1f)
2022-01-01 16:06:50 -05:00
hondacrx 5321cc2090 Core/Movement: handle Resume/Pause on RandomMovementGenerator
Port From (https://github.com/TrinityCore/TrinityCore/commit/f21599dc5dab71cc0775d6ed5d2b2f6f2f4c6780)
2021-12-27 15:45:44 -05:00
hondacrx ca64ca25f6 Core/FlightPath: teleport players at destination on floor Z when the flight ends
Port From (https://github.com/TrinityCore/TrinityCore/commit/a032d84cf4cf8aca262e6ca6352ad1e82b3e245f)
2021-12-22 20:25:56 -05:00
hondacrx 589d845093 Core/Movement: Fix assertion triggered in SplineChainMovementGenerator
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e28ecd22ea5ba8a7a2d0b08217aa68010b1cfc4)
2021-12-16 12:43:45 -05:00
hondacrx 4fb48f1522 Core/Vehicles: Fix accessories disappearing on reset
Port From (https://github.com/TrinityCore/TrinityCore/commit/a855e6221d517297cfb9e2e78b57a6a57fccc85a)
2021-12-07 14:19:43 -05:00
hondacrx f5695f0cf2 MMaps Updates, Needs tested.
Port From (https://github.com/TrinityCore/TrinityCore)
2021-12-02 14:50:55 -05:00
hondacrx f265073720 Misc Fixes 2021-12-01 23:08:19 -05:00
hondacrx 239b147aba Misc fixes 2021-12-01 11:45:16 -05:00
hondacrx 4ec905e0dc Core/MMaps: handle PATHFIND_INCOMPLETE in ChaseMovementGenerator as "cannot reach the target"
Port From (https://github.com/TrinityCore/TrinityCore/commit/b4cff8159e19b1f71cd1e0aa1f9b8af351aaa3f5)
2021-12-01 10:25:20 -05:00
hondacrx 334720dafe Core/Movement: Fix some undermap issues with random movement/fear/blink
Port From (https://github.com/TrinityCore/TrinityCore/commit/4fcc4a330044e84baa1f58ff13e1b4ea7775eb66)
2021-11-29 17:46:46 -05:00
hondacrx 8fbecac008 Core/Movement: Allow using run when moving randomly
Port From (https://github.com/TrinityCore/TrinityCore/commit/a57ca5cea2d13bc5d5ddee11e7b8100c7afd68e1)
2021-11-29 14:21:33 -05:00
hondacrx f218b72620 Core/Misc: Code cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/ace33a464fa442d7d8dc331839d4e3efbaf63d57)
2021-11-29 14:14:26 -05:00
hondacrx 9cdccb9a08 Core/Movement: Allow using walk when chasing v2
Port From (https://github.com/TrinityCore/TrinityCore/commit/956158d299b3264f883f49ac647154179182fbea)
2021-11-29 13:29:51 -05:00
hondacrx 7d6f782dd1 Allow walk when chasing
Port From (https://github.com/TrinityCore/TrinityCore/commit/b3f75852c284e730756a7f007b96bbae0ac3c158)
2021-11-23 22:57:55 -05:00
hondacrx d674238f7d Core/Movement: correct logic wrongly ported
Port From (https://github.com/TrinityCore/TrinityCore/commit/1c5287032affb1a402b0a6091b75997ef56e556c)
2021-11-23 20:51:22 -05:00
hondacrx ee8228582b Core/Movement: Add some extra assertions to MotionMaster.
Port From (https://github.com/TrinityCore/TrinityCore/commit/792914fb518349ef270e6f769f343bbcd333b942)
2021-11-15 22:12:20 -05:00
hondacrx b026ee7ef8 More cleanups of custom classes in favor of .NET runtime types. 2021-11-15 18:04:57 -05:00
hondacrx ba26dd0a68 Movement/TaxiPath: Properly clean up list of taxi destinations upon arrival at final node.
Port From (https://github.com/TrinityCore/TrinityCore/commit/390001fa624ef996d2ae5331e201f9e2d640211b)
2021-11-03 16:21:01 -04:00
hondacrx 78a466e5b6 Core/Unit: Some charm fixes:
Port From (https://github.com/TrinityCore/TrinityCore/commit/34f9666f209ab3f281bf81de92c4bc1a164b0059)
2021-11-02 14:14:58 -04:00
hondacrx 26940fa650 Core/AI: Clean up charm AI handling.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e4e8c1c59c8b37216814526b4d2551f23934f465)
2021-10-31 13:55:26 -04:00
hondacrx 5675589bd2 Core/Movement: Prevent NO_PATH evades from incorrectly happening in a few places.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6f0e58cce0088dd030d5bf85ae03e9d942241800)
2021-10-30 20:01:28 -04:00
hondacrx a4f115366b Core/Movement: Properly resume chase/follow movement if it was paused by a spell cast.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d2423b7334915c60225103863c3ffae3831719b)
2021-10-17 09:25:04 -04:00
hondacrx b759f6204f Fixes npc not chasing, Also fixes auras not being applied. 2021-10-13 18:12:24 -04:00
hondacrx 7ef98b794d Fixes a server freeze 2021-10-01 18:08:16 -04:00
hondacrx 3e040d6688 Core/Movement: shield ChaseMovementGenerator against a potential crash
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d9e544c2072b6fba2bf978066edbd3f5c519034)
2021-09-29 19:25:46 -04:00
hondacrx 8d052d7d51 Core/Movement: adjust deactivation/reset logic inside GenericMovementGenerator
Port From (https://github.com/TrinityCore/TrinityCore/commit/4487933bd078c2d0087610de967f69f46cf4da60)
2021-09-29 19:23:47 -04:00
hondacrx 5ace2d2c55 Core/Movement: prevent double initialization calls if the generator was deactivated before being initialized
Port From (https://github.com/TrinityCore/TrinityCore/commit/30583be0252ff02f190e74d6f5a69da3e5ea7bb5)
2021-09-29 18:35:14 -04:00
hondacrx a968772bad Core/Movement: MotionMaster reimplementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/426f9f2f92b26fbb68e7cda9290ccbd586c6af4e)
2021-09-29 18:24:37 -04:00
hondacrx 62afe3bf8e re-enable CreatureAI::MovementInform for Chase/FollowMovementGenerator - didn't realize any AI used this
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f0f530c0859982bc2c0c230d928aa3fc8d86d23)
2021-09-26 17:27:33 -04:00