Skip to content

bot ai is frozen when no players in their zone#305

Merged
billy1arm merged 1 commit intomangoszero:masterfrom
bozimmerman:bot_activezoneonly
May 1, 2026
Merged

bot ai is frozen when no players in their zone#305
billy1arm merged 1 commit intomangoszero:masterfrom
bozimmerman:bot_activezoneonly

Conversation

@bozimmerman
Copy link
Copy Markdown
Contributor

@bozimmerman bozimmerman commented Apr 23, 2026

Adds a new aiplayerbot.conf option that will forbid thread time to bots unless they are 1. grouped OR 2. in the same zone as a real Player.

This has a huge impact on CPU time, not driving hundreds of bots on another continent while you are running a dungeon somewhere. And besides, if a Treant falls to a playerbot in a forest, and no one is around to see it, did it really need to happen?


This change is Reviewable

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented Apr 23, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 17 complexity · 0 duplication

Metric Results
Complexity 17
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@AppVeyorBot
Copy link
Copy Markdown

@AppVeyorBot
Copy link
Copy Markdown

@bozimmerman bozimmerman marked this pull request as draft April 30, 2026 17:08
@AppVeyorBot
Copy link
Copy Markdown

@bozimmerman bozimmerman marked this pull request as ready for review April 30, 2026 18:31
@AppVeyorBot
Copy link
Copy Markdown

@billy1arm billy1arm merged commit dc5dba9 into mangoszero:master May 1, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants