Commit Graph

33043 Commits

Author SHA1 Message Date
Shauren
e240e5936a Core/PacketIO: Name previously unknown fields in lfg packets 2020-08-06 22:08:21 +02:00
jackpoz
3c28573d02 Core/Misc: Code cleanup 2020-08-06 22:04:46 +02:00
Ovahlord
86107584c0 Core/Packets: updated CMSG_LFG_JOIN and CMSG_LFG_LEAVE to new packet handling
(cherry picked from commit 6abeb36584)

# Conflicts:
#	src/server/game/Handlers/LFGHandler.cpp
#	src/server/game/Server/Packets/AllPackets.h
#	src/server/game/Server/WorldSession.h
#	src/server/game/Server/WorldSocket.cpp
2020-08-06 21:48:51 +02:00
Jinnaix
db9072a183 Core/Unit: Creatures' minions now engage in combat if their controller is attacked (PR #25219)
Closes #24340
2020-08-06 20:03:09 +02:00
Treeston
629908172f Core/Object: Deduplicate some checks 2020-08-06 19:46:33 +02:00
jackpoz
02a018ea13 Core/Battlegrounds: Fix error messages in Isle of Conquest
Fixes #24032
2020-08-06 18:27:32 +02:00
jackpoz
2910d0fb24 Core/SAI: Fix creatures casting spells while moving with flag SMARTCAST_COMBAT_MOVE
Fixes #24019
2020-08-06 17:59:36 +02:00
Giacomo Pozzoni
bd5e832a64 Scripts/Comamnds: Improve ".debug objectcount" command (#25208)
* Scripts/Comamnds: Improve ".debug objectcount" command

Include the top 5 most common creatures in the map

* Use C++ features to copy data

* Fix build warnings

* Update src/server/scripts/Commands/cs_debug.cpp

Co-authored-by: Shauren <shauren.trinity@gmail.com>

* Update src/server/scripts/Commands/cs_debug.cpp

Co-authored-by: Shauren <shauren.trinity@gmail.com>

* Update src/server/scripts/Commands/cs_debug.cpp

Co-authored-by: Shauren <shauren.trinity@gmail.com>

* Move CreatureCountWorker out of function and use template for unhandled cases

* Code cleanup

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2020-08-06 14:58:39 +02:00
Treeston
44a3aad0af Core/Authserver: Deprecation of sha_pass_hash (PR #25138)
see also #25157
2020-08-06 00:20:23 +02:00
Elarose
53effff9b2 DB/Misc: Add missing Scarab Coffers and update loot templates
Closes #9638
2020-08-05 20:43:11 +03:00
offl
1076d5f6f4 DB/Texts: Add BroadcastTextId to Glutton's texts 2020-08-05 20:40:35 +03:00
Cerveciento
039836e33c DB/Locale/esES Texts missing in quests (Part 10)
Closes #25207
2020-08-05 20:39:23 +03:00
Cerveciento
e9652e0814 DB/Locale/esES Texts missing in quests (Part 9)
Closes #25201
2020-08-05 20:33:59 +03:00
jackpoz
6ad6d9e670 Scripts/Kologarn: Apply CREATURE_FLAG_EXTRA_NO_COMBAT on NPC_ARM_SWEEP_STALKER and NPC_RUBBLE_STALKER 2020-08-05 18:46:02 +02:00
Gildor
174ac95800 Scripts/Naxxramas: Frogger event improvements (#25202)
* Scripts/Naxxramas: Frogger event improvements
* Prevent Living Poison accumulation
* Now Living Poison cast Explode

* check for a nearby player

* move event to the frogger trigger's AI

* Initialize and removing unnecessary things

* applying suggestions

* remove unnecessary header

* Rename 9999_99_99_99_world.sql to 2020_08_05_00_world.sql
2020-08-05 14:16:19 +02:00
Ovahlord
9bf57958e3 Scripts/World: updated Training Dummy script to modern model and removed pointless GameTime shenanigans 2020-08-05 01:19:56 +02:00
Carbenium
0dd4b685df Scripts/AzjolNerub: Fix potential error in pound spell script
Cast damage spell in AfterEffectApply instead OnEffectHitTarget. This avoids the scenario where we try to apply an aura to a potential dead target.

Ref #21856
2020-08-04 17:22:18 +02:00
Treeston
7b8b999516 Core/Common: Move old-style pointer+size HexStr methods to Trinity::Impl where they can't hurt anyone 2020-08-04 17:03:26 +02:00
Shauren
c8fed48b16 Build: Enable /permissive- flag on msvc 2020-08-04 15:50:31 +02:00
Shauren
b3db50a3b4 Core/Misc: Fix compile errors found with msvc /permissive- 2020-08-04 15:42:08 +02:00
jackpoz
df8d50c06a Core/Metric: Include Creatures and Gameobjects panels in the Performance Profiling dashboard 2020-08-04 14:17:07 +02:00
jackpoz
8ad6bd8a9b Core/Metric: Require WITH_DETAILED_METRICS CMake flag for MMaps metric 2020-08-04 14:10:33 +02:00
Giacomo Pozzoni
07fd84b679 Core/Misc: Fix static analysis issues (#25194) 2020-08-04 11:36:47 +02:00
offl
bc6137d08c DB/Texts: Remove mismatches between texts in creature_text and texts in broadcast_text 2020-08-04 02:03:51 +03:00
Cerveciento
7595b5ed40 DB/Locale/esES Texts missing in various quests (Part 8)
Closes #25200
2020-08-04 01:57:34 +03:00
Trond B. Krokli
7f2874a7ac Scripts/Outland: Convert 'Captain Tyralius' to SAI (#25188)
Closes #24676
2020-08-03 21:06:20 +03:00
Shauren
d056f24c52 Core/Crypto: Initialize class member variables after crypto refactor 2020-08-03 18:57:16 +02:00
Treeston
38de6d3307 Core/DB: Split accounts.session_key into session_key_auth (3.3.5) and session_key_bnet (master), so the branches will no longer break each other's realm switching. 2020-08-03 18:53:00 +02:00
Shauren
65e3b3cf0d Core/Authserver: Validate length of session key field after bfb041246f 2020-08-03 15:14:40 +02:00
offl
c227f66595 DB/Creature: Run action list in Reth'hedron's script even in OOC to prevent potential script stuck
Ref a2f661ea34
2020-08-03 14:52:01 +03:00
Shauren
bfb041246f Core/Authserver: Compatibility change for master branch 2020-08-03 09:33:52 +02:00
ZenoX92
a2f661ea34 DB/Quest: Add support for 'Subdue the Subduer' (11090)
Closes #6982
2020-08-03 04:41:15 +03:00
offl
18c8bbafec DB/Creature: Remove static spawns of Angered Arakkoa Protector 2020-08-03 00:12:09 +03:00
offl
aeb993a7da The Soul Cannon of Reth'hedron
Closes #4763
2020-08-03 00:10:31 +03:00
Treeston
3164b58c7d Core/Authserver: Re-organize the accounts table (PR #25135)
- no longer use sha_pass_hash for anything else core-side (.account, SOAP, RA)
- salt/verifier/session_key are now binary
- old s/v/sha_pass_hash fields kept around for backwards compatibility
- sha_pass_hash is still updated (for now), s/v are not
- sha_pass_hash is only read if s/v have been manually changed
- SRP6 b now uses the full 32 bytes of randomness (instead of randomly only using 19)
2020-08-02 22:52:21 +02:00
Cerveciento
10f49793f9 DB/Locale/esES Texts missing in various quests
Closes #25197
2020-08-02 21:28:48 +03:00
offl
ae898a4dc5 DB/Misc: Add correct teleport positions to some areatriggers and spells from sniffs
Closes #25190
2020-08-02 21:27:55 +03:00
Cerveciento
587b8c3030 DB/Locale/esES Texts missing in various quests
Closes #25173
2020-08-02 21:26:54 +03:00
offl
f72479dcb3 DB/Creature: Shadowy Tormentor (26966)
Closes #25172
2020-08-02 21:26:04 +03:00
Cerveciento
2ed215a8e0 DB/Locale/esES 'quest_greeting_locale' from various NPC
Closes #25170
2020-08-02 21:25:20 +03:00
offl
fafe10ea87 DB/Creature: Fix IC intro texts and TextRange
Closes #25165
2020-08-02 21:24:32 +03:00
offl
20f500b013 DB/Creature: Remove loot from creatures with CREATURE_DIFFICULTYFLAGS_NO_LOOT part 2
Closes #25163
2020-08-02 21:23:18 +03:00
Jinnaix
ee05744bfe DB/Loot: Important Blackrock Documents should only be lootable from a gameobject
Closes #25162
2020-08-02 21:22:12 +03:00
Cerveciento
bdcd2392d0 DB/Locale/esES Texts missing in various quest
Closes #25161
2020-08-02 21:20:58 +03:00
offl
62b63c3cfb DB/Creature: Remove loot from creatures with CREATURE_DIFFICULTYFLAGS_NO_LOOT part 1
Closes #25158
2020-08-02 21:19:50 +03:00
Cerveciento
7e965d4b75 DB/Locale/esES Missing texts in various quest
Closes #25152
2020-08-02 21:18:58 +03:00
offl
abc5ce5f90 DB/SAI: Update support for 'I'm Not Dead Yet!' (13221, 13229) & Let's Get Out of Here! (13481, 13482)
Closes #25146
2020-08-02 21:18:08 +03:00
offl
b9ba61dce4 DB/SAI: Update more scripts using CMC cast flag
Closes #25141
2020-08-02 21:17:20 +03:00
offl
8080f758cd DB/SAI: Update more scripts using CMC cast flag
Closes #25134
2020-08-02 21:16:37 +03:00
Cerveciento
eac9851341 DB/Locale/esES Missing texts in various quest and trainers
Closes #25133
2020-08-02 21:15:33 +03:00