Asked on Discord #bot-feedback (Dumpins, 11-12), as ike3 bots' talents order: make the talents in the Wowhead Forever talent calculator, whisper the bot "change talents <link>" (or the code alone) and it learns that build. - Api/TalentCode.h: reads the calculator link or code (class word, "v2" version, the "_t0/..." tail skipped), checks it against the class's tabs (talents per tab, ranks, 5 points per row, 51 points), writes a build back as a code and a link, and gives the levelling order (the tab with most points first, row by row). - ClassicSpec: GetTalentTabs lays the class's three tabs out from the trait data the way the calculator does (tabs left to right, rows 600 apart, talents left to right; hidden off-grid nodes left out). Checked against the 70862 client data for all nine classes. The owner's code per bot (SetTalentCode / GetTalentCode), and InferSpecFromRanks so the rotation and role follow the build. - PlayerbotAPI: apply_classic_talents learns the owner's code instead of our build when one is set; the old talents go, the ranks are bought in the levelling order and each new level's point goes on down the build. - BotCommandParser: "change talents <link>" (also "set talents", "talents <link>"), "talents link" (the bot's talents as a calculator link), "talents default" (our builds again); setspec clears the code. Refusals say why (another class's link, a code that does not fit the trees). Russian replies in BotLocaleRu. - OwnerRegistry + migration 0040: a companion's code is kept across relog and restart. - .playerbot talentcode <Name> [<link or code> | clear] (GM, console): the class's tabs as laid out, sets the code, walks at once and prints the code the bot then holds, so it can be tested with world bots and nobody in game.
Playerbot V2 — SQL migrations
Per v2/SCHEMA.md. Migration files in this directory are numbered, append-only, and idempotent. Run by Persistence/PlayerbotMigrationMgr at module init.
For full setup instructions (schema creation, config, world fixes) see
v2/INSTALL.md.
Order
Applied in ascending numeric order; each file records itself in
playerbot_v2_schema_version. Current set:
0001_init.sql— schema_version + core tables (account, character, personality, preferences, population_target)0002–0014— owner/squad control, talent builds, population columns, guild metadata, world metadata, leveling zone, fleet vitals, archetype, craft orders, stuck-objective ledger0015_name_pool.sql— the curated ~107k-row random bot name pool (playerbots_names), shipped with use-state reset so a fresh install starts with the whole pool available0016–0017— talent builds for 12.1, shared-database split0018_companion_roster.sql—companion_savedonplayerbot_v2_character: the owner's saved companion roster0019_bot_texts.sql— (shared DB) the bots' speech lines and per-key speak chances, carried over from the ike3 build'sai_playerbot_texts0020_starter_pet_granted.sql—playerbot_v2_character.starter_pet_granted: a hunter companion's starter pet is granted once, never again after its owner abandons it0022_bot_text_weight.sql— (shared DB)playerbot_v2_bot_text.weight: a line's relative odds within its key, restoring the ike3 lines that 0019's unique key had collapsed0023_companion_gear_varied.sql—playerbot_v2_character.gear_varied: a companion geared before per-bot gear variety gets one full gear re-roll, then never again0024_companion_role.sql—playerbot_v2_character.companion_role: a companion's declared role (tank/healer/dps), kept across relog,.bot calland restart0025_owner_gear_mode.sql—playerbot_v2_owner_gear: the gear mode (match / best / t1 / t2 / t3) an owner chose for their companions, per owner account0038_owner_language.sql—playerbot_v2_owner_language: the language (en / ru) a player chose for the bots' replies with.bot language, per account0040_companion_talent_code.sql—playerbot_v2_character.companion_talents: a companion's own talent build, given as a Wowhead Forever talent calculator code (change talents <link>), kept across relog and restart
Discipline
- Never edit a numbered migration after it ships. Add a new one to amend.
- Each migration is self-contained: no cross-file dependencies on application order beyond numbering.
- Reversibility documented in the file header.