Karrz1 13e2f64829 Bots: rule path probes use their own query and never load a grid
The idle rules run on the worker pool while the map threads update the
world, and several of them check paths and nav points on the bot's live map
(stand points, dungeon steps, regroup and rejoin steps, water exits). Those
searches used the one Detour query each map instance shares with the map's
own creature pathing, which is not thread-safe, and NearestNavPoint called
Map::LoadGrid from the worker.

Each worker thread now:
- searches with its own navmesh queries (MMAP::ScopedThreadNavMeshQuery), and
  SehSafeCalculatePath, SehSafeCalculatePathFrom and SehSafeNearestPolyProbe
  hold the navmesh read lock for the search, so no tile changes under it;
- never touches the grids (BotMovement::ScopedBotLogicThread): a nav-point
  probe hands its grid to the world thread, which loads it at the start of
  the next snapshot phase, and searches the tiles loaded now.

World and map thread searches are unchanged. Deferred grid requests are
kept by map id and instance id and looked up again before loading, so a
request never outlives its map. TickPerf logs bot_logic_grid_loads when
there were any.
2026-11-15 17:29:16 +00:00
2025-09-11 19:16:26 +02:00
2026-07-15 23:46:27 +02:00
…

ForeverCore

Download latest launcher

Built ForeverCore yourself, or joining a friend? Put WoWForeverLauncher.exe in any folder, start it, pick join and enter the server's address. Send the same link to friends who want to join.

A server for the WoW Forever client (Classic 1.60.1, build 70888), based on TrinityCore.

  • Blizzlike: it plays like Blizzard's realms. Fixes come from real game data or fix the server itself.
  • No custom items, quests or rates. Every option starts at Blizzard's setting.
  • Free to copy, change and share under the GPL-2.0.

Want to play? Download the Windows repack from the latest release (the WoW-Forever-Bots-<version>.zip file). You turn bots on or off when you start it.

Build it with us

ForeverCore is made by the people who play on it. Every bug report, fix and packet capture makes it better for everyone, so jump in:

  • Found a bug? Open an issue. Say what happens, what should happen, and the ids of the quest, NPC, item or spell if you have them.
  • Have a fix? Send a pull request against forever (or forever-bots for the bots). One fix per pull request, and say where the data comes from (sniff, Wowhead, Questie, a video). CONTRIBUTING.md has the few rules for SQL and C++.
  • Want to talk it over first, or need help? Come say hi on our Discord.
  • Have packet captures or WDB caches from the official Forever realms? Share them on Discord. They are the best source we have.

Branches

  • forever: the core.
  • forever-bots: the same core plus the optional player bots (this branch). Bots stay off until you turn them on.

The repack is built from a tagged forever-bots commit.

Switches

All in worldserver.conf. Leave them at 0 for the normal Blizzard game, or turn on what you want for your own server. More on each one: doc/OptionalServerOptions.md and the notes in worldserver.conf.dist.

Switch Normal Turned on
Instance.IgnoreAttunement 0 No attunement quest or item needed for dungeons and raids
Instance.AhnQirajGatesOpen 0 The Ahn'Qiraj gates stand open
Instance.MoltenCoreSkipRunes 0 Molten Core runes count as done; Majordomo and Ragnaros are up from the start
Instance.MoltenCoreRagnarosReady 0 Ragnaros can be fought at once, no Majordomo talk
Instance.MoltenCoreHoundsLinked 0 Core Hound packs must die together, as in 1.12
Instance.BindOnEntry, Instance.PersistRaidTrash 0 Raid lock when you walk in; killed trash stays dead until the reset
Classic.ForeverCreatureHealth 0 Creature health from sniffed Forever creatures instead of the vanilla numbers
Classic.ForeverKillXp 0 Kill XP for lower level mobs from the Forever sniff formula
Classic.Shop.Enabled 0 In-game store

These follow Forever's own changes and are on by default:

Switch Default What it does
Classic.Respawn.Level1to10Pct ... Level31to60Pct 50, 70, 85, 100 Faster respawns in low level zones. All 100 = off
Classic.CreatureHealth.RaiseFromLevel, .RaiseAt60Pct, .Raids 20, 20, 0 More health for higher level creatures, up to +20% at 60, not in raids

All Rate.* settings are 1, and the auction house bot is off.

Build

You need a C++20 compiler, CMake, MySQL 8, Boost and OpenSSL (versions: TrinityCore's install guide).

git clone -b forever https://github.com/Karrz1/TrinityCore.git ForeverCore
cmake -S ForeverCore -B build -DSERVERS=1 -DSCRIPTS=static -DTOOLS=1
cmake --build build --config RelWithDebInfo

Then follow doc/ForeverSetup.md: the database release, the config lines the client needs, map extraction, the login certificate, and how to let other people play. For a Linux server see doc/LinuxServerSetup.md.

Bots

The bots are a module in src/modules/PlayerbotV2 (this branch). Without it, or with Playerbot.Enable = 0, the server runs exactly like forever.

git clone -b forever-bots https://github.com/Karrz1/TrinityCore.git ForeverCore-bots
cmake -S ForeverCore-bots -B build -DSERVERS=1 -DSCRIPTS=static -DBUILD_PLAYERBOT_V2=1
cmake --build build --config RelWithDebInfo --target worldserver

Turn them on in playerbot.conf (Playerbot.Enable, Playerbot.World.Enable). World PvP bots and the bot chat program are off by default. Database setup for the bots: src/modules/PlayerbotV2/INSTALL.md. Other modules go in src/modules/ too, see src/modules/README.md.

Thanks

  • TrinityCore and everyone in AUTHORS.
  • advocaite, who started the forever branch.
  • VMaNGOS for the vanilla world, CMaNGOS classic-db and Questie for quest, spawn and drop data.
  • The AnoCore project, for Forever quest data and spawns.
  • Everyone who sent fixes, bug reports and packet captures.

Not made or supported by the TrinityCore team or by Blizzard Entertainment, so please don't ask them about it. No game files are included: you need your own client. GPL-2.0, see COPYING.

S
Description
No description provided
Readme
1.2 GiB
Languages
C++ 89.9%
C 7.5%
Python 1.2%
Lua 0.5%
CMake 0.3%
Other 0.3%