Commit Graph

36697 Commits

Author SHA1 Message Date
Ovahlord
031363620d Core/Packets: named and handled yet another fields in SMSG_BATTLEFIELD_RATED_INFO packet. This fixes random battleground conquest rewards being displayed corrected when getting closer to the weekly cap 2020-11-02 22:17:30 +01:00
Ovahlord
8f88ac6293 Core/Packets: fixed structure of SMSG_RATED_BG_STATS, corrected namings for conquest points related fields in SMSG_BATTLEFIELD_RATED_INFO and feed them with correct infos to match sniff research results 2020-11-02 21:28:36 +01:00
Ovahlord
251f147efb Core/Players: fixed sending correct weekly cap for rated BG conquest points 2020-11-02 20:09:09 +01:00
Ovahlord
44bbd1db8b Core/Config: fixed a typo 2020-11-02 18:58:13 +01:00
Ovahlord
88024e0e74 Core/Packets: converted more packets to packet class 2020-11-02 17:51:08 +01:00
Ovahlord
90151b33c6 Core/Config: use correct config type for selecting the active rated battleground bracket from config and added sanity checks 2020-11-02 02:38:31 +01:00
Ovahlord
7adc01a4f7 Core/Battlegrounds: use correct data type for reading rated bg reward config values 2020-11-02 02:35:27 +01:00
Ovahlord
4c8fe1c08e Core/Packets: converted SMSG_BATTLEFIELD_LIST to packet class and handle remaining fields 2020-11-02 02:33:29 +01:00
Ovahlord
b513b472a6 Core/Packets: converted SMSG_RATED_BG_STATS, SMSG_PVP_OPTIONS_ENABLED and SMSG_BATTLEFIELD_RATED_INFO to packet class and named a fiew fields 2020-11-02 02:32:06 +01:00
Kenneth P. Barquero
cfecdc0fe5 Core/Battlegrounds: implement rated battleground world state allow queueing up for rated BGs
This will allow to toggle the rated battleground UI for the player, the RBG system is yet to be implemented.
2020-10-31 12:54:53 +01:00
Ovahlord
b5f765986f Scripts/TwilightHighlands: added radius scaling for Cadaver Collage's Poison 2020-10-30 23:51:52 +01:00
Ovahlord
1174e446e0 Scripts/BWD: Maloriak's Magma Jets will now only target his victim 2020-10-30 23:35:14 +01:00
Ovahlord
3926de0ba5 Core/Spells: fixed Euphoria's mana energize effect when entering an Eclipse state 2020-10-30 22:54:31 +01:00
Ovahlord
579c6c4be2 Scripts/BWD: fixed a possible edge case in which Maloriak's Consuming Flames could get increased when taking damage from non damage class magic attacks 2020-10-30 22:22:14 +01:00
Ovahlord
0bb1afbf31 DB/Creatures: corrected some creature data for Cruicible of Carnage creatures 2020-10-30 21:23:25 +01:00
Ovahlord
d07abd9f60 Scripts/TwilightHighlands: scripted event for quest The Crucible of Carnage: Calder's Creation 2020-10-30 20:05:59 +01:00
Ovahlord
961f82988d Core/Movement: allow MotionMaster::MovePoint to use velocity arguments and implement speed paramemters for SMART_ACTION_MOVE_OFFSET and SMART_ACTION_MOVE_TO_POS 2020-10-30 18:57:09 +01:00
Ovahlord
9320382d90 Core/SAI: implement SMART_ACTION_SET_AI_ANIM_KIT and SMART_ACTION_SET_HOVER 2020-10-30 18:19:10 +01:00
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