privatecore
7dac49cf9c
Fix wrong prepared statement used for the PlayerbotDbStore::Reset issue #1172 ( #1688 )
2025-09-30 22:13:36 +02:00
Revision
a5120c0a7c
Fix spacing issue and removed unnecessary spaces ( #1684 )
...
* Fix spacing issue and removed unnecessary spaces
* Added spaces where suggested
2025-09-30 15:25:53 +02:00
bash
0cc15411c1
license update ( #1674 )
2025-09-30 15:19:44 +02:00
avirar
01915ffa35
Added null check to Queue::findHighestRelevanceBasket() ( #1686 )
2025-09-30 15:17:45 +02:00
kadeshar
a19604024e
Merge pull request #1662 from gacuna89/patch-2
...
Fix: Prevent bots from eating and drinking while mounted
2025-09-29 21:46:07 +02:00
bash
972e2604ce
Update NonCombatActions.cpp
...
This is better, even though aura check is tiny more expensive then most. Placing them into isUseful() is kinda confusing.
2025-09-29 00:14:28 +02:00
bash
aaa9e1a42c
Placed cheap checks in isPossible() more expensive in isUseful()
...
combat en mounted are both HasUnitFlag checks, which are cheap calls to make.
2025-09-29 00:06:56 +02:00
bash
df77668b4b
Review
2025-09-28 20:37:01 +02:00
kadeshar
c3eecc0d7c
Merge pull request #1676 from brighton-chi/spec-tab-names
...
Fix SPEC_TAB names
2025-09-28 20:08:39 +02:00
kadeshar
7ff56dfd07
Merge pull request #1673 from privatecore/fix-pull-power-spark
...
Fix wrong cast spell action passed to the PullPowerSparkAction constructor
2025-09-28 20:07:32 +02:00
kadeshar
873767db7c
Merge pull request #1670 from icemansparks/fix-mount-state-logic
...
FIX: Allow following master's mount state regardless of group leader
2025-09-28 20:06:53 +02:00
kadeshar
03a56405f5
Merge pull request #1681 from IainD92/GuildSizeConfig
...
Config option to set max number of guild members in random bot guilds
2025-09-28 19:45:29 +02:00
Iain Donnelly
6f79193d7a
Config option to set max number of guild members in random bot guilds
2025-09-28 14:04:09 +01:00
privatecore
b0f3de65f5
Fix warning: delete called on non-final that has virtual functions but non-virtual destructor ( #1671 )
2025-09-28 13:53:11 +02:00
privatecore
30bd58be67
Fix wrong PlayerbotAI parameter name passed to the constructor ( #1672 )
2025-09-28 13:42:03 +02:00
kadeshar
c20fb34470
- Added method to get translation bot text or default ( #1678 )
2025-09-28 13:39:59 +02:00
privatecore
34ce17fb3a
Fix wrong cast spell action passed to the PullPowerSparkAction constructor
2025-09-28 09:13:36 +02:00
crow
e525c22d85
Fix SPEC_TAB names
2025-09-27 23:11:47 -05:00
avirar
23d9931f65
Resolved crash in BGStatusAction ( #1656 )
...
* Prevent race condition and server crash
* Updated other direct packet handling lines to queue packets instead
2025-09-28 00:01:24 +02:00
bash
ec4ab34f94
Update NonCombatActions.cpp
...
Expensive checks last.
2025-09-27 23:31:16 +02:00
bash
62e2ca247a
formatting
2025-09-27 23:28:48 +02:00
bash
d9b57fcfd4
Updated the locations of the checks, also added the checks as additional gatekeeper of the execute.
2025-09-27 23:26:29 +02:00
kadeshar
05d3a44481
Merge pull request #1651 from Tierisch/shaman_fix
...
Fix SetTotemAction - add `isUseful` and get array size instead of pointer size
2025-09-27 23:08:18 +02:00
bash
662e7f1b0b
Update ShamanActions.cpp
2025-09-27 23:00:24 +02:00
bash
e042e3b12b
Added shapeshift
2025-09-27 22:55:52 +02:00
Tecc
b9dbfe9646
fix: Allow following master's mount state regardless of group leader in CheckMountStateAction
2025-09-27 22:50:14 +02:00
bash
3228667121
Merge branch 'master' into patch-2
2025-09-27 22:40:39 +02:00
kadeshar
0547ce5cf7
- Code optimalizations
2025-09-27 20:57:10 +02:00
Crow
f5a6194808
Fixed some comments in the config ( #1668 )
2025-09-27 20:31:06 +02:00
Gonzalo
f23b2ea2f6
fix: Optimize DrinkAction to check mana in isUseful instead of Execute ( #1666 )
...
* fix: Optimize DrinkAction to check mana in isUseful instead of Execute
- Move HasManaValue check from Execute to isUseful for better performance
- Prevents non-mana classes from executing drink actions unnecessarily
- Improves AI efficiency by early filtering in isUseful method
Addresses reviewer feedback about HasManaValue usage optimization
* Update NonCombatActions.cpp
---------
Co-authored-by: bash <31279994+hermensbas@users.noreply.github.com >
2025-09-27 13:06:16 +02:00
Gonzalo
f26c4e99f6
Fix: Prevent bots from eating and drinking while mounted
...
This change modifies the `DrinkAction::Execute()` and `EatAction::Execute()` functions in `src/strategy/actions/NonCombatActions.cpp`.
Previously, playerbots could attempt to eat food or drink water while mounted, which is not possible in the game and creates unrealistic behavior.
This fix adds mount state checks to both actions:
1. `DrinkAction::Execute()` now checks `bot->IsMounted()` and returns false if mounted
2. `EatAction::Execute()` now checks `bot->IsMounted()` and returns false if mounted
This prevents bots from attempting to consume food or drinks while mounted, improving bot behavior realism and preventing unnecessary action attempts that would fail anyway.
2025-09-25 18:26:28 -03:00
Alex Dcnh
fc69dd5ddd
FIX Random Bot Guilds not initialising random emblem, colors, etc #1636 ( #1650 )
...
* FIX Random Bot Guilds not initialising random emblem, colors, etc #1636
FIX Random Bot Guilds not initialising random emblem, colors, etc #1636
* Update RandomPlayerbotFactory.cpp
* Add sql patch an remove FixEmptyGuildEmblems() function
2025-09-25 21:42:34 +02:00
kadeshar
01f0b71a17
- Code refactoring
2025-09-25 20:31:42 +02:00
Spargel
f35e39e19c
Removing unnecessary variable
2025-09-22 03:00:29 -05:00
Spargel
ca0dafd67b
Fix SetTotemAction
...
Add isUseful and check array size instead of pointer size
2025-09-21 21:21:09 -05:00
Alex Dcnh
0b74820f80
Create 2025_09_18_00_ai_playerbot_french_texts.sql ( #1641 )
...
* Create 2025_09_18_00_ai_playerbot_french_texts.sql
* Update 2025_09_18_00_ai_playerbot_french_texts.sql
1:1 translation
* Update 2025_09_18_00_ai_playerbot_french_texts.sql
2025-09-21 20:32:01 +02:00
kadeshar
c9fb2e35cb
- Possible loop fix for Call of the Elements ( #1649 )
2025-09-21 20:31:16 +02:00
kadeshar
7f9eb9f1a0
Merge pull request #1643 from noisiver/tabs-to-spaces
...
Replaced tabs with spaces
2025-09-20 11:16:15 +02:00
Revision
fcb956ec1b
Removed unnecessary spaces
2025-09-19 22:43:50 +02:00
kadeshar
90518a59ae
Merge pull request #1644 from Wishmaster117/Fix-for-2025_09_17_00_paladin_buff_reagent_texts
...
Fix for 2025_09_17_00_paladin_buff_reagent_texts
2025-09-19 22:32:21 +02:00
Wishmaster117
5c1e9576b7
Fix for 2025_09_17_00_paladin_buff_reagent_texts
2025-09-19 22:03:33 +02:00
Revision
ace813516d
Replaced tabs with spaces
2025-09-19 21:00:09 +02:00
Alex Dcnh
e175eb1178
Paladin buff logic: Sanctuary+Kings synergy, role-aware targeting, safer Greater buffs ( #1603 )
...
* Paladin buff logic: Sanctuary+Kings synergy, role-aware targeting, safer Greater buffs
* Update PaladinActions.cpp
* Update PaladinActions.cpp
* All configs should be implement into PlayerbotAIConfig and sPlayerbotAIConfig used in code
* added: prayer of fortitude
* Magic number removed
* Update PaladinActions.cpp
* Update PaladinActions.cpp
* Update PaladinActions.cpp
* Update PaladinActions.cpp
* Update PaladinActions.cpp
* Add patch for solo paladin in group
* Correction review
* Update PaladinActions.cpp
* Add harcoded text to DB
2025-09-18 19:52:26 +02:00
privatecore
17f50f780d
Update the Playerbots localized texts to include the Russian language ( #1638 )
2025-09-18 19:46:23 +02:00
kadeshar
4f69b7bb48
Merge pull request #1601 from brighton-chi/more-chat-filters
...
Add chat filters for aura, aggro, and spec and make all filters case insensitive
2025-09-17 22:46:45 +02:00
kadeshar
782bbc9d0e
Merge pull request #1639 from brighton-chi/fix-debug-typo
...
Fix typo in RandomPlayerbotMgr.cpp
2025-09-17 18:53:18 +02:00
Crow
0362db94ad
Exclude Log.h
...
Not needed
2025-09-17 11:09:59 -05:00
Crow
a41abb54cb
Corrected inaccuracy in config comment
2025-09-16 14:51:23 -05:00
crow
8586796cec
Fix typo in RandomPlayerbotMgr.cpp
2025-09-16 13:54:02 -05:00
Spargel
907f1aff61
Refactor GossipHelloAction with overload ( #1628 )
...
* Add overload for GossipHelloAction
* Refactor GossipHelloAction
2025-09-16 20:20:48 +02:00