Commit Graph

4735 Commits

Author SHA1 Message Date
Kargatum
20a67cbfcf fix(Core/Build): correct macos build (#6492)
* fix(Core/Build): correct macos build

* 1

* 2

* 3

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-06-22 16:27:03 +02:00
Kargatum
9ac6fddcae feat(Core/Database): port TrinityCore database API (#5611) 2021-06-22 06:21:07 +02:00
Kitzunu
57911957ad fix(Core/BattlegroundAB): add missing Victory near sound (#5556) 2021-06-22 01:00:27 +02:00
Kitzunu
1be561e03b fix(Core/Player): Use SkillLineAbility.dbc to determine player initia… (#6015)
* fix(Core/Player): Use SkillLineAbility.dbc to determine player initial spells - skill assignment done in a new table `playercreateinfo_skills`

* Cherry-pick 2a3546ca36

* Cherry-Pick d28b66bca8

* Cherry-Pick 193408f335

- Closes https://github.com/azerothcore/azerothcore-wotlk/issues/1659
- Closes https://github.com/azerothcore/azerothcore-wotlk/issues/6036
- Closes https://github.com/chromiecraft/chromiecraft/issues/693

Co-Authored-By: Shauren shauren.trinity@gmail.com
Co-Authored-By: Rothend 67004168+Rothend@users.noreply.github.com
Co-Authored-By: claudiodfc claudio.daniel.f.c@gmail.com
2021-06-21 21:23:18 +02:00
Francesco Borzì
eeab4f5de6 fix(Core): macOS build (#6479) 2021-06-21 18:10:40 +02:00
Kitzunu
5d9db23608 chore(Common/Misc): Replace old macros with modern C++ attributes (#6462)
* chore(Common/Misc): Replace old macros with modern C++ attributes

* cherry-pick commit (5ae2a0f47d)

Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>

* fix build

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-06-21 17:26:01 +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
Francesco Borzì
36a6d04156 fix(Core): check spell info and prevent crash (#6454) 2021-06-20 19:52:44 +02:00
Bogir[rus]
64aa901c2a feat(Core): improve check of set variables (#6336)
Co-authored-by: Bogir <m-000@bk.ru>
2021-06-20 13:13:24 +02:00
Kitzunu
2e32a80f24 chore(Core/SmartScript): Fix typo (#6355)
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-06-20 01:29:30 +02:00
meow
14516cc7b9 fix(Scripts/ToC): solved issue twin valkyr's ball (#6352)
- Closes https://github.com/azerothcore/azerothcore-wotlk/issues/4903
2021-06-19 20:14:18 +02:00
Kargatum
17838998c4 chore(Core/Gossip): delete old gossips api (#5414) 2021-06-19 12:18:25 +02:00
Francesco Borzì
23e9b85d0e refactor(Core): code cleanup (part 3) (#6380) 2021-06-19 01:25:29 +02:00
Francesco Borzì
039f0e0faa fix(DB/spell_dbc): Imp's Phase Shift (#6408) 2021-06-18 17:20:39 +02:00
buddiman
8e9643c3b0 feat(Core/Commands): GM command to display strings (#6268)
- Implements a new GM command to display strings from the acore_string table
- Syntax: .string #id [#locale]
- Closes https://github.com/azerothcore/azerothcore-wotlk/issues/1052
2021-06-18 17:09:52 +02:00
Axel Cocat
848bb0891b feat(Core): add argument to .character rename to add name to reserved_name (#6163) 2021-06-18 17:09:29 +02:00
Cláudio Costa
3a30fe3d71 fix(Scripts): Victory rush killing blow (#6349) 2021-06-18 17:07:33 +02:00
UltraNix
289f140ab1 fix(Core/Loot): Fixed loading conditioned item loot. (#6337)
- Fixes #6326
2021-06-18 17:07:24 +02:00
buddiman
4811a14bd6 fix(CORE/Quests): Quest dialog fails to close with follow-up quest (#6309)
- Fixes the problem with the quest dialog which doesn't close/update on a follow-up quest if there is no space in the inventory
- Closes: https://github.com/azerothcore/azerothcore-wotlk/issues/6296
2021-06-18 17:05:29 +02:00
Cláudio Costa
07861d0548 fix(Core/DB): Brewspewer hardcoded conditions (#6301) 2021-06-18 17:04:41 +02:00
UltraNix
b2e42f52a0 fix(Core/SmartScripts):SMART_TARGET_CREATURE/GAMEOBJECT_GUID (#6298) 2021-06-18 16:05:08 +02:00
Kargatum
3da83cc0e6 feat(Common/IPLocation): replace ip2nation by ip2location (#5653) 2021-06-17 22:02:08 +02:00
Francesco Borzì
67b84e0c1e feat(Core): deprecate clang-9 and older (#6406) 2021-06-17 18:30:15 +02:00
Kargatum
2ba258a88b feat(Core/Logging): Changed format of packet log file from .bin to .pkt (#5949) 2021-06-17 16:51:45 +02:00
Francesco Borzì
466cdb68d6 refactor(Core): code cleanup (part 2) (#6374) 2021-06-16 20:40:42 +02:00
Francesco Borzì
7d9fe22e28 refactor(Core): code cleanup (part 1) (#6361) 2021-06-16 12:58:14 +02:00
Bogir[rus]
e3a5727222 chore(Core): typo fixes (#6272)
Co-authored-by: Bogir <m-000@bk.ru>
2021-06-16 11:28:00 +02:00
Kargatum
4a3af9b140 feat(Core/BGQueue): rework queue announce (#6114) 2021-06-15 17:50:42 +02:00
UltraNix
0d96866cea fix(Core/Packets): sending item's random property in a few packets (#6193)
- Closes #4843
2021-06-15 12:37:58 +02:00
Kitzunu
34da0cda51 fix(Script/URBS): Potential crash in Dragonspire Room (#6330)
* cherry-picked from commit (e9a8cea018)

Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-06-15 12:02:03 +02:00
UltraNix
5330cd983c fix(Core/Player): Players are allowed to continue melee attacking on … (#6267)
- Closes #6248.
- Closes #5734
- Closes chromiecraft/chromiecraft#795
2021-06-13 19:27:36 +02:00
Jordi Gil
4b117ed569 fix(Core/Config): typo in worldserver.conf.dist (#6258)
Fixes:  Config::LoadFile: Failure to read line number 1460 in file 'configs/worldserver.conf.dist'. Skip this line
2021-06-13 18:42:31 +02:00
Yehonal
baf437bb98 feat(Core): improved some hooks (#6302) 2021-06-13 10:23:24 +02:00
Maxpro
1b896277bd fix(Core/Unit): dodges, parries and critters not increasing weapon skills (#5895)
This fixes not getting skill ups from attacking an enemy and them parrying your attack or dodging it.
This also fixes attacking a critter and not getting weapon skill ups.
Previously Dodge and Parry were only giving a chance to increase the victims DEFENSE skill.
I changed it so it will proc on victim and attacker. for weapon and defense skills
Also, critters were being checked to not give weapon skill ups on purpose but I removed the check.
2021-06-13 00:39:14 +02:00
UltraNix
dafef5bd78 fix(Core/Spells): category cooldowns (#6191)
- Closes #5475
- Closes https://github.com/chromiecraft/chromiecraft/issues/466
2021-06-12 19:51:47 +02:00
UltraNix
42019c09b1 fix(Core/Spells): Updates autoshoot spell target in case of clientside target change. (#6257)
- Closes #5206
- Closes https://github.com/chromiecraft/chromiecraft/issues/322
2021-06-11 15:30:58 +02:00
UltraNix
69c214bec5 fix(Core/Spells): Spells and auras activated by item use should not be removed on unequip. (#6255)
- Closes #5124
- Closes chromiecraft/chromiecraft#327
2021-06-10 15:19:15 +02:00
UltraNix
a61bdc7b3d fix(Scripts/Spells): Seal of Command cannot be casted on dead targets (#6186)
- Closes #5517
- Closes https://github.com/chromiecraft/chromiecraft/issues/476
2021-06-09 17:56:45 +02:00
UltraNix
7106e66421 fix(Core/Pets): Pets should update speed out of combat only if are following their owner. (#6207)
- Closes #5250
- Closes chromiecraft/chromiecraft#406
2021-06-09 14:14:41 +02:00
UltraNix
6dacfc0717 fix(Core/Loot): properly save and load from DB loot from items (#6151)
- Closes #5472
- Closes https://github.com/chromiecraft/chromiecraft/issues/456
2021-06-08 19:26:34 +02:00
UltraNix
66d4fd88f5 fix(Core/Spells): disable fishing if not in LOS within boober destination. (#6138)
- Closes #5485
- Closes https://github.com/chromiecraft/chromiecraft/issues/471
2021-06-05 23:24:14 +02:00
UltraNix
8a09a0bc21 fix(Core/Spells): Shadowmeld targets only players. (#6136)
- Closes #5541
- Closes https://github.com/chromiecraft/chromiecraft/issues/483
2021-06-05 21:43:19 +02:00
UltraNix
617a935ee4 fix(Core/Spells): Changing druid forms should not remove items auras triggered on use. (#6135)
- Closes #5637
- Closes https://github.com/chromiecraft/chromiecraft/issues/525
2021-06-05 13:52:09 +02:00
Raelorasz
c485bab6ee fix(Scripts/DB): Improve Demon Portals and convert to SAI (#6140) 2021-06-05 00:13:19 +02:00
UltraNix
c568bdcc42 feat(Modules): load modules configs before Log initialization (#6104)
in order to properly load modules appenders and loggers
2021-06-04 23:57:10 +02:00
Kargatum
07f4907ea7 feat(Core/RASession): switch to boost api (#6172) 2021-06-04 09:31:37 +02:00
Kargatum
3f875674d5 chore(Core/MIsc): added few helpers for chat commands (#6175) 2021-06-04 00:17:18 +02:00
UltraNix
62ae4b53e6 fix(Core/Spells): On autoshot interrupt send proper packet to cancel autoshot clientside. (#6169)
- Closes #5734
- Closes chromiecraft/chromiecraft#454
2021-06-03 16:30:26 +02:00
anguaive
d6c85d4664 fix(Core/Spell): Remove delay from Flare activation (#5933)
* fix(DB/spell): Remove delay from Flare activation

The activation of the Flare (spell id: 1543) AoE aura was delayed
until the projectile hit the ground, which takes 5 seconds. Apparently
this is not blizzlike and the area should be activated instantly
when casting the spell.

Closes #5908
Closes https://github.com/chromiecraft/chromiecraft/issues/650

* Remove unnecessary delete

* Move Flare spell fix to SpellMgr

* Fix indentation
2021-06-03 14:01:40 +02:00
Kitzunu
a75e34c793 feat(Core/Spell): AssertSpellInfo (#6115)
* feat(Core/Spell): AssertSpellInfo

(cherry picked from commit e52878b6b5)
(cherry picked from commit 8c44259fae)
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>

* Update SpellMgr.h
2021-06-03 07:39:48 +02:00