Files
ForeverCore/sql/playerbot_v2
Karrz1 956aff2834 Bots: module update (raid tactics, group control, world-bot pool, riding, starter gear, combat fixes) (#71)
* Bots: module update (raid tactics, instance entry, world-bot and combat fixes)

* Bots: module update from the current build (follow-the-owner on drops, group-human instance entry, raid-ready and population fixes)

* Bots: group control, pool balance at every level, starter outfit for low world bots, riding tiers and mount fallback

* World bots: no quest hub for a bot that can take no quest there (#87)

* World bots: no quest hub for a bot that can take none there (ring spot instead); move_abandon logs why the bot did not move

* Starter outfit: wait while the bot casts or fights, and leave quivers and ammo out of the pieces that must be worn

* Bots: seven small cleanups of the bot rules (#88)

* Bots: one OwnerOrders struct holds the owner's orders (command, follow, stance, windows) and the cross-thread fields are now locked

* Bots: one pet attack order per combat tick; drop the warlock and hunter duplicates, new victim ordered at once and the same one every 3 s

* Raids: one script_names_target() test for the boss script's kill target, used by the raid dispatch and both generic pickers

* Bots: idle:rest sits a solo bot under 50% health that has nothing to eat

* Bots: remove the retail rotations of the nine vanilla classes (every spec is already overridden by the Classic rotation)

* Group: one movement_owned_elsewhere test for the follow, slot move and recall gates

* Bots: the threat drop spells and the 60/80 percent triggers live next to the other threat limits in ThreatLimits.h

* Trade: reagents of a recipe the bot knows, from the owner or a group mate, are a gift; trade line in the command guide (#89)
2026-10-20 09:05:38 +08:00
..
…

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 ledger
  • 0015_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 available
  • 0016–0017 — talent builds for 12.1, shared-database split
  • 0018_companion_roster.sql — companion_saved on playerbot_v2_character: the owner's saved companion roster
  • 0019_bot_texts.sql — (shared DB) the bots' speech lines and per-key speak chances, carried over from the ike3 build's ai_playerbot_texts
  • 0020_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 it
  • 0022_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 collapsed
  • 0023_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 again
  • 0024_companion_role.sql — playerbot_v2_character.companion_role: a companion's declared role (tank/healer/dps), kept across relog, .bot call and restart
  • 0025_owner_gear_mode.sql — playerbot_v2_owner_gear: the gear mode (match / best / t1 / t2 / t3) an owner chose for their companions, per owner account

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.