Files
ForeverCore/README.md
T
Advocaite d603dfc0ae Classic 1.60: build the world from SQL alone, no vmangos_world database needed
The vanilla world (converted from VMaNGOS db-13b49dc), Zephras Isle and every Forever change now ship as plain SQL:
sql/custom/world/2026_09_27_00_world_forever_baseline_01.sql and _02.sql (about 65 MB together). They hold the
difference between TDB 1210.26091 + TrinityCore's sql/updates and the current Forever world, and are safe to run again.

- The 9 files that read a vmangos_world database (2026_09_27_01..03, 2026_09_28_00, 2026_09_28_10..13,
  2026_09_28_16) are now empty (DO 0;). Their result is part of the baseline. They keep their names so databases
  that already applied them stay in step.
- 2026_10_01_02_world_death_recap_entries.sql can run again (it failed with "Duplicate entry '8100000'" after the
  baseline).
- 2026_10_01_07_world_zephras_graveyards.sql: .tele Zephras gets a fixed id (2314).
- README: building from source needs only the TDB files and sql/.

Verified: a fresh build from TDB + sql/updates + sql/custom on an empty MySQL without vmangos_world gives the same
world and hotfixes tables as the live development database, row for row.

Existing databases: pull and start worldserver. The first start applies the baseline and takes a few minutes; the end
state is the same. The baseline rewrites whole tables (creature, gameobject, smart_scripts, loot, ...), so changes
made to those tables by hand are replaced. vmangos_world can be dropped afterwards.

Known issue: the database updater sometimes does not apply a file
------------------------------------------------------------------
Sometimes worldserver logs ">> Applying update ..." and records the file in the `updates` table, but nothing from
the file reaches the database. It is rare and could not be reproduced on purpose. Typical symptoms afterwards:
"Table '...' doesn't exist", "Unknown column '...' in 'field list'", "Could not prepare statements of the Hotfix
database", or content that is missing in game.

Fix: with worldserver stopped, apply the file by hand. Every file in sql/custom is safe to run again. Example for the
world database (use auth, characters or hotfixes for files in those folders):

  mysql -u trinity -p -h 127.0.0.1 -P 3306 world < sql/custom/world/<file>.sql

or, to let worldserver apply it again on the next start, remove its record:

  DELETE FROM world.updates WHERE name = '<file>.sql';

A file that never ran shows a very small "speed" (ms) in the `updates` table, although a short file can also be
fast, so check the missing table, column or rows themselves.
2026-10-02 20:24:52 +08:00

9.8 KiB

logo TrinityCore (master)

This fork: WoW Classic beta 1.60.1.70170 ("Forever")

Branch forever runs TrinityCore master against the WoW Classic beta client 1.60.1.70170 (_classic_beta_\WowB.exe) with a vanilla world (converted from VMaNGOS) and the Skyborne / Zephras Isle content.

Just want to play? Use the Windows repack from the releases: extract, run Setup.bat, start the servers in the Forever Launcher, press Play. No MySQL or compiling needed.

Building from source

Build the core as usual (see Install), then:

1. Databases. Use TrinityCore's normal auto-setup with TDB_full_world_1210.26091_2026_09_09.sql and TDB_full_hotfixes_1210.26091_2026_09_09.sql in the worldserver folder. worldserver then applies all updates and sql/custom files itself (Updates.EnableDatabases = 15); nothing else is needed. The vanilla world converted from VMaNGOS ships as plain SQL (sql/custom/world/2026_09_27_00_world_forever_baseline_*.sql, about 65 MB, so the first start takes a few minutes). The result is identical to the released database.

Already have a database from an older version (including one built with vmangos_world)? Just pull and start worldserver: it applies the new files on top, and vmangos_world can be dropped afterwards.

2. Config. The Classic client needs these (everything else can stay default):

worldserver.conf

RealmID = 70                                  # the Classic client only accepts realm 70 (the auth SQL renames realm 1)
Expansion = 0
Network.SkipBuildAuthKeyCheck = 1
Network.EnterEncryptedModeRegionGroup = 8

bnetserver.conf

Realm.CfgContentSetID = 137
LoginREST.ExternalAddress = trinity.actual.battle.net
LoginREST.LocalAddress = trinity.actual.battle.net
CertificatesFile = "./<your cert chain>.pem"  # certificate for trinity.actual.battle.net, see below
PrivateKeyFile = "./<your key>.pem"

If worldserver stops right after Realm running as realm ID 1, RealmID is not 70.

Game data (maps, vmaps, mmaps). Run the tools built from this branch in the World of Warcraft folder (the one that holds .build.info and _classic_beta_). The Forever client is the CASC product wow_classic_beta; this branch's extractors use it by default (TrinityCore's own default wow = retail fails with "Error opening casc storage / No locales detected"; on older builds of the tools pass -p wow_classic_beta):

mapextractor
vmap4extractor
mkdir vmaps
vmap4assembler Buildings vmaps
mmaps_generator

Then move dbc, gt, maps, vmaps and mmaps into the worldserver's DataDir.

3. Login. The client logs in to trinity.actual.battle.net over TLS, so on the client PC:

  • hosts file: 127.0.0.1 trinity.actual.battle.net (or your server's IP)
  • a certificate for trinity.actual.battle.net signed by a root CA that the client PC trusts. Create your own CA (restrict it with nameConstraints = critical,permitted;DNS:actual.battle.net) and never share its private key. The repack's setup\Setup.ps1 shows the exact openssl commands.
  • start the client with the Forever Launcher, which sets the portal and the server's public key.

Average time to resolve an issue Percentage of issues still open


Build Status

master 3.3.5 cata_classic
master Build Status 3.3.5 Build Status cata_classic Build Status
master Build status Build status Build status
master Windows Build status 3.3.5 Windows Build status cata_classic GCC Build status
master Ubuntu Build status 3.3.5 Ubuntu Build status cata_classic GCC Build status
master macOS arm64 Build status 3.3.5 macOS arm64 Build status cata_classic macOS arm64 Build status
Coverity Scan Build Status Coverity Scan Build Status

Introduction

TrinityCore is a MMORPG Framework based mostly in C++.

It is derived from MaNGOS, the Massive Network Game Object Server, and is based on the code of that project with extensive changes over time to optimize, improve and cleanup the codebase at the same time as improving the in-game mechanics and functionality.

It is completely open source; community involvement is highly encouraged.

If you wish to contribute ideas or code, please visit our site linked below or make pull requests to our Github repository.

For further information on the TrinityCore project, please visit our project website at TrinityCore.org.

Requirements

Software requirements are available in the wiki for Windows, Linux and macOS.

Install

Detailed installation guides are available in the wiki for Windows, Linux and macOS.

Reporting issues

Issues can be reported via the Github issue tracker.

Please take the time to review existing issues before submitting your own to prevent duplicates.

In addition, thoroughly read through the issue tracker guide to ensure your report contains the required information. Incorrect or poorly formed reports are wasteful and are subject to deletion.

Submitting fixes

C++ fixes are submitted as pull requests via Github. For more information on how to properly submit a pull request, read the how-to: maintain a remote fork. For SQL only fixes, open a ticket; if a bug report exists for the bug, post on an existing ticket.

License: GPL 2.0

Read file COPYING.

Authors & Contributors

Read file AUTHORS.