fix(companions): reuse offline bot pool before spawning and preserve AutoLogin.MaxCount

Ported from 7447347 onto the multi-realm companion flow. The server's queued count is used, an older
bots module without a count falls back to creating the bots, and requests for a chosen level or class
are always created.

(cherry picked from commit 7447347)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ДмитрийandClaude Sonnet 5.5 committed 2026-11-25 07:52:58 +05:00
1 parent 086534f849
commit dbf494c2c2
3 files changed
+76 -11

No files matched your search

@@ -0,0 +1,7 @@
---
area: manager
type: changed
audience: admins
title: Adding companions reuses offline bots and keeps your startup limit
---
Bots that already exist and are offline are logged in first and only the missing ones are created. Adding companions no longer raises the number of bots that log in when the server starts.