Commit Graph

419 Commits

Author SHA1 Message Date
Takenbacon
2450237b7d fix(Core/Maps): Improve large object updater (#22659) 2025-08-10 21:16:04 +02:00
Takenbacon
73317b2706 feat(Core/Grids): Remove WorldObject separation in grid containers (#22595) 2025-08-09 06:36:24 +02:00
Takenbacon
c97cee1e4f feat(Core/Maps): Remove active objects nearby cell marking handling (#22585) 2025-08-08 16:07:56 -03:00
Kitzunu
60643ce5e7 feat(Script/Command): Add AccountFlag pinfo output (#22548) 2025-07-27 09:59:13 +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
Jelle Meeus
656694b383 feat(Core/Command): add GM spectator to allow cross-faction /follow (#22393) 2025-06-30 00:49:47 -03:00
Kitzunu
ae28b35f2c feat(Scripts/Commands): Add guild ranks display to guild info command (#22380) 2025-06-29 16:02:55 -03:00
SHIHUANG214
989b64cb3d feat(Script/Commands): allow to pass email in account create (#22310)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2025-06-27 15:30:21 +02:00
Tereneckla
ec23669a29 feature(Scripts/Commands) choose Xth spawn of entry for go creature/gameobject id (#22363) 2025-06-27 09:39:26 +01:00
Benjamin Jackson
b73bdb3adc chore(Core): Remove unused and inaccurate comment headers for various script-related files. (#22263) 2025-06-05 15:49:20 -03:00
Brian
30f5dacd69 feat(Scripts/Commands): Add group revive command (#22204) 2025-05-30 14:33:32 -03:00
Jelle Meeus
b15507eb06 feat(Scripts/Commands): .debug boundary to visualize CreatureBoundary (#22099)
Co-authored-by: avarishd <46330494+avarishd@users.noreply.github.com>
Co-authored-by: treeston <treeston.mmoc@gmail.com>
2025-05-30 11:42:11 -03:00
Benjamin Jackson
52799d76f6 refactor(Core): Add definition file for area table entries. (#22054) 2025-05-09 15:48:02 +02:00
Andrew
ac6dea6df3 fix(Scripts/Commands): Fix crash in unstuck command (#21846) 2025-04-02 19:22:55 -03: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
Anton Popovichenko
3406cb03b3 fix(Core/Tickets): Fix crash in ticket complete command. (#21665) 2025-03-07 21:52:47 +01:00
Takenbacon
4cd1ed2181 refactor(Core/Server): Improvements to antidos opcode handling (#21502) 2025-02-21 07:17:34 +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
Takenbacon
ee69a569c4 fix(Core/Grids): Grid improvements (#20955) 2025-02-14 22:11:27 +01: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
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
Kitzunu
787b4e4efe fix(CI/Codestyle): correct double semicolon check (#21388) 2025-02-10 20:24:28 +01:00
Exitare
ff4d1ef053 chore(Core/EventMgr): Align code to Code standard & improve LoadFromDB function (#21151)
Co-authored-by: Jelle Meeus <sogladev@gmail.com>
Co-authored-by: Ludwig <sudlud@users.noreply.github.com>
2025-02-07 14:25:07 +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
Kitzunu
9b3d54dd60 refactor(Core/Motd): improve and simplify (#21252) 2025-01-27 11:07:46 +01:00
Kitzunu
0733c30471 refactor(Core/Player): Improve Channel.RestrictedLfg handling (#21145) 2025-01-21 19:09:31 +01:00
Kitzunu
cdbc510cf0 fix(Script/WP): correct output of wp show command (#21193) 2025-01-17 10:28:30 +01:00
Kitzunu
12aa9dc12c fix(Core/Misc): Resolve output formatting issues with fmt library (#21191) 2025-01-17 10:27:46 +01:00
Andrew
07937d34da feat(Scripts/Commands): Implement opendoor command (#21136) 2025-01-10 20:48:58 -03:00
Andrew
3e465ddedc feat(Scripts/Commands): Update GetBossState to display all states (#21134) 2025-01-10 20:43:11 -03:00
Kitzunu
4b8dca1ea2 fix(Core/Misc): Correct some fmt logs (#21106) 2025-01-07 06:08:19 +01:00
Exitare
b4d04b1af1 refactor(Core/Event): Load event vendors seperatly (#20906) 2024-12-22 09:44:50 +01:00
Kitzunu
1462d1ae39 fix(Script/Command): Allow guid for npc move and delete (#21008) 2024-12-22 09:42:21 +01:00
Exitare
325c208b7c feat(Scripts/Command): Update gm fly to behave like a toggle (#20925) 2024-12-18 05:50:33 +01:00
Exitare
7fd8b04a56 feat(Core/Motd): Allow localized motd (#20542)
* Initial commit for localized motd

* Rename function that created world packages

* Update to satisfy code check

* Update code to accomodate localized motd

* Update command to support multiple optionales & adjusted db

* Code cleanup

* Update sql name

* Fix codestyle issues

* Remove hardcoded schema

* Add check for valid player in reload command

* Update to better code style

* Add missing include

* Fix redundant code usage

* Add missing include

* Remove sql files and create new rev sql files

* Address minor code reviews

* Fix code style

* Update code to address code revisions.

- Remove two unused functions
- Remove map
- Use available function to resolve LocaleConstant

* Fix code style

* Add check for base motd and update locale to DEFAULT_LOCALE

* Code docs

* Removed some docs, readd defaultd motd formatting

* Fix oversight in variable declaration

* Code style fix

* Update code based on code review

* ready for merge

* Fix set motd command due to changes to DEFAULT_LOCALE

* Fix CI

* Fix trailing whitespace

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2024-12-15 19:50:02 +01:00
Kitzunu
ed008a8780 refactor(Core/Spells): Add helpers for HasAuraType (#20802) 2024-12-01 08:50:59 -03:00
Tereneckla
ae4e673713 fix(Scripts/Commands) fix formatting in server debug (#20801) 2024-12-01 11:11:23 +01:00
Kitzunu
5e4f6ac576 fix(Script/Commands): tele add should only check exact match (#20785)
* fix(Script/Commands): tele add should only check exact match

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/20268

* better describe the variable
2024-11-30 20:06:26 -03:00
Francesco Borzì
a9f0f371e5 refactor(src/server/game): optimise imports (#20541) 2024-11-13 11:37:20 +01:00
Francesco Borzì
b2ddd10369 refactor(src/server/scripts): remove unused imports (#20540) 2024-11-13 06:35:15 +01:00
Andrew
f8d53d4cd8 fix(Scripts/Commands): Fix crash when using npc set origin faction wi… (#20536) 2024-11-12 19:39:48 +01:00
Andrew
3866c35f2f fix(Scripts/Commands): Remove Spirit of Redemption when using Revive … (#20492)
fix(Scripts/Commands): Remove Spirit of Redemption when using Revive command
2024-11-10 15:02:02 -03:00
Francesco Borzì
c06cadfe75 refactor(src/common|server): remove unused import (big part 1) (#20377)
* refactor(src/common|server): remove unused import (big part 1)

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: attempt to fix damn linkin error
2024-10-31 21:46:11 +01:00
Francesco Borzì
2c344fc127 refactor(src/server/game/*): remove unused imports (big part 2) (#20311) 2024-10-27 05:06:14 +01:00
Angelo Venturini
9487b30ad7 refactor(Core/Misc): Use emplace_back instead of push_back to avoid extra copy/m… (#20114)
refactor: Use emplace_back instead of push_back to avoid extra copy/move operations
2024-10-10 21:55:58 +02:00
Francesco Borzì
5a96ce283d refactor(Scripts): remove unused imports (#20086) 2024-09-29 13:20:21 +02:00
Benjamin Jackson
7790b2258b feat(Core/Commands): Add debug command for applying a spell cooldown. (#20004)
* Init.

* Correct wrong query characters.
2024-09-22 00:28:11 +02:00