Commit Graph

36648 Commits

Author SHA1 Message Date
Giacomo Pozzoni
1de869764d Tools/MMapsGenerator: Add some more input parameters to improve mmaps load performances (#25520)
* Some research about mmaps load performances

* Tools/MMapsGenerator: Add some more input parameters

Add some more input parameters which affect the resulting mmaps:
- --smallOutputSize: sets both walkableSlopeAngle and walkableSlopeAngleNotSteep to 55°, reducing by a lot the .mmtile size and the number of polys. A rcFilterLedgeSpans() call is included too to filter out some polys. Default to false.
- --maxAngle: Restore this parameter removed some commits ago. Specifies the max walkable angle of a Creature when in combat. Default to 85
- --maxAngleNotSteep: Max walkable angle of a Player and of a Creature out of combat. Must be less or equal than --maxAngle. Default to 55.

A performance profiling comparison highlighted that .mmtile load grows exponential with the number of polys. A small server with GridUnload enabled and without preloading all grids on startup will be more affected than a big server with GridUnload disabled and preloading grids on startup.
# Conflicts:
#	src/tools/mmaps_generator/PathGenerator.cpp
2020-10-16 15:50:59 +02:00
Treeston
c34533432a AI/CreatureAI: Properly update Victim even while spell focusing 2020-10-16 15:45:39 +02:00
Ovahlord
a6a1c619f5 Core/Spells: reverted 6c34d8b5ce since the new place for the hook call does conflict with other hook calls which are already handled 2020-10-02 19:31:55 +02:00
Ovahlord
6c34d8b5ce Core/Spells: relocated SPELL_FINISHED_CHANNELING_COMPLETE handling to a better place 2020-10-02 19:04:33 +02:00
Shauren
0f60c4d820 Core/Players: Corrected logic determining contested/friendly/hostile area types 2020-10-02 18:53:07 +02:00
Ovahlord
973d4a139a Core/Spells: fixed DK T12 dps 2p and 4p bonus effects 2020-10-01 22:20:29 +02:00
Ovahlord
616e50cb55 Core/Spells: fixed Blood DK T12 2p Bonus 2020-10-01 21:40:03 +02:00
Ovahlord
321a9d2b0a Scripts/Ulduar: added more cleanup mechanics to Runemaster Molgeim 2020-10-01 21:00:45 +02:00
Ovahlord
82a5ba527e Scripts/Ulduar: restored boundary functionality for Assembly of Iron encounter 2020-10-01 20:45:51 +02:00
Ovahlord
af164c8ace Scripts/Ulduar: minor cleanup 2020-10-01 20:28:56 +02:00
Ovahlord
d753df4ae9 Core/Spells: improved spell finish reason enum naming for finished channeled spells 2020-10-01 20:24:03 +02:00
Ovahlord
40afd8a20e Core/Units: prevent units from dropping under map surfaces when disabling hover movement 2020-10-01 17:00:51 +02:00
Ovahlord
e04389e539 Scripts/Ulduar: reworked Assembly of Iron encounter 2020-10-01 16:59:18 +02:00
Ovahlord
f1ef08fc84 Core/Movement: added optional velocity argument for MotionMaster::MoveTakeoff helper to manually specify velocity values 2020-09-29 17:40:31 +02:00
Ovahlord
ece5fe65c0 DB/Trainers: fixed remaining Death Knight trainers in Acherus 2020-09-28 23:24:29 +02:00
Ovahlord
84a5437001 Core/Spells: updated Lava Surge spell scripts to new model and added db proc entry 2020-09-28 21:05:34 +02:00
Ovahlord
f3696e6cff DB/Loot: reverted Magmaw's token drop removal 2020-09-28 20:38:17 +02:00
Ovahlord
1ae2b2f4bb DB/VP: corrected health value for Howling Gale 2020-09-28 20:10:06 +02:00
Ovahlord
9bf4685de7 DB/Loot: Chimaeon will now correctly drop 2 items on heroic difficulty and removed incorrect token drops from Magmaw 2020-09-28 20:01:51 +02:00
Ovahlord
84760e8a10 Scripts/VP: fixed a warning 2020-09-28 19:39:08 +02:00
Ovahlord
df60a4d848 Scripts/VP: minor cleanups and improved Holwing Gale behaivior
* Howling Gale will no longer get stuck in combat when applying periodic damage effects on them
* When damaging a Howling Gale, the target will now stop casting any knockbacks for 10 seconds before slowly starting to build up again
2020-09-28 19:36:22 +02:00
Ovahlord
44be244ced Core/Units: remove excessive spam of animation tier spline update packets on every movement update 2020-09-28 19:33:14 +02:00
Ovahlord
059dff081c Core/Units: fixed a typo in Lava Burst crit chance bonus 2020-09-27 18:16:07 +02:00
Ovahlord
0528189e62 Core/Spells:
* Atramedes' Sonar Pulse will now always target 4 players
* Atramedes' Sonar Bomb will now target 5 targets in 10 player mode and 12 targets in 25 player mode
2020-09-27 18:08:45 +02:00
Ovahlord
6594fb650d Core/Spells: fixed Relentless Strikes talent 2020-09-27 17:21:37 +02:00
Ovahlord
bf78c98459 Core/Spells: Lava Bursts that have been triggered by Elemental Overload will now crit as well when the target has been affected by Flame Shock 2020-09-27 16:35:55 +02:00
Ovahlord
35b07faf2b Scripts/Quests: scripted Launch Quest spells and use them to launch the 'A Personal Summon' quests when entering Stormwind or Orgrimmar 2020-09-26 19:57:05 +02:00
Ovahlord
941194018d Core/Players: reduce excessive casting of spell_area spells by casting them only when zone and area ids actually change 2020-09-26 19:38:49 +02:00
Ovahlord
175d84495e DB: rename sql files 2020-09-26 15:49:35 +02:00
offl
bbdf620ffa DB/Creature: Change flight state CanFly to DisableGravity part 2
Updates #6148
2020-09-26 15:47:06 +02:00
offl
cd5e46bb42 DB/Creature: Change flight state CanFly to DisableGravity part 1
Updates #6148

That fish in Dalaran aquarium is finally visible
2020-09-26 15:47:00 +02:00
Ovahlord
3c2ae9c5cf DB/Spells: added missing elixir spells to Battle Elixir spell group 2020-09-26 15:43:46 +02:00
Ovahlord
164fe1890e Scripts/BWD: Lightning Conductor will now get removed when Lord Victor Nefarius transforms the target into a Shadow Conductor 2020-09-26 15:11:36 +02:00
Ovahlord
ba78de9354 DB/Creatures: added velocity values for the cyclic splines of Ban'thalos, Xariona, Tank and Blazewing 2020-09-25 00:10:53 +02:00
Ovahlord
bf04bd36db Core/Units: do not update facing for mind controlled creatures 2020-09-24 14:31:18 +02:00
Ovahlord
361ac2292b Core/Movement: add velocity field to waypoint_data to allow specifying custom speed value for waypoints and cyclic splines
* standartized member naming in WaypointNode and WaypointPath struct
2020-09-24 14:30:48 +02:00
Giacomo Pozzoni
8bbe17c684 Core/Creature: Ignore combat reach when looking for assisting creatures 2020-09-24 00:37:11 +02:00
Ovahlord
d2790a4c32 Core/Spells: cleaned up and updated Envenom spell script to Cataclysm
* fixed the spell script not changing the dealt damage at all
2020-09-23 20:48:45 +02:00
Ovahlord
adffbaf375 Core/Units: restrict target guid based turning to creatures only 2020-09-23 20:48:45 +02:00
Ovahlord
c9afa1a6ed Core/Units: renamed SetInFront to SetOrientationTowards to clarify its actual functionality and added comments to SetOrientationTowards, SetFacingTo and SetFacingToObject 2020-09-23 20:48:44 +02:00
Ovahlord
0a480f3ae8 Core/Units: update internal facing of units on every update tick when a target guid or a tracking channeled spell is being used 2020-09-23 20:48:43 +02:00
TDB Release
3e5ff77e0d TDB 434.20091 - 2020/09/22 2020-09-22 00:58:18 +00:00
funjoker
2e6d05434c DB/Misc: Set default charset for auth and characters to utf8mb4 in create_mysql.sql 2020-09-22 01:26:57 +02:00
funjoker
6e77dc8f78 DB/Core: Converted hotfix database charset to utf8mb4
Update DBUpdater to create databases with utf8mb4
2020-09-22 01:22:59 +02:00
Ovahlord
0fe8d6e7f2 DB/Creatures: spawned Xariona and added cyclic spline path for her 2020-09-21 00:53:49 +02:00
Ovahlord
64a48500c2 DB/Creatures: added cyclic spline data to Tank, Ban'thalos and Blazewing 2020-09-21 00:34:38 +02:00
Ovahlord
27c1fd6aee Core/Movement: implement cyclic spline database support 2020-09-21 00:32:55 +02:00
Ovahlord
a7cd689bb8 DB/Spells: Malestrom Weapon will now get consumed by Healing Rain 2020-09-20 00:15:48 +02:00
xvwyh
6342b0def2 Core/PathFinding: Fix GetPathPolyByPosition() using only 2D distance instead of 3D
Signed-off-by: jackpoz <giacomopoz@gmail.com>
2020-09-19 21:41:31 +02:00
Ovahlord
f067228bd7 Core/Spells: allow the channel target tracking to bypass no turn unit states 2020-09-19 20:22:51 +02:00