Commit Graph

23131 Commits

Author SHA1 Message Date
Chaouki Dhib
2d114ea560 Core/Movement: Improve client control logic (#26348) 2021-05-16 13:16:08 +02:00
Ovahlord
edcaac6c95 Core/DBLayer: escape MySQL keywords in page_text, page_text_locale, broadcast_text and broadcast_text_locale select queries
(cherry picked from commit d4f71131f0)

# Conflicts:
#	src/server/game/Globals/ObjectMgr.cpp
2021-05-15 13:37:02 +02:00
jackpoz
22a5b0fcde Core/Pet: Fix assert triggered by e203ecda88 2021-05-11 20:46:45 +02:00
HelloKitty
e33c4b8f7f Core/Map: Added Map::SetZoneOverrideLight std::chrono overload (#26486)
* Core/Map: Added Map::SetZoneOverrideLight std::chrono overload

* Scripts: Replace Map::SetZoneOverrideLight usages with new std::chrono overload

* Core/Map: Remove non-chrono Map::SetZoneOverrideLight overload
2021-05-11 12:33:05 +02:00
Edder
fb88a1409f Core/Vehicle: Setting home position of creature passenger on AtEngage (#26482)
Co-authored-by: Edder <d.rosenauer@gmail.com>
2021-05-11 09:56:32 +02:00
Mikhail Redko
6c12f45f3b Core/Console: Improve ReadWinConsole logic and cosmetic changes (#26402)
* Core/Console: Improve ReadWinConsole logic and cosmetic changes

* Core/Console: Fixed possible appearance of weird characters in the console when printing the output of child processes

* Fix codestyle

* Removed auto

* Core/Misc: Explicit casting Difficulty values to uint8 before outputting to console

* Core/Misc: Cast Difficulty to uint32 for output to console

Co-authored-by: jackpoz <giacomopoz@gmail.com>
2021-05-11 09:55:57 +02:00
Giacomo Pozzoni
e203ecda88 Core/Pet: Attempt to fix assertions triggered when summoning pets (#26501)
* Core/Pet: Attempt to fix an assertion triggered when re-summoning the current pet

* Core/Pet: Attempt to fix an assertion triggered when stabling a pet while in a vehicle

* Core/Pet: Attempt to fix an assertion triggered when stabling a pet and casting spell 6962

* Core/Pet: Attempt to fix an assertion triggered when casting spell 6962 while being dead

* Core/Pet: Attempt to fix an assertion triggered when summoning a pet while on vehicle 34775

* Handle cases in a generic way

* Code cleanup

* Core/Pet: Attempt to fix an assertion triggered when summoning a pet while on vehicle 34775 with a new character
2021-05-10 22:01:41 +02:00
Shauren
3b95d3dcf9 Core/PacketIO: Fixed SMSG_GUILD_EVENT for empty MOTD broken after cd28423a4e
Closes #26522
2021-05-10 13:09:59 +02:00
offl
79944605c6 DB/Creature: Fix recently broken The Etymidian's script 2021-05-06 17:09:16 +03:00
ihm-tswow
471e5af32d Core/Game: Fix cache path with git flow branches (#26494)
- git flow may put forward slashes in branch names, so we cannot assume we are just creating one directory.
2021-05-05 21:36:26 +02:00
robinsch
8c0e6e9ee4 Core/SAI: Prevent loading invalid smart_scripts entry (#26508) 2021-05-05 21:35:51 +02:00
schell244
2ac7499f66 Core/Sounds - added missing victory near sound for Arathi Basin (3.3.5) (#26477)
* added missing victory near sound for arathi basin

* switch sound id's

Co-authored-by: schell244 <>
2021-04-27 21:11:54 +02:00
offl
d9670cec6d Scripts/DTK: Update King Dred to new model (#26464)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-04-26 09:24:27 +02:00
offl
7de6e75663 Scripts/POS: Update instance scripts to new model (#26467)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-04-26 09:20:07 +02:00
offl
87ba4a7615 Scripts/POS: Update Tyrannus to new model (#26466)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-04-26 09:19:30 +02:00
offl
b5cc63873d Scripts/POS: Update Garfrost to new model (#26465)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-04-26 09:18:52 +02:00
offl
9f188d70fe Scripts/Alterac: Update remaining scripts to new model (#26469)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-04-26 09:18:15 +02:00
offl
0d9125d8e4 Scripts/Eye: Update Void Reaver to new model & few misc changes (#26470)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-04-26 09:17:05 +02:00
offl
2b6632e50a Scripts/Mechanar: Update gatewatchers to new model (#26471)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-04-26 09:12:15 +02:00
Shauren
2f04c48919 Core/PacketIO: Reduce size of SMSG_UPDATE_OBJECT by trimming trailing zeros in values updatemask 2021-04-25 14:56:25 +02:00
Shauren
ab1a5b7fc8 Core/Commands: Fixed logging gm commands that accept hyperlink arguments and use legacy handlers
Closes #26462
2021-04-25 14:22:30 +02:00
Edder
3e407c7d1c Core/Quest: Threat From Above (#26468)
* [Quest] Threat From Above #26355

* [Quest] Threat From Above TrinityCore#26355

* Core/Quest: Threat From Above #26468 - modified sql according to guidelines; added override keyword

* Rename 2021_04_24_00_world.sql to 2021_04_25_00_world.sql

Co-authored-by: Edder <d.rosenauer@gmail.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-04-25 11:36:54 +02:00
killerwife
d5f1fefe7f Vmap: Introduce skipping of antiportals and unreachable mogp (#26331)
* Vmap: Introduce skipping of antiportals and unreachable mogp

* Reduce differences with master branch

* Update VMAP and MMAP versions

* Update MMAPs version

Co-authored-by: jackpoz <giacomopoz@gmail.com>
2021-04-24 14:58:16 +02:00
offl
8db2ef9cdd Scripts/Naxxramas: Slightly update Grobbulus (#26459) 2021-04-23 19:59:13 +03:00
offl
1a19d538f6 Scripts/Naxxramas: Slightly update Patchwerk (#26458) 2021-04-23 19:56:24 +03:00
offl
1c0029321a Scripts/Oculus: Update instance scripts to new model (#26445) 2021-04-20 17:42:16 +03:00
offl
f05e0360fc Scripts/Oculus: Update Varos to new model (#26444) 2021-04-20 17:42:06 +03:00
offl
2a57b6627f Scripts/Oculus: Update Urom to new model (#26443) 2021-04-20 17:41:57 +03:00
offl
2c1f14e0e2 Scripts/Oculus: Update Eregos to new model (#26442) 2021-04-20 17:41:46 +03:00
offl
87422fe015 Scripts/Nexus: Update Ormorok to new model (#26441) 2021-04-20 17:38:57 +03:00
offl
abed54bf27 Scripts/Nexus: Update Commander to new model (#26440) 2021-04-20 17:38:46 +03:00
offl
dfdf892f89 Scripts/Nexus: Update Telestra to new model (#26439) 2021-04-20 17:38:36 +03:00
offl
08fc6314d0 Scripts/Nexus: Update Keristrasza to new model (#26438) 2021-04-20 17:38:27 +03:00
offl
158f877a4e Scripts/Gundrak: Update Moorabi to new model (#26437) 2021-04-20 17:38:17 +03:00
offl
ab46e6587f Scripts/Gundrak: Update Galdarah to new model (#26436) 2021-04-20 17:38:07 +03:00
offl
ebf05f1c4e Scripts/Gundrak: Update Eck to new model (#26435) 2021-04-20 17:37:56 +03:00
offl
6298af57d9 Scripts/HoS: Update instance scripts to new model (#26434) 2021-04-20 17:35:06 +03:00
offl
5d3bafdbab Scripts/HoS: Update Sjonnir to new model (#26433) 2021-04-20 17:34:57 +03:00
offl
055784d097 Scripts/HoS: Update Maiden to new model (#26432) 2021-04-20 17:34:47 +03:00
offl
463765ebae Scripts/HoL: Update Volkhan to new model (#26431) 2021-04-20 17:34:36 +03:00
offl
3f1fc262ac Scripts/HoL: Update Loken to new model (#26430) 2021-04-20 17:34:27 +03:00
offl
6e36a2007c Scripts/HoL: Update Ionar to new model (#26429) 2021-04-20 17:33:48 +03:00
offl
642796f3f2 Core/Creature: Create & use CREATURE_FLAG_EXTRA_IGNORE_FEIGN_DEATH (#26448)
Co-authored-by: offl <offl@users.noreply.github.com>
2021-04-19 00:35:21 +02:00
Gildor
1456be7eee Scripts/RubySanctum: Improve Halion boundary (#26426) 2021-04-17 12:53:07 +02:00
offl
4ee6b67a84 Scripts/Azjol-Nerub: Preparing for updating to new model (#26425) 2021-04-16 20:15:08 +03:00
offl
dadbd4cdab Scripts/Nexus: Update Anomalus to new model (#26424) 2021-04-16 20:14:58 +03:00
offl
82969a691c Scripts/Oculus: Update Drakos to new model (#26423) 2021-04-16 20:14:49 +03:00
offl
e5a34d94a6 Scripts/HoL: Update Bjarngrim to new model (#26422) 2021-04-16 20:14:40 +03:00
offl
19606ea1e7 Scripts/HoS: Update Krystallus to new model (#26421) 2021-04-16 20:14:29 +03:00
offl
7bd3a36d52 Scripts/ML: Update Magtheridon to new model (#26420) 2021-04-16 20:14:19 +03:00