Five character slots (AVA2 ENABLE_PLAYER_PER_ACCOUNT5)

PLAYER_PER_ACCOUNT 5: player_index.pid5 in the login/empire/monarch
queries, char_change_empire sized by PLAYER_PER_ACCOUNT, slot check
relaxed; client gate mt20261029. tools/player-slots5 adds pid5.

tools/player-deleted-sync: PLAYER_DELETE copies with SELECT *, so
player_deleted must match player column for column; the conqueror
schema now adds its columns to player_deleted too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-10-24 20:33:51 +09:00
co-authored by Claude Opus 5.5
parent 31ebae050b
commit 96f8486306
11 changed files with 102 additions and 19 deletions
+2
View File
@@ -0,0 +1,2 @@
-- Five character slots (ENABLE_PLAYER_PER_ACCOUNT5): player_index gets a fifth pid column.
ALTER TABLE player_index ADD pid5 int(11) NOT NULL DEFAULT 0 AFTER pid4, ADD KEY pid5_key (pid5);