Commit Graph

4060 Commits

Author SHA1 Message Date
Shudza 9bc89fd23c Handle negative time value in CharacterScreenIdleKick (#2690) 2024-06-24 13:24:55 +03:00
ratkosrb 65f155a820 Restore a comment. 2024-06-24 03:38:01 +03:00
ratkosrb 47b4f67359 Fixes for Spirit of Redemption.
Closes https://github.com/vmangos/core/issues/889

Closes https://github.com/vmangos/core/issues/2665
2024-06-24 03:34:18 +03:00
Gamemechanic f78194ef9b Optimize IsPointInAreaTriggerZone (#2689) 2024-06-23 18:43:44 +03:00
schell244 7836306ddd Add missing completion script for quest The Affray (#1840) 2024-06-22 01:12:48 +03:00
ratkosrb e48a72e473 Add missing Summon Player ability to Patchwerk.
Also fixes infinite Hateful Strike range.

Closes https://github.com/vmangos/core/issues/2671
2024-06-21 22:57:15 +03:00
ratkosrb 848eb15000 Revert "Use gnu readline for linux console cli (#2527)"
This reverts commit e5ba29cb92.
2024-06-21 13:42:55 +03:00
ratkosrb 3c74142bbe Revert "Use close() instead of freopen() to stop readline leaks (#2573)"
This reverts commit 3011507375.
2024-06-21 13:42:41 +03:00
ratkosrb 7d1d93fd9b Revert "Use readline on windows too."
This reverts commit 79c5f503df.
2024-06-21 13:42:18 +03:00
ratkosrb 7ee429e2f1 Revert "What changes didnt it save?"
This reverts commit ae1a317374.
2024-06-21 13:42:10 +03:00
ratkosrb 76eaa9f893 Revert "Fix linux daemon issue (#2572)"
This reverts commit 657d4f5fa3.
2024-06-21 13:41:57 +03:00
ratkosrb 17cc7bca76 Revert "Fix nesting of free. (#2601)"
This reverts commit 50b8a5851f.
2024-06-21 13:41:45 +03:00
ratkosrb 6bbb1dffaa Revert "Try to fix linking to readline on MacOS."
This reverts commit e3cb5998cc.
2024-06-21 13:41:02 +03:00
ratkosrb aca9f5df98 Remove unused Unit parameter from CorrectData. 2024-06-21 12:52:48 +03:00
ratkosrb ce5aac737d Fix some false positives with mind control. 2024-06-21 12:39:12 +03:00
ratkosrb ff2b96dbe4 Movement is stopped upon losing client control.
Closes https://github.com/vmangos/core/issues/2672
2024-06-20 21:49:55 +03:00
ratkosrb fbcbc239d9 Fix not being able to loot quest items with master loot on. 2024-06-19 19:44:05 +03:00
ratkosrb ee00512fa9 Show resources in wareffort info command. 2024-06-18 12:41:52 +03:00
ratkosrb 7ecb374691 Prevent bypassing master loot and stealing items. 2024-06-18 02:06:20 +03:00
_BLU 61e1ff1a9e Refactoring includes. (#2660)
- Clang-Tidy: Inclusion of deprecated C++ header
- Removed Windows.h from PCH
- Most of the time `#include "Errors.h"` was leading to the wrong file anyways.
2024-06-17 21:04:22 +03:00
ratkosrb cd16473d1e Fix not being able to cancel some auras. 2024-06-16 13:26:11 +03:00
ratkosrb ceda4f22f1 Reduce Gothik gate Y distance check. 2024-06-16 13:21:45 +03:00
ratkosrb a2c37e1b66 Improve Gothik's player per side check. 2024-06-16 13:16:08 +03:00
ratkosrb 084c20f605 Put the session's movement compressor behind mutex.
Movement packets could be sent by two sessions simultaneously, causing both client and server crashes.

Closes https://github.com/vmangos/core/issues/2658
2024-06-14 20:27:57 +03:00
ratkosrb 1b1bd80c8a Fix copy paste error. 2024-06-14 08:36:08 +03:00
_BLU 9daa125a77 More database connection changes (#2651) 2024-06-12 20:08:41 +03:00
ratkosrb c948ad6c44 Fix current count not updating on war effort turn in npcs. 2024-06-12 16:06:50 +03:00
ratkosrb 904ae66e5d Name some movement flags. 2024-06-11 09:46:51 +03:00
ratkosrb 17ed98cdae Add new movement checks.
Better detection for No Fall Time and No Fall Damage cheats.
2024-06-11 08:40:32 +03:00
ratkosrb da20c02dc6 Refactor fall damage handling.
Should fix players taking fall damage for seemingly no reason sometimes.
2024-06-11 05:48:30 +03:00
ratkosrb b2a5652fe1 Do not add characters with no name to guild.
Those are characters who have been deleted but are still kept in db.
2024-06-10 08:36:17 +03:00
Shudza ae4d5f7fe9 Spawn ObjectsUpdate threads only for continents. (#2646) 2024-06-07 20:59:22 +03:00
_BLU 93392efb28 Make use of smart-pointers for database query results (#2642) 2024-06-07 11:37:33 +03:00
ratkosrb 7ca61680cb Add missing return for 1.9. 2024-06-07 02:24:12 +03:00
ratkosrb c4b1035d6a Define warden client offsets for 1.11.2.5464. 2024-06-07 02:07:37 +03:00
ratkosrb e1ea2563b7 Undo accidental change. 2024-06-06 06:16:52 +03:00
ratkosrb 0147effa30 Add opcode enums for all supported versions.
Thanks to Blu for helping dump list of handled opcodes in each version.
2024-06-06 06:15:14 +03:00
ratkosrb 686fdad242 Fix skinning distance check. 2024-06-05 03:43:57 +03:00
ratkosrb 7fcd2b2a3d Refund ability cost on hitting immune targets.
Closes https://github.com/vmangos/core/issues/2632
2024-06-03 01:17:02 +03:00
ratkosrb fa6a57544b Fix Majordomo being Unexecutable.
Closes https://github.com/vmangos/core/issues/2629
2024-06-03 01:14:08 +03:00
daobashun 5bbbeeaa97 Rework Ashbringer event in Scarlet Monastery (#2627) 2024-05-31 19:03:48 +03:00
ratkosrb 1ba3b859c7 Don't save charm, possess and sight auras to db. 2024-05-20 17:00:10 +03:00
ratkosrb e3cb5998cc Try to fix linking to readline on MacOS. 2024-05-20 16:49:15 +03:00
ratkosrb 20f574d1fb Prevent healing dead targets. 2024-05-19 04:52:34 +03:00
ratkosrb 03a6749ec6 Add an assert to catch bg invited count underflowing. 2024-05-18 14:51:53 +03:00
ratkosrb 7a2d9128c0 Fix World::SendWorldTextToBGAndQueue. 2024-05-18 14:51:27 +03:00
ratkosrb 396dd62d3b Fix crash if warden scans table is empty. 2024-05-15 14:16:32 +03:00
ratkosrb 926daf489f Fix memory leak in WardenScanMgr. 2024-05-15 14:13:52 +03:00
ratkosrb e2cf815cf7 Add comment to loot money notify packet. 2024-05-14 02:46:57 +03:00
ratkosrb f44727088b Remove unused test variable. 2024-05-13 15:38:21 +03:00