Skip to content

v1.1.0-beta - PR 15 contributions, bots, world fixes, performance (Windows x64)

Pre-release
Pre-release

Choose a tag to compare

@1LineAtaTime 1LineAtaTime released this 30 Oct 01:14
· 683 commits to playerbot since this release

Latest CI build: untested development builds of the newest playerbot commit (Windows, Linux and macOS binaries, a database zip and the SQL sources; no extracted map data) are at ci-playerbot.

v1.1.0-beta (branch playerbot-beta)

This update brings in the contributions from pull request #15 and the fork's own work since v1.0.4.
The playerbot-beta branch is a normal fast-forward on top of playerbot (e135742): no history is
rewritten.

Contributed work

Thanks to DeltaTho, quietpatcher, Dmitry, Hobbyist and lee.

  • 19 commits taken unchanged, each as its own commit with its original author and a
    (cherry picked from commit ...) line, so a contributor branch can be rebased onto this one.
    They include crash fixes (Spell::SearchChainTargets, pending auctions, SetPhased, combo target,
    Group::IsGuildGroup, null checks), battle pet loadout, far-teleport position refresh, guild
    profession recipes, AH bot posting, Hallow's End fires, Azuremyst pointers, and the playerbots.conf
    cleanup. Plus one upstream fix outside the PR: totems no longer follow their owner on spawn.
  • 10 commits adapting the rest of the PR to this tree, each crediting the authors and naming the PR
    commits it covers:
    • Core crash, correctness and behaviour fixes, including no death on shutdown logout, vehicle
      accessories, swimming chase, quest-clickable refresh and difficulty gold.
    • Playerbot changes: chat filters, the real-player login gate, strategy repository and graveyards.
      Two features are opt-in and off by default: AiPlayerbot.FollowTeleport and
      AiPlayerbot.RespectCrowdControl.
    • The Forsaken questline, Wandering Isle fixes and start-zone training dummies.
    • Deadmines, Wailing Caverns and Ragefire Chasm data.
    • Creature abilities, in two waves: creatures without a script, then missing casts merged onto
      existing scripts.
    • Gathering-node and chest placement, re-checked against terrain and navmesh, and the koKR locales.
    • Random-bot account types (random/addclass), the realm-first guard and the playerbots DB updater.
  • The status of every PR commit is in doc/PR15-port-status.md: 19 included, 131 changed, 145 partial,
    8 had, 7 rejected, each with its reason.

Bots

  • Town errands to vendors, repairers, trainers, the auction house, banks, mailboxes and stables,
    including flights to far towns (AiPlayerbot.RpgTownErrand*).
  • Travel:
    • Ships and zeppelins, with walks along the pier, no boarding from the water, and a configurable
      ship-route chance (AiPlayerbot.RoamTransportShipRouteChance).
    • Trams, elevators and the Isle of Thunder route.
    • Bots are no longer stranded in zone 0 after a far teleport or a cross-map flight.
  • Racial start zones (AiPlayerbot.RandomBotRacialStartZones), re-gear on randomize and at login,
    and the Cataclysm/MoP capitals and Pandaria shrine banks.
  • Combat: spell-cast pre-checks, no imbues while mounted, a wand check for shoot, and no mid-air
    dismounts.
  • LFG: bots skip the per-dungeon item-level lock, so Cataclysm dungeons fill again.
  • AH bot: the seller skips internal items.

World and core

  • Many boot and runtime error fixes: SmartAI links and texts, conditions, waypoint paths, item random
    properties, quest-chain traps, pools and duplicate vehicle riders.
  • Quest and script fixes: Lost Isles, Kezan, Gilneas, Eversong (Unexpected Results), Wandering Isle,
    Wintergarde, Ragefire Chasm, Temple of the Jade Serpent, Deadmines, Mirror Image, store items.
  • New Creature.RepositionAgainstNpcs (default 1).

Performance and memory

  • MapUpdateInterval is read from worldserver.conf (default 10). Sessions and players update every
    world tick, and the full map update runs per map group.
  • Less memory per unit, per spell and per bot.

Upgrading

  • Config:
    • playerbots.conf no longer has PlayerbotsDatabaseInfo; set it in worldserver.conf.
    • New keys default to the old behaviour, or to off for the opt-in features.
    • AiPlayerbot.RandomBotAccountCount now defaults to 0 (sized automatically).
  • Database: a fresh install from this release's dumps needs nothing extra. The dumps record every
    update they contain, so Updates.EnableDatabases = 15 applies nothing twice.
  • The PR's creature guid blocks 3100000-3199999 and 4046100-4046101 are reserved.

Upgrading from v1.0.x

Keep your auth, characters and playerbots databases. Replace the world database with the new
world.sql, then:

  1. Auth: 294 command permissions were missing from the v1.0.x auth.sql. Do one of these:
    • run sql/updates/master/auth/2026_09_15_rbac_command_permissions.sql on your auth database;
    • or re-import rbac_permissions, rbac_linked_permissions and rbac_default_permissions from
      the new auth.sql.
  2. Playerbots: v1.0.x shipped an older bot text set (851 texts instead of 1,709). Re-import the
    ai_playerbot_texts table from the new playerbots.sql.
  3. Playerbots updates are now tracked. The playerbots database is handled by the updater (mask 8),
    and v1.0.x's playerbots.sql registered none of its update files.
    • Apply the new files in modules/mod_playerbots/data/sql/playerbots/updates/db_playerbots/
      (2026_10_24_00 and later) and create the new playerbots_account_type table from
      data/sql/playerbots/base/playerbots_account_type.sql.
    • Then copy the updates table from the new playerbots.sql, so the updater does not re-apply
      the older files.
    • Or re-import the whole new playerbots.sql. That also clears the bots' saved state in the
      playerbots database (for example playerbots_random_bots); use the steps above to keep it.
  4. Characters: apply the two new sql/updates/characters files, or set
    Updates.EnableDatabases = 15 and let the updater do it.