Skip to content

Aq40 - #9

Open
Celandriel wants to merge 56 commits into
masterfrom
AQ40
Open

Celandriel wants to merge 56 commits into
masterfrom
AQ40

first update.

1a1bc47
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Mar 20, 2026 in 0s

100 new issues (0 max.) of at least severity.

Annotations

Check failure on line 16 in .github/workflows/check_pr_source.yml

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

.github/workflows/check_pr_source.yml#L16

Using variable interpolation `${{...}}` with `github` context data in a `run:` step could allow an attacker to inject their own code into the runner.

Check warning on line 22 in .github/workflows/codestyle_cpp.yml

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

.github/workflows/codestyle_cpp.yml#L22

An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release.

Check warning on line 14 in data/sql/playerbots/updates/2026_01_31_00_ai_playerbot_multi_pvp_text_variables.sql

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

data/sql/playerbots/updates/2026_01_31_00_ai_playerbot_multi_pvp_text_variables.sql#L14

syntax error at or near "`"

Check warning on line 1 in data/sql/playerbots/updates/2026_02_13_00_ai_playerbot_texts.sql

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

data/sql/playerbots/updates/2026_02_13_00_ai_playerbot_texts.sql#L1

syntax error at or near "`"

Check warning on line 333 in src/Ai/Base/Actions/ChooseRpgTargetAction.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Actions/ChooseRpgTargetAction.cpp#L333

Either the condition 'groupLeader' is redundant or there is possible null pointer dereference: groupLeader.

Check warning on line 9 in src/Ai/Base/Actions/FollowActions.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Actions/FollowActions.cpp#L9

Include file: <cmath> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 10 in src/Ai/Base/Actions/FollowActions.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Actions/FollowActions.cpp#L10

Include file: <array> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 75 in src/Ai/Base/Actions/GiveItemAction.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Actions/GiveItemAction.cpp#L75

Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast

Check warning on line 8 in src/Ai/Base/Actions/QuestAction.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Actions/QuestAction.cpp#L8

Include file: <algorithm> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 310 in src/Ai/Base/Actions/ReviveFromCorpseAction.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Actions/ReviveFromCorpseAction.cpp#L310

Either the condition '!ClosestGrave' is redundant or there is possible null pointer dereference: ClosestGrave.

Check warning on line 223 in src/Ai/Base/Actions/SuggestWhatToDoAction.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Actions/SuggestWhatToDoAction.cpp#L223

Class 'FindTradeItemsVisitor' has a constructor with 1 argument that is not explicit.

Check warning on line 8 in src/Ai/Base/Actions/TellPvpStatsAction.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Actions/TellPvpStatsAction.cpp#L8

Include file: <map> not found. Please note: Cppcheck does not need standard library headers to get proper results.

Check warning on line 53 in src/Ai/Base/Actions/TellPvpStatsAction.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Actions/TellPvpStatsAction.cpp#L53

MISRA 12.3 rule

Check warning on line 75 in src/Ai/Base/Actions/TellPvpStatsAction.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Actions/TellPvpStatsAction.cpp#L75

MISRA 12.3 rule

Check warning on line 199 in src/Ai/Base/Trigger/RangeTriggers.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Trigger/RangeTriggers.cpp#L199

Return value 'target' is always true

Check warning on line 475 in src/Ai/Base/Value/ItemUsageValue.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Value/ItemUsageValue.cpp#L475

Avoid the 'ato*()' family of functions.

Check warning on line 475 in src/Ai/Base/Value/ItemUsageValue.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Value/ItemUsageValue.cpp#L475

The `atoi` family of functions can potentially overflow or underflow integer values.

Check warning on line 476 in src/Ai/Base/Value/ItemUsageValue.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Value/ItemUsageValue.cpp#L476

Avoid the 'ato*()' family of functions.

Check warning on line 476 in src/Ai/Base/Value/ItemUsageValue.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Value/ItemUsageValue.cpp#L476

The `atoi` family of functions can potentially overflow or underflow integer values.

Check warning on line 480 in src/Ai/Base/Value/ItemUsageValue.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Value/ItemUsageValue.cpp#L480

Avoid the 'ato*()' family of functions.

Check warning on line 480 in src/Ai/Base/Value/ItemUsageValue.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Base/Value/ItemUsageValue.cpp#L480

The `atoi` family of functions can potentially overflow or underflow integer values.

Check warning on line 216 in src/Ai/Raid/Aq40/RaidAq40Actions.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Raid/Aq40/RaidAq40Actions.cpp#L216

MISRA 12.3 rule

Check warning on line 217 in src/Ai/Raid/Aq40/RaidAq40Actions.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Raid/Aq40/RaidAq40Actions.cpp#L217

MISRA 12.3 rule

Check warning on line 224 in src/Ai/Raid/Aq40/RaidAq40Actions.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Raid/Aq40/RaidAq40Actions.cpp#L224

Same value in both branches of ternary operator.

Check warning on line 531 in src/Ai/Raid/Aq40/RaidAq40Triggers.cpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Ai/Raid/Aq40/RaidAq40Triggers.cpp#L531

The statement 'if (!wasactive) wasactive=true' is logically equivalent to 'wasactive=true'.