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
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
Benjamin Jackson
07c54fe8c7
fix(DB/Command): Add help values for various commands. ( #19984 )
...
Init.
2024-09-16 12:12:26 -03:00
Andrew
ee6e74eb3c
fix(Scripts/Commands): Fix level up achievements not being granted ( #19969 )
2024-09-15 15:55:45 -03:00
天鹿
e7448f2986
fix(Scripts/Commands): .gps formatting transport offset ( #19890 )
...
* Update cs_misc.cpp
* Update PlayerUpdates.cpp
2024-09-07 01:03:41 -03:00
Jelle Meeus
89b08dd5dc
fix(Scripts/Commands): .gps formatting transport offset ( #19888 )
...
fix transport offset
2024-09-06 19:43:12 -03:00
Benjamin Jackson
1edac37ac3
refactor(Core): Make more use of helpers. ( #19835 )
...
* Init.
* Reword.
* Update codestyle script.
Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Add gameobject type ID check, reorder checks.
* Add helper/codestyle check for unit type.
* `IsUnit()` -> `IsCreature()`
* Add `IsUnit()` method.
* Use type mask.
https: //github.com/TrinityCore/TrinityCore/commit/cc71da35b5dc74abf71f8691161525a23d870bb5
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com >
* Replace instances of `isType` with `IsUnit`.
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com >
2024-09-03 14:41:31 -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
Andrew
7e2ffc2db8
feat(Scripts/Commands): Implement "pct" optional to the damage command ( #19745 )
2024-08-27 22:28:09 +02:00
Grimdhex
643362d697
refactor(Core/Object): adds consistency in the use of type object check ( #19671 )
2024-08-25 09:57:37 -03:00
Andrew
1565758da4
Revert "chore(Script/Misc): cleanup" ( #19627 )
...
Revert "chore(Script/Misc): cleanup (#19619 )"
This reverts commit 7ff8f72397 .
2024-08-15 05:43:11 +02:00
Kitzunu
7ff8f72397
chore(Script/Misc): cleanup ( #19619 )
...
* chore(Script/Misc): cleanup
* more cleanup
* cleanup
2024-08-14 16:29:50 -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
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
Gultask
a23da06358
feat(Scripts/Commands): Morph Mount ( #19558 )
...
* init
* Update cs_modify.cpp
* Update data/sql/updates/pending_db_world/rev_1722817302187444800.sql
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com >
* Update cs_modify.cpp
---------
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com >
2024-08-05 21:41:00 -03:00
Francesco Borzì
02a05fbd4c
refactor(src/common): remove unused imports ( #19506 )
...
* refactor(src/common): remove unused imports
* fix: build
* chore: fix build
* chore: size_t -> std::size_t
* chore: fix fuckup from previous commit
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build with std::size_t
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
2024-07-30 20:06:46 -03:00
Justin Hanley
af6b8ce099
feat(Scripts/Commands): account set email ( #19481 )
...
* added worldserver command to set email address
* reverted sql, added Tail args
* removed pointer
* Added helper text via updatescript
* fix build
* fix build
* fixed db update
* Update data/sql/updates/db_world/2024_07_26_01.sql
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Update data/sql/updates/db_world/2024_07_26_01.sql
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* fixed hander
* refactor with named params
* refactor with named params
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2024-07-30 15:33:13 +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
avarishd
6e0853dd76
feat(Scripts/Commands): .aura stack - Modify aura stacks ( #19462 )
...
* feat(Scripts/Commands): .aurastack - Modify aura stacks
* aura stack
* remove aur check
* {}
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2024-07-26 20:00:37 -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
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
428fb73e79
fix(Scripts/Reload): Only send reload output to GMs ( #19443 )
2024-07-19 14:45:14 +02:00
Kitzunu
2008d64e7b
fix(Scripts/Commands): Ticket response ( #19406 )
...
* fix(Scripts/Commands): Ticket response
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/19390
* Implements two new commands
* ticket response delete - Delete a ticket response
* ticket response show - Show current ticket response
* this better
* English?
* bette rlogic
* Update cs_ticket.cpp
2024-07-16 03:22:23 +02:00
Francesco Borzì
4040f93f85
refactor(Scripts/Commands): remove unused imports ( #19340 )
...
* refactor(Scripts/Commands): remove unused imports
* chore: fix build
* chore: revert unwanted change
2024-07-09 14:17:06 -03:00
Kitzunu
fc8b67bbe4
chore(Scripts/Commands): QOL server debug ( #19297 )
...
* chore(Scripts/Commands): QOL server debug
* England
* might as well do updatetime while we are at it. Consistency right?
* Hey let's sneak this ENGLAND in
2024-07-06 01:18:38 +02:00
Kitzunu
0a8175ef03
refactor(Core/ObjectMgr): Handle Profanity & Reserved Names in load ( #19259 )
...
* refactor(Core/ObjectMgr): Handle Profanity & Reserved Names in load
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/18556
* Update ObjectMgr.cpp
* Update ObjectMgr.cpp
* I swear I am not drunk
* We already check all of these
* fix build
* Forgot we dont send the responsecode in senderrormessage
* last commit I swear
2024-07-03 00:23:32 +02:00
Kitzunu
f96d4c8670
Revert "Add (core\db): Support for Homebind Orientation ( #13389 )" ( #19257 )
...
* Revert "Add (core\db): Support for Homebind Orientation (#13389 )"
This reverts commit 2e6f6e26da .
Changes to be committed:
modified: src/server/database/Database/Implementation/CharacterDatabase.cpp
modified: src/server/game/DungeonFinding/LFGScripts.cpp
modified: src/server/game/Entities/Player/Player.cpp
modified: src/server/game/Entities/Player/Player.h
modified: src/server/game/Entities/Player/PlayerStorage.cpp
modified: src/server/game/Entities/Player/PlayerUpdates.cpp
modified: src/server/game/Handlers/CharacterHandler.cpp
modified: src/server/game/Handlers/MiscHandler.cpp
modified: src/server/game/Handlers/MovementHandler.cpp
modified: src/server/game/Maps/Map.cpp
modified: src/server/game/Spells/Spell.cpp
modified: src/server/scripts/Commands/cs_misc.cpp
modified: src/server/scripts/Commands/cs_tele.cpp
modified: src/server/scripts/Northrend/VaultOfArchavon/instance_vault_of_archavon.cpp
Untracked files:
data/sql/updates/pending_db_world/rev_1719945200692175000.sql
* Revert "Add (core\db): Support for Homebind Orientation (#13389 )"
* whoops
2024-07-02 22:02:15 +02:00