Commit Graph

25316 Commits

Author SHA1 Message Date
Ovahlord
e456ff8efb Fixed nopch build 2020-04-20 10:51:44 +02:00
Ovahlord
937df192f6 Core/Packets: converted threat packets to packet class and fixed threat amount sent in them 2020-04-20 10:45:49 +02:00
Ovahlord
206cd7d6d7 Core/Units: std::floor for rounding rage gains 2020-04-19 23:19:59 +02:00
Ovahlord
c537a2658a Core/Units: reworked power regeneration for players
* use a reversed client function to get the power regeneration rate for all types of powers
* unified all player based regeneration updates into a single statsystem helper
* cleaned up unnecessary regeneration timers
* implement power regeneration for alternative powers
* corrected rage gain numbers based on simulationcraft formulas
2020-04-19 22:53:29 +02:00
Ovahlord
0ea2200879 Core/Pets: use default pet follow angle when loading pets from database 2020-04-19 15:08:21 +02:00
Ovahlord
631236fa8a Core/Packets: converted CMSG_WHO and SMSG_WHO to packet class 2020-04-18 19:23:54 +02:00
Ovahlord
ee9f0b9bf0 Core/Battlegrounds: fixed ship movement in Strand of the Ancients 2020-04-18 12:54:25 +02:00
Ovah
1b8eec06ec Core/Movement: various improvements for creature knockbacks
* creature knockbacks will no longer generate a full path but instead only use a destination point to reflect sniff data
* calculate the destination by using a mmap raycast instead of using a mmap path which had the chance of creating weird movements when GetNearPosition failed to get a proper collision point (knocking arround a tree for example or just somewhere it should not go at all)
# Conflicts:
#	src/server/game/Movement/MotionMaster.cpp
2020-04-17 21:21:46 +02:00
Ovahlord
077b679000 Scripts/Items: scripted Bedrock Talisman, Spidersilk Spindle and Variable Pulse Lightning Capacitor 2020-04-17 14:29:09 +02:00
Ovahlord
b8802ccaa2 Core/Movement: do not reposition against chase targets that are still moving 2020-04-16 21:53:33 +02:00
Ovahlord
4797ec3194 Scripts/Items: scripted Jar of Ancient Remedies, Scales of Life and Apparatus of Khaz'goroth 2020-04-16 16:52:42 +02:00
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
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