Commit Graph

16 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
Yunfan Li
0fd894176b [New Rpg] New rpg start up (add GO_GRIND and NEAR_RANDOM status) 2024-11-30 23:48:29 +08:00
Atidot3
25b010dd1e Merge code line 2024-08-04 12:04:06 +02:00
Yunfan Li
53611c9040 Run clang-format 2024-08-04 10:23:36 +08: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
0008d84f71 Bot should be more consistent at doing quest +several fixes 2024-07-30 14:50:37 +02:00
Atidot3
e6a7d7cc26 Allow bot to attack mobs they need to kill / loot for quests up to 5 levels above their level 2024-07-28 00:54:37 +02:00
Revision
838bfe333d Fix: Updated to work with newer commits of AzerothCore 2024-07-22 00:39:06 +02:00
Yunfan Li
4be7461b73 minor modification 2023-08-29 20:20:59 +08:00
Yunfan Li
7c177bccc9 miscs(pet, log, needForQuest) 2023-08-10 00:17:37 +08:00
Yunfan Li
1381a4b809 randombot refresh 2023-08-07 23:34:05 +08:00
Yunfan Li
0cd1fa4db3 grind, teleport, move random for rndbot 2023-07-31 12:49:27 +08:00
Yunfan Li
4a5efe6642 miscs: teleport & grind target 2023-07-30 16:41:01 +08:00
Yunfan Li
e93b1edcd5 fix strategies conflict for rndbot 2023-07-30 14:33:52 +08:00
Yunfan Li
944e0fa1ed disable heavy-cost rpg action 2023-07-29 10:55:54 +08:00
UltraNix
b952636f0d Big update. 2022-03-12 22:27:09 +01:00