Commit Graph
100 Commits
Author SHA1 Message Date
Kitzunu e8d98dfc34 feat(DB): Release ACDB 15.0.0 (#25091) 2026-03-16 12:25:29 +01:00
Kitzunu b4773da8a2 chore(Github): Update issue labeler action to version 1.0.3 (#24802) 2026-02-24 00:03:44 -03:00
Kitzunuandcopilot-swe-agent[bot] cf92cfa59f fix(Core/CLI): Replace fgetws with ReadConsoleW for Windows console UTF-8 input (#24725)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
2026-02-22 14:55:29 +01:00
Kitzunu 7571ada767 fix(Script/Quest): Kodo Roundup (#24241) 2026-02-08 15:48:21 +01:00
KitzunuandGultask 8a157ea71d fix(DB/Item): Explosive Decoy (#24221)
Co-authored-by: Gultask <[email protected]>
2026-01-22 01:32:03 -03:00
Kitzunu f0c05421ef chore(DB): Archive 2024 files (#24250) 2026-01-04 07:08:52 +01:00
Kitzunu c521e712d3 fix(Core/Player): Make sure OnEquip spells from items are added after revive (#24238) 2026-01-01 05:47:09 -03:00
Kitzunu 2ede1544f7 fix(Core/Misc): missed log format (#24252) 2025-12-30 06:21:09 +01:00
Kitzunu 59f66e9144 feat(DB): Release ACDB 14.0.0 (#24249) 2025-12-29 22:04:42 +01:00
Kitzunu 10d105243f fix(DB): broken (#24248) 2025-12-29 17:44:37 +01:00
Kitzunu ddd7e1ebf3 fix(DB): dup pri keys for trainers (#24247) 2025-12-29 17:15:21 +01:00
Kitzunu e46424b8d8 fix(Script/Quest): Terokk's Downfall (#24243) 2025-12-29 14:41:53 +01:00
Kitzunu 105d8daf79 fix(Scripts/Naxxramas): Build (#24242) 2025-12-29 05:57:36 +01:00
Kitzunu 0a55aed5e4 fix(Script/Commands): ticket response append crash (#23357) 2025-10-24 10:50:11 -03:00
Kitzunuandsudlud 4069b94fbf fix(Scripts/Commands): arena lookup/info improvemenets (#23355)
Co-authored-by: sudlud <[email protected]>
2025-10-24 10:27:55 -03:00
Kitzunu 35d8d49ce3 feat(Core/ServerMail): Add AccountFlags condition to server mail temp… (#22549) 2025-07-29 10:01:16 -03:00
Kitzunu 60643ce5e7 feat(Script/Command): Add AccountFlag pinfo output (#22548) 2025-07-27 09:59:13 +02:00
Kitzunu 3f46e05d36 refactor(Core/Account): Move account flag logic from AccountMgr to WorldSession (#22558) 2025-07-27 08:54:16 +02:00
Kitzunu dc3d2def80 feat(Core/Load): Add debug logs for zone and area assignment (#22509) 2025-07-24 16:21:05 -03:00
Kitzunu 9286bb363e fix(Core/Account): Change account flag updates to async connection (#22547) 2025-07-24 16:52:51 +02:00
Kitzunu 1e68280691 feat(Core/Account): Add account flags support (#22533) 2025-07-24 10:09:30 -03:00
Kitzunu 129434bb42 feat(DB): Release ACDB 13.0.0 (#22508) 2025-07-19 13:16:46 +02:00
KitzunuandAndrew cbd8596184 fix(Core/Player): Unlearn invalid spells for race/class on login (#22370)
Co-authored-by: Andrew <[email protected]>
2025-07-19 11:35:26 +02:00
Kitzunu 619f40b01f feat(Core/Chat): Allow whispers to Game Masters regardless of sender … (#22417) 2025-07-08 12:00:03 -03:00
Kitzunu a1a11a7c38 BREAKINGCHANGE(Metrics): Support InfluxDB v2 (#22358)
This commit introduces support for InfluxDB v2 in the metric logging system, updates configuration options, and enhances the code to handle both InfluxDB v1 and v2. The changes include updates to the `Metric` class, configuration file, and logging behavior.

### InfluxDB v2 Support:
* Added support for InfluxDB v2 in the `Metric` class by introducing new configuration options (`Metric.InfluxDB.Org`, `Metric.InfluxDB.Bucket`, `Metric.InfluxDB.Token`) and logic to handle v2-specific parameters.
* Updated the `SendBatch` method to construct HTTP requests differently based on whether v1 or v2 is enabled. 

### Configuration Updates:
* Replaced the `Metric.ConnectionInfo` configuration with `Metric.InfluxDB.Connection` and added detailed comments and examples for both InfluxDB v1 and v2 configurations in `worldserver.conf.dist`.
* Added placeholder configuration entries for InfluxDB v2 parameters (`Metric.InfluxDB.Org`, `Metric.InfluxDB.Bucket`, `Metric.InfluxDB.Token`) in `worldserver.conf.dist`. 

### Logging Enhancements:
* Added a commented-out logger configuration (`Logger.metric`) in `worldserver.conf.dist` for potential use in metric-specific logging.
2025-07-05 12:00:08 +02:00
Kitzunu 87e500ff0f fix(DB/Autobroadcast): Update 'text' column in autobroadcast_locale t… (#22382) 2025-07-03 16:43:55 +01:00
Kitzunu ae28b35f2c feat(Scripts/Commands): Add guild ranks display to guild info command (#22380) 2025-06-29 16:02:55 -03:00
Kitzunu f4e049f227 refactor(db-scripts): replace PowerShell database tools with Bash scripts and update documentation (#22372)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/4343

This pull request replaces the PowerShell implementation of the AzerothCore database export and squash tools with Bash scripts, streamlining the process and improving compatibility. It also updates the documentation to reflect these changes. The most important changes include the creation of new Bash scripts for exporting databases, squashing databases, and updating versions, as well as the removal of the previous PowerShell script and its associated documentation.

### Script Replacement and Enhancements:
* [`apps/DatabaseSquash/DatabaseExporter/DatabaseExporter.sh`](diffhunk://#diff-af0bd252ac095aaad91b842c75b60a689792e6dc9ce88f5e2e4b6f68acf84dcaR1-R69): Introduced a Bash script to replace the PowerShell implementation for exporting database tables, with added features such as formatted SQL output and dynamic directory creation.
* [`apps/DatabaseSquash/DatabaseSquash.sh`](diffhunk://#diff-79ff4f749c045a7d91e9b43aefb5d6fbebdc5fdfb430fbcba329e4d96d71a4fbR1-R52): Added a Bash script to automate the database squash process, integrating the version updater and database exporter tools.
* [`apps/DatabaseSquash/VersionUpdater/VersionUpdater.sh`](diffhunk://#diff-3abc69c645cb80aff30824739e317c9e847e743eeab15ab4825951d10179b265R1-R84): Created a Bash script for automatically updating the version in `acore.json` and generating SQL update files with proper versioning.

### Documentation Updates:
* [`apps/DatabaseSquash/DatabaseExporter/databaseexporter.md`](diffhunk://#diff-b2b291286f2b900a022474f00754ebfe78410780c010d46752335a372d688aefR1-R16): Rewritten documentation to reflect the usage of the new Bash script for database exporting.
* [`apps/DatabaseSquash/VersionUpdater/versionupdater.md`](diffhunk://#diff-f12e21f8a404957c90d9120cf9df0724ff27a7efdb5de0798d974079cfe8adadR1-R10): Added documentation for the new version updater tool, explaining its functionality and usage.
* [`apps/DatabaseSquash/databasesquash.md`](diffhunk://#diff-4a559f6e7404b529714bac65ad22744feb7b9f88343864a20e0a46974233767eR1-R11): Documented the overall database squash tool, detailing its integration of the version updater and database exporter scripts.

### Removal of Legacy Code:
* [`apps/DatabaseExporter/DatabaseExporter.ps1`](diffhunk://#diff-2b4e49f704d88a372b5160c7278839668c81dbecaf52a4edd327873e30b9ae70L1-L234): Removed the PowerShell script for database exporting, along with its associated functionality and settings.
* [`apps/DatabaseExporter/databaseexporter.md`](diffhunk://#diff-0618d62def0d611be6e0d4fc524df6f702f493cb87870d9382402aaf52f484e8L1-L85): Deleted outdated documentation for the PowerShell-based database exporter tool.
2025-06-28 16:17:48 +02:00
Kitzunu ca8a2a5f58 fix(CI/Codestyle): Add directory check to SQL codestyle script (#22376) 2025-06-28 15:06:39 +02:00
Kitzunu 5311717a89 fix(Player/Skills): Improve skill validation and logging in Player::_… (#22369) 2025-06-27 09:14:04 -03:00
Kitzunu 8200f3729e fix(Core/SAI): Exclude GMs for player target/event (#22345) 2025-06-22 21:47:32 -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
Kitzunu 9e4c74bab1 fix(CI/Codestyle): Minor typo in insert_delete_safety_check (#21639) 2025-03-02 18:48:42 +01:00
Kitzunu 6786cb19c3 fix(CI/Codestyle): Imrpove semicolon check and general improvements (#21632) 2025-03-02 18:02:09 +01:00
Kitzunu ee23fdca3d fix(CI/Codestyle): Escape all MySQL keywords and skip /* comments (#21631) 2025-03-02 16:49:18 +01:00
Kitzunu cd8761796f fix(CI/Codestyle): skip SQL keyword 'NOT' (#21591) 2025-02-24 06:16:20 +01:00
Kitzunu 6f38d3c817 fix(Core/Logging): revert commit e3432102f7e66968f53c6e9afb11d7844e95… (#21593) 2025-02-23 17:53:11 +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
KitzunuandShauren 4c66c589e4 fix(Core/Spells): Implement SPELL_ATTR2_ALLOW_LOW_LEVEL_BUFF (#21470)
Co-authored-by: Shauren <[email protected]>
2025-02-16 23:07:37 +01:00
Kitzunu d0085feb95 fix(DB/Auth): allow autobroadcast_locale to have multiple locales for… (#21467) 2025-02-16 21:20:29 +01:00
Kitzunu 3291c747c5 feat(Core/DBUpdater): include pending path (#21469) 2025-02-16 21:19:31 +01:00
Kitzunu 19847395eb fix(CI/Windows): Bump openssl version (#21458) 2025-02-15 13:12:13 +01:00
Kitzunu 24dd7dfc21 refactor(Misc): improve issue templates (#21391) 2025-02-11 22:45:47 -03:00
Kitzunu 787b4e4efe fix(CI/Codestyle): correct double semicolon check (#21388) 2025-02-10 20:24:28 +01:00
Kitzunu 31529db282 fix(CI/Codestyle): Final fixes to backtick check (#21361) 2025-02-08 11:34:38 +01:00
Kitzunu 2c561f0433 fix(CI): typo (#21347) 2025-02-07 09:51:25 +01:00
Kitzunu 306f41a2d8 fix(CI/Codestyle): ignore lines starting with @ (#21346) 2025-02-07 06:52:38 +01:00
Kitzunu 668864556b fix(CI/Codestyle): Ignore comments for backtick check (#21343) 2025-02-07 00:09:55 +01:00
Kitzunu f46fea0ac9 fix(CI/Codestyle): Backtick check SET, quote and REPLACE case (#21333) 2025-02-05 17:25:34 +01:00
Kitzunu 5d9e45ab9b feat(CI/Codestyle): backtick check for sql (#21321) 2025-02-03 21:03:21 +01:00
Kitzunu 17412174be feat(Core/SAI): implement SMART_ACTION_DISABLE_REWARD (#21105) 2025-02-01 22:49:41 +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
KitzunuandAndrew 137337601d fix(DB/Misc): Bad delete in update file (#21307)
Co-authored-by: Andrew <[email protected]>
2025-02-01 16:48:24 +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 847d2156fc refactor(Core/Loot): Simplify GetFishLoot with for loop and merge Get… (#21217) 2025-01-20 14:09:27 +01:00
Kitzunu 9c43adc445 fix(Core/ObjectMgr): Potential crash in GetModuleString() (#21211) 2025-01-19 20:31:54 +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
Kitzunu fca38b8c33 refactor(Github/Misc): Deprecate Suggestion label and use Github Type (#21192) 2025-01-16 21:00:07 +01:00
Kitzunu 2aa8c8aa80 refactor(Core/SmartScripts): Clean up validation logic by replacing A… (#21184) 2025-01-16 20:49:26 +01:00
Kitzunu 4b8dca1ea2 fix(Core/Misc): Correct some fmt logs (#21106) 2025-01-07 06:08:19 +01:00
Kitzunu 275ff66e29 chore(Core/World): improve server restart/shutdown logging (#21046) 2025-01-04 10:36:23 +01:00
Kitzunu 6ea9b7a9cb fix(Core/Player): fix output for disabled maps (#21068) 2024-12-30 16:42:09 -03:00
Kitzunu 5dfe8973bb chore(DB): Delete empty/null entries (#21058) 2024-12-29 18:50:20 +01:00
KitzunuandGrimdhex a1e1bded35 fix(Scripts/ICC): Use threatlist for vampiric bite (#21012)
Co-authored-by: Grimdhex <[email protected]>
2024-12-27 22:33:18 -03:00
Kitzunu bff594c4f5 feat(Unit/Misc): HasAnyAuras() HasAllAuras() HasAuras() (#21040) 2024-12-26 05:51:54 -03:00
Kitzunu e68faf71fe fix(Core/Log): fmt output for appender (#21043) 2024-12-25 23:17:25 +01:00
Kitzunu 3dff276136 chore(CI): Update CI run types (#21015) 2024-12-23 10:23:55 +01:00
Kitzunu f5ce076919 chore(DB/quest_request_items_locale): Remove empty or NULL entries (#21013) 2024-12-22 18:40:06 +01:00
Kitzunu d5fac96a20 refactor(CI/Codestyle): Move the SQL check to python (#21002) 2024-12-22 16:50:32 +01:00
Kitzunu 7714ca31a2 refactor(Core/Time): Introduce GetExpirationTime instead of calculati… (#21006) 2024-12-22 09:42:39 +01:00
Kitzunu 1462d1ae39 fix(Script/Command): Allow guid for npc move and delete (#21008) 2024-12-22 09:42:21 +01:00
Kitzunu 2c20c9463a feat(CI/Codestyle): Check for tabs (#20998) 2024-12-22 00:43:23 +01:00
Kitzunu d2b88bdc1e feat(CI/Codestyle); Check for double semicolons (#20996) 2024-12-21 22:19:49 +01:00
Kitzunu ceefd89a06 feat(CI/Codestyle): check for curly brackets before/after if/else statements (#20977)
* feat(CI/Codestyle): check for braces after if/else statements

* right need to edit a cpp file to trigger cpp check

* Revert "right need to edit a cpp file to trigger cpp check"

This reverts commit 2e34d8c52f35216549107a3476e79e79ea2ae077.

* fix codestyle in cpp

* Update oculus.cpp

* Update codestyle.py

* Update codestyle.py

* Update codestyle.py

* Update codestyle.py
2024-12-19 21:14:58 +01:00
Kitzunu 0bc70670d2 refactor(Core/Misc): Use steady_timer instead of deadline_timer (#20940) 2024-12-19 18:00:03 +01:00
Kitzunu 3a20433827 feat(DB): New DB exporter and versioning tools for DB squashes (#20920) 2024-12-16 16:13:05 +01:00
Kitzunu 7732e1a5b2 feat(DB): Release ACDB 12.0.0 (#20921) 2024-12-15 14:35:42 +01:00
Kitzunu 490c90bdd7 feat(Core/SAI): Add pet variable to SMART_TARGET_INVOKER_PARTY (#20804)
* feat(Core/SAI): Add pet variable to SMART_TARGET_INVOKER_PARTY

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

* mb
2024-12-01 13:57:39 -03:00
Kitzunu ed008a8780 refactor(Core/Spells): Add helpers for HasAuraType (#20802) 2024-12-01 08:50:59 -03:00
Kitzunu 10a79441b6 fix(Core/Spells): Logic misstake for spells that can be cast on dead … (#20800) 2024-12-01 11:11:33 +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
Kitzunu 4aa70c4dba refactor(Deps/mysqllite): Nuke it (#20710)
* close https://github.com/azerothcore/azerothcore-wotlk/issues/20123
2024-11-24 14:45:46 +01:00
Kitzunu b67a409bad refactor(Core/Database): improve abort messages for mysql errors (#20013)
* refactor(Core/Database): improve abort messages for mysql errors

* Update MySQLConnection.cpp
2024-09-23 15:58:00 -03:00
Kitzunu d227ed91c2 fix(Scripts/Commands): Prevent crash if you use doublequotes in go cr… (#20012)
fix(Scripts/Commands): Prevent crash if you use doublequotes in go creature name

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/20010
2024-09-21 18:30:58 -03:00
Kitzunu 386aea03ee chore(Core/Misc): Some cleanup (#19970)
* remove weird blanks

* update if

* ) ) to ))

* missed some ) )

* now switch

* .
2024-09-21 19:34:31 +02:00
Kitzunu dbde182ecd refactor(Deps/MySQL): Drop MariaDB and MySQL 5.7/8.1 and add MySQL 8.… (#19451) 2024-09-19 00:24:11 -03:00
Kitzunu 1df989f780 chore(Core/Achievement): cleanup offline achievement (#19976) 2024-09-15 16:11:24 -03:00
Kitzunu 04c8e85434 fix(Scripts/BT): correct illidari council enrage timer (#19975)
* fix(Scripts/BT): correct illidari council enrage timer

* wrong conversion from https://github.com/azerothcore/azerothcore-wotlk/commit/5ae1473e3064beb4adf666e33a38b6072639069a

* redundant
2024-09-15 09:39:04 -03:00
Kitzunu 9af86553c5 chore(Core/Misc): update floor and ceil to std (#19837) 2024-09-03 08:01:00 -03:00
Kitzunu de2bcbdabf refactor(Core/Misc): Acore::StringFormat to fmt format (#19838)
refactor(Core/Utilities): Acore::StringFormat to fmt format

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/10356
2024-09-03 07:59:37 -03:00
Kitzunu 5d31b9f98f refactor(Core/Item): Add helpers (#19828) 2024-08-31 19:38:50 -03:00
Kitzunu 1bfcc0e469 fix(Core/BG): Fix fmt issue for bg sent notifications (#19718)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/19559
2024-08-25 19:22:37 -03:00
Kitzunu eb410d6ab2 refactor(Core/Battleground): rewrite SpiritOfCompetitionEvent() (#19675)
* Use DoForAllPlayers

* Change to void - we don't need to return a value

* Better readability
2024-08-22 19:24:08 +02:00
Kitzunu 337135bf9e refactor(Core/Misc): Use NpcFlag helpers (#19676)
* chore(Core/Misc): Use HasNpcFlag instead of HasFlag

* extend to all npcflag helpers
2024-08-19 10:17:02 +02:00
Kitzunu e33a56d89b fix(Core/Creature): Nullcheck for questgreeting greeting (#19669)
* fix(Core/Creature): Nullcheck for questgreeting greeting

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

* Update GossipDef.cpp
2024-08-18 06:41:18 -03:00
Kitzunu 7ff8f72397 chore(Script/Misc): cleanup (#19619)
* chore(Script/Misc): cleanup

* more cleanup

* cleanup
2024-08-14 16:29:50 -03:00
Kitzunu 030716421f feat(Core/LFG): Option to disable deserter (#19618)
* feat(Core/LFG): Option to disable deserter

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

* Update IWorld.h
2024-08-14 09:19:56 -03:00