2661 Commits

Author SHA1 Message Date
bash
c956860d2d fix(Core/Travel): Match cmangos buildPath stitching, drop 75y guard 2026-06-05 09:57:42 +02:00
bash
692abfcc1a fix(Core/Travel): Preserve walk paths from taxi-path overwrite 2026-06-05 09:57:42 +02:00
bash
4444f2aae5 chore(Core/Travel): Warn admins to shutdown after generatenode 2026-06-05 09:57:42 +02:00
bash
5e93743f15 fix(Core/Travel): Skip 5y dedup when loading nodes from DB 2026-06-05 09:57:42 +02:00
bash
74bf2002f5 chore(DB/Travel): Temporarily disable Aldrassil ramp anchors 2026-06-05 09:57:42 +02:00
bash
973d87f8f5 fix(Core/Travel): Drop 2-point check, keep last-segment teleport guard 2026-06-05 09:57:42 +02:00
bash
28ff3b00c4 fix(Core/Travel): Reject paths with >75y final-segment teleport jumps 2026-06-05 09:57:42 +02:00
bash
bd1364db06 fix(Core/Travel): Reject 2-point BuildShortcut paths between non-adjacent nodes 2026-06-05 09:57:41 +02:00
bash
bb69ed12d6 chore(Core/Travel): Bump 2-point shortcut threshold to 75y 2026-06-05 09:57:41 +02:00
bash
cb442e8461 fix(Core/Travel): Reject 2-point BuildShortcut teleports in chained probe 2026-06-05 09:57:41 +02:00
bash
6f051f9d2b Revert non-progress chained-probe detection (broke valid paths) 2026-06-05 09:57:41 +02:00
bash
c9775fa66c fix(Core/Travel): Loosen chained-probe non-progress threshold 2026-06-05 09:57:41 +02:00
bash
2de92e681f fix(Core/Travel): Bail chained probe on non-progress oscillation 2026-06-05 09:57:41 +02:00
bash
7b57fe4b18 fix(Core/Travel): Chunk all saveNodeStore phases (deletes, nodes, links) 2026-06-05 09:57:41 +02:00
bash
273fad4bad fix(Core/Travel): Chunk saveNodeStore path inserts to avoid mega-tx 2026-06-05 09:57:41 +02:00
bash
c7faad9608 feat(DB/Travel): Add Aldrassil ramp travelnode anchors 2026-06-05 09:57:41 +02:00
bash
30489db77d chore(Core/Debug): Compact debug-move whisper format 2026-06-05 09:57:41 +02:00
bash
78fd6eff23 feat(Core/Travel): Sparse-segment clip in LaunchWalkSpline 2026-06-05 09:57:41 +02:00
bash
221ee82b83 feat(Core/RPG): Prefix-trim and sparse-segment clip on path dispatch 2026-06-05 09:57:41 +02:00
bash
7b13801d50 feat(Core/RPG): Port cmangos 8-angle LOS+navmesh-snap to MoveWorldObjectTo 2026-06-05 09:57:41 +02:00
bash
727232fe80 chore(Core/RPG): Loosen Z-mismatch threshold from 5y to 10y 2026-06-05 09:57:41 +02:00
bash
6ab59e61a9 fix(Core/RPG): Reject mmap paths whose endpoint Z misses dest 2026-06-05 09:57:41 +02:00
bash
b7c17681cf fix(Core/RPG): Reject mmap paths that LOS-fail any segment 2026-06-05 09:57:41 +02:00
bash
8aa78f6b39 feat(Core/RPG): Switch POI when current cluster is empty 2026-06-05 09:57:41 +02:00
bash
30eaebe3d5 fix(Core/RPG): Stop next to quest objects instead of on top of them 2026-06-05 09:57:41 +02:00
bash
7623c6babe chore: Drop bot movement console logs 2026-06-05 09:57:41 +02:00
bash
1bfb47e937 chore: Tighten comments in travel and movement code 2026-06-05 09:57:41 +02:00
bash
20a4efe149 chore(Core/Travel): Drop cmangos reference in RefineWalkPoints comment 2026-06-05 09:57:41 +02:00
bash
73bf6f0606 fix(Core/RPG): LOS check on MoveRandomNear samples to avoid tree tunneling 2026-06-05 09:57:41 +02:00
bash
1ba36e9c64 Revert "fix(Core/Travel): LOS check before trusting raw cmangos waypoints" 2026-06-05 09:57:41 +02:00
bash
9106bc673b fix(Core/Travel): LOS gate on empty-probe single-waypoint fallback 2026-06-05 09:57:41 +02:00
bash
1968d46496 fix(Core/Travel): LOS check before trusting raw cmangos waypoints 2026-06-05 09:57:41 +02:00
bash
18029f152b chore(Core/Travel): Revert travelnode threshold to 50y 2026-06-05 09:57:41 +02:00
bash
032315ff45 chore(Core/Travel): Bump travelnode threshold to 75y 2026-06-05 09:57:41 +02:00
bash
f44e0d2250 fix(Core/Travel): Trust travelnode waypoints when AC mmap rejects segments 2026-06-05 09:57:41 +02:00
bash
c3303d5318 feat(Core/Travel): Hardcode 50y travelnode threshold 2026-06-05 09:57:41 +02:00
bash
eb73f2795b core filter isnt working yet 2026-06-05 09:57:41 +02:00
bash
0eaf16458f refactor(Core/Travel): Drop redundant NAV_GROUND_STEEP excludes (core handles via IsBot) 2026-06-05 09:57:41 +02:00
bash
703d6f95ec fix(Core/Travel): Exclude NAV_GROUND_STEEP at all bot PathGenerator sites 2026-06-05 09:57:41 +02:00
bash
716c22156d feat(Core/Travel): Align MoveFarTo and probe pipeline with cmangos 2026-06-05 09:57:41 +02:00
bash
0b90d2d41d feat(Core/Travel): Cap bots at 50° via NAV_GROUND_STEEP exclude 2026-06-05 09:57:41 +02:00
bash
1078d8b89e feat(Core/Debug): Trace movement entry points and visualize travel nodes 2026-06-05 09:57:41 +02:00
bash
14844a52dd feat(Core/RPG): MoveFarTo flow, quest-pursuit at POI, MoveRandomNear retries 2026-06-05 09:57:41 +02:00
bash
b5b507c098 feat(Core/Travel): Travel-node graph routing for long-distance pathing 2026-06-05 09:57:41 +02:00
bash
69207acf76 feat(Core/Loot): Quest GO loot, bag-make-room, item-pursuit 2026-06-05 09:57:40 +02:00
bash
7d3a6e5d35 chore(Tools): Add mmap/vmap client-data extraction script 2026-06-05 09:57:40 +02:00
bash
e2c8ecc81c feat(DB/Travel): Import cmangos travel-node graph 2026-06-05 09:57:40 +02:00
Keleborn
714bb6bca3
Shorten paths (#2396)
<!--
Thank you for contributing to mod-playerbots, please make sure that
you...
1. Submit your PR to the test-staging branch, not master.
2. Read the guidelines below before submitting.
3. Don't delete parts of this template.

DESIGN PHILOSOPHY: We prioritize STABILITY, PERFORMANCE, AND
PREDICTABILITY over behavioral realism.

Every action and decision executes PER BOT AND PER TRIGGER. Small
increases in logic complexity scale
poorly across thousands of bots and negatively affect all. We prioritize
a stable system over a smarter
one. Bots don't need to behave perfectly; believable behavior is the
goal, not human simulation.
Default behavior must be cheap in processing; expensive behavior must be
opt-in.

Before submitting, make sure your changes aligns with these principles.
-->

## Pull Request Description
<!-- Describe what this change does and why it is needed -->
This is designed to significantly shorten the overall path while
maintaining the more detailed structure. I tried to follow the principle
of removing any folder that had 1 or 2 files in it, shortenining
dungeon/raid names to acronyms, and removing instances when the base
name was in the file name (Like Raid) etc.


## Feature Evaluation
<!--
If your PR is very minimal (comment typo, wrong ID reference, etc), and
it is very obvious it will not have
any impact on performance, you may skip these question. If necessary, a
maintainer may ask you for them later.
-->

<!-- Please answer the following: -->
- Describe the **minimum logic** required to achieve the intended
behavior.
- Describe the **processing cost** when this logic executes across many
bots.



## How to Test the Changes
<!--
- Step-by-step instructions to test the change.
- Any required setup (e.g. multiple players, number of bots, specific
configuration).
- Expected behavior and how to verify it.
-->



## Impact Assessment
<!-- As a generic test, before and after measure of pmon (playerbot pmon
tick) can help you here. -->
- Does this change increase per-bot/per-tick processing or risk scaling
poorly with thousands of bots?
    - - [x] No, not at all
    - - [ ] Minimal impact (**explain below**)
    - - [ ] Moderate impact (**explain below**)



- Does this change modify default bot behavior?
    - - [x] No
    - - [ ] Yes (**explain why**)



- Does this change add new decision branches or increase maintenance
complexity?
    - - [x] No
    - - [ ] Yes (**explain below**)



## AI Assistance
<!--
AI assistance is allowed, but all submitted code must be fully
understood, reviewed, and owned by the contributor.
We expect contributors to be honest about what they do and do not
understand.
-->
Was AI assistance used while working on this change?
- - [ ] No
- - [x] Yes (**explain below**)
<!--
If yes, please specify:
- Purpose of usage (e.g. brainstorming, refactoring, documentation, code
generation).
- Which parts of the change were influenced or generated, and whether it
was thoroughly reviewed.
-->

Plan and execute

<!--
TRANSLATIONS:
Anything new that the bots say in chat must be in a translatable format.
This is done using GetBotTextOrDefault,
which you can search for in the codebase to find examples. Your code
needs to have English as the default fallback,
while the full translations need to be in an SQL update file. The
languages in the file are the nine language
options supported by AzerothCore: English, Korean, French, German,
Chinese, Taiwanese, Spanish, Spanish Mexico, and
Russian. See
data/sql/playerbots/updates/2025_12_27_ai_playerbot_fishing_text.sql as
an example of a translation SQL
update, whose content are called within the codebase at
src/strategy/actions/FishingAction.cpp
-->

## Final Checklist

- - [ ] Stability is not compromised.
- - [ ] Performance impact is understood, tested, and acceptable.
- - [ ] Added logic complexity is justified and explained.
- - [ ] Any new bot dialogue lines are translated.
- - [ ] Documentation updated if needed (Conf comments, WiKi commands).

## Notes for Reviewers
<!-- Anything else that's helpful to review or test your pull request.
-->
2026-05-31 18:38:01 +02:00
dillyns
585027fab7
Remove fire totem override from enhancement AOE strategy (#2270)
<!--
Thank you for contributing to mod-playerbots, please make sure that
you...
1. Submit your PR to the test-staging branch, not master.
2. Read the guidelines below before submitting.
3. Don't delete parts of this template.

DESIGN PHILOSOPHY: We prioritize STABILITY, PERFORMANCE, AND
PREDICTABILITY over behavioral realism.

Every action and decision executes PER BOT AND PER TRIGGER. Small
increases in logic complexity scale
poorly across thousands of bots and negatively affect all. We prioritize
a stable system over a smarter
one. Bots don't need to behave perfectly; believable behavior is the
goal, not human simulation.
Default behavior must be cheap in processing; expensive behavior must be
opt-in.

Before submitting, make sure your changes aligns with these principles.
-->

## Pull Request Description
<!-- Describe what this change does and why it is needed -->
Currently in AOE enchancement shamans are dropping magma totems. They
should not be overriding the set fire totem strategy.

## Feature Evaluation
<!--
If your PR is very minimal (comment typo, wrong ID reference, etc), and
it is very obvious it will not have
any impact on performance, you may skip these question. If necessary, a
maintainer may ask you for them later.
-->

<!-- Please answer the following: -->
- Describe the **minimum logic** required to achieve the intended
behavior.
- Describe the **processing cost** when this logic executes across many
bots.



## How to Test the Changes
<!--
- Step-by-step instructions to test the change.
- Any required setup (e.g. multiple players, number of bots, specific
configuration).
- Expected behavior and how to verify it.
-->
Bring an enhancement shaman into medium aoe scenario (3 enemies)
They should no longer replace their fire totem with magma totem. They
should only drop the fire totem that is set in their strategies.

## Impact Assessment
<!-- As a generic test, before and after measure of pmon (playerbot pmon
tick) can help you here. -->
- Does this change increase per-bot/per-tick processing or risk scaling
poorly with thousands of bots?
    - - [x] No, not at all
    - - [ ] Minimal impact (**explain below**)
    - - [ ] Moderate impact (**explain below**)



- Does this change modify default bot behavior?
    - - [x] No
    - - [ ] Yes (**explain why**)



- Does this change add new decision branches or increase maintenance
complexity?
    - - [x] No
    - - [ ] Yes (**explain below**)



## Messages to Translate
<!--
Bot messages have to be translatable, but you don't need to do the
translations here. You only need to make sure
the message is in a translatable format, and list in the table the
message_key and the default English message.
Search for GetBotTextOrDefault in the codebase for examples.
-->
- Does this change add bot messages to translate?
    - - [x] No
    - - [ ] Yes (**list messages in the table**)

| Message key  | Default message |
| --------------- | ------------------ |
|			 |			      |
|			 |			      |

## AI Assistance
<!--
AI assistance is allowed, but all submitted code must be fully
understood, reviewed, and owned by the contributor.
We expect contributors to be honest about what they do and do not
understand.
-->
- Was AI assistance used while working on this change?
    - - [x] No
    - - [ ] Yes (**explain below**)
<!--
If yes, please specify:
- Purpose of usage (e.g. brainstorming, refactoring, documentation, code
generation).
- Which parts of the change were influenced or generated, and whether it
was thoroughly reviewed.
-->



## Final Checklist

- - [x] Stability is not compromised.
- - [x] Performance impact is understood, tested, and acceptable.
- - [x] Added logic complexity is justified and explained.
- - [x] Documentation updated if needed (Conf comments, WiKi commands).

## Notes for Reviewers
<!-- Anything else that's helpful to review or test your pull request.
-->
2026-05-31 06:41:13 -07:00
Crow
571735cd57
Fix crash from missing spellInfo check in TogglePetSpellAutoCastAction (#2431)
<!--
Thank you for contributing to mod-playerbots, please make sure that
you...
1. Submit your PR to the test-staging branch, not master.
2. Read the guidelines below before submitting.
3. Don't delete parts of this template.

DESIGN PHILOSOPHY: We prioritize STABILITY, PERFORMANCE, AND
PREDICTABILITY over behavioral realism.

Every action and decision executes PER BOT AND PER TRIGGER. Small
increases in logic complexity scale
poorly across thousands of bots and negatively affect all. We prioritize
a stable system over a smarter
one. Bots don't need to behave perfectly; believable behavior is the
goal, not human simulation.
Default behavior must be cheap in processing; expensive behavior must be
opt-in.

Before submitting, make sure your changes aligns with these principles.
-->

## Pull Request Description
<!-- Describe what this change does and why it is needed -->
I had repeated crashes upon login traced to line 89 of
TogglePetSpellAutoCastAction, where a spellInfo check is missing. I
confirmed that adding the check fixed my crashing.

I don't know why there was invalid spellInfo to create the crash, as
this missing check is not a new development and I never had a crash
before, but clearly this code should be fixed in any case.

## Feature Evaluation
<!--
If your PR is very minimal (comment typo, wrong ID reference, etc), and
it is very obvious it will not have
any impact on performance, you may skip these question. If necessary, a
maintainer may ask you for them later.
-->

<!-- Please answer the following: -->
- Describe the **minimum logic** required to achieve the intended
behavior.
- Describe the **processing cost** when this logic executes across many
bots.



## How to Test the Changes
<!--
- Step-by-step instructions to test the change.
- Any required setup (e.g. multiple players, number of bots, specific
configuration).
- Expected behavior and how to verify it.
-->



## Impact Assessment
<!-- As a generic test, before and after measure of pmon (playerbot pmon
tick) can help you here. -->
- Does this change increase per-bot/per-tick processing or risk scaling
poorly with thousands of bots?
    - - [x] No, not at all
    - - [ ] Minimal impact (**explain below**)
    - - [ ] Moderate impact (**explain below**)



- Does this change modify default bot behavior?
    - - [x] No
    - - [ ] Yes (**explain why**)



- Does this change add new decision branches or increase maintenance
complexity?
    - - [x] No
    - - [ ] Yes (**explain below**)



## AI Assistance
<!--
AI assistance is allowed, but all submitted code must be fully
understood, reviewed, and owned by the contributor.
We expect contributors to be honest about what they do and do not
understand.
-->
Was AI assistance used while working on this change?
- - [x] No
- - [ ] Yes (**explain below**)
<!--
If yes, please specify:
- Purpose of usage (e.g. brainstorming, refactoring, documentation, code
generation).
- Which parts of the change were influenced or generated, and whether it
was thoroughly reviewed.
-->



<!--
TRANSLATIONS:
Anything new that the bots say in chat must be in a translatable format.
This is done using GetBotTextOrDefault,
which you can search for in the codebase to find examples. Your code
needs to have English as the default fallback,
while the full translations need to be in an SQL update file. The
languages in the file are the nine language
options supported by AzerothCore: English, Korean, French, German,
Chinese, Taiwanese, Spanish, Spanish Mexico, and
Russian. See
data/sql/playerbots/updates/2025_12_27_ai_playerbot_fishing_text.sql as
an example of a translation SQL
update, whose content are called within the codebase at
src/strategy/actions/FishingAction.cpp
-->

## Final Checklist

- - [x] Stability is not compromised.
- - [x] Performance impact is understood, tested, and acceptable.
- - [x] Added logic complexity is justified and explained.
- - [x] Any new bot dialogue lines are translated.
- - [x] Documentation updated if needed (Conf comments, WiKi commands).

## Notes for Reviewers
<!-- Anything else that's helpful to review or test your pull request.
-->
2026-05-30 20:10:33 -07:00