Commit Graph

4735 Commits

Author SHA1 Message Date
Pedro Antonio
ede34b714b fix(DB/Script): Violet Hold Door not opening (#13958) 2023-01-28 11:04:07 +01:00
UltraNix
9ce8b8cf29 fix(Core/Players): Fixed sending power regen update to nearby players. (#14043) 2023-01-28 11:03:56 +01:00
UltraNix
1441ae7d7c fix(Scripts/Command): Command gm visible on should not mark you wit… (#14057) 2023-01-28 11:03:46 +01:00
Maelthyr
6d5cc744aa refactor(Core/World): Remove Hungarian notation (#14095)
Co-authored-by: Syllox <AmanThul-Project@proton.me>
2023-01-28 11:03:22 +01:00
SoalHuang
db2433fd79 fix(Core/Auth): Cleanup PrepareStatements (#14220)
Co-authored-by: soalhuang <soniceme@163.com>
2023-01-28 11:02:48 +01:00
UltraNix
7f7a2f5a92 fix(Core/Creatures): Critters should start fleeing upon entering comb… (#14253) 2023-01-28 11:01:43 +01:00
UltraNix
131e69d691 fix(Core/Maps): Increased visibility distance inside Ahn'Qiraj Temple… (#14271) 2023-01-28 11:01:30 +01:00
Pedro Antonio
160d3141a3 fix(Scripts/HP PvP): Hellfire PvP Objective Flag and Progress bar not in sync (#14304) 2023-01-28 11:01:08 +01:00
Benjamin Jackson
fafeacbcad fix(Core/PlayerQuest): Get base skill value for quest prereqs. (#14393) 2023-01-28 11:00:18 +01:00
Benjamin Jackson
c8bbea9e1b fix(Core/GameObject): Make fishing bobber finish a channeled spell rather than interrupt in all cases. (#14422) 2023-01-28 11:00:07 +01:00
UltraNix
9b59f35cb8 fix(Core/Spells): Fixed Master of Elements not refunding mana. (#14665) 2023-01-28 10:59:25 +01:00
UltraNix
7d65250414 fix(Core): Crashfix. (#14667) 2023-01-28 10:58:58 +01:00
UltraNix
d25ca1f963 fix(Core/Battlegrounds): When team loses the base in EotS, dead playe… (#14668) 2023-01-28 10:58:41 +01:00
UltraNix
7241e48a9a fix(Core): Crashfix. (#14680) 2023-01-28 10:58:06 +01:00
UltraNix
4e01b95777 fix(Core/Combat): Pets should put their owners in combat only on init… (#14682) 2023-01-28 10:57:52 +01:00
UltraNix
44226e4754 fix(Core/Spells): Update crit chance on shapeshifting to/from feral f… (#14683) 2023-01-28 10:57:38 +01:00
NinjaPleezAC
716a822b48 fix(Core/Unit): Petrified Lichen Guard effect (#14436)
Co-authored-by: NinjaSoftworks <121171014+NinjaSoftworks@users.noreply.github.com>
2023-01-26 14:58:12 -05:00
Skjalf
aeed96f3b7 feat(Core/AI): Move TaskScheduler to BossAI class (#14757) 2023-01-26 13:46:30 -03:00
Benjamin Jackson
916d4f50da chore(Core/ObjectMgr): Adjust a few comments/logs to reflect recent changes with stat handling. (#14759) 2023-01-26 05:29:44 -03:00
UltraNix
3fee40be7d fix(Core/Creatures): Spells casted by player should tap the creature … (#14725)
…only if in combat with it.
2023-01-26 04:38:16 -03:00
UltraNix
ff8374ac98 fix(DB/SAI): Caretaker Smither. (#14445)
Fixes #14384
Author: @Gultask 

<!-- First of all, THANK YOU for your contribution. -->

## Issues Addressed:
<!-- If your fix has a relating issue, link it below -->
- Closes #14384

## Tests Performed:
<!-- Does it build without errors? Did you test in-game? What did you
test? On which OS did you test? Describe any other tests performed -->
- Tested ingame.

## How to Test the Changes:
<!-- Describe in a detailed step-by-step order how to test the changes
-->
`.go c id 20363`

<!-- If you intend to contribute repeatedly to our project, it is a good
idea to join our discord channel. We set ranks for our contributors and
give them access to special resources or knowledge:
https://discord.com/invite/DasJqPba)
Do not remove the instructions below about testing, they will help users
to test your PR -->
## How to Test AzerothCore PRs
 
When a PR is ready to be tested, it will be marked as **[WAITING TO BE
TESTED]**.

You can help by testing PRs and writing your feedback here on the PR's
page on GitHub. Follow the instructions here:

http://www.azerothcore.org/wiki/How-to-test-a-PR

**REMEMBER**: when testing a PR that changes something **generic** (i.e.
a part of code that handles more than one specific thing), the tester
should not only check that the PR does its job (e.g. fixing spell XXX)
but **especially** check that the PR does not cause any regression (i.e.
introducing new bugs).

**For example**: if a PR fixes spell X by changing a part of code that
handles spells X, Y, and Z, we should not only test X, but **we should
test Y and Z as well**.

Co-authored-by: Gultask <gultask@gmail.com>
2023-01-25 17:00:19 -03:00
Benjamin Jackson
4e2270c935 feat(Core/ObjectMgr): Add handling specific to heroic player level stats (DKs). (#14378) 2023-01-25 13:14:31 -03:00
M'Dic
437d93926f fix (core): macos12 depreciation workflow error / security CWE-120 (#14746)
* fix (core): macos12 depreciation workflow error

Fix workflow error message:
azerothcore-wotlk/src/common/Utilities/Util.cpp:558:9: fatal error: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
        sprintf(buffer, "%02X", bytes[i]);

* Update BattlegroundAV.cpp

* more macos12 fixit

* Update spell_generic.cpp
2023-01-23 06:13:27 -05:00
Axel Cocat
513dab0740 feat(Core/Mail): call CanSendMail() even if no items are sent (#14435)
* feat(Core/Mail): call CanSendMail() even if no items are sent

* Update src/server/game/Handlers/MailHandler.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-01-22 20:15:34 +01:00
Foereaper
5fa027a222 refactor(Core/Conf): Removal of unnecessary .dist file loading (#14707)
* Remove .dist file requirement

* Remove unnecessary string cast

* Add required variables for CI build configs

* More required variables

* Add some more default variables to reduce log output

* One last default value to cut down log spam

* Rewrite conf file bash script

This should use the standard .dest file as a template

* Change dir we copy the dest files from

* actually use the correct file name

* need to use double quotes for variables

* add missing username

* set the correct datadir

* Attempt to fix dbimport

Co-authored-by: Foereaper <foereaper@elunatech.com>
2023-01-21 14:48:22 +01:00
UltraNix
1de52e5570 fix(Core/Formations): Implemented new creature formation flag: GROUP_… (#14537)
fix(Core/Formations): Implemented new creature formation flag: GROUP_AI_FLAG_ACQUIRE_NEW_TARGET_ON_EVADE.

Fixes #14494
2023-01-19 20:08:51 +01:00
Gultask
1a2d1c22ff fix(DB/SethekkHalls): Re-construct Sethekk Halls gameobjects and creatures (#14265)
* Create rev_1671229049571189000.sql

* Update rev_1671229049571189000.sql

* pathing

* 2

* 3

* Update rev_1671229049571189000.sql
2023-01-15 21:57:37 -03:00
Axel Cocat
07ac386e61 feat(Core/Database): move MySQL handle and HandleMySQLErrno to protected (#14673)
* feat(Core/Database): move MySQL handle and HandleMySQLErrno to protected

* fix: initialization order
2023-01-15 11:02:43 -05:00
55Honey
e9b040e3d2 feat: getter for the used instance IDs (#14677)
* feat: getter for the used instance IDs

* doxygen
2023-01-15 15:47:49 +01:00
Kitzunu
12f4a28b01 fix(Core/Characters): Correctly update char count on realm selection (#14685) 2023-01-15 15:44:17 +01:00
天鹿
14885e3e96 fix(core/packets): reduce sending unnecessary packets (#13198)
Co-authored-by: Dehravor <dehravor@gmail.com>
2023-01-15 15:31:00 +01:00
Winfidonarleyan
739165a197 fix(Cmake/Build): correct build single app (#12202) 2023-01-15 15:22:53 +01:00
Kitzunu
aecf278cbe chore(Core/Docs): Remvoe old comment (#14684)
* fixed in e322c017ea
2023-01-15 14:30:48 +01:00
UltraNix
0022b3a964 fix(Core): Crashfix. (#14660) 2023-01-14 10:41:40 +01:00
UltraNix
592a26cb8c fix(Core): Crashfix. (#14536) 2023-01-11 02:40:03 -03:00
Kitzunu
97a01b430d fix(Script/Item): Elixir of Shadows for pets (#14514)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/13067
2023-01-07 23:08:19 +01:00
Kitzunu
ed2997ab10 fix(Core/Creature): Check model increase only for Exotic creatures (#14526)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/14525
2023-01-07 20:36:39 +01:00
UltraNix
dbeffd1466 fix(DB/Texts): Added texts to Halazzi. (#14124)
* fix(DB/Texts): Added texts to Halazzi.

Fixes #8744

* Update.
2023-01-07 20:30:09 +01:00
UltraNix
9ba464a12b fix(Core/Spells): Fixed applying some proc ex flags to melee attacks. (#14254)
Fixes #14216
2023-01-07 20:30:01 +01:00
UltraNix
312c1eac3e fix(Scripts/Underbog): Fixed Fungal Decay spells. (#14543)
Fixes #13977
2023-01-07 20:29:03 +01:00
UltraNix
8cb88cce52 fix(Scripts/The Underbog): Rewritten The Black Stalker's Levitate mec… (#14541)
* fix(Scripts/The Underbog): Rewritten The Black Stalker's Levitate mechanic.

Fixes #13988

* buildfix.

* Update src/server/scripts/Outland/CoilfangReservoir/underbog/boss_the_black_stalker.cpp

Co-authored-by: offl <offl@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-01-07 20:28:22 +01:00
lineagedr
777a1be394 fix(Core/Packets): Fix a crash in MSG_RANDOM_ROLL. (#14545) 2023-01-07 20:27:49 +01:00
Alvin Zhu
e322c017ea fix(Core/Gossip): quest_greeting_locale doesn't work #10913 (#14532)
* fix issue #10913

fix GetQuestGreetingLocale typeIndex just like GetQuestGreeting

* Update ObjectMgr.h

* fix Core/Gossip: gossipMenuLocale doesn't work

* Revert "fix Core/Gossip: gossipMenuLocale doesn't work"

This reverts commit f59f07d1504f21cf2ae1eaa37aa088100c352e3b.
2023-01-07 20:21:47 +01:00
UltraNix
9798ccd8c5 fix(Scripts/Hellfire Ramparts): Nazan should walk on the surface afte… (#14539)
fix(Scripts/Hellfire Ramparts): Nazan should walk on the surface after descending.

Nazan should keep using Fireball after descending.
Nazan should chase its victims properly after descending.
Fixes #14468
2023-01-07 20:18:04 +01:00
Kitzunu
6788c7eace fix(DB/Creature): Infested Root-Walker (#14515)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/14490
Co-authored-by: Andrew Letson <velinath@users.noreply.github.com>
2023-01-07 20:06:17 +01:00
Kitzunu
7b774c8141 fix(Core/Spell): Roll 'dem Bones (#14522)
* fix(Core/Spell): Roll 'dem Bones

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

* Partial cp of 029527365f

Co-Authored-By: joschiwald <736792+joschiwald@users.noreply.github.com>

* newline pleb

Co-authored-by: joschiwald <736792+joschiwald@users.noreply.github.com>
2023-01-07 20:05:42 +01:00
Mickaël Mauger
21700f2760 fix(Core/Loot): Fix too many quest items visible by master looter (#14510)
* Fix too many quest items visible by master looter

* Fix typo
2023-01-07 13:27:28 -03:00
Kitzunu
8d2dda24ed fix(Core/Pets): Correct Pet size for bigger pets (#14511)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/14488
2023-01-06 03:23:21 +01:00
Gultask
6b4ef50e7a Revert "fix(Core/Spells): Ignite and Revitalize should not prelong co… (#14513)
Revert "fix(Core/Spells): Ignite and Revitalize should not prelong combat. (#13812)"

This reverts commit 96fa9c5c7b.
2023-01-05 23:14:56 -03:00
UltraNix
c3b8df8cb2 fix(Core/Spells): Aura with SPELL_AURA_MOD_FEAR effect are always c… (#14450)
fix(Core/Spells): Aura with `SPELL_AURA_MOD_FEAR` effect are always considered as negative.

Fixes #14297
2023-01-06 00:53:37 +01:00