Commit Graph
27185 Commits
Author SHA1 Message Date
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 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
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
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 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
Ovahlord 6c1c91b6b2 Core/DataStores: implement PlayerCondition.dbc
* additionally implemented a DB table for custom entries as many of these conditions are strictly server side
* use server side conditions for Stormwind's faction vendor as example usage
2023-07-17 14:53:30 +02:00
Ovahlord 4e397e76d0 Core/Spells: implement TARGET_DIR_SUMMON and use it to properly support TARGET_DEST_CASTER_SUMMON
This fixes positions for pet summons and gameobject summons such as Campfires
2023-07-17 01:23:56 +02:00
Ovahlord 228e3059c9 Core/Crypto: moved away from deprecated SHA1 methods in CalculateSHA1Hash 2023-07-16 22:02:13 +02:00
Ovahlord a3c46b7249 Core/Misc: mark a couple ctors as noexcept to silence warnings 2023-07-16 15:54:24 +02:00
Jeremy 929a804052 Core/Graveyards: Fix graveyards in subzones when there is no valid graveyard in that subzone 2023-07-16 15:33:06 +02:00
Traesh ee8e20d81f Core/Units: Allow autoattack if channelling with SPELL_ATTR5_ALLOW_ACTIONS_DURING_CHANNEL 2023-07-16 15:30:34 +02:00
Shauren b48e834b1c Core/Loot: Removed unneccessary field from Loot class and pass it as parameter everywhere 2023-07-12 13:05:00 +02:00
robinsch 0c33018b90 Core/Item: Fixed possible dupe exploit with container items containing non unique non stackable items 2023-07-11 21:39:24 +02:00
jackpoz 700ae070d5 Core/Loot: Raise max number of loot items from 16 to 18 2023-07-11 21:31:06 +02:00
Wyrserth 0f59b49c3e Core/Loot: fix some issues with master loot and don't allow players to see soulbound recipes that they already learned in the loot window. 2023-07-11 21:29:41 +02:00
Ovahlord 53155526bf Core/Quests: allow QUEST_SPECIAL_FLAGS_AUTO_PUSH_TO_PARTY to be set in quest_template_addon 2023-07-11 17:34:52 +02:00
Shauren 62389bc267 Core/GameObjects: Fixed traps not being able to trigger for friendly targets 2023-07-11 17:24:33 +02:00
Ovahlord a3dd0d75cf Core/Quests: ported quest flag and visbility update changes from master branch 2023-07-11 15:21:09 +02:00
Ovahlord 833b77c05e Core/Units: removed a deprecated pointer initialization for m_vehicleKit 2023-07-09 11:51:35 +02:00
Ovahlord 76a9918b0d Core/Spells: check for valid SPELL_AURA_CONTROL_VEHICLE effects when using SummonPropertiesParamType::RideSpell 2023-07-09 11:51:09 +02:00
Ovahlord b17585fc55 Scripts/Misc: fixed more GCC warnings 2023-07-08 22:24:51 +02:00
Ovahlord 51b54151e3 buildfix 2023-07-08 21:59:14 +02:00
Ovahlord b489a905e1 Core/Misc: fixed another bunch of GCC warnings 2023-07-08 21:33:08 +02:00
Ovahlord 3de1f9a104 Core/BNetServer: fixed another GCC warning 2023-07-08 21:20:07 +02:00
Ovahlord f7965ef27c Scripts/ToldBarad: fixed some GCC warnings 2023-07-08 21:17:01 +02:00
Ovahlord e7e4c79ef1 Tools:VMapExtractor: converted filenames and paths to strings 2023-07-08 21:11:02 +02:00
Ovahlord 3cfee9d3d0 Tools/MapExtractor: converted filenames and paths to strings 2023-07-08 20:42:55 +02:00
Ovahlord 5f808b5247 Core/Entities: modernized several pointers and arrays in Player, Unit and Creature classes 2023-07-08 17:55:25 +02:00
Ovahlord 8ff62c1d40 Core/Addons: moved away from deprecated OpenSSL methods 2023-07-08 14:55:22 +02:00
Ovahlord 328dff8d77 Tools/ConnectionPatcher: remove unreferenced variable for commonAppData is only being used by windows binaries 2023-07-08 14:47:25 +02:00
Ovahlord b4aa5a82c9 nopch fix 2023-07-08 00:10:55 +02:00
Ovahlord d6801c5dc4 Core/Misc: fixed more deprecation warnings 2023-07-07 23:52:15 +02:00
Ovahlord 208378713b Core/Misc: fixed more warnings 2023-07-07 23:34:03 +02:00
Ovahlord 2fc86f70e2 Core/Warden: switched away from more deprecated openSSL methods 2023-07-07 23:25:36 +02:00
Ovahlord c231bf34e5 Core/Spells: fixed more warnings and deprecations 2023-07-07 23:10:54 +02:00
Ovahlord aaff7e2ced Core/Units: fixed more deprecation warnings 2023-07-07 22:54:01 +02:00
Ovahlord e12c3597f4 Core/Unit: fixed more deprecation warnings 2023-07-07 22:29:52 +02:00
Ovahlord d924871a2a Core/Misc: fixed a bunch of deprecation warnings 2023-07-07 22:14:22 +02:00
Ovahlord 63f85a613f nopch fix 2023-07-07 21:51:14 +02:00
Ovahlord a7b244253a Crypto/SHA256: moved away from deprecated OpenSSL methods 2023-07-07 21:47:55 +02:00
Ovahlord e8cfcd7016 Crypto/ARC4: use the correct cipher reference in ctors 2023-07-07 21:27:19 +02:00
Ovahlord d20c2f2c34 Core/Crypto: switched away from deprecated openSSL functions in HmacHash 2023-07-07 21:23:58 +02:00