Commit Graph

15 Commits

Author SHA1 Message Date
Revision
686fe513b2 Removed strategies for Naxxramas until they can be rewritten without core changes (#1961)
Merging this isn't required but rather to provide an option to core
changes.

The scripts can be written from scratch when someone feels like doing it
without touching the core.

This shouldn't be merged unless
https://github.com/mod-playerbots/azerothcore-wotlk/pull/130 is merged
too.
2026-01-03 14:50:35 +01:00
root
387c491265 fix(Playerbots): Remove auras before teleporting to prevent crash
Add RemoveAurasWithInterruptFlags call before all TeleportTo operations
to prevent race condition crash in battlegrounds.

The crash occurs when area auras (like "Entering Battleground") are
queued for removal in Aura::UpdateTargetMap's targetsToRemove list,
but the unit is deleted before the 500ms update cycle completes,
causing SIGSEGV when accessing the dangling pointer.

This fix removes auras with AURA_INTERRUPT_FLAG_TELEPORTED and
AURA_INTERRUPT_FLAG_CHANGE_MAP before teleporting, matching the
behavior in Player::TeleportTo for real players.

Affected locations:
- BattleGround join/teleport
- Spirit healer/graveyard teleport
- Corpse resurrection teleport
- Meeting stone teleport
- Master follow teleport
- RPG unstuck teleport
- Random bot teleport
- Chat command teleport

Raid-specific teleports excluded as they require separate testing.
2025-10-03 15:58:36 +10:00
bash
0cc15411c1 license update (#1674) 2025-09-30 15:19:44 +02:00
kadeshar
3d6d454337 Stay strategy improvement (#1072)
* - Stay Strategy work in combat and with RTSC

* - Fixed summon with stay strategy

* - Added new stay strategy support for chat commands
2025-03-20 10:53:16 +01:00
Yunfan Li
25c46037cd Reset prioritized targets 2024-09-10 20:45:46 +08:00
Fuzz
d29569e9ea added 'move from group' action/strat/shortcut-action 2024-08-26 22:30:36 +10:00
Yunfan Li
2a5b7dcb61 Aggresive water elemental 2024-08-14 18:37:21 +08:00
Yunfan Li
7b0bb20078 Movement priority 2024-08-14 18:37:21 +08:00
Yunfan Li
53611c9040 Run clang-format 2024-08-04 10:23:36 +08:00
Yunfan Li
55515f0ec5 [Avoid aoe] Position selection 2024-06-29 21:57:28 +08:00
Yunfan Li
af15a691b6 SightDistance, FollowChatShortcutAction, concussive shot 2023-12-18 22:32:48 +08:00
Yunfan Li
1f6e5627df quest complete with gameobject 2023-11-04 23:00:35 +08:00
Yunfan Li
dba908be9e bwl strategy 2023-08-28 21:21:58 +08:00
Yunfan Li
c9367debeb naxx chat short cut 2023-06-11 23:20:57 +08:00
UltraNix
b952636f0d Big update. 2022-03-12 22:27:09 +01:00