Commit Graph

37441 Commits

Author SHA1 Message Date
Giacomo Pozzoni
97c1d01cbb Core/Pooling: Remove respawn times from the database when despawning a pool (#24422)
* Core/Pooling: Remove respawn times from the database when despawning a pool

Remove respawn times from the database when despawning a pool. This is needed when a Game Event ends but there are still some respawn times saved in the database.

* Remove respawn time of active pool objects even if they are not spawned

(cherry picked from commit 4f33fd3932)
2022-01-01 14:02:00 +01:00
Killyana
281e695c56 Creature: Gorkun Ironskull & Martin Victus in The Pit of Saron
Still some events are missing in this instance

(cherry picked from commit d0f9ace679)
2022-01-01 13:48:05 +01:00
Aokromes
9d70595957 Misc: Deprecate mysql 5.6
(cherry picked from commit 0fa366cbda)
2022-01-01 13:29:04 +01:00
Shauren
2f17038373 Scripts/Eye of Eternity: Fixed The Focusing Iris not respawning on wipe
Closes #22948

(cherry picked from commit f57b1e27d0)
2022-01-01 13:28:41 +01:00
Shauren
ba69c91f4b Core/Spells: Fixed checking free inventory space for some spells that have bad dbc data
Closes #24423

(cherry picked from commit 18b36734f6)
2022-01-01 13:28:04 +01:00
Killyana
a020c4ad7c DB/SAI: Har'koa
(cherry picked from commit 81a09eb03e)
2022-01-01 13:09:55 +01:00
Killyana
dbcac4f282 DB/Creature: Ahn'kahar Watcher
(cherry picked from commit 2d72439b06)
2022-01-01 13:09:25 +01:00
Killyana
22697db18b DB/Quest: Add a missing text for the quest Rescuing Evanor and fix a gob flag
Reduce 25724 respawntime to 1min

(cherry picked from commit 8fe2e66f2f)
2022-01-01 13:08:08 +01:00
dr-j
dcb868e44f DB/SAI: Improvements for Writhing Mound event
(cherry picked from commit aafe303fc4)
2022-01-01 13:07:22 +01:00
Giacomo Pozzoni
a947ee1912 Core/SAI: Allow SMART_TARGET_ACTION_INVOKER to target GameObjects (#24416)
* Core/SAI: Allow SMART_TARGET_ACTION_INVOKER to target GameObjects

* Include new Coalesce(..) template by @Shauren

(cherry picked from commit 90b00288c2)
2022-01-01 13:06:27 +01:00
dr-j
c0c867e6e5 DB/Quest: Hard to Swallow
Closes #23915

(cherry picked from commit 6424630667)
2022-01-01 12:59:09 +01:00
jackpoz
68d947d42f Core/Log: Log all character kicks to "network.kick" category
(cherry picked from commit 31018c3652)
2022-01-01 12:56:24 +01:00
jackpoz
dbb0f399fa Core/NetworkIO: Adjust more packet throttling values
Thanks @Nefertumm at f5e38a7f57 for the heads-up

(cherry picked from commit 68fcd592f8)
2022-01-01 12:44:07 +01:00
jackpoz
33e495983b Core/Movement: Add safety check to avoid C++ undefined behaviour
(cherry picked from commit 67f28adaf7)
2022-01-01 12:42:31 +01:00
Ovah
d18d2b84f2 Core/Objects: cache current liquid status of objects when updating position data and use it to replace unnecessary vmap lookups (#24399)
* dropped unneeded IsUnderwater override for players since the default position data update considers collision height already so we don't have to rely on that tempfix anymore. This actually fixes breathing bars showing up depending on your characters size (gnomes get their breathing bar earlier, taurens later etc)

(cherry picked from commit bea850fb73)
2022-01-01 12:42:17 +01:00
Aokromes
fa1eb9f36f Misc: Update (C) year
happy new year
2022-01-01 09:08:49 +01:00
Shauren
9f76071108 Core/Misc: Remove whitespace at the end of lines 2022-01-01 01:25:04 +01:00
kvolk2git
285e3a1ed2 Core/DBUpdater: Fixed db auto updater for mysql 8 when ssl connections are enabled (#27298)
(cherry picked from commit 57617e215b)
2022-01-01 01:11:58 +01:00
Shauren
3b4a2a0a94 Core/DBLayer: Fix compilation with mysql 8
(cherry picked from commit 579d41acc5)
2022-01-01 01:10:25 +01:00
Shadow
321bc3ccfa Missing rbac permissions (#24253)
* Added missing RBAC permissions to auth database

* Rename 9999_99_99_99_auth.sql to 2020_04_07_00_auth.sql

* Update 2020_04_07_00_auth.sql

* Update auth_database.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit d962624d61)
2022-01-01 01:09:52 +01:00
myuzhobcplidtkieno
de5f7edede Added the ability to use TLS when connecting to a database. (#24348)
* Added the ability to use TLS when connecting to a database.

* Trying to kickstart CI checks

* Revert the kickstart change

Co-authored-by: myuzhobcplidtkieno <myuzhobcplidtkieno@github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit ae553f8966)
2022-01-01 01:07:52 +01:00
jackpoz
d0e1794d99 CI/Circle CI: Show codestyle instructions
Show a short comment about how to fix the codestyle errors

(cherry picked from commit dcd2ffdaf4)
2022-01-01 01:07:15 +01:00
Killyana
55ef3366bb DB/GameObject: Link "Floating, Medium - MFF" gobs to Midsummer Fire Festival
Closes #24400

(cherry picked from commit 09b22fd4a5)
2022-01-01 01:06:55 +01:00
Killyana
14ca12931d DB/Quest: Conversing With the Depths
Fix the reset of the gob and allow the second action list to override the first one and fix the cosmetic npc trigger position

(cherry picked from commit 46d38526a9)
2022-01-01 01:04:22 +01:00
jackpoz
95de1db5fc Scripts/Guards: Fix spell cast spam after killing npc_air_force_bots guards
(cherry picked from commit 0844ad2ff0)
2022-01-01 01:02:17 +01:00
jackpoz
f1f8af9c5f Core/Misc: Replace tabs with spaces
(cherry picked from commit cb41c8828f)
2022-01-01 01:01:42 +01:00
jackpoz
da25846615 CI/Circle CI: Add codestyle check
Tabs are not allowed, use 4 spaces instead

(cherry picked from commit 5f29577f63)
2022-01-01 01:00:44 +01:00
jackpoz
ecdc387df2 Core/Misc: Remove whitespace at the end of lines
(cherry picked from commit caae3886d2)
2022-01-01 01:00:26 +01:00
jackpoz
4df9ab2a3f CI/Circle CI: Add codestyle check
Whitespace at the end of lines is not allowed

(cherry picked from commit 0017c7a082)
2022-01-01 00:52:28 +01:00
Giacomo Pozzoni
a9e325f6b7 Core/Logs: Log full guid instead of just low guid, part 2
(cherry picked from commit 3def52c1c4)
2022-01-01 00:51:54 +01:00
jackpoz
363db46c43 CI/Circle CI: Add support to multiline regex
(cherry picked from commit 4f88be63e7)
2021-12-31 21:58:08 +01:00
Giacomo Pozzoni
6ec933f281 Core/Logs: Log full guid instead of just low guid
(cherry picked from commit 468ecb7252)
2021-12-31 21:56:40 +01:00
jackpoz
e485932c45 CI/Circle CI: Add codestyle check
ObjectGuid::GetCounter() should not be called in logs, use ObjectGuid::ToString().c_str() instead
(cherry picked from commit af1260c40e)
2021-12-31 21:56:38 +01:00
jackpoz
8878ba2dca CI/Circle CI: Enforce codestyle checks
(cherry picked from commit 32c9f1c7a2)
2021-12-31 21:56:38 +01:00
jackpoz
8d2509eee5 Build/CMake: Code cleanup
(cherry picked from commit 404dbcdcf6)
2021-12-31 21:56:38 +01:00
NoName
25e68fc5c2 Core/PacketIO: Handle CMSG_REQUEST_PET_INFO for more cases (#24364)
+ vehicle
+ charm
+ possession

from 87c6cc19e5

(cherry picked from commit fbcd244b2f)
2021-12-31 21:56:33 +01:00
TheWinchesters
a95c836b3b DB/Quest: "Attunement to Dalaran" Remove non repeatable flag from the quest credit event
(cherry picked from commit d5f5734241)
2021-12-31 20:38:19 +01:00
jackpoz
89cb6bc683 Core/Battleground: Attempt to fix a crash
Please report this error if you get it

(cherry picked from commit d1f9cf84a5)
2021-12-31 20:33:52 +01:00
Killyana
ed2219f0be DB/Event: Argent Tournament heralds Alliance & Argent Tournament heralds Horde
Add spawns to the game event, an error was made in the original commit bbd79e514f

(cherry picked from commit a7636c39d6)
2021-12-31 20:28:45 +01:00
Rushor
96324ad908 Scripts/BlackfathomDeeps: Kelris will now channel his spell (#24300)
* Scripts/BlackfathomDeeps: Kelris will now channel his spell

* Scripts/BlackfathomDeeps: Kelris will now channel his spell

(cherry picked from commit 3da8f37ddb)
2021-12-31 20:16:45 +01:00
Jozef Dúc
8b0cb21c49 Scripts/Pet: Baby Blizzard Bear & Egbert (#24349)
* Baby Blizzard Bear & Egbert

* SQL

* Update 9999_99_99_99_world.sql

SQL fix

* Rename 9999_99_99_99_world.sql to 2020_04_04_00_world.sql

Co-authored-by: Eridium <6587064+Killyana@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit 264a583903)
2021-12-31 20:16:30 +01:00
Sorikoff
44c8b5241a Scripts/Pet: Baby Blizzard Bear & Egbert (#24349)
* Baby Blizzard Bear & Egbert

* SQL

* Update 9999_99_99_99_world.sql

SQL fix

* Rename 9999_99_99_99_world.sql to 2020_04_04_00_world.sql

Co-authored-by: Eridium <6587064+Killyana@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit 264a583903)
2021-12-31 20:15:58 +01:00
Sorikoff
99d7201112 Core/DB: Add DB error for missing gossip npcflag (#24375)
* Add DB error for missing npcflag

* Improvements

* Update ObjectMgr.cpp

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit a513922fc1)
2021-12-31 20:00:41 +01:00
Eridium
924116f046 Core/Movement: Formation Rewrite (#24379)
* Core/Movement: Formation Rewrite

* Add a missing include

* fixed another warning

* meh

Co-authored-by: Ovahlord <Ovahlord@users.noreply.github.com>
Co-authored-by: Ovah <dreadkiller@gmx.de>
(cherry picked from commit 0e2342c169)
2021-12-31 19:28:14 +01:00
dr-j
c691651698 DB/Event: Argent Tournament Val'Kyr invasion
Closes #24249

(cherry picked from commit 69f4024929)
2021-12-31 19:09:37 +01:00
Killyana
c481e50f87 DB/SAI: Spire Frostwyrm use area triggers to start the event instead of los
(cherry picked from commit bbc66308f6)
2021-12-31 19:06:50 +01:00
Lewis Brumby
756ec4e43c Update action_ip_logger.cpp (#24371)
(cherry picked from commit b48c50ba23)
2021-12-31 19:05:27 +01:00
Killyana
8e9b9fafbb DB/SAI: Fix Captive Crocolisk Chains
(cherry picked from commit f408b45a88)
2021-12-31 19:03:57 +01:00
jjo72ddd
77544f162f DB/Quest: Add some Russian quest_offer_reward_locale
Ref #24367

(cherry picked from commit dcd907a63a)
2021-12-31 18:56:06 +01:00
jjo72ddd
0c55c942f5 DB/Quest: Add some Russian quest_offer_reward_locale
Closes  #24367

(cherry picked from commit 583d0b3b96)
2021-12-31 18:53:11 +01:00