Commit Graph

127 Commits

Author SHA1 Message Date
Yunfan Li
14bdc0ec5a Always allow addclass bots login and init (#946)
* Change the way to check addclass bots and allow adding them by characters name

* Always addclass bots login and init

* Comments and message
2025-02-05 12:56:37 +08:00
Yunfan Li
9bbe183763 Improve random accounts creation (#942)
* Duplicate name check and improve name cache

* Sync wait for the first time creation of random bots
2025-02-03 16:39:45 +01: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
4e7d00b1a3 BG: restore !bot->IsInWorld() check (#891)
* Update RandomPlayerbotMgr.cpp

* Restore !bot->IsInWorld()
2025-01-22 16:44:44 +01:00
SaW
d3e3372121 BG: Final fix against potential inconsistencies
* Check both bgInstanceCount / bgInstances.size

to help counter against possible inconsistencies

* Final fix against inconsistencies
2025-01-22 14:12:38 +01:00
SaW
c6a332a729 Fix over-queuing in BG's (#887)
* Fix overqueue

* Update RandomPlayerbotMgr.cpp

* Restore if self-bot

* Update RandomPlayerbotMgr.cpp
2025-01-22 10:33:51 +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
bf4deff717 Fix playerbots database request queue stacking (#870)
* Clear added random bots on server start

* Remove duplicate set login event

* Remove login event value

* Remove deletion of add event value
2025-01-14 20:30:06 +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
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
Yunfan Li
677ee83e45 Update locs level 2024-12-15 22:30:24 +08:00
Yunfan Li
45629cb3df Starter location collection 2024-12-15 21:36:26 +08: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
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
be71872112 Update far move to prevent invalid movement 2024-12-14 02:33:52 +08:00
Yunfan Li
1f8d0d244c Update starter position 2024-12-14 01:33:39 +08:00
Yunfan Li
a7496b3eb5 Merge branch 'master' into new_rpg_strats 2024-12-13 18:51:55 +08:00
Yunfan Li
0cfae2673f [Crash fix] Fix race condition on BattlegroundData 2024-12-10 20:22:52 +08:00
Yunfan Li
31f82cc322 locsPerLevelCache faction filter 2024-12-08 15:53:46 +08:00
Yunfan Li
98701a6f66 Modify starter position (add flightmaster) 2024-12-08 15:47:34 +08:00
Yunfan Li
87e8c05b20 Innkeeper position and windows compile error 2024-12-03 22:57:39 +08:00
Yunfan
5c3591ae5a Update random bots level stats 2024-12-02 15:28:30 +08:00
Yunfan
5ca7c71920 Logs and rpg status for new rpg strats 2024-12-02 11:48:51 +08:00
Yunfan
bb3328670b Remove redundant logs (set to debug level) 2024-12-02 11:42:31 +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
eb583de6aa Increased updateInterval booster time (#732)
from botAmounts * 0.13 to 0.15
2024-11-19 00:25:18 +01:00
avirar
7f2ba0ed05 Fixed issue with random bots not respecting RandomBotFixedLevel (#714)
* Update RandomPlayerbotMgr.cpp

Added check during random bot login for RandomBotFixedLevel and set PLAYER_FLAGS_NO_XP_GAIN

* Update RandomPlayerbotMgr.cpp

Removed if from else
2024-11-16 00:36:41 +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
Yunfan Li
2f0f8ad496 Set _isBotInitializing if randomBotAutologin=0 (#670) 2024-11-03 16:21:37 +01:00
bash
645bc4948e [performance] side-effect of other bug causes to stay inactive when botAmount min/max not equal 2024-10-30 01:49:42 +00: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
6e4db7ee3b Replaced isTaxiFlying check with new function 2024-10-13 22:48:33 +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
e8c8401b4a Ported cmangos of allowAcitity and prority, removed autoscaled based on latency 2024-10-07 20:57:19 +00:00
bash
a0df64dd09 teleport optimizations 2024-09-30 15:54:27 +00:00
bash
e7f11f9bdb Optimized the firstRandomize, increase pressure when balancing, lower pressue completed 2024-09-27 09:33:05 +00:00
bash
010a1101eb Optimized the init bots, assign first level and teleportForLevel 2024-09-10 20:24:38 +00:00
Yunfan Li
4de02481be Avoid aoe max radius and whitelist 2024-09-08 12:53:08 +08:00
Yunfan Li
369f3373ed Fix unique equip init and bots login 2024-09-05 15:04:46 +08:00
Yunfan Li
3f9165a714 Fix addclass 2024-09-01 14:09:35 +08:00
Yunfan Li
f804ba2d65 Speed up addclass with pre calculation 2024-08-31 19:58:28 +08:00
Fuzz
f7d229dde2 potential fix for #469 (not 100% sure as can't reproduce) 2024-08-15 21:14:51 +10:00
Yunfan Li
2ddaae9ef0 Dynamic delay 2024-08-14 18:37:21 +08:00