Commit Graph

136 Commits

Author SHA1 Message Date
Paolo
917c96a281 Add config option for RND bot trading. (#1132)
* Add config option for RNDbot trading.
2025-03-28 16:10:49 +01:00
Yunfan Li
fbfcbbcddc EnablePeriodicOnlineOffline config and modify CalculateTotalAccountCount (#1043)
* EnablePeriodicOnlineOffline config

* Add Comments on PeriodicOnlineOfflineRatio
2025-03-01 21:05:43 +08:00
Yunfan Li
a3e305fbed Improve XP rate config (#1035) 2025-02-28 01:05:08 +01:00
SaW
419e96e5aa Revert expireActionTime (#991)
* Revert expireActionTime

* Revert expireActionTime

* Revert RemoveExpired

* Revert RemoveExpired

* Revert RemoveExpired

* Revert Action expiration
2025-02-21 11:32:00 +08:00
Yunfan Li
bb729e35b9 Fix stuck on knockback, enhance movement & flee and trap weave strats (#980)
* Hunter trap weave strats

* Do not allow actions to stack

* Remove trap weave by default

* Refactor on Engine

Co-authored-by: SaW <swerkhoven@outlook.com>

* Remove unused funcs in Queue

* Remove ExpireActionTime config

---------

Co-authored-by: SaW <swerkhoven@outlook.com>
2025-02-18 22:55:44 +08:00
SaW
624e48068e Autocalc Accounts - take rotation into account (#971)
* Takes bot rotation into account and adjust accordingly when enabled as it requires to be higher than MaxRandomBots to function properly.
* Correct default config to reflect that bots pool size for rotation should be higher than MaxRandomBots
* Revert space at start of all lines.
2025-02-14 23:31:26 +01:00
SaW
4793644a15 Auto calculate RandomBotAccountCount by default (#964)
* Remove RandomBotAccountCount requirement

* Remove RandomBotAccountCount

* Remove randomBotAccountCount

* Remove randomBotAccountCount

* Update playerbots.conf.dist

* Style

* Set RotationPoolSize to 20 to work with the bot amount defaults

* Update PlayerbotAIConfig.cpp: Sync with default config

* Set +1 where appropriate

* Acc patch (#73)

* Account for TBC
* Still made it possible to change manually if desired

* uint32 randomBotAccountCount;

* Update Playerbots.cpp
2025-02-14 22:03:53 +08:00
Yunfan Li
2c224d3121 Add LimitTalentsExpansion config (#954) 2025-02-09 21:50:04 +08:00
kadeshar
08008a3155 Worldbuff startup fix (#951)
* - [Performance] Fixed world buff loading from config file

* - [Refactoring] Changed mathod name
2025-02-08 12:31:06 +01:00
Yunfan Li
fef67081ec Improve login and init permission for rndbots and addclass bots (#930)
* Improve login and init permission for rndbots and addclass-bots

* Add AllowAcountBots config

* Update config description
2025-02-03 19:46:49 +08:00
Yunfan Li
e571694a88 Reset added rndbots on server restart to automatically apply configuration changes (#913)
* Refactor RandomPlayerbotMgr and delete add value on restart server

* Remove reset tips in conf file
2025-01-26 12:06:29 +01:00
SaW
be21018f0c Feature: Have bots auto join/start all supported BG's (if enabled) (#877)
* Update RandomPlayerbotMgr.cpp

* Update playerbots.conf.dist

* Update PlayerbotAIConfig.h

* Update PlayerbotAIConfig.cpp

* Update playerbots.conf.dist

* Update playerbots.conf.dist

* Updated information

* Update RandomPlayerbotMgr.cpp

Avoid reverting https://github.com/liyunfan1223/mod-playerbots/pull/870/files

* Update playerbots.conf.dist

set capitals on Random

* Final update on settings documentation

* Update playerbots.conf.dist

* Fix bots loving to do BG's a bit too much

* Final fix bots over-queuing

* pt2 - Limit over-queuing to ~1 instance

Try and prevent over-queuing to a max of 1 instance.

* Add new queue instead of instance if necessary

* Update RandomPlayerbotMgr.cpp

* Final commit

* Update RandomPlayerbotMgr.cpp

* Fix timer

* Updated docu

* Update playerbots.conf.dist

* Update RandomPlayerbotMgr.cpp

Set BgCheckTimer to 45 as it is sufficient.
2025-01-20 14:21:35 +01:00
Yunfan Li
812702ea25 Hunter wolf pet config and modify config file layout for activities 2025-01-19 17:10:11 +08:00
valsan-azerty-boi
f95e812d26 add bot mount in conf 2025-01-05 21:55:13 +01:00
bash
b16a44c711 [performance] smart scaling configurable (#834) 2025-01-02 19:02:06 +01:00
Yunfan Li
1c22a9a9ff Add ratio config for alliance and horde rndbots (#818) 2024-12-25 20:42:35 +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
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
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
Yunfan Li
a5d1d7579d EnableNewRpgStrategy switch for initialization 2024-12-14 21:46:33 +08:00
Yunfan Li
6d82b134d1 Merge branch 'master' into new_rpg_strats 2024-12-06 20:39:51 +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
87e8c05b20 Innkeeper position and windows compile error 2024-12-03 22:57:39 +08: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
67c9b1c882 [performance] enable autoscale again on top of latest changes (#711) 2024-11-13 22:30:52 +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
bash
dc55bdd8dc disabled smartscale by default for now (#663)
* disabled smartscale by default for now

* disabled smartscale by default for now
2024-11-01 22:03:04 +01:00
bash
76994ae3c0 [performance] server_and_bot_init_phase_patch1 (#652) 2024-10-29 13:08:46 +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
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
158d923c15 Autoscale latency modifier 2024-10-11 21:20:43 +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
bash
6e7404d7fc increased interval to 20 to mitigate memory issues 2024-10-06 00:06:59 +00:00
bash
20f6d1563b added acitivty autoscale and related config property 2024-10-03 07:58:09 +00:00
bash
9fb2b51f16 Aligned the 'BotActiveAlone' conf and coded value 2024-09-30 15:57:33 +00:00
bash
e7f11f9bdb Optimized the firstRandomize, increase pressure when balancing, lower pressue completed 2024-09-27 09:33:05 +00:00
bash
96141a4aca correction synced playerbots.config.dist and PlayerbotAIConfig class 2024-09-12 16:04:12 +00:00
bash
9fab7e100c Minor correction forgot to update the imperative default configs 2024-09-12 07:33:04 +00:00
Yunfan Li
694f400f20 Remove mana potion -> drink alternative 2024-09-08 15:49:24 +08:00
Yunfan Li
4de02481be Avoid aoe max radius and whitelist 2024-09-08 12:53:08 +08:00