Ovahlord
ff3beb0e92
Core/Movement: added some overloads to PathGenerator::CalculatePath
2023-08-24 20:51:15 +02:00
Ovahlord
a9751de67c
Core/Movement: allow hovering units to return PATHFIND_INCOMPLETE as their destination is always set off
2023-08-24 20:45:18 +02:00
Ovahlord
4e469f7fe0
Scripts/VP: removed SetHover script call from Altairus' script to avoid a duplicate application of the hover offset
...
*set the anim tier in database
2023-08-24 20:36:58 +02:00
Ovahlord
a1e0459859
Core/Movement: kill some dead code from chase movement generator
2023-08-24 20:19:10 +02:00
Ovahlord
0840143137
Core/Movement: reworked chase movement
...
* the destination prediction is now much more reliable
* the movement generator will now more frequently check for valid positions to match retail behavior
* the catch-up mechanic will now adapt its speed to the target's one when being close enough to hit it
* temporarily disabled backwards movement when being too close to a target to avoid some edge cases that need additional research
* fixed the pathfinding reaching behavior so that they no longer follow you to unreachable obstacles and return home when they can't reach you anymore
closes #345
closes #260
2023-08-24 20:16:41 +02:00
Shauren
63be5a888c
Build: Support ASAN on msvc
...
# Conflicts:
# src/server/scripts/Commands/cs_debug.cpp
2023-08-22 14:28:24 +02:00
Shauren
0b5ac91a0c
Core/Misc: Add missing virtual destructors
2023-08-22 14:28:04 +02:00
funjoker
1bae56ff8b
CircleCI: CIRCLE_PROJECT_USERNAME can't be used here
2023-08-21 23:07:59 +02:00
funjoker
89a26b2d2a
Docker: remove COPY lib
2023-08-21 22:25:58 +02:00
Ovahlord
4d8da1fcf3
CI/Cicle: sync config with trinity's master branch and no longer use the 4.3.4 branch name since we do work on our own master branch
2023-08-21 17:03:54 +02:00
Shauren
7daadf8e2a
Build/GCC: Disable useless warning
2023-08-20 21:19:40 +02:00
Shauren
639acc4eb6
Build: Increase required msvc version slightly
2023-08-20 21:19:26 +02:00
Ovahlord
972239e25c
CI/CircleCI: use the correct branch in dockerhub images
2023-08-20 21:17:48 +02:00
Ovahlord
18e2a744bb
Misc: reduce differences in Docker and CircleCI configs between branches
2023-08-20 21:12:29 +02:00
Max Drosdo.www
13b91f5afb
removed legacy cmake libsdir entry ( #24813 )
...
(cherry picked from commit 60e813df6b7dfe599266cf36ddd52ba204917267)
(cherry picked from commit aa409f8993f3ee5e90dd64511f34504ebafec7d1)
2023-08-20 04:35:24 +02:00
funjoker
c9dbb7ba22
Fix Dockerfile
2023-08-20 03:04:07 +02:00
Shauren
5cce2770c1
Docker: Fixed files being missing from circleci built images
2023-08-20 00:30:49 +02:00
Ovahlord
a4ffa701a5
Core/Spells: implement SPELL_ATTR0_CU_IS_TALENT
2023-08-19 22:39:23 +02:00
Shauren
ca034f4dbf
Core/Auras: Convert most rules from Aura::CanBeSaved to a custom spell attribute
2023-08-19 22:26:12 +02:00
Ovahlord
86a06a5a5d
Core/Spells: use already stored spell scaling values for coefficient calculation instead of accessing dbc data every single time
2023-08-19 18:50:56 +02:00
Shauren
a1bf752e4b
Core/Players: Don't remove unlearned spells from action bars
2023-08-19 18:20:20 +02:00
Shauren
1df15cf79e
Core/Spells: Damage and healing bonus calculation fixes
...
* Spells with SPELL_DAMAGE_CLASS_NONE are now allowed to benefit from spellmods
2023-08-19 18:02:57 +02:00
Shauren
7264a541a9
Core/Misc: Replace std::abort with our ABORT macro
...
* libmysql is not a well behaved library on windows, it installs its own SIGABRT handler every time a new connection is opened, overriding our own
(cherry picked from commit 09dea76fb5ede974d6765d40985b033db3fba6a3)
2023-08-19 17:56:19 +02:00
Ovahlord
770f9e11db
Core/Movement: sync spline code with master branch
2023-08-19 15:04:34 +02:00
Ovahlord
dfa6f7a709
Core/Movement: fixed up logic in previously added random movement minumum wander distance check and prevent the random movement generator from launching too short splines
2023-08-19 14:51:31 +02:00
Ovahlord
e9fecb39d8
Core/Movement: random movement now requires a minimum wander distance of 0.1 yards
2023-08-19 14:33:01 +02:00
Ovahlord
ab1b089b80
Dep/StormLib: fixed debug build
2023-08-19 10:13:37 +02:00
Ovahlord
6ec7c6e757
Core/Datastores: fixed loading SpellCastingRequirements.dbc
2023-08-14 08:39:47 +02:00
Ovahlord
a57e27e6d3
Core/Spells: implement reputation requirements for spells (mostly used in guild spells such as Guild Page)
2023-08-13 11:48:20 +02:00
Ovahlord
e936684e78
Core/Spells: converted FacingCasterFlags of spell casting requirements to enumflag
2023-08-13 11:38:09 +02:00
Ovahlord
21c9d52d6f
Core/Datastores: load all fields of SpellCastingRequirements.dbc
2023-08-13 11:36:06 +02:00
Shauren
bfd31d59c2
Core/MMaps: Fixed pathing for objects that have terrain swaps active
2023-08-08 00:21:48 +02:00
Ovahlord
96b1933a6c
Core/Spells: removed deprecated radius fix for the Lich Kings's Defile ability
2023-08-07 20:32:32 +02:00
Ovahlord
e1492bc0e9
Core/Spells: removed unnecessary spell attribute hack from Earth Shield and cleaned up its spell script a bit
2023-08-07 19:29:31 +02:00
Ovahlord
be53999f09
Core/Spells: restore a couple spell attribute assignments that went lost in 2bcc645cd3
2023-08-07 17:41:24 +02:00
Ovahlord
a550a08e3f
2bcc645cd3 followup
2023-08-06 12:59:55 +02:00
Ovahlord
2bcc645cd3
Core/Spells: ported radius entry indexing from master branch and dropped several now deprecated spell 'fixes' from spellMgr
2023-08-06 12:54:05 +02:00
Ovahlord
569d66d352
Core/Packets: validate more item values in transmogrification checks to match clientside behavior
2023-08-05 17:52:44 +02:00
Ovahlord
3b5edcdb3e
Core/Packets: added clientside item level check to reforge opcode handler to prevent packet spoofing
2023-08-04 22:19:27 +02:00
Ovahlord
941e3137cd
buildfix
2023-08-03 22:02:59 +02:00
Shauren
9480f79c2a
Core/Scripts: Added damage and healing calculation hook to spell and aura scripts allowing to override base damage amount, flat value mod and percent value mod separately
2023-08-03 21:32:20 +02:00
Ovahlord
5bc189372b
CMake: fixed FindOpenSSL cmake macro
2023-08-01 10:20:00 +02:00
funjoker
9d6a808ba6
Tools/Launcher: Add launcher as alternative to patcher ( #409 )
...
* Tools/Launcher: Introduce version 1 of the client launcher/patcher
the launcher downloads all needed modules and patches the needed one
the launcher patches the RSA key in memory before WoW window opens
the launcher injects the client_patcher_xx.dll inside Wow
the client_patcher_xx.dll hooks LoadLibraryW and awaits Battle.net.dll load
the client_patcher_xx.dll patches the Battle.net.dll memory before it is returned to process
client_patcher_xx.dll unhooks itself
* Tools/Launcher: MinHook only for tools and on windows
2023-07-30 18:39:03 +02:00
JustZerooo
2fdd6742b2
Update FindMySQL.cmake
...
Add MySQL 8.1 Server Support
2023-07-29 11:07:51 +02:00
Shauren
4b7aefb05b
Core/Units: Fixed crash (previously was a memory leak) when vehicle creatures are deleted without ever being added to world
...
Closes #29166
2023-07-21 01:05:41 +02:00
Shauren
06aacf757d
Core/Threading: Modernize ProducerConsumerQueue a bit to fix GCC build
...
Closes #28607
2023-07-20 23:07:18 +02:00
Giacomo Pozzoni
8831cc1086
Core/DBLayer: Add QueueSize() method
...
Add QueueSize() method to database objects (Login, Character and World) that returns how many tasks are queued.
Include the queue size of the 3 databases in ".server debug" command
* Make the code less threadsafe
* Send data to InfluxDB
2023-07-20 23:07:08 +02:00
Ovahlord
909f12b929
DB: corrected a sql file name
2023-07-18 19:33:52 +02:00
Ovahlord
7743236911
nopch fix
2023-07-18 08:26:27 +02:00
Ovahlord
12a3e9e64c
Core/Spells: implement generic shop keeper greeting spells and use them for a couple Stormwind Vendors
2023-07-18 00:02:21 +02:00