Commit Graph

160 Commits

Author SHA1 Message Date
Atidote
33e6215e83 Merge branch 'liyunfan1223:master' into master 2024-08-05 16:23:19 +02:00
Yunfan Li
1a92743dfd Allow spell casting during movement 2024-08-05 10:37:33 +08:00
Yunfan Li
de37cfd5aa Code style 2024-08-04 23:44:24 +08:00
Yunfan Li
b0c0002206 Make better move point for follow and reach combat 2024-08-04 23:33:21 +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
Atidote
b8cea4a3a9 Merge branch 'liyunfan1223:master' into locale_fix 2024-07-28 10:52:13 +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
Atidot3
162229efe5 Fix spellid value to use forced enUS locale 2024-07-27 10:20:55 +02:00
Yunfan Li
48ac024430 Merge pull request #367 from liyunfan1223/self-command
Fix .playerbot bot self
2024-07-24 12:27:56 +08:00
Revision
3a4ebb7a9f Remove StartTime from PvP check 2024-07-23 16:33:14 +02:00
Revision
f1104d5315 Optimize the check for PvP flag 2024-07-22 04:17:28 +02:00
Yunfan Li
5c7fb89591 Merge branch 'master' into self-command 2024-07-22 09:08:29 +08:00
Revision
838bfe333d Fix: Updated to work with newer commits of AzerothCore 2024-07-22 00:39:06 +02:00
Yunfan Li
5ebba9cdb3 Fix spell cast after self bot 2024-07-21 23:53:47 +08:00
Yunfan Li
1d9de4331b [Crash fix[ Reduce area debuff check interval to fix avoid aoe crash 2024-07-17 18:01:08 +08:00
Yunfan Li
266aa1ec88 [Warnings] Fix warnings 2024-07-13 11:41:16 +08:00
Yunfan Li
c362630ce6 [Class spell] Reduce reach spell relevance 2024-07-13 11:39:47 +08:00
Yunfan Li
53c4198afd [Attack target] Cancel mount aura and remove within dist check 2024-07-13 11:39:47 +08:00
Fuzz
72eb38af88 fixed bots of same faction not fighting in arena until player triggers it 2024-07-11 13:06:17 +10:00
Yunfan Li
fe64d9ce00 [Combat formation] Avoid flee repeatly 2024-07-09 16:39:50 +08:00
Yunfan Li
b55c9b14d1 [Combat formation] Last flee angle check 2024-07-09 00:08:20 +08:00
Yunfan Li
7325ba7dcb [Class spell] Aoe threat check 2024-07-07 21:51:19 +08:00
Yunfan Li
f26227027d [Combat formation] Combat formation set up 2024-07-07 13:10:50 +08:00
yang
3b4492ce44 [fix] Remove a class that is defined twice. 2024-07-06 17:20:55 +08:00
Yunfan Li
4661715fca [Optimization] Valid target check order 2024-06-28 20:16:29 +08:00
Yunfan Li
6abc8d51e9 [Attack target] Valid target check 2024-06-28 20:09:04 +08:00
Yunfan Li
d8badd4532 [Avoid aoe] Fix avoid aoe position 2024-06-26 23:44:40 +08:00
Yunfan Li
c950ea836e [Attack target] Ignore moon mark 2024-06-24 21:59:21 +08:00
Yunfan Li
38ff51c9ca [Avoid aoe] Aura detection 2024-06-24 10:36:13 +08:00
Yunfan Li
405c20fdd2 [Attack target] Skull mark icon index fix 2024-06-24 10:36:01 +08:00
Yunfan Li
4636b6e5b6 [Warnings] Fix warnings 2024-06-22 18:48:20 +08:00
Yunfan Li
ab9339dffa [Warnings] Fix warnings 2024-06-22 18:47:00 +08:00
yang
07f31498d1 [Optimization] Optimize the judgment of attack targets 2024-06-15 14:11:59 +08:00
Yunfan Li
be3b2c82f8 [Attack target] Fix 2024-06-04 22:42:48 +08:00
Yunfan Li
46e585f854 [Attack target] Fix attack 2024-06-04 22:15:27 +08:00
Yunfan Li
55eecba11b [Crash fix] Target IsInWorld check 2024-06-04 09:47:40 +08:00
Yunfan Li
05236fddec [Attack target] Crash fix 2024-06-02 23:22:20 +08:00
Yunfan Li
d5d1bb3904 [Attack Target] Prioritized targets 2024-06-02 19:05:50 +08:00
Yunfan Li
43c0435e78 [Attack Target] Invalid target check 2024-06-02 19:05:50 +08:00
yang
3fb3610ad3 [optimization] Fixed several compilation warnings 2024-05-29 20:23:08 +08:00
Yunfan Li
aaa33d8243 Fix possible crash 2024-05-06 21:56:02 +08:00
Yunfan Li
a4f9783997 [Avoid aoe] Fix possible triggers 2024-04-20 00:22:56 +08:00
Yunfan Li
a94f626106 [Avoid aoe] Enhance spell judge 2024-04-19 19:25:50 +08:00
Yunfan Li
7af4f3bb95 [Avoid aoe] Area debuff judgement 2024-04-19 18:32:15 +08:00
Yunfan Li
19ffe0227a [Avoid aoe] Crash fix and cover more spell 2024-04-18 22:41:14 +08:00
Yunfan Li
6dc6667920 Fix movement on ship 2024-04-18 20:47:41 +08:00
Yunfan Li
47064cc0f4 [Avoid aoe] Fix friendly game object 2024-04-15 22:22:10 +08:00