Giacomo Pozzoni cad41332ba Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon (#24036)
* Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon

Fix path generator returning shortcuts when start and end are on the same polygon by handling this case as if start and end were on 2 different polygons. This will ensure BuildPointPath() gets called which calls FindSmoothPath(), making sure each step is not longer than SMOOTH_PATH_STEP_SIZE (4 yards)

* Change ingame cast error message to SPELL_FAILED_NOPATH from SPELL_FAILED_OUT_OF_RANGE if the generated path is too long
2020-02-20 21:29:46 +01:00
2019-09-30 07:26:54 +02:00
2020-01-04 18:32:38 +01:00
2019-09-30 07:26:54 +02:00
2017-10-16 21:48:22 +02:00
2015-07-19 13:37:44 +02:00
2020-01-04 18:35:11 +01:00
2020-01-04 18:32:38 +01:00
2018-01-01 01:15:41 +01:00
2013-01-21 02:47:51 +00:00
2018-01-01 01:06:19 +01:00
2020-01-04 18:36:50 +01:00

logo TrinityCore

Build Status

4.3.4
4.3.4 Build Status

Introduction

TrinityCore is a MMORPG Framework based mostly in C++.

It is derived from MaNGOS, the Massive Network Game Object Server, and is based on the code of that project with extensive changes over time to optimize, improve and cleanup the codebase at the same time as improving the in-game mechanics and functionality.

It is completely open source; community involvement is highly encouraged.

If you wish to contribute ideas or code please visit our site linked below or make pull requests to our Gitlab repository.

For further information on the TrinityCore project, please visit our project website at TrinityCore.org.

Requirements

Install

Detailed installation guides are available in the wiki for Windows, Linux and Mac OSX.
You can get database from
https://github.com/TrinityCoreLegacy/TrinityCore/releases
https://t.me/tdbreleases

Notifications: https://t.me/trinitycorelegacy

Reporting issues

Issues can be reported via the Gitlab issue tracker.

Please take the time to review existing issues before submitting your own to prevent duplicates.

In addition, thoroughly read through the issue tracker guide to ensure your report contains the required information. Incorrect or poorly formed reports are wasteful and are subject to deletion.

Submitting fixes

Fixes are submitted as pull requests via Github. For more information on how to properly submit a pull request, read the how-to: maintain a remote fork. NOTE: if a fix is valid also for 3.3.5a/master branches submit them also to Github

License: GPL 2.0

Read file COPYING

Authors & Contributors

Read file AUTHORS

Site

Wiki

Documentation (powered by Doxygen)

Forums

Description
Server emulator for World of Warcraft 3.3.5.12340 and other versions
Readme 10 GiB
Languages
C++ 89%
C 10.4%
CMake 0.4%