Commit Graph

1578 Commits

Author SHA1 Message Date
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
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
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
SaW
453fa4b4f5 Fix reload command security (#774) 2024-12-14 17:55:06 +01: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
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
Revision
f096c2089f Add a config option for dropping obsolete quests (#745) 2024-12-06 08:45:41 +01:00
kadeshar
8c84026116 - added spec configuration for world buffs (#761)
- added world buffs to configuration file
- fixed NeedWorldBuffTrigger
2024-12-05 19:29:52 +01:00
Yunfan Li
e7f0ee16f7 Merge pull request #757 from noisiver/support-newer-master
Support newer master
2024-12-05 22:13:54 +08:00
Bobblybook
f20e5d76d1 Eye of Eternity skeleton 2024-12-03 21:13:28 +11:00
kadeshar
437f816b15 - fixed attack rti target action (#758) 2024-12-03 10:59:11 +01:00
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
kadeshar
9e20eb452d - fixed mark rti bug (#755) 2024-12-01 23:11:01 +01:00
kadeshar
7291fae5b3 Warlock soulstone action (#753)
* - added warlock soulstone action

* - added master as soulstone target
2024-12-01 22:33:03 +01:00
Bobblybook
b7c2fe9947 Obsidian Sanctum implementation (#752)
OS+2 implemented.
- Kill Vesperon before fight
- Mark Main Tank in raid interface

Offtank still needs a bit of work, and dps needs to stop running around once they're safe. But it's usable currently.
I think this should probably work for OS+1 and OS+0 with no changes but I was more concerned about implementing +2.
2024-12-01 22:26:35 +01:00
Bobblybook
657bb9a6da Obsidian Sanctum implementation
OS+2 implemented.
- Kill Vesperon before fight
- Mark Main Tank in raid interface

Offtank still needs a bit of work, and dps needs to stop running around once they're safe. But it's usable currently.
I think this should probably work for OS+1 and OS+0 with no changes but I was more concerned about implementing +2.
2024-12-02 00:25:36 +11:00
Yunfan Li
83c407f1c6 Merge pull request #747 from Raz0r1337/master
fix small typo and remove double logging
2024-12-01 11:47:24 +08:00
Yunfan Li
21684a051d Merge pull request #751 from noisiver/update-character-online
Change statement to a newly created one
2024-12-01 11:45:42 +08:00
Revision
4f06019436 Change statement to a newly created one 2024-11-30 17:09:49 +01:00
Sascha
f54dbcdc54 Update playerbots.conf.dist
these loggers already exist in the worldserver.conf
these duplicate entries interfere with each other
2024-11-29 13:06:57 +01:00
Sascha
b39e7304cb Update playerbots.conf.dist
small indentation error fixed
2024-11-29 13:00:35 +01:00
Revision
3e449fff73 Merge pull request #742 from avirar/inCombatErrorTypo
When bots try to equip armour while in combat they say "I am not in combat"
2024-11-27 15:16:20 +01:00
bash
c0b185935b database update data folder location (#741)
added acore_playerbots update script
2024-11-25 23:44:39 +01:00
avirar
37e5e3942d Update InventoryChangeFailureAction.cpp
Corrected bot output for EQUIP_ERR_NOT_IN_COMBAT which is returned when the bot is in combat and cannot perform the equip action. Bot would previously say "I am not in combat", it will now say "I am in combat"
2024-11-26 08:54:39 +11:00
Yunfan Li
e6feccb5aa Merge pull request #740 from liyunfan1223/core_sync_241125
Naxx core sync
2024-11-25 23:20:15 +08:00
Yunfan Li
d9dc25a15f Naxx core sync 2024-11-25 23:05:20 +08:00
Revision
f925db1ca4 Fix print about invalid format (#739) 2024-11-24 22:09:04 +01:00
bash
eb583de6aa Increased updateInterval booster time (#732)
from botAmounts * 0.13 to 0.15
2024-11-19 00:25:18 +01:00
bash
6b415cb80f playerbots.conf.dist comment added (#731) 2024-11-19 00:07:09 +01:00
Revision
b46416fe1e Fix a crash in Forge of Souls (#729) 2024-11-18 22:08:08 +01:00
Yunfan Li
9bea66bedc Merge pull request #724 from hermensbas/feature/alignment_core_data_folder
placed playerbot sql folder into data folder as core/module describes
2024-11-18 15:36:27 +08:00
Revision
16470e2232 Fix bots dropping quests that are green (#723) 2024-11-16 23:14:46 +01:00
bash
76b781529a placed sql into the data folder as core/module describes 2024-11-16 21:38:17 +00:00