Commit Graph

236 Commits

Author SHA1 Message Date
Yunfan Li
f0d4273e4a Improve gear initialization (#909)
* Druid and paladin rotation

* Improve spell effect collector for gear init

* Fix mount and hit stat calculator
2025-01-25 14:07:36 +01:00
Yunfan Li
a0e955d14b Fix comments 2025-01-19 17:10:11 +08:00
Yunfan Li
462e99ec30 Fix triggered charged buff check 2025-01-19 17:10:11 +08:00
SaW
89590860fb Performance: Refactored a bunch of functions in Playerbot ai (#865)
* Update PlayerbotAI.h

* Refactored a number of functions in PlayerbotAI.cpp

* Update PlayerbotAI.cpp

* Update PlayerbotAI.cpp - update for commit done

Take
568592f188
into account.

* Missing check for aurEff

* Update PlayerbotAI.cpp

nvm...

* Update PlayerbotAI.cpp

GetAura

* Update PlayerbotAI.cpp

Simplified/Optimized sPlayerbotAIConfig->dynamicReactDelay logic for in-combat.

* Update PlayerbotAI.cpp

Dubass fix

* Update PlayerbotAI.cpp

Fix bots leaving dungeon group,. again.

* Update PlayerbotAI.cpp

* Update PlayerbotAI.cpp - order correction

...Required for proper pet behavior.

* Update PlayerbotAI.cpp - UpdateAIGroupMembership()

Final refactor of helper function as all now works as required.

* Update PlayerbotAI.cpp

FindItemInInventory

* Update PlayerbotAI.h

Added helper functions, correct public -> private
2025-01-15 22:49:41 +01:00
Yunfan Li
568592f188 Minor fixes to spell and mount init (#863)
* Make summon imp non-temporary

* Remove horse mount from troll

* Set facing to during spell casting

* Allow rpg status command

* Init unarmed skill and fix skill clear

* Cast delay after interrupt spell
2025-01-12 18:03:27 +01:00
Yunfan Li
d3868e7af7 Remove from group when no real player in lfg group 2025-01-04 16:41:02 +08:00
Yunfan Li
01c257005e Merge pull request #842 from liyunfan1223/lfg_leave_group
Fix LFG leave group and several minor issues
2025-01-04 16:12:12 +08:00
bash
b16a44c711 [performance] smart scaling configurable (#834) 2025-01-02 19:02:06 +01:00
Yunfan Li
6b8e906e39 Fix LFG leave group 2025-01-01 20:40:39 +08:00
Yunfan Li
79a5fdd7c1 Make backwards movement for flee 2024-12-29 23:21:03 +08:00
SaW
8c36d0988b 5-8 percent performance increase when when botActiveAlone is 100% and smartScale disabled (#803)
Diff-wise. By moving the when botActiveAlone is 100% and smartScale disabled return to the very top.
2024-12-21 13:48:07 +01:00
bash
83369478c3 Minor updates after patches (#801)
only freeze bots during init when not in combat
2024-12-19 21:26:28 +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
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
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
bash
ea944aeefa added additional botActiveAlone confguration options (#780) 2024-12-15 19:18:36 +01:00
Bobblybook
a9ff1dbc5e Merge branch 'master' into master 2024-12-15 23:47:38 +11:00
Yunfan Li
a91aa3e392 New rpg bug fix that preventing bots from long distance movement 2024-12-15 16:46:44 +08:00
Yunfan Li
6d82b134d1 Merge branch 'master' into new_rpg_strats 2024-12-06 20:39:51 +08:00
Yunfan Li
0fa548593f Improve performance by ZoneHasRealPlayers and MoveFarTo 2024-12-04 23:26:58 +08:00
Bobblybook
f20e5d76d1 Eye of Eternity skeleton 2024-12-03 21:13:28 +11:00
Revision
f0ccb0a371 Fix compiler errors and switch to using available helpers 2024-12-02 00:16:06 +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
0fd894176b [New Rpg] New rpg start up (add GO_GRIND and NEAR_RANDOM status) 2024-11-30 23:48:29 +08:00
bash
58a5929827 [performance] minor changes (#709) 2024-11-13 22:30:18 +01:00
bash
a7bcdad65c [performance] bots scale idle fix (#678)
* [performance] bots scale idle fix

* [performance] featureset
2024-11-05 16:05:05 +01:00
EricksOliveira
5c16e14d57 Fix Crash SayToChannel (#666)
Additional checks for null pointers to ensure that the Channel and ChannelMgr objects are correctly initialized before accessing them.

Validation of empty strings to avoid problems when checking the channel name (channel->GetName()).

Implemented mutex (std::lock_guard) around access to SocialMgr to avoid race conditions, improving security in multi-threaded operations.
2024-11-03 13:15:03 +01:00
bash
e66475c3e0 [performance] Added additional circle of life, 600 yards (#655) 2024-10-29 23:32:16 +01:00
bash
b83cdf2057 [performance] server_and_bot_init_phase_patch2 (#653) 2024-10-29 14:26:18 +01:00
bash
8a9c25c72c [performance] initialize server and bots fase 2024-10-29 10:57:26 +00:00
bash
3cd68c6dec [performance] new baseline (#644) 2024-10-29 01:15:26 +01:00
bash
4eb40c0395 minor bugfix and back to original cmangos values 2024-10-17 20:28:56 +00:00
bash
12be2c9971 Revert "Rewrote scaling, moving away from cmangos solutions"
This reverts commit 62aef235d1.
2024-10-17 17:52:05 +00:00
bash
62aef235d1 Rewrote scaling, moving away from cmangos solutions 2024-10-13 22:05:39 +00:00
bash
77ba59ed54 [performance] Smartscale added missing acitivity 2024-10-13 00:00:41 +00:00
bash
c6f9f43a33 [performance] Tweaked autoscale, too many rndbots were idle which defeats the purpose of having rndbots 2024-10-11 18:48:00 +00:00
bash
90464ae3ed Added min and max level for smartScale 2024-10-10 18:01:54 +00:00
bash
c7197f0911 [performance] BotActiveAlone SmartScale toggle 2024-10-09 22:34:37 +00:00
bash
e8c8401b4a Ported cmangos of allowAcitity and prority, removed autoscaled based on latency 2024-10-07 20:57:19 +00:00
Yunfan Li
2695b3378e Merge pull request #583 from liyunfan1223/update_optimize
[Performance] Update optimize
2024-10-06 23:03:48 +08:00
Yunfan Li
eb0d222598 [Spell] Dont interrupt spell on drop target 2024-10-06 12:46:37 +08:00
Yunfan Li
69ef0d46cd [Performance] YieldThread when casting spell 2024-10-06 12:22:48 +08:00
Yunfan Li
b2dae08221 [Performance] Pull up CanUpdateAI() check 2024-10-06 12:21:33 +08:00
Yunfan Li
a0865cca14 [Spell] SpellInfo check on current spell 2024-10-04 14:14:16 +08:00
Yunfan Li
55cd5ab923 [AI] Remove reset after near teleport 2024-10-04 14:14:16 +08:00