Commit Graph

277 Commits

Author SHA1 Message Date
Kargatum
c1ebda66ba fix(Core/Pets): fixed crash happening when current pet is forcibly removed (#10025) 2022-01-10 09:19:43 -03:00
Kitzunu
cb7e355291 refactor(Core/Misc): sin() to std::sin() (#9795) 2022-01-06 19:29:40 +01:00
acidmanifesto
2d4e17fd16 refactor(Core/Creature): Remove Inhabit Type (#9272)
This is in reference to issue: https://github.com/azerothcore/azerothcore-wotlk/issues/4361
This is comprised of a cherry pick and partial tc cherry pick:
592516ae69
dbadb6369c
34cfa69efd
12de860b4a
a22bc236eb
2022-01-06 10:33:22 -03:00
IntelligentQuantum
84f060eb7f fix(Scripts/Commands): Look item (#9892)
* Add files via upload

* Update cs_lookup.cpp
2022-01-03 15:44:05 -03:00
Noxies
e71d902027 fix(Core/DB): adjust commands sec level to follow wiki (#9978)
* sql: update gm list to security 3

* gm list SEC_ADMINISTRATOR fallback

* Update `gm on/off` to SEC_MODERATOR fallback

* update code style
2022-01-02 19:28:03 -03:00
Francesco Borzì
b748730bc8 refactor(Core): remove unused imports (#9969) 2022-01-02 20:22:09 +01:00
Kitzunu
ac99eb48e1 refactor(Core/Misc): abs() to std::abs() (#9789) 2021-12-31 19:29:39 -03:00
Kargatum
e12494d993 feat(Core/Pets): Management refactoring (#9712)
* feat(Core/Pets): rework managment

* 1

* 2

* 3

* 4

* 5

* cs pet

* check before ressurect

* pet DECLINED_NAMES

* display

- https://github.com/azerothcore/azerothcore-wotlk/issues/9297

* ArenaSpectator

* 1
2021-12-30 18:45:13 -03:00
Skjalf
58302e4196 feat(Core/Player): Implement player specific settings (#9483) 2021-12-26 08:39:15 -03:00
IntelligentQuantum
0c1880f694 feat(Scripts/Commands): additem (#9759) 2021-12-23 11:55:03 -03:00
Skjalf
a576dcbcce fix(Scripts/Commands): fix additem (#9843) 2021-12-22 15:44:47 -03:00
IntelligentQuantum
838c88f45a refactor(Scripts/Commands): convert cs_misc to new system (#8939) 2021-12-21 19:32:21 +07:00
Skjalf
ea1ffd6894 feat(Scripts/Commands): Implement item refund command (#9811) 2021-12-20 16:11:45 -03:00
Francesco Borzì
cbc7e5466a refactor(Core): remove unused imports (#9767) 2021-12-19 19:41:14 +01:00
Noxies
cf4040b4cf fix(Core/Command): cfg check on item restore list (#9659) 2021-12-11 19:12:10 -03:00
Skjalf
1e3ba98fba refactor(Scripts/Command): Simplify command go set state (#9527) 2021-12-11 13:58:59 -03:00
Noxies
5ec50ac119 fix(Core/Commands): Item duplication exploit (#9650) 2021-12-11 13:21:07 -03:00
Noxies
c95c29838b feat(Scripts/Commands): Item restoration command (#9538)
* Implement item restore command & move itemmove to new item cmd

* Implement LANG_COMMAND_DISABLED

* Prevent command usage if no config is set

* WIP: `.item restore list`

* Fix restore list & create base for restore item

* Send item to player via mail

* Put player as last argument

* Use Postmaster & fix restore list

* Show item name in restore list

* Update HandleItemMoveCommand to be using the api

Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>

* Send item instantly if online
2021-12-08 23:57:15 -03:00
Kargatum
0b507d531d refactor(Scripts/Commands): convert cs_modify to new system (#9474) 2021-12-04 11:56:47 -03:00
IntelligentQuantum
c21d83b30a feat(Core/Commands): command to teleport character to npc (#8887) 2021-12-04 09:58:30 +01:00
Cláudio Costa
1b51d25c65 fix(Script/Commands): cs_modify crash fix (#9471) 2021-12-03 08:17:59 -03:00
Kargatum
51adbffae4 feat(Core/Modules): add separated lib for modules (#9281) 2021-12-02 20:28:58 +07:00
Skjalf
2187470df7 refactor(Scripts/Commands): Update cs_quest to the new model (#9267) 2021-11-24 01:21:16 -03:00
Kargatum
f62664c987 refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00
Skjalf
3d95308d40 feat(Scripts/Commands): Implement restart/shutdown reasons (#9242) 2021-11-20 16:47:41 -03:00
Kargatum
0d345c5a50 fix(Core/Scripts): add support using whitespace for cs_lookup (#9243) 2021-11-19 10:55:33 -03:00
Skjalf
731d256420 refactor(Core/Cache): move the GlobalPlayerCache to its own class (#9166) 2021-11-18 16:53:36 +01:00
Skjalf
39425e0c1f feat(Core/Loot): Implement player_loot_template (#9198)
* Also fix AV player loot
2021-11-17 08:07:21 -03:00
IntelligentQuantum
91eb17f888 fix(Scripts/Commands): cs_character - Restore character rename reserved_name functionality (#9195) 2021-11-15 12:30:01 -03:00
UltraNix
6b219dc0e1 feat(Scripts/Commands): implement new command: .inventory count (#9139)
- Closes #8845
2021-11-15 09:51:21 +01:00
Kargatum
ec8f95f133 fix(Core/Scripts): corrrect cs_lookup (#9184) 2021-11-14 11:05:20 +01:00
IntelligentQuantum
ed55aa63af refactor(Scripts/Commands): convert cs_lookup to new system (#9100) 2021-11-14 00:26:21 +01:00
Kitzunu
4a4615f4dc feat(Script/Commands): .debug dummy (#9070)
* cherry-pick commit (5ed891a0f0)

Co-Authored-By: Treeston <14020072+Treeston@users.noreply.github.com>
2021-11-12 12:19:35 -03:00
IntelligentQuantum
4a69d1fc07 refactor(Scripts/Commands): convert cs_learn & cs_player to new system (#9050) 2021-11-12 13:03:38 +01:00
IntelligentQuantum
06bc64d1c3 refactor(Scripts/Commands): convert cs_server to new system (#9078) 2021-11-10 13:22:47 +01:00
IntelligentQuantum
01a7d1d899 refactor(Scripts/Commands): Convert cs_reload to new system (#9052) 2021-11-10 12:33:12 +01:00
IntelligentQuantum
540e8e9209 refactor(Scripts/Commands): Convert cs_mmap to new system (#9020) 2021-11-09 10:25:57 -03:00
IntelligentQuantum
e228b08316 feat(Scripts/Commands): convert cs_disable to new system (#9021) 2021-11-09 11:43:19 +01:00
IntelligentQuantum
4653641a0b refactor(Scripts/Commands): Convert cs_cast to new system (#8997) 2021-11-08 09:06:51 -03:00
IntelligentQuantum
a9e5b35a5d feat(Scripts/Commands): new command to debug play music (#8967) 2021-11-08 00:49:35 +01:00
IntelligentQuantum
eb04315da5 feat(Scripts/Commands): convert cs_list to new system (#8920) 2021-11-06 00:00:17 +01:00
IntelligentQuantum
f342535b69 featScripts/Commands): convert cs_lfg to new system (#8919) 2021-11-05 23:59:03 +01:00
Andrius Peleckas
a6340d5b11 fix(Scripts/Player): some refactor related to PlayerCommand functions (#8975) 2021-11-05 17:22:39 +01:00
Kargatum
1b49a1eda2 fix(Core/Commands): correct header PlayerCommand.h file structure (#8947) 2021-11-04 18:39:32 -03:00
IntelligentQuantum
d5509ceb37 refactor(Scripts/Commands): Convert cs_go to new system (#8874) 2021-11-04 12:41:59 -03:00
UltraNix
8af051d6d6 feat(Scripts/Command): implement new command: bags clear (#8549) 2021-11-04 13:10:34 +01:00
IntelligentQuantum
cde621f9eb feat(Scripts/Commands): convert cs_instance to new system (#8831) 2021-11-03 14:25:25 +01:00
Kargatum
aa7932e971 feat(Core/EnumUtils): add more enum for support chat command (#8828) 2021-11-03 10:50:11 +01:00
IntelligentQuantum
2f25323456 feat(Scripts/Commands): convert cs_object to new system (#8855) 2021-11-01 19:28:19 +01:00
Malcrom
f106de8788 refactor(Core): update getFaction to GetFaction and setFaction to SetFaction (#8708) 2021-11-01 17:04:32 +01:00