Commit Graph

24 Commits

Author SHA1 Message Date
Boxhead78
309d177dd8 Battleground Rewrite
- Refactored BattleGroundTactics.cpp
- Bots choose strategies to determine if they are more aggressive or defensive in objectives
- Largely improved bots tactics in WSG, AB, AV and EY
- Improved how bots chase flag carriers
- Fixed some bots stuck in action loops - especially in WSG and AV
- Fixed several other Bugs
2025-07-03 08:25:55 +02:00
Jelly
2000c06167 Fix various hunter bugs (Amended w/ Nullptr check) (#1389)
* Fixes #1093 (Hunter's stuck in Autoshoot and Can't equip gear)

* Fixes #1093 (Hunter's stuck in Autoshoot and Can't equip gear)
2025-06-22 12:55:35 +08:00
Jelly
9a10f07c74 Fixes #1093 (Hunter's stuck in Auto shot pose and Can't equip gear) (#1377)
* Fixes #1093 (Hunter's stuck in Autoshoot and Can't equip gear)

* Fixes #1093 (Hunter's stuck in Autoshoot and Can't equip gear)
2025-06-21 16:09:19 +08:00
EricksOliveira
3faa3c639a This update adds null pointer checks and extra validations to the AttackAnythingAction::isUseful() method, preventing invalid accesses that could cause crashes. (#1135)
Checking bots and botAI before method calls.

Validating targets and confirming if they are still in the world (IsInWorld()).

Adding debug logs (LOG_DEBUG) to make it easier to identify issues.
2025-03-29 10:58:57 +01:00
Yunfan Li
38912d4a8a Auto do quest feature (new rpg strategy) (#1034)
* New rpg startup speed up and refactor

* New rpg do quest

* Fix invalid height in quest poi

* Add quest accept and reward limitation

* New rpg quest improvement

* Organize quest log, reward quests and fix grind target

* Quest dropped statistic and remove redundant code

* Decrease grind relevance lower than loot

* Fix new rpg drop quest

* Go to reward quest instead of innkeeper when quest completed

* Fix incorrect logic in do quest reward

* Fix reset quests in factory

* Fix crash on grind target value

Co-authored-by: SaW <swerkhoven@outlook.com>

* Fix a minor error in DoCompletedQuest

* Let bots get rid of impossible quests faster

* Increase loot fluency (especially for caster)

* Remove seasonal quests from auto accept

* Enhance quest accept condition check

* Add questgiver check (limit acceptation of quest 7946)

* Questgiver check and localization

* Near npc fix

* Fix quest item report

* Add lowPriorityQuest set for quests can not be done

* Improve gameobjects loot

* Do complete quest

* FIx move far to teleport check

* Accept or reward quest from game objects

* Fix possible crash in rpg game objects

* Fix ChooseNpcOrGameObjectToInteract crash

---------

Co-authored-by: SaW <swerkhoven@outlook.com>
2025-03-14 21:31:33 +08:00
Yunfan Li
30437bd28f Improve inactive grind status 2025-01-01 21:10:05 +08:00
Yunfan Li
9d34a58435 Improve rpg movement and grind 2025-01-01 20:41:40 +08:00
avirar
649e55dd84 Prevent bots attacking dummy Targets at the Argent Tournament Grounds
There was existing code to ignore practice targets (anything with Dummy in the name) so I've just added the names of practice targets located in the tournament grounds:

Charge Target
Melee Target
Ranged Target

I considered just using the phrase "Target", but it is too generic and there are 246 creature_template names containing Target.
2024-12-17 12:35:49 +11:00
kadeshar
437f816b15 - fixed attack rti target action (#758) 2024-12-03 10:59:11 +01:00
Yunfan Li
eb0d222598 [Spell] Dont interrupt spell on drop target 2024-10-06 12:46:37 +08:00
Fuzz
27c5d6b19c [Battlegrounds] fix for #424 - flag carrier not fighting back when enemy has flag too and bot is hiding 2024-08-07 23:40:19 +10:00
Yunfan Li
53611c9040 Run clang-format 2024-08-04 10:23:36 +08:00
Yunfan Li
93cdd79718 allow grinding 2023-12-18 17:15:54 +08:00
Yunfan Li
a28d096bef Pvp Prohibited Areas 2023-10-28 19:22:58 +08:00
Yunfan Li
0be6cc11aa miscs 2023-09-03 14:36:40 +08:00
Yunfan Li
5f5faf00cd move & knockback 2023-09-02 10:43:13 +08:00
Yunfan Li
0969db4c89 feat: rndbot teleport, grind, stuck problem etc. 2023-08-01 23:21:06 +08:00
Yunfan Li
ead4a2fe56 fix IsInPvpProhibitedZone 2023-07-31 12:47:24 +08:00
Yunfan Li
7bd7c46088 greatly improve performance 2023-07-28 23:27:28 +08:00
Yunfan Li
25da0af70e tank target, formation arrow, mount fix, miscs 2023-06-02 15:49:49 +08:00
Yunfan Li
7f0b5c2f03 ammo, pet return 2023-05-30 17:10:51 +08:00
Yunfan Li
dc21fa9d41 pet attack and bot target selection 2023-05-28 10:55:56 +08:00
郑佩茹
0c09ba2b2e Remove some annoying emotes 2023-03-21 13:32:34 -06:00
UltraNix
b952636f0d Big update. 2022-03-12 22:27:09 +01:00