Commit Graph

1617 Commits

Author SHA1 Message Date
bash
2acf8e4b13 Minor updates after patches
only freeze bots during init when not in combat
2024-12-19 19:49:07 +01:00
bash
ea1ec98645 Revert "Make AutoScaleActivity further configurable (#766)" (#798)
This reverts commit 66f0cf27d3.
2024-12-19 00:41:33 +01:00
SaW
66f0cf27d3 Make AutoScaleActivity further configurable (#766)
Make AutoScaleActivity configurable
2024-12-18 23:21:50 +01:00
avirar
a1b4681c58 Resolved issues with rndbots and equipmentPersistence (#778)
* Update PlayerbotFactory.cpp

* Update PlayerbotFactory.cpp

* Added !incremental checks for talent/gear init
2024-12-18 18:32:01 +01:00
SaW
570787ff16 Improve check to work in custom defines zones as well (#797) 2024-12-18 18:29:35 +01:00
SaW
3dd92b7fd8 Fix bots attacking others despite being in a prohibited zone - Issue 227 (#793)
* Fix bots attacking despite being in a prohibited zone

* Protect pets as well and move logic to not skip IsFriendlyTo

* Fix prohibited typo

* Update AttackAction.cpp
2024-12-17 23:31:38 +01:00
Yunfan Li
2e4db37c4d Merge pull request #791 from avirar/stop_attacking_argent_tournament_dummy_targets
Prevent bots attacking dummy targets at the Argent Tournament Grounds
2024-12-17 20:48:36 +08:00
Yunfan Li
fd1b8089af Merge pull request #792 from xSparky911x/master
fix typo in requested config value
2024-12-17 20:48:12 +08:00
Yunfan Li
42404ac403 Merge pull request #759 from liyunfan1223/new_rpg_strats
New rpg strategy
2024-12-17 20:43:38 +08:00
xSparky911x
e54fc0fb46 fix typo in requested config value 2024-12-17 03:36:19 -06: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
Bobblybook
418a0c4be2 Merge pull request #786 from Bobblybook/master
EoE cleanup
2024-12-16 17:49:35 +11:00
Bobblybook
d031bffb54 Merge branch 'master' of https://github.com/Bobblybook/mod-playerbots 2024-12-16 17:47:58 +11:00
Bobblybook
c6a0b012e8 EoE cleanup 2024-12-16 17:47:44 +11:00
xSparky911x
cbadb5765f Prevent autogear on player alt bots (#772)
* prevent autogear on player alt bots

* update chat message to match other message format

* add config option with default set to 1

* replace end of file blank line

* remove extra space
2024-12-15 23:37:13 +01:00
Revision
9fed6bc73a Fixed config options (#785) 2024-12-15 22:55:39 +01:00
Bobblybook
80d0ac4bdd Merge pull request #779 from Bobblybook/master
EoE Implementation (WIP)
2024-12-16 08:29:27 +11:00
bash
19cda1068d botActiveAlone; added new botActiveAlone confguration option (#783) 2024-12-15 20:04:24 +01:00
Gabriel Comeau
183bf7ae8e Allow bots to trade conjured items (#781)
Since they didn't have any sell value you couldn't get a bot to give you a healthstone or conjured food/water.  This change allows them to be traded to you without altering any of the other logic for bot trades.
2024-12-15 20:03:46 +01:00
bash
ea944aeefa added additional botActiveAlone confguration options (#780) 2024-12-15 19:18:36 +01:00
Yunfan Li
a9e33bbcae Increase pet attack priority 2024-12-16 00:53:07 +08:00
Yunfan Li
677ee83e45 Update locs level 2024-12-15 22:30:24 +08:00
Yunfan Li
f45d03f62b Merge pull request #777 from avirar/titans_grip_weapon_type_restrictions
Enhanced dual wield/titan grip equip logic
2024-12-15 21:39:03 +08:00
Yunfan Li
45629cb3df Starter location collection 2024-12-15 21:36:26 +08:00
Bobblybook
a9ff1dbc5e Merge branch 'master' into master 2024-12-15 23:47:38 +11:00
Bobblybook
af6eb61d33 Prelim EoE completion 2024-12-15 23:37:56 +11:00
Yunfan Li
a91aa3e392 New rpg bug fix that preventing bots from long distance movement 2024-12-15 16:46:44 +08:00
SaW
453fa4b4f5 Fix reload command security (#774) 2024-12-14 17:55:06 +01:00
Yunfan Li
9b41798eee Fix get zone id 2024-12-14 22:35:24 +08:00
Yunfan Li
a5d1d7579d EnableNewRpgStrategy switch for initialization 2024-12-14 21:46:33 +08:00
Yunfan Li
2656b2d0d9 Update starter position 2024-12-14 16:23:33 +08:00
Yunfan Li
df5b10c9ad Revert classes folder 2024-12-14 16:23:13 +08:00
avirar
d77dbb65e5 Enhanced dual wield logic in EquipItem
Implemented logic to ensure the strongest weapon is always placed in the main hand for dual-wielding or Titan Grip-capable bots.
When equipping a new weapon, the code now compares the new weapon’s score with the currently equipped main-hand and off-hand weapons.
If the new weapon is the strongest, it goes into the main hand. The previous main-hand weapon may be moved to the off-hand if it is allowed (e.g., not a main-hand-only weapon) and provides a performance improvement.
Titan Grip conditions are accounted for, allowing valid two-handed weapons (2H axes, maces, swords) to be placed in the off-hand as well.
2024-12-14 18:52:57 +11:00
avirar
0c16f308db Update EquipAction.cpp 2024-12-14 18:41:32 +11:00
avirar
34c0759c90 Update EquipAction.cpp 2024-12-14 18:28:28 +11:00
avirar
f8da773ce1 Update EquipAction.cpp 2024-12-14 18:21:28 +11:00
avirar
a9eb41600d Update EquipAction.cpp 2024-12-14 18:07:02 +11:00
avirar
ea9bd18102 Enhanced dual-wield logic
Description of Changes:

    Implemented logic to ensure the strongest weapon is always placed in the main hand for dual-wielding or Titan Grip-capable bots.
    When equipping a new weapon, the code now compares the new weapon’s score with the currently equipped main-hand and off-hand weapons.
    If the new weapon is the strongest, it goes into the main hand. The previous main-hand weapon may be moved to the off-hand if it is allowed (e.g., not a main-hand-only weapon) and provides a performance improvement.
    Titan Grip conditions are accounted for, allowing valid two-handed weapons (2H axes, maces, swords) to be placed in the off-hand as well.
2024-12-14 17:57:16 +11:00
avirar
5962dc3d0c Update ItemUsageValue.cpp 2024-12-14 17:23:48 +11:00
Yunfan Li
be71872112 Update far move to prevent invalid movement 2024-12-14 02:33:52 +08:00
Yunfan Li
912ef6d56f Increase reach melee relevance 2024-12-14 01:43:38 +08:00
Yunfan Li
1f8d0d244c Update starter position 2024-12-14 01:33:39 +08:00
Yunfan Li
2171493d5e Update GO_INNKEEPER prob 2024-12-13 20:20:13 +08:00
Yunfan Li
e7416db7dc Modify file structure 2024-12-13 20:14:25 +08:00
Yunfan Li
a7496b3eb5 Merge branch 'master' into new_rpg_strats 2024-12-13 18:51:55 +08:00
Yunfan Li
f26cebb518 Update rpg status probability 2024-12-11 23:00:03 +08:00
Yunfan Li
c436781d39 Merge pull request #767 from liyunfan1223/crash_fix_bg
[Crash fix] Fix race condition on BattlegroundData
2024-12-10 21:52:07 +08:00
Yunfan Li
0cfae2673f [Crash fix] Fix race condition on BattlegroundData 2024-12-10 20:22:52 +08:00
Yunfan Li
69fe9a2d81 Reduce near npc range distance 2024-12-10 20:20:19 +08:00
Yunfan Li
31f82cc322 locsPerLevelCache faction filter 2024-12-08 15:53:46 +08:00