Commit Graph

32362 Commits

Author SHA1 Message Date
ForesterDev
bfd73e7f47 Core/PacketIO: updated SMSG_FEATURE_SYSTEM_STATUS (#24403)
* Core/Packets: updated SMSG_FEATURE_SYSTEM_STATUS

(cherry picked from commit 231207970b)

# Conflicts:
#	src/server/game/Battlegrounds/ArenaTeam.cpp
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
#	src/server/game/Handlers/CharacterHandler.cpp
#	src/server/game/Handlers/GroupHandler.cpp
#	src/server/game/Handlers/SpellHandler.cpp
#	src/server/game/Server/Packets/SpellPackets.cpp
#	src/server/game/Server/Packets/SpellPackets.h
#	src/server/game/Server/Packets/SystemPackets.cpp
#	src/server/game/Server/Packets/SystemPackets.h
#	src/server/game/Server/Protocol/Opcodes.cpp
#	src/server/game/Server/Protocol/Opcodes.h
#	src/server/game/Server/WorldSession.h

* Define complaint status values and replace magic numbers

* Add missing header

Co-authored-by: joschiwald <joschiwald.trinity@gmail.com>
2020-04-11 19:49:36 +02:00
ForesterDev
3e54e798e6 Core/Opcodes: updated CMSG_SET_SHEATHED to new packet class (#24393)
* Core/Packets: Added SMSG_LEARNED_SPELLS packet

(cherry picked from commit 51026f28bd)

Co-authored-by: chemicstry <chemicstry@gmail.com>

* Core/Opcodes: updated CMSG_SET_SHEATHED to new packet class

(cherry picked from commit 7eb02e945f)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Handlers/CombatHandler.cpp
#	src/server/game/Server/Packets/CombatPackets.cpp
#	src/server/game/Server/Packets/CombatPackets.h
#	src/server/game/Server/Protocol/Opcodes.cpp

* rename opcode name CMSG_SETSHEATHED -> CMSG_SET_SHEATHED

* Revert "Core/Packets: Added SMSG_LEARNED_SPELLS packet"

This reverts commit 7beefdfb162f503067a519193f704ac15809779f.

Co-authored-by: chemicstry <chemicstry@gmail.com>
2020-04-11 19:48:16 +02:00
Sorikoff
194691f7c3 Scripts/Pets: Mojo (#24431)
* Mojo

* Update

* Rename 9999_99_99_99_world.sql to 2020_04_11_01_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-04-11 19:47:09 +02:00
NoName
f9d9440577 Core/PacketIO: Updated CMSG_REQUEST_PET_INFO (#24420)
cherry-picked fd162fb604

Co-authored-by: Carbenium <carbenium@outlook.com>
2020-04-11 18:49:44 +02:00
jackpoz
9cde3ffd14 Core/Pools: Fix crash on startup 2020-04-11 18:17:38 +02:00
Killyana
428528774e DB/SAI: Replace the action 70 by 41 to despawn gobs
Years ago the action 70 was used to despawn/respawn gobs but it's no longer the case , it must only be used to respawn gobs with negative respawntime
2020-04-11 17:34:08 +02:00
Giacomo Pozzoni
4f33fd3932 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
2020-04-11 14:07:57 +02:00
jackpoz
eb31ae9b18 Core/Misc: Fix linux build 2020-04-11 11:45:44 +02:00
jackpoz
9c9f4d6d20 Core/Unit: Ceil damage instead of rounding it
a0d5088850 followup, use std::ceil instead of std::round . This ensures at least 1 damage point will be done after applying armor reducing.
2020-04-10 23:24:29 +02:00
Killyana
b26302cdd0 DB/Creature: Drakkari Raptor Mount
Non heroic version level fix from master DB
2020-04-10 21:22:42 +02:00
Killyana
afe2e67849 DB/Creature: Techbot
It's not a boss just a npc outside the dungeon and drop a quest item https://tcubuntu.northeurope.cloudapp.azure.com/aowow/?quest=2922
2020-04-10 21:14:28 +02:00
Killyana
d0f9ace679 Creature: Gorkun Ironskull & Martin Victus in The Pit of Saron
Still some events are missing in this instance
2020-04-10 20:05:26 +02:00
Aokromes
0fa366cbda Misc: Deprecate mysql 5.6 2020-04-10 18:08:18 +02:00
Shauren
f57b1e27d0 Scripts/Eye of Eternity: Fixed The Focusing Iris not respawning on wipe
Closes #22948
2020-04-10 17:08:25 +02:00
Shauren
18b36734f6 Core/Spells: Fixed checking free inventory space for some spells that have bad dbc data
Closes #24423
2020-04-10 16:38:50 +02:00
jackpoz
a0d5088850 Core/Unit: Round damage instead of truncating it
Round damage instead of truncating it when calculating armor-reduced damage. This fixes some level 1 creatures doing 0 damage (displayed as "Miss" ingame)
2020-04-10 00:11:54 +02:00
Killyana
81a09eb03e DB/SAI: Har'koa 2020-04-09 17:53:48 +02:00
Killyana
2d72439b06 DB/Creature: Ahn'kahar Watcher 2020-04-09 17:05:15 +02:00
Killyana
8fe2e66f2f DB/Quest: Add a missing text for the quest Rescuing Evanor and fix a gob flag
Reduce 25724 respawntime to 1min
2020-04-09 16:15:58 +02:00
dr-j
aafe303fc4 DB/SAI: Improvements for Writhing Mound event 2020-04-09 15:33:54 +02:00
Giacomo Pozzoni
90b00288c2 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
2020-04-09 11:59:10 +02:00
dr-j
6424630667 DB/Quest: Hard to Swallow
Closes #23915
2020-04-08 22:29:45 +02:00
NoName
566dcfc518 Core/PacketIO: Updated CMSG_DISMISS_CRITTER (#24412)
based on cherry-pick 6fbfc61de1

Co-authored-by: Carbenium <carbenium@outlook.com>
2020-04-08 21:35:01 +02:00
jackpoz
31018c3652 Core/Log: Log all character kicks to "network.kick" category 2020-04-08 21:05:01 +02:00
jackpoz
68fcd592f8 Core/NetworkIO: Adjust more packet throttling values
Thanks @Nefertumm at f5e38a7f57 for the heads-up
2020-04-08 17:43:07 +02:00
jackpoz
67f28adaf7 Core/Movement: Add safety check to avoid C++ undefined behaviour 2020-04-08 14:15:49 +02:00
Shauren
579d41acc5 Core/DBLayer: Fix compilation with mysql 8 2020-04-08 09:44:52 +02:00
Ovah
bea850fb73 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)
2020-04-07 23:28:44 +02:00
Shadow
d962624d61 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>
2020-04-07 22:32:04 +02:00
myuzhobcplidtkieno
ae553f8966 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>
2020-04-07 22:08:28 +02:00
jackpoz
dcd2ffdaf4 CI/Circle CI: Show codestyle instructions
Show a short comment about how to fix the codestyle errors
2020-04-07 21:43:47 +02:00
Killyana
09b22fd4a5 DB/GameObject: Link "Floating, Medium - MFF" gobs to Midsummer Fire Festival
Closes #24400
2020-04-06 19:22:52 +02:00
Killyana
46d38526a9 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
2020-04-06 18:38:06 +02:00
ForesterDev
97405ceb01 Core/PacketIO: Updated SMSG_LOGIN_VERIFY_WORLD (#24395)
(cherry picked from commit 7256c7c2c7)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2020-04-06 15:18:36 +02:00
Lewis Brumby
caf4c4cf2b Update AuthSession.cpp (#24397) 2020-04-06 00:36:56 +02:00
jackpoz
0844ad2ff0 Scripts/Guards: Fix spell cast spam after killing npc_air_force_bots guards 2020-04-05 20:23:46 +02:00
jackpoz
cb41c8828f Core/Misc: Replace tabs with spaces 2020-04-05 19:11:01 +02:00
jackpoz
5f29577f63 CI/Circle CI: Add codestyle check
Tabs are not allowed, use 4 spaces instead
2020-04-05 19:11:00 +02:00
jackpoz
caae3886d2 Core/Misc: Remove whitespace at the end of lines 2020-04-05 19:11:00 +02:00
jackpoz
0017c7a082 CI/Circle CI: Add codestyle check
Whitespace at the end of lines is not allowed
2020-04-05 19:10:59 +02:00
Giacomo Pozzoni
3def52c1c4 Core/Logs: Log full guid instead of just low guid, part 2 2020-04-05 19:10:58 +02:00
jackpoz
4f88be63e7 CI/Circle CI: Add support to multiline regex 2020-04-05 19:10:57 +02:00
Giacomo Pozzoni
468ecb7252 Core/Logs: Log full guid instead of just low guid 2020-04-05 19:10:57 +02:00
jackpoz
af1260c40e CI/Circle CI: Add codestyle check
ObjectGuid::GetCounter() should not be called in logs, use ObjectGuid::ToString().c_str() instead
2020-04-05 19:10:56 +02:00
jackpoz
32c9f1c7a2 CI/Circle CI: Enforce codestyle checks 2020-04-05 19:10:55 +02:00
jackpoz
404dbcdcf6 Build/CMake: Code cleanup 2020-04-05 15:17:02 +02:00
Shauren
2a2867cdc0 Build: Delete FindBoost.cmake and rely on the one that ships with cmake instead
(cherry picked from commit e5b12a76dc)

# Conflicts:
#	cmake/macros/FindBoost.cmake
2020-04-05 15:14:28 +02:00
jackpoz
965ac6fb08 Build/CMake: Increase minimum version to 3.8 2020-04-05 15:11:14 +02:00
NoName
fbcd244b2f Core/PacketIO: Handle CMSG_REQUEST_PET_INFO for more cases (#24364)
+ vehicle
+ charm
+ possession

from 87c6cc19e5
2020-04-05 14:53:23 +02:00
TheWinchesters
d5f5734241 DB/Quest: "Attunement to Dalaran" Remove non repeatable flag from the quest credit event 2020-04-04 20:39:57 +02:00