Commit Graph
100 Commits
Author SHA1 Message Date
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
Kitzunu 2e02c76399 fix(Core/Creature): quest_greeting_locale (#19615)
* fix(Core/Creature): quest_greeting_locale

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/14845
2024-08-13 21:09:36 +02:00
Kitzunu 4b63aa9015 feat(DB/Module): introduce module_string table (#19475) 2024-08-13 19:53:16 +02:00
Kitzunu 7b102f53f2 fix(Core/Chat): Correct misstake in b81bcfb causing outputs to CLI not working properly (#19593)
fix(Core/Chat): Correct misstake in b81bcfbfea causing outputs to CLI not working properly

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/19592
2024-08-11 08:42:37 -03:00
Kitzunu b81bcfbfea refactor(Core/ChatHandler): Cleanup retriving session and checking fo… (#19585)
* refactor(Core/ChatHandler): Cleanup retriving session and checking for valid session

* redundant

* make it clear what a "valid" session is

* HasValidSession -> HasSession

* Differentiate from "valid" which in this case would mean the player is in world which isnt checked here
2024-08-10 17:46:13 +02:00
Kitzunu e4df159f5c refactor(Core/Chat): Move SendNotification to ChatHander (#19491)
* refactor(Core/Chat): Move SendNotification to ChatHander

* Update Battleground.cpp

* fix build

* Update src/server/game/Chat/Chat.h
2024-08-10 11:39:46 -03:00
Kitzunu bb7765d91e refactor(Core/World): Move SendGMText to ChatHandler and allow fmt (#19490)
* refactor(Core/World): Move SendGMText to WorldSession and allow `fmt`

- Move SendGMText from World to WorldSession

- Make SendGMText use fmt

- Make SendGMText parse acore_string entries

* Update cs_message.cpp

* tokenize the string only once

* Move to chathandler

* Update WorldSession.cpp

* make sure we have a session
2024-08-08 20:12:33 -03:00
Kitzunu fdd8ff6e04 refactor(Deps/OpenSSL): Deprecate OpenSSL 1.x (#19452)
* EOL
2024-08-07 18:13:31 +02:00
Kitzunu a1e9dfce41 fix(Core/World): Crash on SendWorldText(Optional) (#19531)
* fix(Core/World): Crash on SendWorldText(Optional)

* WorldText should be sent to all sessions

* now it works
2024-07-30 22:53:11 +02:00
Kitzunu 87f4adf634 refactor(Core/Chat): Move SendWorldText(optional) to ChatHandler and … (#19501)
* refactor(Core/Chat): Move SendWorldText(optional) to ChatHandler and allow `fmt`

* Update src/server/game/Battlegrounds/BattlegroundQueue.cpp

* Update src/server/game/Battlegrounds/BattlegroundQueue.cpp

* Update src/server/game/Misc/BanMgr.cpp

* Update src/server/game/Misc/BanMgr.cpp

* Update src/server/game/Misc/BanMgr.cpp

* Update src/server/game/Misc/BanMgr.cpp

* Update src/server/game/Misc/BanMgr.cpp

* Update src/server/game/Misc/BanMgr.cpp

* Update src/server/game/Misc/BanMgr.cpp

* Update src/server/game/Misc/BanMgr.cpp
2024-07-29 14:44:13 -03:00
Kitzunu 4785aabbf2 fix(Scritps/AV): Use db defined text for Herald (#19486)
* fix(Scritps/AV): Use db defined text for Herald

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

* indent

* Update BattlegroundAV.cpp

* fix build

* remove from acore_string

* Update BattlegroundAV.h
2024-07-28 01:44:03 +02:00
Kitzunu 6c0afe1810 refactor(Core/WorldSession): Make SendNotification use fmt and parse acore_string (#19489)
* refactor(Core/WorldSession): Make SendNotification use `fmt`

* Make SendNotification use `fmt`

* Make SendNotification parse acore_string entries
2024-07-28 01:25:06 +02:00
Kitzunu 034a4c0ff6 fix(Core/Chat): Exempt addon messages from CONFIG_CHAT_MUTE_FIRST_LOGIN (#19472)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/19471
2024-07-27 08:21:23 -03:00
KitzunuandShauren 3669144099 chore(Deps/Boost): Cleanup pre-c++11 checks and silence CMake warning (#19450)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/ad96f1fd78f26a304e56c37495017d14aa34c9c0)

* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/66abca15933fcc6bfdd6dba71ee725da4e906af3)

Co-authored-by: Shauren <[email protected]>
2024-07-27 08:17:48 -03:00
Kitzunu 5da3e2e688 refactor(Core/SmartScripts): Change invoker to be WorldObject (#19408)
* refactor(Core/SmartScripts): Change invoker to be WorldObject

* avoid dangling else

* womp womp

* check for null

* null check

* Update SmartScript.cpp

* Avarishd broke it for sure

* remove redundant check

* reduce more redundant code

* who doesnt love redundancy
2024-07-27 07:32:55 -03:00
Kitzunu 7c68ba51e7 fix(Scripts/Commands): serv info (#19478) 2024-07-25 18:40:54 -03:00
Kitzunu 3fbded8f6b refactor(Core/Chat): PSendSysMessage to fmt (#19449)
* refactor(Core/Chat): PSendSysMessage to `fmt`
2024-07-23 23:48:46 +02:00
Kitzunu b9136e060d fix(CI): tools (#19453)
* fix(CI): tools

* Update tools_build.yml

* I dont think this is neccessary. Let's see if CI agrees with me
2024-07-20 20:27:08 +02:00
Kitzunu 21f86d1c3c chore(Core/Misc): Remove deprecated code (#19413)
* Config - Deprecated for 3 years
* ChatCommand - Deprecated for 2 years
* getLevel() - Deprecated for 2 years
* SendGlobalText - Deprecated for 8 years +
2024-07-20 09:11:01 +03:30
Kitzunu 5c09a3194e fix(Core/Config): Allow # outside of comments (#19447) 2024-07-19 21:54:47 -03:00
Kitzunu 139e6d6362 fix(DB/Creature): Ormus the Penitent (#19444)
* fix(DB/Creature): Ormus the Penitent

* Update rev_1721400804205047100.sql
2024-07-19 19:43:08 -03:00
Kitzunu cef6423bd8 chore(Github): Update issue template to further emphasize the require… (#19442)
chore(Github): Update issue template to further emphasize the requirement of server debug output
2024-07-19 15:27:07 +02:00
Kitzunu 332446b8aa fix(Scripts/ChatLogger): Differentiate addon whisper from player whisper (#19441)
* fix(Scripts/ChatLogger): Differentiate addon whisper from player whisper

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

* fix build
2024-07-19 15:26:34 +02:00
Kitzunu 23fcd4684d fix(DB/Item): Bouquet of Orange Marigolds (#19417)
* Closes https://github.com/chromiecraft/chromiecraft/issues/7046
2024-07-19 10:01:56 -03:00
Kitzunu 428fb73e79 fix(Scripts/Reload): Only send reload output to GMs (#19443) 2024-07-19 14:45:14 +02:00
Kitzunu 486cbb3970 fix(Scripts/ChatLog): Whoopsies (#19430) 2024-07-18 19:31:12 -03:00
Kitzunu ab52e1f164 chore(Scripts/ChatLog): Cleanup the code (#19411)
* chore(Scripts/ChatLog): Cleanup the code

* Update chat_log.cpp

* remove more redundant code
2024-07-18 22:46:01 +02:00
Kitzunu 3831557dfe docs(DB): Database Squash (#19415) 2024-07-18 19:34:32 +02:00
KitzunuandGildor 59766e10c6 fix(Core/Spell): Allow using SpellDifficulty in bg (#19422)
* fix(Core/Spell): Allow using SpellDifficulty in bg

* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/e4caf52e5a3820399d7ddd5ea3963c36d1d71e28)

* "Allow get SpellDifficulty on battleground maps
This is only for Isle of Conquest (Bracket 71-79 is Regular Difficulty, Bracket 80-84 is heroic or 25Man)
Spells of IoC Battleground vehicles, cannons, bombs and bosses have SpellDifficulty in DBC"

* Remove redundant CastSpell and assign a variable instead

Co-Authored-By: Gildor <[email protected]>

* Update isle_of_conquest.cpp

---------

Co-authored-by: Gildor <[email protected]>
2024-07-18 18:12:41 +02:00
Kitzunu d26a2cac52 fix(DB): Correct collation for c_t_model (#19428) 2024-07-18 12:47:48 -03:00
Kitzunu be59abad1c fix(DB/Import): Why did the bot fail? (#19416)
* fix(DB/Import): Why did the bot fail?

* nl
2024-07-17 02:30:37 +02:00
Kitzunu 275b8b5d7f chore(Scripts/ServerMail): Cleanup the code (#19412)
* chore(Scripts/ServerMail): Cleanup the code

* try to fix build error

* okay we resort to the AIs
2024-07-17 01:33:26 +02:00
Kitzunu 3e88bd8668 feat(DB): Release ACDB 11.0.0 (#19414) 2024-07-17 01:07:46 +02:00