Commit Graph

36679 Commits

Author SHA1 Message Date
Ovahlord
fdd96aadce Scripts/TwilightHighlands: scripted first three Crucible of Carnage arena events 2020-10-30 15:15:16 +01:00
Ovahlord
e5952a6bf5 Scripts/BRC: scripted dungeon quest chain inside of Blackrock Caverns 2020-10-29 23:12:40 +01:00
Ovahlord
c6158cf137 DB/ScarletMonastery: added missing questgiver and cosmetic spawns to all wings of the Scarlet Monastery 2020-10-29 19:13:54 +01:00
Ovahlord
0008916251 Core/Creatures: skip model gender randomization for creatures that have their display ID overriden in creature table 2020-10-29 18:03:16 +01:00
Ovahlord
4a324b3b2f fixed warnings 2020-10-29 17:28:20 +01:00
Ovahlord
33f3990f38 Scripts/ScarletMonestary: reworked Mograine and Whitemane's encounter 2020-10-29 17:10:25 +01:00
Ovahlord
38f1729a8e fixed nopch for real this time 2020-10-29 15:48:06 +01:00
Ovahlord
9b3c19fa94 nopch fix² 2020-10-29 14:32:55 +01:00
Ovahlord
101d0b44ed fixed nopch build 2020-10-29 14:20:19 +01:00
Ovahlord
3a89bf19af Scripts/TheStockades: updated all scripts to modern standards and execute Alliance specific events only when an Alliance player created the instance 2020-10-29 03:57:42 +01:00
Ovahlord
5e57c8cf85 DB/TheStockades: respawned all creatures of the Stormwind Stockades and scripted most of the trash 2020-10-29 03:56:20 +01:00
Ovahlord
a1ac8a53ee DB: fixed more startup errors 2020-10-28 22:54:38 +01:00
Shauren
d6aa5e333e Core/DBLayer: Fixed memory leaks with existing SQLQueryHolder uses and eliminated the possibilty of adding more in future (replaced manual memory management with smart pointers) 2020-10-26 18:03:54 +01:00
Ovahlord
3d29ffeb1a Partial revert of af9c6b4483
send the packet to all other players instead
2020-10-24 11:24:40 +02:00
Ovahlord
af9c6b4483 Core/Units: do not send loot list packets to players when they are not in a group 2020-10-24 10:03:29 +02:00
Wyrserth
5816918c13 Core/Loot: make Loot::AddItem() honor LootItem::AllowedForPlayer() so that items that cannot be looted don't prevent skinning. 2020-10-24 09:57:29 +02:00
Ovahlord
ac8741e3bc Core/Packets: converted more packets to class 2020-10-23 12:30:45 +02:00
Ovahlord
23d56d3bc6 Core/Spells: fixed warnings 2020-10-23 00:07:37 +02:00
Ovahlord
6d37b9a455 Core/Spells: Arcane Missiles will now proc on spell cast instead of spell hit and may proc from triggered missiles 2020-10-22 23:53:51 +02:00
Ovahlord
6335bccb72 Core/Spells: reworked Druid's Eclipse Handling 2020-10-22 23:51:34 +02:00
Ovahlord
a08ab06d36 Core/Units: converted SMSG_SPELL_ENERGIZE_LOG to packet class and no longer send PowerUpdate packets when gaining power via energize spell effects 2020-10-22 23:32:45 +02:00
Ovahlord
f8c35be20c Core/Players: fixed a possible crash when trying to send spell cooldowns for spells without a category entry 2020-10-22 21:37:31 +02:00
Ovahlord
a311740d3b Core/Players: PCT spell mods are now additive as well (this got changed in 6.x) 2020-10-22 18:58:13 +02:00
Ovahlord
561cb13ceb Scripts/Ulduar: some codestyle improvements for Assembly of Iron 2020-10-22 11:51:12 +02:00
Ovahlord
72d7819c2e Core/Misc: converted more packets to packet class and implement some new fields for them 2020-10-22 08:47:24 +02:00
Ovahlord
90e5e85afd Core/Misc: updated a bunch of packets to packet class 2020-10-21 12:04:13 +02:00
Ovahlord
0fe70b3518 Core/World: fixed deleting daily and weekly lfg rewards from database 2020-10-21 10:20:29 +02:00
Ovahlord
de3379ef4d Core/World: fixed resetting daily/weekly quests during server runtime 2020-10-20 22:36:43 +02:00
Ovahlord
0781ba2b90 DB/Spells: updated and added some attack power coefficients to multiple spells 2020-10-16 17:02:01 +02:00
Ovahlord
b9d996c0b9 DB: fixed a few startup errors 2020-10-16 16:02:31 +02:00
jackpoz
f53708fec1 Core/MMAPs: Restore single slope angle of 55°
Re-generating MMAPs IS required.
Partially reverts 995a443da2 .

Having 2 different slope angles of 55° and 85° created too many polygons to fit in the current mmtile structure. This caused some polygons to become disconnected from each other, creating the old "invisible walls" effect. Because of this and because of the performance hit when loading a mmtile caused by the increase of polygon numbers, this commit reverts the recent changes and sets by default the slope angle to 55°.
Feel free to restore the previous behaviour by running .\mmaps_generator --maxAngle 85 --maxAngleNotSteep 55 , specifying the map id as number if a single map should have different slope values.
This is the last commit that will change MMAPs version to force re-generating them. Any future change that will affect only the generation settings will be optional (but recommended).

# Conflicts:
#	src/tools/mmaps_generator/PathGenerator.cpp
2020-10-16 15:56:05 +02:00
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