jackpoz be7d82ba8d Core/Maps: Fix Spline triggered assert
Fix an assert triggered by float to int32 cast overflowing to -1, now it replaces -1 with max int32 value.
Fix another assert triggered by Vector3 magnitude float overflow to max/infinity in StaticMapTree::isInLineOfSight(), in this case return false.

Both asserts can be reproduced by casting Mind Control to a NPC, tele to z: 1.0e+38 using client hack tools, move to allow the server to register the new position and stop Mind Control.

Closes #8970
Closes #10578
Closes #10355
Closes #10673
2013-08-30 21:27:04 +01:00
2013-01-01 00:41:01 +01:00
2013-08-30 22:17:19 +02:00
2013-01-21 02:47:51 +00:00
2013-08-18 20:11:24 +02:00
2012-10-13 03:47:14 +03:00

logo TrinityCore

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 Github repository.

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

Requirements

  • Platform: Linux, Windows or Mac
  • Processor with SSE2 support
  • ACE ≥ 5.8.3 (included for Windows)
  • MySQL ≥ 5.1.0 (included for Windows)
  • CMake ≥ 2.8.0
  • OpenSSL ≥ 1.0.0
  • GCC ≥ 4.3 (Linux only)
  • MS Visual Studio ≥ 9 (2008) (Windows only)

Install

Detailed installation guides are available in the wiki for Windows, Linux and Mac OSX.

Reporting issues

Issues can be reported via the Github 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.

License: GPL 2.0

Read file COPYING

Authors & Contributors

Read file THANKS

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%