Commit Graph

2939 Commits

Author SHA1 Message Date
Rocco Silipo
025b579822 fix(DB/Creature) Solve various issues on dk starting area (phase 4). (#22017) 2025-04-29 15:40:46 +02:00
Tereneckla
7503a24266 fix(Core/Player) internally handle expertise as float (#21967)
The core will no longer truncated the expertise (from float to int) value on the server side.
2025-04-26 19:37:05 +01:00
Benjamin Jackson
da55f05cfc refactor(Core/WorldState): Initial addition of world state definition file. (#21875)
Many world states had their enums from script's header and hardcoded values to their respective header file (WorldStateDefines.h)
Co-authored-by: Jelle Meeus <sogladev@gmail.com>
2025-04-26 19:31:30 +01:00
blinkysc
d23e61b721 fix(SmartAI): Ensure immediate combat engagement (#21854)
NPCs will stop their current waypoint and start combat.
2025-04-26 19:24:35 +01:00
Jelle Meeus
38ff8bae28 fix(Core/Maps): Do not allow entering an instance if the player is (#21973)
Co-authored-by: Gildor <gildor55@gmail.com>
2025-04-23 19:59:32 -03:00
Benjamin Jackson
9ced420849 fix(Core/AI): Ignore PvP flagged players for aggressive pets if owner is not PvP flagged. (#21922) 2025-04-21 09:40:56 +02:00
Jelle Meeus
534d07ec1b fix(Core/Spells): Suppress Crystal Spire of Karabor procs (#21961) 2025-04-19 19:12:17 -03:00
NoxMax
cc05127276 fix(Battlefield/WG): set default maxplayer 120, minlevel 75 (#21937) 2025-04-19 06:59:06 +02:00
Vincent Vanclef
575283f46c fix(Core/AutobroadcastMgr): correctly check for existing textId in SendWorldAnnouncement (#21911) 2025-04-17 21:39:05 +02:00
Jelle Meeus
4b64c4ed25 fix(Core/Player): Force UpdateZone on resurrect to apply Zone auras (#21888) 2025-04-12 13:38:32 -03:00
Jelle Meeus
756c6c9001 fix(Scripts/BlackTemple): Shahraz Fatal Attraction Teleport (#21858) 2025-04-09 11:34:53 +02:00
Tereneckla
dda1fe87ca feat(Core/World) add an error message when closing due to not finding the starting area map files (#21879)
Server no longer will close without displaying an error message.
2025-04-08 22:13:26 +01:00
Andrew
51f0495621 fix(Scripts/SunwellPlateau): Fix Darkness spawning midair (#21851) 2025-04-04 16:17:31 +02:00
blinkysc
5562d722d6 fix(Warden) Warden Anti-Cheat Timing Attack Protection MAC (#21824) 2025-03-31 18:50:48 +02:00
blinkysc
f1f56bf1db fix(Warden) Warden Anti-Cheat Timing Attack Protection WINDOWS (#21823) 2025-03-31 18:50:28 +02:00
天鹿
0cb6a03acf Fix(Core/Wintergrasp): Retrieve the missing Tower Cannon (#21752)
Co-authored-by: sudlud <sudlud@users.noreply.github.com>
2025-03-29 21:03:13 +01:00
Jelle Meeus
094c15a323 fix(Core/Spells): implement SPELL_ATTR7_TREAT_AS_NPC_AOE (#21787)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2025-03-28 11:18:40 +01:00
Jelle Meeus
6ed7e0fe5c fix(Scripts/SunwellPlateau): Felmyst Strafe strafe spells (#21745)
Co-authored-by: killerwife <killerwife@gmail.com>
2025-03-22 09:04:00 +01:00
Anton Popovichenko
9520b25155 fix(Core/Spell): Prevent Blink from causing character to fall through ground (#21537) 2025-03-19 17:46:00 +01:00
sudlud
4459afc98d fix(Core/Movement): Allow MoveFollow to not inherit speed of the target (#21711) 2025-03-15 21:47:11 +01:00
Anton Popovichenko
e0a2622138 fix(Core/Calendar): Fix crash on deletion while iterating through calendar events. (#21667) 2025-03-14 06:41:04 -03:00
Vincent Vanclef
dd42f7a673 feat(Core/Entities): Add OnPlayerSendListInventory script hook (#21676) 2025-03-11 15:01:55 +01:00
sudlud
2e9b40e21a fix(Core/Group): fix group loot for quest items (#21683)
Co-authored-by: EricksOliveira <ericksoliveira258@gmail.com>
2025-03-10 22:48:04 +01:00
Vincent Vanclef
ffe03f6e14 feat(Core/Entities): add OnPlayerCanGiveLevel script hook (#21666) 2025-03-10 08:44:33 +01:00
p-tkachuk
f7778ccaf5 fix(Core/SpellInfoCorrections): Fix "Throw Bomb" spell (#21463)
Co-authored-by: Hexadecimal <hd@hd.hd>
2025-03-09 11:14:06 +01:00
Kitzunu
231096132c refactor(Core/ServerMail): Refactor to Dedicated Manager Class with Multi-Item & Condition Support (#21590)
1. Core Cleanup
    - Move all ServerMail logic from `ObjectMgr` into a new dedicated `ServerMailMgr` class
    - Move faction logic for money from SendServerMail into the script
2. Separation of items into a new table
    - Create a new `mail_server_template_items` table
    - Allows to send multiple items in one mail
    - Separate items per faction Alliance/Horde
3. Separation of conditions into a new table
    - Create a new `mail_server_template_conditions` table
    - Allows to use multiple conditions for one mail
    - Available condition types
        - Minimum playtime (playerLevel >= condition)
        - Minimum playtime (playerPlayTime >= condition)
        - Rewarded quest
        - Earned achievement
        - Earned reputation (playerReputation >= conditionState)
        - Faction
        - Race
        - Class
4. Updated ServerMail loading
    - Move item and condition loading to their own functions
        - LoadMailServerTemplateItems()
        - LoadMailServerTemplateConditions()
5. Reworked eligibility check
    - Player needs to pass all conditions to be eligible for the mail
    - All players are automatically eligible if no conditions exist for a server mail template.
6. Updated foreign keys
    - For table `mail_server_character`, `mail_server_template_conditions`, `mail_server_template_items` foreign key with on delete cascade is added for automatic removal of entries if mail_server_template.id is deleted.
7. Database changes
    - See the PR
2025-03-09 09:18:01 +01:00
Tereneckla
4a11fe0db5 Core/Unit: Revert AutoRepeatSpell delay application to Auto Shot (#19603) 2025-03-08 15:45:15 +01:00
Tereneckla
062cb90da8 fix(Core/Spells): readd 33% chance for lightning overload to fail on chain lightning (#21645) 2025-03-04 23:48:37 -03:00
p-tkachuk
78a01fd678 fix(Scripts/Ulduar): Fix Kologarn script (#21595)
Co-authored-by: Hexadecimal <hd@hd.hd>
2025-03-04 23:44:57 -03:00
天鹿
82bc814858 fix(Core/PvP): Sometimes mobs and objects fail to spawn in OutdoorPvP (#21636) 2025-03-03 22:12:54 +01:00
天鹿
a2a0bc51ab fix(Core/Bones): Unable to create bones (#21635) 2025-03-03 22:11:56 +01:00
p-tkachuk
544878c048 fix (Core/Wintergrasp) Fix map and battle icon (#21622) 2025-03-02 05:46:49 +01:00
p-tkachuk
00df52ff19 fix (Core/Wintergrasp) hearthstone was visibly on cooldown when player left WG (#21620)
Co-authored-by: Hexadecimal <hd@hd.hd>
2025-03-01 21:53:05 +01:00
p-tkachuk
9a6078a262 fix (Core/Wintergrasp) Icon now disappears when player leaves queue (#21619)
Co-authored-by: Hexadecimal <hd@hd.hd>
2025-03-01 21:51:46 +01:00
valsan-azerty-boi
a3f7e1e76d feat(Core/BG): Allow battlegrounds to be configurable (#20320) (#21124) 2025-03-01 12:01:10 -03:00
Tereneckla
de6732da34 fix(Core/Spells): remove custom loop so that one lightning damage instance can only proc one lightning overload (#21625) 2025-03-01 10:42:09 -03:00
Takenbacon
60b1bd8f0d fix(Core/Server): Disable out of world packet requeuing (#21608) 2025-02-25 23:11:36 -03:00
SaW
9f99e89bc3 fix(Core/Threading): Refactored Map class - some code optimization (#21288) 2025-02-24 15:49:54 -03:00
Andrew
835283bf26 feat(Core/Scripting): Implement ScheduleEnrageTimer() helper (#21597) 2025-02-24 09:59:18 +01:00
Kitzunu
6f38d3c817 fix(Core/Logging): revert commit e3432102f7e66968f53c6e9afb11d7844e95… (#21593) 2025-02-23 17:53:11 +01:00
Paul
826b55dffb fix(Core/Spells): Fixed pet swoop ability not rooting target (#21559)
Co-authored-by: pavel_k <pavel_k@mail.com>
2025-02-23 11:13:31 +01:00
vrachv
e31674045b fix(Core/Spells): Fix "Repelling Wave" stun radius (#21587) 2025-02-23 11:05:54 +01:00
Kitzunu
5d32676193 fix(Core/Misc): Fix NextPage Data Type in PageText Structure and Improve Logging Messages (#21586) 2025-02-22 21:58:21 -03:00
Andrew
4906867220 fix(Core/Spells): Ingvar Smash and Dark Smash should not ignore LOS (#21581) 2025-02-21 22:10:39 -03:00
Takenbacon
d145b866a5 fix(Core/Maps): Fix instance factions (#21577) 2025-02-21 16:49:39 -03:00
Takenbacon
4cd1ed2181 refactor(Core/Server): Improvements to antidos opcode handling (#21502) 2025-02-21 07:17:34 +01:00
Jelle Meeus
4c4b04f07b refactor(Core/Packet): use WorldPackets::WorldState::InitWorldStates definition (#20475)
Co-authored-by: ccrs <ccrs@users.noreply.github.com>
2025-02-19 07:55:09 -03:00
55Honey
b80da06152 fix(Core/Auth): prevent expansion overflow in SendAuthResponse (#21503) 2025-02-18 20:41:11 +01:00
Takenbacon
854ebc8025 fix(Core/Server): Add bytebuffer exception handling to addoninfo read (#21500) 2025-02-18 12:15:59 +01:00
Takenbacon
58d13e69e1 fix(Core/Grids): Standardize grid coordinates (#21479) 2025-02-18 07:16:36 +01:00