Commit Graph

202 Commits

Author SHA1 Message Date
Revision
fe896c1d3d Use another helper and revert one instance HasPlayerFlag 2024-12-02 00:28:08 +01:00
Revision
f0ccb0a371 Fix compiler errors and switch to using available helpers 2024-12-02 00:16:06 +01:00
EricksOliveira
af0a6b73e1 Fix Crashs Formation Arrow (#708)
* Fix crash in formations

* Crash fix: Arrow formation

* Crash fix: Arrow formation looking for member information in different maps/instances.

* Loop fix: arrow formation

* Crash fix: Arrow formation when group isn't all in 1 place.

* Fix Build
2024-11-14 15:23:07 +01:00
avirar
277b065a28 Updated ItemUsageValue to handle unique items that are not equipped (#712)
* Update ItemUsageValue.cpp

Added logic to handle unique/unique-equippable items that are not equipped yet.

Reevaluated dest from dstSlot in cases where dest ==0

* Update ItemUsageValue.cpp

Merged logic for both types of unique items.
2024-11-14 15:19:14 +01:00
Bobblybook
2ce826a8dc Merge branch 'master' into master 2024-11-08 20:53:29 +11:00
Bobblybook
71b7844fef Offhand equip bugfix
Prevent caster bots and others who cannot dual-wield from attempting to equip weapons in their offhand
2024-11-08 20:35:31 +11:00
Bobblybook
2d13373a8d Handle bot gear upgrades for multi-slot items (#695)
* Handle bot gear upgrades for multi-slot items

Switch to using opcode "CMSG_AUTOEQUIP_ITEM_SLOT" to equip items to specific slots, rather than "right clicking" item upgrades.
Fixes an issue with rings, trinkets and offhand weapons where the bot would only ever upgrade their first slot.
Also evaluate the above item types for equipping in both slots rather than just comparing to the first item.

* Update EquipAction.cpp
2024-11-07 17:18:59 +01:00
Bobblybook
2ec5628d95 Handle bot gear upgrades for multi-slot items
Switch to using opcode "CMSG_AUTOEQUIP_ITEM_SLOT" to equip items to specific slots, rather than "right clicking" item upgrades.
Fixes an issue with rings, trinkets and offhand weapons where the bot would only ever upgrade their first slot.
Also evaluate the above item types for equipping in both slots rather than just comparing to the first item.
2024-11-07 22:59:35 +11:00
bash
eed4339ec1 Merge pull request #632 from Bobblybook/master
Utgarde Pinnacle, CoS & additional value entry
2024-10-21 20:35:59 +02:00
Bobblybook
c788e96828 UP and CoS dungeons
- Utgarde Pinnacle implementation
- Culling of Stratholme implementation
- Added additional value ("nearest hostile npcs") needed to expose some hidden trigger-type npc units (eg. frost breath on Skadi fight in UP)
2024-10-21 22:29:03 +11:00
Jelly
be8f529fc2 Update Items Eligible for Professions
Adds several items and cases for Skinning, Mining, Blacksmithing.
2024-10-20 16:24:00 -05:00
Yunfan Li
008d098eda [Assist Dps] Healer assist dps strats 2024-10-04 14:14:16 +08:00
Revision
6303401713 Silence totalDps being uninitialized 2024-10-02 19:58:34 +02:00
Yunfan Li
4df77e6d95 [Attack target] Fix a target selection bug that causing bot stuck 2024-09-26 21:28:40 +08:00
Yunfan Li
d1a744fca3 [Tank target] Improve main tank target selection 2024-09-26 20:00:09 +08:00
Yunfan Li
2756664b77 [Tank face] Improve angle calculation 2024-09-24 20:34:18 +08:00
Yunfan Li
eea652f5d5 Tank face and dps behind 2024-09-24 11:46:39 +08:00
Yunfan Li
68bf09c425 Disable test items 2024-09-18 22:16:18 +08:00
Yunfan Li
4de02481be Avoid aoe max radius and whitelist 2024-09-08 12:53:08 +08:00
Yunfan Li
95f0768a8b Fix avoid aoe crash 2024-09-06 20:51:36 +08:00
Yunfan Li
593b30bbb0 Arm warrior and dk 2024-09-06 20:29:38 +08:00
Yunfan Li
927d893945 Improve combat reach and dps target, allowing spell interruption 2024-09-06 12:33:54 +08:00
Yunfan Li
484a2ae458 Item usage and equip initialization 2024-09-04 18:08:19 +08:00
Yunfan Li
aab8cf04d3 Improve estimated group dps 2024-09-01 23:28:22 +08:00
Yunfan Li
9aaeb67d3a melee attacker arc 2024-09-01 17:33:05 +08:00
Yunfan Li
360a025b34 Estimated dps calculation 2024-09-01 17:11:46 +08:00
Yunfan Li
0281fe73ad Estimated group dps calculation 2024-09-01 00:05:31 +08:00
Yunfan Li
a63fbb3b5f Improve druid cat spec 2024-08-31 23:16:14 +08:00
Yunfan Li
4b62d99c92 [Crash fix] Circle formation 2024-08-25 11:19:11 +08:00
Yunfan Li
47f8eb3e4a Ulduar flame leviathan (normal mode) 2024-08-19 19:30:04 +08:00
Yunfan Li
1700a20c89 Add quest rewards to gear initialization 2024-08-19 18:46:23 +08:00
Yunfan Li
7b0bb20078 Movement priority 2024-08-14 18:37:21 +08:00
Yunfan Li
a1cb9dea05 Improve class spell and use trinket 2024-08-14 18:37:21 +08:00
Atidot3
078ba4aba1 fix merge master conflict 2024-08-12 09:35:31 +02:00
Yunfan Li
d3b1041719 Fix movement on transport 2024-08-12 11:07:14 +08:00
Yunfan Li
65579abb47 Fix transport movement 2024-08-12 02:27:36 +08:00
Yunfan Li
538d14691f Merge branch 'master' into rewrite-equip-score2 2024-08-11 23:47:25 +08:00
Yunfan Li
52bd378719 Rewrite stats weight and item score calculation 2024-08-08 20:36:32 +08:00
Atidote
6b8e79f9a1 Merge branch 'liyunfan1223:master' into bot_questing 2024-08-08 14:24:37 +02:00
Fuzz
af674e9361 [Battlegrounds] many IOC fixes: fixed bots not being able to revive in their own base GY, fixed bots not able to use flags in IOC at all (couldnt cap anything), added path so bots could reach boss and several other paths too, fixed horde bots not being able to tell that alliance gate is down (stayed outside forever), fixed bots not able to get in vehicles, fixed bots not able to drive vehicles, fixed bots in vehicles becoming unresponsive after a fight (in-combat status seems to never clear in vehicle which may be AC bug), reduced bot 'agro distance' when in vehicle so they can get to their objective, redid selectObject strat completely, prevented bots using cannons (bots are useless in them) and catapults (they dont know how to use them), prevented bots using Glaive Thrower's Blade Salvo as it's bugged (and stops them using any attacks after they use it), many other fixes 2024-08-06 19:26:54 +10:00
Atidote
de304de6dd Merge branch 'liyunfan1223:master' into bot_questing 2024-08-05 17:58:30 +02:00
Atidote
33e6215e83 Merge branch 'liyunfan1223:master' into master 2024-08-05 16:23:19 +02:00
Yunfan Li
8d77666624 Improve party member to heal and has aura to dispel check performance 2024-08-05 22:07:07 +08: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