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
iThorgrim
e28384b059
feat(Core/Scripting): Add new hooks for Ticket ( #21238 )
2025-02-17 03:26:05 +01:00
Paul
0c099a75ec
fix(Core/Spell): Corrected values for event food ( #21465 )
...
Co-authored-by: pavel_k <pavel_k@mail.com >
2025-02-16 23:27:45 +01:00
Razor2142
8cc47ab1f1
feat(Script/Instance): added generic instance map script ( #21218 )
...
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2025-02-16 23:26:07 +01:00
Kitzunu
4c66c589e4
fix(Core/Spells): Implement SPELL_ATTR2_ALLOW_LOW_LEVEL_BUFF ( #21470 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2025-02-16 23:07:37 +01:00
Exitare
98ceb1c067
fix(Core/PlayerScript) Align player script function names ( #21020 )
...
Co-authored-by: sudlud <sudlud@users.noreply.github.com >
2025-02-16 14:59:41 +01:00
iThorgrim
e3432102f7
fix(Core/World): Load metric and log configs at start ( #21243 )
2025-02-15 23:34:25 +01:00
iThorgrim
971ebcae31
feat(Core/Scripting): Add Player skill based hook ( #21273 )
...
Co-authored-by: IntelligentQuantum <IntelligentQuantum@ProtonMail.Com >
Co-authored-by: Ludwig <sudlud@users.noreply.github.com >
2025-02-15 23:10:38 +01:00
Mykhailo Redko
c96ff8a6dc
fix(Core/Spells): Chain heal shoudln't jump to other players who are at full hp. ( #21387 )
2025-02-15 22:47:22 +01:00
Jelle Meeus
a05833eeed
fix(Core/Common): Container fixes use after free ( #21460 )
2025-02-15 22:22:30 +01:00
天鹿
c78217baa2
fix(Core/Creature): Correctly get flag from cinfo in IsDungeonBoss & IsImmuneToKnockback ( #21456 )
2025-02-15 18:10:48 +01:00
Jelle Meeus
b8b38e1e7e
fix(Core/Spells): Hand of Protection no longer removes Nalorak's Mangle ( #21413 )
2025-02-15 17:22:59 +01:00
Anton Popovichenko
91da92f33f
fix(Core/SpellQueue): Fix undefined behavior when processing SpellQueue. ( #21459 )
2025-02-15 11:45:12 +01:00
Takenbacon
ee69a569c4
fix(Core/Grids): Grid improvements ( #20955 )
2025-02-14 22:11:27 +01:00
Mykhailo Redko
10183efd51
fix(Core/Chat): Fix lower security check for GM commands. ( #21382 )
2025-02-14 22:11:01 +01:00
Anton Popovichenko
2982b64430
fix(Core/Spell): Reset insignia spell target when it is deleted. ( #21437 )
2025-02-14 21:58:30 +01:00
Anton Popovichenko
cdcdf4564b
fix(Core/Pet): Fix possible heap-use-after-free of charmInfo when handling pet action. ( #21439 )
2025-02-14 20:02:02 +01:00
Jelle Meeus
75441ddb3b
fix(Core/Player): SpellQueue avoid possible undefined behavior by copying instead of move ( #21444 )
2025-02-14 15:45:36 +01:00
Andrew
062f9c4341
fix(Core/Map): Dynamic respawns: preserve original respawn timer and skip rares ( #21440 )
2025-02-14 11:30:59 +01:00
Anton Popovichenko
db49562a6a
fix(Core/Channels): Don't use deleted pointer in channel name creation. ( #21435 )
2025-02-13 21:39:29 +01:00
Andrew
0db39f76de
fix(Core/Creature): Creatures should skip confused targets ( #21410 )
2025-02-13 13:22:02 -03:00
Jelle Meeus
9e720b91f0
fix(Core/Worldstate): fix Sanctums Wards triggering phase transition too early ( #21430 )
2025-02-13 09:13:40 -03:00
Takenbacon
edcfaeb845
refactor(Core/World): Create WorldSessionMgr to split session logic out of World ( #21400 )
2025-02-13 07:04:38 +01:00
Anton Popovichenko
3baa00ae06
fix(Core/Group): Fix use of a deleted pointer in the group invites list. ( #21422 )
2025-02-12 18:24:56 -03:00