Skip to content

Feature/bot active alone fixes and default configs - #18

Draft
hermensbas wants to merge 1 commit into
masterfrom
feature/bot_active_alone_fixes_and_default_configs
Draft

Feature/bot active alone fixes and default configs#18
hermensbas wants to merge 1 commit into
masterfrom
feature/bot_active_alone_fixes_and_default_configs

Conversation

@hermensbas

Copy link
Copy Markdown
Owner

Pull Request Description

  • Bugfix the jittering on/off of botAlone activity
  • BotActiveAlone activity duration configurable
  • Updated the default config values for general user for a smoother experience
  • Added offset jittering for the check allowedActivity and check next AI delay to prevent cpu spikes

(disabled WhenIsFriend can cause race conditions)

Feature Evaluation

  • Describe the minimum logic required to achieve the intended behavior.
  • Describe the processing cost when this logic executes across many bots.

How to Test the Changes

Impact Assessment

  • Does this change increase per-bot/per-tick processing or risk scaling poorly with thousands of bots?
      • No, not at all
      • Minimal impact (explain below)
      • Moderate impact (explain below)

In a positive way, bots in your zone and 150 radius will always be active, meanwhile other bots will be active 40%
of the time with intervals for 60 seconds per bot. With much lower latencies. All configurable without say.

40% and 60 seconds for more balance for those who seek bots create world feel more natural and live vs bots leveling without killing the server performance. Why not 50 due activity of bots itself 40% will result more into 45-50% like behavior and 50% prolly more 55%-60%. This it not something we want incorporate when calculating the value since it depends on various config and situation. But 40% is good base with default config.

  • Does this change modify default bot behavior?

      • No
      • Yes (explain why)
  • Does this change add new decision branches or increase maintenance complexity?

      • No
      • Yes (explain below)

Messages to Translate

  • Does this change add bot messages to translate?
      • No
      • Yes (list messages in the table)
Message key Default message

AI Assistance

  • Was AI assistance used while working on this change?
      • No
      • Yes (explain below)

Final Checklist

    • Stability is not compromised.
    • Performance impact is understood, tested, and acceptable.
    • Added logic complexity is justified and explained.
    • Documentation updated if needed (Conf comments, WiKi commands).

Notes for Reviewers

@hermensbas
hermensbas force-pushed the feature/bot_active_alone_fixes_and_default_configs branch 2 times, most recently from 5503216 to e18fb3c Compare April 3, 2026 19:38
@hermensbas
hermensbas force-pushed the feature/bot_active_alone_fixes_and_default_configs branch from e18fb3c to 660c418 Compare April 3, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant