Commit Graph

1129 Commits

Author SHA1 Message Date
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
Kitzunu
7152ddc82c refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457 (#6113)
* refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457

(cherry picked from commit d6201e5dbb)
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: SilverIce <slifeleaf@gmail.com>

* Update CellImpl.h

* w

* more more brackets

* ew

* fix build
2021-06-03 05:27:51 +02:00
Kargatum
55bea7eb79 feat(Core/Thread): move Processpriority to separated files (#5638) 2021-06-02 19:18:24 +02:00
Walter Pagani
191b94e285 refactor(SmartAI): move C++ script to DB (SAI) (#6067) 2021-06-02 14:23:38 +02:00
Axel Cocat
9bd07a673a fix(Scripts/HoL): adjust IsEncounterInProgress() (#6108) 2021-06-02 14:07:16 +02:00
francovilla
fb8cfe394a fix(Scripts/VoA): Toravon Orbs bug (#6082)
Toravon The Ice Watchter in Archavon when dead the Orbs not despawn
2021-06-02 13:56:37 +02:00
Kitzunu
7cb967fb56 fix(DB/Spell): Furious Howl & Call of the Wild (#6047)
- Fix Furious Howl (Rank 1) from applying to party members
- Move Furious Howl & Call of the Wild to DB
2021-06-02 12:38:28 +02:00
Kargatum
1011594a6a chore(Core/AchievementMgr): add GetAchievement helper (#6121) 2021-06-01 18:48:14 +02:00
Kargatum
d398c34c61 chore(Core/Common): delete macro UNUSED (#6119) 2021-06-01 17:22:29 +02:00
UltraNix
beb4df9d3e fix(Core/Shared/DB): recommit transactions on dead-lock error (#6069) 2021-06-01 15:36:59 +02:00
Azcobu
1889fffbde fix(Core/Spell): Apply AURA_STATE_FAERIE_FIRE to Faerie Fire (#6105)
Adds missing anti-stealth aura to Faerie Fire variant with spell ID 20656.
2021-06-01 15:03:36 +02:00
Kitzunu
b00ac48cfa feat(Core/Script): Allow spell script ValidateSpellInfo to work with any container type (#6078)
* Cherry-pick f2f0aeb562
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-06-01 13:55:51 +02:00
Chero
17599313da fix(Scripts/ScarletMonastery): Whitemane spell cast (#6073) 2021-06-01 11:16:47 +02:00
Kitzunu
ca27ce5e37 fix(Script/Command): Build (#6159)
* fix(Script/Command): Build

* codestyle ci is weird

* Update MovementHandler.cpp

* Update cs_server.cpp

* Update cs_server.cpp
2021-05-31 16:51:34 +02:00
Kitzunu
897a02bb75 refactor(Core/Misc): acore to Acore (#6043) 2021-05-31 14:21:54 +02:00
Kargatum
e3c1e739c6 feat(CI/Codestyle): add check core logs (#6012) 2021-05-31 11:03:00 +02:00
v.tihomirov
793b915907 fix(Core/Unit): Prevent Unit emote when entering combat (#6030) 2021-05-31 09:59:25 +02:00
Kitzunu
ae665f7ec3 feat(Core/Command): server debug (#6007)
* initial work

* fix query

* load

* clean up

* remove from startup

* ACE

* remove static

* Update MySQLThreading.cpp

* not used

* Update MySQLThreading.cpp

* unit testing

* Update WorldMock.h

* show Boost ver

* Update WorldMock.h

* include

* Now we have boost::filesystem woo

* fix build

* fix typo
2021-05-30 21:12:01 +02:00
Kargatum
48ddfd62c5 feat(Core/Soap): delete ACE inherited (#4951) 2021-05-30 13:06:02 +02:00
UltraNix
107658ebbc fix(Core/Spells): triggering potion cooldowns (from TC) (#6016) 2021-05-30 11:53:16 +02:00
Axel Cocat
a355b4d27c fix(Core): fix instance portal not resurrecting when corpse is not spawned (#6106) 2021-05-29 15:37:34 +02:00
Kitzunu
b846179986 refactor(Core/Spell): Change "Attribute &" to HasAttribute() (#5991) 2021-05-29 11:56:19 +02:00
Kitzunu
f1b43a8976 fix(Core/Player): Weapon skill gain (#5961) 2021-05-28 00:49:24 +02:00
Kargatum
d8911d816f feat(Core/PacketIO): correct parsing some opcodes (#6051) 2021-05-28 00:34:54 +02:00
Kargatum
c1e96064e9 feat(Core/Common): add Asio network threading (#6063) 2021-05-27 16:09:31 +02:00