Commit Graph

328 Commits

Author SHA1 Message Date
Takenbacon
22f93eaca6 fix(Core/Weather): Improve weather system thread safety (#22772)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-29 11:43:30 -03:00
Degen
d05213d85e feat(Core/Config): Infinite ammo config setting (#22969)
Co-authored-by: sogladev <sogladev@gmail.com>
2025-09-23 21:46:04 -03:00
Yehonal
09b79f45f2 feat(NPC): add configuration for creature repositioning during NPC combat (#22973)
Co-authored-by: Andrew <47818697+Nyeriah@users.noreply.github.com>
2025-09-20 03:49:50 +02:00
Jelle Meeus
3d828a6568 fix(World/WorldState): SI main event can only be disabled manually (#22911) 2025-09-14 18:02:02 -03:00
Jelle Meeus
7a43b0f13e feat(World/WorldConfig): ScourgeInvasion Add config BattlesWon tresholds (#22913) 2025-09-14 11:25:18 -03:00
Takenbacon
af31aaa374 fix(Core/Maps): Move corpse expiration updates to map (#22780) 2025-09-03 20:29:15 -03:00
Jelle Meeus
1e29c31b07 fix(Scripts/WorldState): defeated scourge zone invasions not restarting after a defeat (#22783) 2025-09-03 20:20:04 -03:00
Benjamin Jackson
e39333abcb fix(Core/WorldState): Start boss activation event when starting Scourge Invasion. (#22739) 2025-08-28 13:34:45 -03:00
Benjamin Jackson
2ad40a4d23 fix(Core/GroupHandler): Adjust maximum value for rolls. (#22686) 2025-08-26 20:58:41 -04:00
天鹭
0abb998529 refactor(Core): Clean (#22583) 2025-07-29 09:11:25 -03:00
Takenbacon
57dacae38b feat(Core/Maps): Multithread startup map preloading (#22580) 2025-07-29 09:10:46 -03:00
Jelle Meeus
fc4b2939ee refactor(World/WorldState): use prepared statements (#22582) 2025-07-28 02:04:03 -03:00
Christian M
d2fb893f87 feat(Core/Player): Allow spell validation to be skipped at server owner's risk (#22521)
Co-authored-by: Tereneckla <Tereneckla@pm.me>
2025-07-26 19:26:00 -03:00
NoxMax
27da054661 feat(Core): make BGs and Arena prep time configurable (#22136)
Co-authored-by: Tereneckla <Tereneckla@pm.me>
2025-07-26 02:09:20 +01:00
Tereneckla
6a8d08383e fix(Core/Config): align worldconfig default values to .conf.dist (#22475) 2025-07-15 09:14:02 +02:00
Benjamin Jackson
bfd3f0aa95 chore(Core/Config): Finish removing config option. (#22464)
Co-authored-by: Takenbacon <922834+Takenbacon@users.noreply.github.com>
2025-07-13 00:19:00 +02:00
Jelle Meeus
8e083fbde3 feat(Core/WorldState): init Scourge Invasion pre-wrath event (#22286)
Co-authored-by: Orozxy <crusadermeile@gmail.com>
Co-authored-by: Killerwife <killerwife@gmail.com>
Co-authored-by: Ryan Turner <AugustoMendes4426@gmail.com>
2025-07-12 20:54:18 +02:00
Benjamin Jackson
bae4dd8ccf feat(Core): Add config for legacy arena team start rating. (#22080)
Co-authored-by: Tereneckla <Tereneckla@pm.me>
2025-07-11 08:30:20 -03:00
Takenbacon
fd262c3ab1 feat(Core/Config): Improvements to config caching (#21647) 2025-06-30 17:14:12 +02:00
Benjamin Jackson
1733c94aec refactor(Core): Make use of standard config usage for guild member limit option. (#22259) 2025-06-05 15:51:19 -03:00
Benjamin Jackson
db18d5b035 refactor(Core): Use database tables for Shaman totems and Druid shapeshift forms. (#22104)
Co-authored-by: DoctorKraft <25483209+doctorkraft@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
2025-05-27 14:40:57 +01:00
Benjamin Jackson
f710fb8d9f refactor(Core/Worldstate): Remove redundant worldstate usage. (#22126)
Co-authored-by: Jelle Meeus <sogladev@gmail.com>
2025-05-23 18:23:34 +02:00
Benjamin Jackson
93ac73a4d1 fix(Core/Creature): Leashing improvements. (#22129)
Co-authored-by: killerwife <killerwife@users.noreply.github.com>
Co-authored-by: 天鹭 <18535853+PkllonG@users.noreply.github.com>
2025-05-23 18:22:56 +02:00
Jelle Meeus
2883160086 fixup! refactor(Core/World): Move various worldstate related function… (#22119) 2025-05-13 21:03:42 +02:00
Benjamin Jackson
52799d76f6 refactor(Core): Add definition file for area table entries. (#22054) 2025-05-09 15:48:02 +02:00
Benjamin Jackson
e6b203f184 refactor(Core/World): Move various worldstate related functions to worldstate class. (#22086) 2025-05-09 12:29:09 +02: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
NoxMax
cc05127276 fix(Battlefield/WG): set default maxplayer 120, minlevel 75 (#21937) 2025-04-19 06:59:06 +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
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
valsan-azerty-boi
a3f7e1e76d feat(Core/BG): Allow battlegrounds to be configurable (#20320) (#21124) 2025-03-01 12:01:10 -03:00
Kitzunu
6f38d3c817 fix(Core/Logging): revert commit e3432102f7e66968f53c6e9afb11d7844e95… (#21593) 2025-02-23 17:53:11 +01: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
iThorgrim
e3432102f7 fix(Core/World): Load metric and log configs at start (#21243) 2025-02-15 23:34:25 +01:00
Takenbacon
ee69a569c4 fix(Core/Grids): Grid improvements (#20955) 2025-02-14 22:11:27 +01: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
Andrew
16fa25b7a9 feat(Core/Maps): Implement dynamic respawn rates (#21417)
Co-authored-by: r00ty-tc <r00ty-tc@users.noreply.github.com>
Co-authored-by: Jelle Meeus <sogladev@gmail.com>
Co-authored-by Treeston

This is a partial cherry-pick of: 59db2eeea0
2025-02-12 15:06:42 -03:00
Anton Popovichenko
f6a0433297 feat(Core/Arena): Add support for arena seasons completion with progression in runtime. (#19858)
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>
2025-02-12 07:09:31 -03:00
Jelle Meeus
05cf475975 fix(Core/Worldstate): sunsreach print correct counter (#21356) 2025-02-09 18:40:44 +01:00
Kitzunu
47c5ff904f refactor(Core/Disables): Convert from Namespace to Class Structure (#21109) 2025-02-01 22:48:52 +01:00
Kitzunu
9e9a2fe5e3 refactor(Core/ObjectMgr): Change GetAcoreString from char const* to s… (#21213)
...ring
2025-02-01 22:46:42 +01:00
Jelle Meeus
00b8a3f419 feat(Core/WorldState): implement Battle for Sun's Reach Event (#21219)
Co-authored-by: killerwife <killerwife@gmail.com>
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com>
Co-authored-by: MantisLord <sabinprosper@gmail.com>
2025-01-31 13:19:12 +01:00
Grimdhex
edf2959a26 feat(Core/Creatures): implement a sparring system (#19824) 2025-01-26 09:40:37 +01:00
Exitare
a74e06c27c feat(Core/Autobroacast): Add autobroadcast locale (#20946) 2025-01-26 09:37:32 +01:00
Tralenor
70c34bd403 fix(Core/World): edge case when last Char on realm was deleted (#20864) 2025-01-09 20:20:02 +01:00
Kitzunu
275ff66e29 chore(Core/World): improve server restart/shutdown logging (#21046) 2025-01-04 10:36:23 +01:00
Exitare
7be3c82505 feat(Core/Creature): Add new config option for npc speeds (#20617) 2024-12-22 09:45:39 +01:00
Takenbacon
a23b13defe fix(Core/Database): Gracefully close database workers (#20936)
* Gracefully close database workers

* Change init order. Such a silly compiler flag

* Fix hang if db connection failed to open
2024-12-18 20:24:17 +01:00