Commit Graph

37429 Commits

Author SHA1 Message Date
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
Shauren
d73e4a9640 DB: World db column type corrections
* char to varchar
* unsigned float to float
* longtext to mediumtext (this is probably still too large for affected columns)
2021-12-31 16:38:19 +01:00
Shauren
112b8799ff DB: Purge mediumint columns from character db (change to full int) 2021-12-31 16:14:19 +01:00
Shauren
8eb1938fe8 DB: Convert all databases to InnoDB engine 2021-12-31 16:01:43 +01:00
Shauren
2565af5fd3 Scripts/Spells: Fixed startup errors in spell_gen_war_mode_enlisted 2021-12-31 14:16:59 +01:00
Shauren
276ef7ff11 Typo fix 2021-12-31 14:15:57 +01:00
Shauren
9d060d23c1 DB: Convert databases to utf8mb4 2021-12-31 13:59:55 +01:00
Shauren
9cf7f9a976 DB: Purge mediumint columns (change to full int) 2021-12-31 12:35:58 +01:00
Ovah
fb7a60d49d Core/Spells: fixed a possible client crash when casting pull towards dest spells with misc value 0 (#24365)
* This case is not happening in 335 yet as it barely has any spell with pull towardst dest effects. However, this is very well present in 4.x and beyond so let's add it for future cherrypicks

(cherry picked from commit 61aec37b4f)
2021-12-31 00:55:12 +01:00
Killyana
5cde08e6e8 Boss/Script: Disable Call assistance for Mr Smite
Closes #19164

(cherry picked from commit c026b3bad3)
2021-12-31 00:54:21 +01:00
Killyana
5e1f46f3c0 Boss/Script: Mr Smith will use the proc aura for Nimble Reflexes instead a script
(cherry picked from commit 5b2b221177)
2021-12-31 00:54:06 +01:00
Killyana
572e89d218 DB/Creature: Garg & Turgore
(cherry picked from commit 7258d00f93)
2021-12-31 00:44:11 +01:00
Killyana
64891a861d DB/Quest: Improvements for Scourgekabob
Closes #21020

(cherry picked from commit fa8a99550a)
2021-12-31 00:43:15 +01:00