Commit Graph

322 Commits

Author SHA1 Message Date
Kitzunu
d0f10a12c0 feat(Scripts/Commands): introduce go creature name (#17910)
* feat(Scripts/Commands): introduce go creature name

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

* Since new command handler the old "go creature" dont take name as argument

* Update cs_go.cpp

* this could be null... so let's avoid stupid crashes

* we only need the first result if there are multiple

* Update cs_go.cpp

* Update rev_1701381015172273800.sql
2023-12-03 02:57:41 +01:00
Winfidonarleyan
eb1ecc38a5 feat(Core/Scripting): move all script objects to separated files (#17860)
* feat(Core/Scripts): move all script objects to separated files

* Apply 5bfeabde81

* try gcc build

* again
2023-12-02 21:13:20 +01:00
Kitzunu
eb663a436a fix(Scripts/Command): Allow player name/guid in additem (#17915)
* fix(Scripts/Command): Allow player name/guid in additem

* build?

* Revert "build?"

This reverts commit 3f37456f1d41a0db0bae45801c6f90e72ce19292.

* Update cs_misc.cpp

* console isnt a player
2023-12-02 19:59:09 +01:00
Kitzunu
db4b0b0d3d feat(Core/ChatHandler): Add SendErrorMessage helper (#17919)
* feat(Core/Chat): Add SendErrorMessage helper

* lost boy
2023-12-02 19:25:32 +01:00
Kitzunu
c1a12a64ee fix(Script/Commands): Make sure learn all lang also give you the skill (#17902) 2023-11-29 22:26:40 +01:00
Kitzunu
635288b5c5 fix(Scripts/Commands): Display GUID on gob info (#17900)
* fix(Scripts/Commands): Display GUID on gob info

* close https://github.com/azerothcore/azerothcore-wotlk/issues/8129

* Update cs_gobject.cpp
2023-11-29 20:14:58 +01:00
Kitzunu
e8336919f9 fix(Scripts/Command): ticket comment should allow input (#17891)
fix(Scripts/Command): gm comment should allow input

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/17877
2023-11-29 09:38:03 -03:00
Andrew
76a2bbfef0 fix(Scripts/Commands): Use the argument parser to parse guild names (#17863) 2023-11-26 16:59:58 +01:00
KJack
b7f7a7c731 fix(Core/Creature): Make Respawn() respect conditions and linked respawns (#17597) 2023-11-26 08:48:58 -03:00
Dan
d4931755ea fix(Scripts/Commands): make sure no invalid IDs can be passed in map creation for .go xyz (#17836)
* handle wrong ID

* remove enum

* white line at end

got removed for some reason idk

* a tab
2023-11-24 01:20:09 +01:00
KJack
48271945d0 feat (core/cs): Make .go xyz ignore non-numeric data to improve copy-paste usability (#17772)
* Flexible `.go xyz` working well with existing syntax order.

* Make `.go xyz` ignore non-numeric characters

* Support values separated by something other than a space.

* Use current player orientation instead of `0.0f`

* Rename `inputCoords` to `args` per request.
2023-11-19 22:43:48 +01:00
Dan
a286bc55bd fix(Scripts/Commands): guild commands revert back to using guild names in quotes (#17798)
* initial

* remove tabs
2023-11-19 16:04:46 +01:00
Winfidonarleyan
e90d7a2f92 chore(Core/Misc): sort includes (#17776)
* chore(Cleanup): sort includes

* fix build

* fix build again
2023-11-18 17:51:26 +01:00
KJack
751ffc7c70 feat(Core/Hooks): Add OnAfterDatabaseLoadCreatureTemplates hook (#17621)
* Add OnAfterDatabaseLoadCreatureTemplates hook
- fix issue where the fast template cache was not updated correctly after a CS reload of a single creature template

* Parameter naming tweak to reduce confusion.

* Refactor to streamline fastcache creation, remove threading concerns

* Remove unneeded resize when loading creature templates

* Update fast cache resizing to highest-performing option
2023-10-31 06:58:45 -03:00
Kitzunu
f757e93da5 refactor(Core/Misc): Make DeathState enum class (#17607) 2023-10-28 10:54:03 +02:00
IntelligentQuantum
a0985f59b6 refactor(Scripts/Commands): convert cs_ticket to new system (#17547)
Update cs_ticket.cpp
2023-10-21 08:22:53 -03:00
IntelligentQuantum
332ff49c13 refactor(Scripts/Commands): convert cs_reset to new system (#17546)
Update cs_reset.cpp
2023-10-20 19:41:02 -03:00
IntelligentQuantum
39db3de5af refactor(Scripts/Commands): convert cs_guild to new system (#17515) 2023-10-18 10:57:28 -03:00
Kitzunu
a4e4d6ddb2 feat(Core/Player): Implement commentator tag (#17449)
* feat(Core/Player): Implement commentator tag

* remove redundant session check
2023-10-08 09:07:17 +02:00
Skjalf
1328412501 fix(Scripts/Commands): Fix list creature string output (#17351) 2023-09-25 06:09:00 -03:00
Skjalf
def86cc74e feat(Scripts/Commands): Display creature entry when using the npc nea… (#17331)
feat(Scripts/Commands): Display creature entry when using the npc near command
2023-09-24 10:19:00 -03:00
Francesco Borzì
eaa6487fc2 refactor(Scripts): remove unused imports (#17097) 2023-08-27 22:25:22 -03:00
Kitzunu
de2e2b6e8b fix(Scripts/Command): Improve output of event commands (#16980) 2023-08-12 00:03:03 +02:00
Kitzunu
c866e17406 refactor(Core/Motd): Move motd to MotdMgr (#16933) 2023-08-06 23:02:54 +02:00
Skjalf
b3eb43a113 fix(Scripts/Commands): Allow using flusharenapoints from console (#16879) 2023-08-02 14:44:13 -03:00
Kitzunu
5f95428c79 chore(Scripts/Misc): Improve server debug (#16708) 2023-07-15 17:14:38 -03:00
KJack
b5f311bf56 fix(Scripts/Commands): Fix '.send items' command to no longer require an itemId count (#16340)
* Fix '.send items' command to no longer require an itemId count

* Remove leftover debugging output, oops.
2023-05-28 16:28:01 -03:00
M'Dic
8aa2a2ac0f chore (core): Clean up (#15977)
* chore (core): Clean up

* Update SmartScript.cpp

* more clean up

* Update boss_xt002.cpp
2023-04-16 21:04:56 -04:00
Kitzunu
9eb4b3a336 feat(Core/Character): Implement profanity_name (#15156) 2023-03-04 17:43:14 -03:00
Kitzunu
99f5fa79aa refactor(Core/Autobroadcast): Move autobroadcast to it's own file (#15147) 2023-02-21 20:18:25 +01:00
Kitzunu
0c4feb6744 refactor(Core/Motd): Move motd from conf to db (#15111) 2023-02-20 22:07:26 +01:00
Kitzunu
f039836a2f chore(Core/Misc): Change all TODO to doxygen comment (#14966) 2023-02-12 10:05:34 -03:00
Skjalf
dba8c49bce chore(Core/Object): Rename GetGOData() to GetGameObjectData() (#14875) 2023-02-05 08:35:52 -03:00
Kitzunu
4870b14b1f refactor(Core/Object): getLevel() -> GetLevel() (#14122)
* refactor(Core/Object): getLevel() -> GetLevel()

* fix build and sneak some doxygen in

* codeSTLE

* codestyle
2022-12-31 17:39:23 +01:00
Skjalf
4df5302e2f feat(Scripts/Commands): Output SpellCastResult if the spell fails to … (#14359)
feat(Scripts/Commands): Output SpellCastResult if the spell fails to cast when using the cast spell commands
2022-12-24 09:47:13 -03:00
Winfidonarleyan
a1a1528cb4 feat(Core/Crypto): add support OpenSSL 3.0 (#13354) 2022-11-24 01:12:20 +07:00
55Honey
856c2e5e58 chore(Scripts/Commands): increase default removal duration to 30m from 15m (#13869) 2022-11-19 09:34:30 -03:00
Mickaël Mauger
2e5e3bda5d fix(Scripts/Commands): Fix assertion error on mmaps path command (#13704) 2022-11-16 01:24:27 -03:00
Skjalf
200a4b6af4 fix(Scripts/Commands): Fix group list command output (#13614) 2022-11-01 00:20:20 -03:00
UltraNix
41d3df9fcb fix(Scripts/Commands): Fixed command learn all my talents for chars… (#13529)
fix(Scripts/Commands): Fixed command `learn all my talents` for chars with 255 level.

Fixes #4788
2022-10-29 07:12:35 -03:00
Skjalf
192bf4736b feat(Scripts/Commands): Implement character changeaccount command (#13532)
* feat(Scripts/Commands): Implement character changeaccount command

* strings and stuff

* clear unused
2022-10-24 22:43:46 -03:00
Skjalf
e55d7cb951 fix(Core/ObjectAcessor): Fix crash caused by forced character renames (#13527) 2022-10-24 12:24:23 -03:00
Droz
8d7370decf Fix(core/scripts): issue 13325 - reset talents command (#13326)
Fix issue 13325 - reset talents command does not set offline player at_login flag to reset talents.
2022-10-15 11:05:00 -04:00
M'Dic
2e6f6e26da Add (core\db): Support for Homebind Orientation (#13389)
Add (core\db) Support for Homebind Orientation
2022-10-12 14:39:02 -04:00
Angelo Venturini
ad4ce0895f fix: Qaston revert (#13320)
* Revert "fix(Core/QAston): fixed shields oneshotting (#13271)"

This reverts commit e05f61d1b3.

* Revert "fix(Core): Crash (#13292)"

This reverts commit a818bcf3e2.

* Revert "fix: Crash (#13241)"

This reverts commit be423a91b5.

* delete sql

* Revert "refactor(Core/Spells): Implement QAston Proc System (#11079)"

This reverts commit cbd3fd0967.

* add sql revert

* fix sql

* remove update from world.updates
2022-10-05 21:53:20 +02:00
IntelligentQuantum
cbd3fd0967 refactor(Core/Spells): Implement QAston Proc System (#11079)
* .

* sql

* .

* .

* 1

* 2

* 3

* 4

* 5

* 6

* 7

* 8

* 9

* 10

* 11

* 12

* 13

* 14

* 15

* Update spell_item.cpp

* Update Unit.cpp

* 16

* 17

* 18

* 19

* 20

* 21

* Update Unit.cpp

* REVERT UltraNIX Commit

* 22

* 23

* .

* .

* .

* warrior

* warlock

* shaman rogue priest paladin mage

* spell item

* hunter

* druid

* dk

* war

* error style

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* .

* DOND DEL ME WAD DO DO

* error 2

* .

* .

* .

* FIX

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp

* .

* ja genau

* Update .gitignore

* .

* .

* .,

* .

* .

* .

* .

* Update Unit.cpp
2022-10-02 19:39:34 +02:00
Maelthyr
1f472bddd3 refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992) 2022-09-25 15:20:34 -03:00
ZhengPeiRu21
1ddd884d6a feat(Core): Implement SP Bonus Coefficients from DBC (#12562)
* cherry-pick commit (1826437c09)

* Co-authored by: ariel- <ariel-@users.noreply.github.com>

* feat(Core): Implement SP Bonus Coefficients from DBC

* Several coefficient corrections

* Fix spell_dru_lifebloom
2022-09-17 11:09:04 +02:00
Angelo Venturini
031dfc4c5b fix(Core/Commands): Achievement checkall (#12649) 2022-08-09 08:25:57 -03:00
neifion-00000000
b7353ce9b2 feat(Core/Commands): Introduce .npc guid (#12440) 2022-07-20 01:04:23 -03:00