feat(playerbots): staggered taxi take-off for bots (#1281)

* feat(playerbots): staggered taxi take-off for bots

Adds four new configurable settings to playerbots.conf:

- AiPlayerbot.BotTaxiDelayMinMs:   Min random delay before the 1st follower bot clicks the flight-master
- AiPlayerbot.BotTaxiDelayMaxMs:   Upper bound for the overall taxi delay window – larger spreads big raids
- AiPlayerbot.BotTaxiGapMs:        Fixed gap added per group-slot so bots never take off together
- AiPlayerbot.BotTaxiGapJitterMs:  Extra small randomness added to each gap so launches don’t look robotic

These options allow server owners to fine-tune how bots queue up and take off from flight masters, making their behavior appear more natural.

Closes #1017 : Bots use Flight master nearly the same time.

* fixed build errors

Was missing a header and variable declarations.
This commit is contained in:
Type1Error
2025-05-10 11:45:15 +00:00
committed by GitHub
parent 43b0852438
commit 95c572bf48
6 changed files with 91 additions and 0 deletions

View File

@@ -18,6 +18,7 @@
# COMBAT
# CHEATS
# SPELLS
# FLIGHTPATH
# PLAYERBOT RNDBOT SPECIFIC SETTINGS
# GENERAL
# LEVELS
@@ -495,6 +496,28 @@ AiPlayerbot.OpenGoSpell = 6477
#
###################################################################################################
####################################################################################################
# FLIGHTPATH
#
#
# Min random delay before the 1st follower bot clicks the flight-master (ms)
AiPlayerbot.BotTaxiDelayMinMs = 350
# Upper bound for the overall taxi delay window (ms) larger spreads big raids
AiPlayerbot.BotTaxiDelayMaxMs = 5000
# Fixed gap added per group-slot so bots never take off together (ms)
AiPlayerbot.BotTaxiGapMs = 200
# Extra small randomness added to each gap so launches dont look robotic (ms)
AiPlayerbot.BotTaxiGapJitterMs = 100
#
#
#
###################################################################################################
#######################################
# #
# PLAYERBOT RNDBOT SPECIFIC SETTINGS #