Commit Graph

35890 Commits

Author SHA1 Message Date
Ovahlord
0b655a8a13 Core/Spells: reduced default periodic tick interval back to one second
* power obs spells such as food are suposed to have the same interval as their first effect counterpart which sits at one tick per second. This fixes % regeneration food to not restore mana within the intended interval
2020-04-16 15:10:40 +02:00
Ovahlord
eb9b4718f5 Core/Spells: fall back to a 5 seconds periodic interval only for auras that are actually eligible for periodic effects 2020-04-16 15:00:47 +02:00
Ovahlord
15d380b0b9 Core/Packets: corrected packet header size for SMSG_PLAY_MUSIC 2020-04-16 14:45:50 +02:00
Ovahlord
73722f2531 Core/Spells: fixed build 2020-04-16 14:45:16 +02:00
Ovahlord
b770d2e4d0 Core/Spells: renamed Amplitude and ValueMultiplier to match DBC field names 2020-04-16 14:40:30 +02:00
Shauren
ad377241f9 Build: Fixed VS always triggering a full build when PCH is enabled, even if only a source file was edited
(cherry picked from commit 9b1dfe5e5e)
(cherry picked from commit b64583b7c1)
2020-04-16 13:00:59 +02:00
Shauren
ec6d64b9c6 Core/Player: Wait for correct transaction on character creation 2020-04-15 21:58:02 +02:00
Shauren
df44e90fe6 Core/Misc: Fixed char enum packet sometimes not showing newly created character when client latency is too low 2020-04-15 21:46:28 +02:00
Shauren
ca881f7e3f Core/DBLayer: Implement async transaction completion callbacks 2020-04-15 21:41:14 +02:00
Ovahlord
882c275e65 Core/DBLayer: 13440434c3 followup 2020-04-15 21:33:16 +02:00
Shauren
40c3c785a2 Core/DBLayer: Prevent mixing databases with query holders
# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
#	src/server/game/Server/WorldSession.cpp
#	src/server/game/Server/WorldSession.h
2020-04-15 21:30:10 +02:00
Shauren
47acc59f49 Core/DBLayer: Prevent committing transactions started on a different database 2020-04-15 21:02:26 +02:00
Shauren
d003ebd8e4 Core/DBLayer: Prevent using prepared statements on wrong database 2020-04-15 19:18:58 +02:00
Ovahlord
eaee7b3cfa Core/DBLayer: minor spacing fixups 2020-04-15 11:25:34 +02:00
Giacomo Pozzoni
dd6498b8f9 Core/Database: Close the MySQL connection only after getting the last error code 2020-04-15 11:06:18 +02:00
Ovahlord
8819428919 Core/DBLayer: fixed no pch build 2020-04-15 10:46:37 +02:00
Ovahlord
6d769330b0 CMake: deprecated all MySQL versions below 5.7 2020-04-15 10:23:03 +02:00
Shauren
5653d4e2de Core/DBLayer: Support using mysql 8 2020-04-15 10:19:24 +02:00
Ovahlord
26e5823913 Core/Movement: fixed several edge cases at which units with a custom chase angle ended up endlessly repositioning against their target 2020-04-13 22:22:11 +02:00
Shauren
e0be0caadd Core/Battle.net
* Fixed infinite loop in ReadFourCC if value in packet was 0
* Corrected ClosingReason enum in ConnectionClosing
2020-04-13 21:00:29 +02:00
Ovahlord
1f93a67e04 Core/Movement: inital work on chase movement rewrite
* chase movement will now launch within a sniffed time interval
* the movement will now use a predicting method to get a estimated chase destination to avoid falling behind the chase target
* ChaseRange has been dropped and stepping backward has now a own implementation within the movement generator. Todo: analyzing sniffs for the correct time interval
2020-04-13 17:12:14 +02:00
Ovahlord
f119e8c79d Scripts/DS: fixed several typos in Mandess of Deathwing script
* removed a duplicate comment in RASession
2020-04-13 17:04:19 +02:00
Ovahlord
4539b571bf Core/Packets: converted SMSG_MOTD and SMSG_LOGIN_VERIFY_WORLD to packet class 2020-04-11 18:22:01 +02:00
Ovahlord
61df418204 Core/Misc: fixed two comment typos 2020-04-11 11:13:19 +02:00
Ovahlord
a119f8fae9 Core/Spells: fixed displaying Swift Flight Form's speed bonus values 2020-04-11 10:27:10 +02:00
Ovahlord
04f05896e2 Core/Spells: re-send aura effect values when a aura with SPELL_ATTR8_AURA_SEND_AMOUNT gets its amount changed 2020-04-11 10:26:34 +02:00
Ovahlord
3658cafca0 Scripts/BWD: use correct object order to check if Magmaw should cast Molten Tantrum 2020-04-11 08:23:12 +02:00
Shauren
8b25c9aa15 Scripts/Eye of Eternity: Fixed The Focusing Iris not respawning on wipe
Closes #22948
2020-04-10 22:55:35 +02:00
Shauren
68affe12e2 Core/Spells: Fixed checking free inventory space for some spells that have bad dbc data 2020-04-10 22:55:25 +02:00
Ovahlord
6ffd3672c4 Core/Spells: added a additional scaling ratio for SPELL_ATTR0_LEVEL_DAMAGE_CALCULATION spells that are cast by npcs that are level 81 or higher to come closer to retail values. These numbers have been reversed by using sniffed damage log packets 2020-04-10 22:50:42 +02:00
Ovahlord
a91424185b Core/Packets: convert SMSG_INIT_WORLD_STATES to packet class 2020-04-08 17:15:22 +02:00
Ovahlord
8fde6ce50a Core/Spells: mount results will now be stored in a pointer and sent outside of CheckCast 2020-04-07 23:48:07 +02:00
Ovahlord
eb3e2f7ca5 Core/Spells: use enum class for mount results 2020-04-07 18:55:16 +02:00
Shauren
cb6ce1302b Core/Misc: Defined new summon properties titles 2020-04-07 18:33:13 +02:00
Ovahlord
504f05ff6f Core/Spells: minor cleanup followup for 832e763d36 2020-04-07 17:30:08 +02:00
Ovahlord
832e763d36 Core/Packets: implement and enable SMSG_MOUNT_RESULT and use it for transformed cases 2020-04-07 17:25:15 +02:00
Ovahlord
57825bc011 Core/Packets: fixed build 2020-04-07 17:20:44 +02:00
Ovahlord
b5bdf61e5f Core/Packets: converted SMSG_DURABILITY_DAMAGE_DEATH, SMSG_PLAY_ONE_SHOT_ANIM_KIT, SMSG_SET_AI_ANIM_KIT, SMSG_SET_MOVEMENT_ANIM_KIT and SMSG_SET_MELEE_ANIM_KIT to packet class 2020-04-07 16:29:30 +02:00
Ovahlord
eb81e8f4a3 Core/Packets: updated SMSG_WEATHER and SMSG_OVERRIDE_LIGHT to packet class 2020-04-07 16:14:09 +02:00
Ovahlord
113202ea48 Core/Packets: converted SMSG_PLAY_MUSIC to packet class and corrected packet structure 2020-04-07 15:59:33 +02:00
Ovahlord
77f94a456c Updated readme with latest software requirements and updated links 2020-04-07 01:19:56 +02:00
jackpoz
1ddcb029d5 Build/CMake: Code cleanup 2020-04-07 01:14:11 +02:00
jackpoz
b58bd5a7b2 Build/CMake: Increase minimum version to 3.8 2020-04-07 01:14:00 +02:00
Ovahlord
479437f8d6 Core/Movement: only set velocity values for follow movement if we have to rely on our follow target's speed 2020-04-06 01:25:23 +02:00
Shauren
0d84daa39c Build: Delete FindBoost.cmake and rely on the one that ships with cmake instead
# Conflicts:
#	cmake/macros/FindBoost.cmake
2020-04-05 21:06:09 +02:00
jackpoz
2de72f78d8 Scripts/Guards: Fix spell cast spam after killing npc_air_force_bots guards 2020-04-05 21:05:14 +02:00
Ovahlord
d31f19265d Core/Objects:
* store liquid status lookups from UpdatePositionData in a member and draw liquid status information from it instead of doing extra vmap lookups. This also fixes collision height based liquid status states which was leading to false positive movement speed selection for creatures
* remove redundant IsUnderWater helper override from player class as our object based liquid status also considers collision height
2020-04-05 20:41:15 +02:00
Ovahlord
9bf01799f0 Core/Packets: converted SMSG_PLAY_SOUND and SMSG_PLAY_OBJECT_SOUND to packet class and corrected packet structure of
SMSG_PLAY_OBJECT_SOUND
2020-04-05 19:28:49 +02:00
Ovahlord
c7f5732571 Core/Units: corrected a warning fix for gcc build 2020-04-05 00:10:53 +02:00
Ovahlord
086c3dc7f4 Scripts/BWD: Maloriak's Arcane Storm can now also be interrupted while channeling 2020-04-04 20:43:05 +02:00