Commit Graph

41 Commits

Author SHA1 Message Date
UltraNix
8f697bdaee fix(Core/Items): Item sell prices are affected by durability loss. So… (#13801)
...urce: Vmangos.
2022-11-21 18:51:40 -03:00
Kitzunu
33f6486180 fix(Core/ItemHandler): fix selling items over gold limit (#11673)
* cherry-pick commit (d0b8fb87f2)

Co-Authored-By: okfok <44704482+okfok@users.noreply.github.com>

Co-authored-by: okfok <44704482+okfok@users.noreply.github.com>
2022-05-08 10:42:35 +02:00
Kargatum
de13bf426e feat(Core/DBLayer): replace char const* to std::string_view (#10211)
* feat(Core/DBLayer): replace `char const*` to `std::string_view`

* CString

* 1

* chore(Core/Misc): code cleanup

* cl

* db fix

* fmt style sql

* to fmt

* py

* del old

* 1

* 2

* 3

* 1

* 1
2022-02-05 00:37:11 +01:00
Kargatum
5969df4e30 refactor(Core/Logging): switch to fmt style for LOG_ (#10366)
* feat(Core/Common): add support fmt style for ASSERT and ABORT

* correct CheckCompactArrayMaskOverflow

* 1

* Update src/server/game/Spells/Spell.cpp

* rework logging

* add fmt replace logs

* logging

* FMT_LOG_

* settings

* fix startup

* 1

* 2

* 3

* 4

* 5

* fmt::print

* to fmt
2022-01-27 16:44:41 +01:00
acidmanifesto
4330e44ad0 fix (Core/CodeReduction) TC_ removal (#10162)
TC_ remove from any commit out TC_LOG in the event when we do need to run debug logging, we can just remove the // instead of // TC_
2022-01-13 14:39:54 -05: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
Kitzunu
a9cbd35cd2 fix(Core/Achievement): Don't count bought back items as a new item for ACHIEVEMENT_CRITERIA_TYPE_RECIEVE_EPIC_ITEM (#9798)
* cherry-pick commit (a58955d88c)

Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com>
2022-01-01 15:08:59 -03:00
IntelligentQuantum
53a6fb7513 refactor(Core/Packets): Bank packets (#9627) 2021-12-30 16:00:24 -03:00
Kargatum
f62664c987 refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00
UltraNix
987ee3da3d fix(Core/Items): properly show quest items count deposited/withdrew from bank (#8956)
- Closes #8699
2021-11-06 00:02:17 +01:00
UltraNix
6796a86b7f fix(Core/Item): showing errors when cannot equip some item (#8932)
- Closes #8604
2021-11-06 00:00:47 +01:00
acidmanifesto
70b0de4e1f fix(Core/Quest): Refresh SMSG_QUESTGIVER_STATUS_MULTIPLE after a quest change (#8902)
Co-authored-by: Malcrom <malcromdev@gmail.com>
2021-11-04 23:51:54 +01:00
UltraNix
de8d0b49f8 fix(Core/Items): toggle temporary items enchantments during items swap. (#8067)
- Closes #7957
2021-10-04 15:44:49 +02:00
Kargatum
52aa0e9966 feat(License): add new headers information about license (#7941)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-09-30 13:40:52 +07:00
UltraNix
a561ce8937 fix(Core/Items): properly display item spell charges (#7722)
- Closes #7598
2021-09-07 11:19:12 +02:00
UltraNix
2f9f95221b fix(Core/Items): armor type requirement for needing items in LFG grou… (#7523)
- Closes #7467
2021-09-02 10:39:57 +02:00
Andrius Peleckas
dd14c63088 fix(Core/Vendors): incorrect check which allowed/disabled alliance players (#7507) 2021-08-26 15:41:17 +02:00
Kargatum
9ac6fddcae feat(Core/Database): port TrinityCore database API (#5611) 2021-06-22 06:21:07 +02:00
Kargatum
5787d00d54 chore(Core/Logging): replace most server loggers (#5726)
* chore(Core/Logging): replace most server loggers

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-06-21 03:07:12 +02:00
UltraNix
f4c226423d feat(Core/Misc): implement ObjectGuid class (port from TC) (#4885) 2021-04-25 22:18:03 +02:00
Kargatum
4af4cbd3d9 feat(Core/Logging): rework logging (#4692)
* feat(Core/Logging): rework logging

* correct level for sql.sql

* del unused config options

* Correct build

* correct after merge

* whitespace

20:29:37 1. 'Player.cpp'. Replace (1)
20:29:37 2. 'ObjectMgr.cpp'. Replace (3)

* 1

* correct logging

* correct affter merge

* 1

* 2

* LOG_LEVEL_WARN

* #include "AppenderDB.h"

* 3

* 4

* 5

* 1. 'WorldSocket.cpp'. Replace (1)

* 6

* 1
2021-04-17 11:20:07 +02:00
Kargatum
2b3d46bd4f feat(Core/Hooks): added collection of hooks to extends AC (#3047)
This collection of hooks comes from the Maelstrom project. It allows to release modules such as :
- 3v3-soloqueue
- 1v1 arena
- pvestats

and many others
2021-04-13 13:26:39 +02:00
Francesco Borzì
f6a17164be fix(Core/License): issue with old files license (#4762) 2021-03-17 09:46:01 -06:00
Kitzunu
28f1dc5c0c refactor(Core): replace NULL with nullptr (#4593) 2021-03-02 01:34:20 +01:00
Kitzunu
dbc0ff6554 refactor(Core): sort #includes alphabetically (#4579) 2021-02-24 22:34:42 +01:00
Kitzunu
17d2560ffa fix(Core/Creature): Implement CREATURE_FLAG_EXTRA_NO_SELL_VENDOR (#4233) 2021-01-26 14:12:21 +01:00
Kargatum
a2b26272d2 refactor(Core/Game): restyle game lib with astyle (#3466) 2020-10-12 10:08:15 +02:00
Kitzunu
1f89282b22 refactor(Core): NULL -> nullptr (#3275)
* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-08-31 11:55:09 +02:00
IntelligentQuantum
5d284f02a7 feat(Core/SendListInventory): Add multivendor function (#3172) 2020-08-20 11:00:11 +02:00
IntelligentQuantum
ae810491e7 fix(Core/ItemHandler): crash buy back item (#2511) 2019-12-19 07:48:26 +01:00
IntelligentQuantum
b6c0f58dda feat(Core/ItemHandler): Optional item recovery (#2442) 2019-12-09 08:03:33 +01:00
LichKing255
3aeb2e564d fix(Core): Build error concerning debug log message (#2265) 2019-09-05 22:33:06 +02:00
Stoabrogga
dbfa66c698 fix(DB/Core): "Sons of Hodir" quests / areas (#2231) 2019-09-04 16:43:44 +02:00
Francesco Borzì
0b88e24808 refactor(ItemTemplate): add missing enums + other minor improvements (#2236) 2019-08-26 20:43:53 +02:00
Nefertumm
dd300003e2 Update license links (#783) 2018-03-12 10:54:57 +01:00
Yehonal
17332304fd Using TC structure allowing easier patches importing 2017-12-21 00:20:29 +01:00
Yehonal
b0c8eceb08 Refactoring part 2 [W.I.P] 2016-08-12 02:38:26 +02:00
yehonal
bf139c3d34 Removing multi-vendor Rochet2 patch
It caused compilation errors too
2016-06-27 00:19:46 +02:00
Yehonal
f6eefedcd5 converted all tabs to 4 spaces 2016-06-26 19:23:57 +02:00
Yehonal
52f305111c importing changes from callmephil repo
a special thanks to him
2016-06-26 19:22:35 +02:00
Yehonal
e8e94a0a66 First Commit
For Azeroth!
2016-06-26 10:39:44 +02:00