Commit Graph

15 Commits

Author SHA1 Message Date
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
Revision
f096c2089f Add a config option for dropping obsolete quests (#745) 2024-12-06 08:45:41 +01:00
Revision
16470e2232 Fix bots dropping quests that are green (#723) 2024-11-16 23:14:46 +01:00
Revision
a2f78542a4 Fix the level when a quest becomes trivial (grey/gray) 2024-10-23 00:18:44 +02:00
avirar
98c084680c Update DropQuestAction.cpp
Bots were not dropping trivial quests. Initially let them keep quests in progress, but their logs were still very full.
2024-10-12 17:50:42 +11:00
Atidot3
25b010dd1e Merge code line 2024-08-04 12:04:06 +02:00
Atidot3
7227211ddf Chat tweak, guild bots management tooggle 2024-08-04 10:14:07 +02:00
Yunfan Li
53611c9040 Run clang-format 2024-08-04 10:23:36 +08:00
Atidot3
aeae6410f6 Allow bots to manage their own quest log and removed quests based on conditions 2024-08-02 22:45:14 +02:00
antony
274101c000 Fix crash:
PlayerbotAI::FindOilFor was making the server randomly crashing
ChooseTravelTargetAction::getNewTarget: when active bot groupping was making the server crash as looking for unexisting params

Several bug fixes and tweak to Quest and Group

New fucntionnality:
Bots will now share quests randomly to their party
Bots will try to accomplish group member quest before moving on to new target
Bots will try to sells items only after few levels ( 5 ) when in group
When dropping a quest bots will try to select a new one they are on instead of idling for few time
Bots will no longuer try to invite themselfs to group or if group is full
Bots are now allowed to leave party by themself
Bots in groupe if not leader are forbbiden to tag in bgs
Bots in bot-groups no have a more limited range to look for grind target

Polish logs
2024-07-31 12:26:48 +02:00
Atidot3
c36cfbb55b Quest polish + log fixes 2024-07-30 16:36:46 +02:00
Atidot3
62296e79a7 add log console + drop quest info 2024-07-30 15:11:24 +02:00
Atidot3
0008d84f71 Bot should be more consistent at doing quest +several fixes 2024-07-30 14:50:37 +02:00
Revision
838bfe333d Fix: Updated to work with newer commits of AzerothCore 2024-07-22 00:39:06 +02:00
UltraNix
b952636f0d Big update. 2022-03-12 22:27:09 +01:00