#52 hashed SQL files with CRLF turned into LF, which fixed Windows-made databases on Linux but broke databases built on Linux the same way: they stored the raw hash, so the world baselines looked changed and baseline_01 was re-run. Its first 135 statements reset creature, gameobject, the loot tables, npc_vendor, creature_trainer, pools and more to the baseline rows, then player_classlevelstats failed (8 values, the table has 9 columns now) and the server stopped on every start. - Either hash (CRLF->LF or raw bytes) means "already applied": the file is only re-hashed to the CRLF->LF hash, never run. Renames are matched on both hashes. Works for Windows-made, Linux-made and moved databases. - The world baselines are never applied again: they are a dump of the world at their place in the update order and are not safe to re-run on a finished database. A changed baseline is logged as an error and re-hashed; the "earlier custom file was applied again" cascade skips them too. Tested on Linux with worldserver -u: raw (Linux) hashes stored -> re-hash only; changed baseline -> error + re-hash, not run; changed custom file -> re-applied; table checksums unchanged throughout. A Linux world database already damaged by #52 is best rebuilt (it holds no player data): DROP DATABASE world and let worldserver set it up again.
TrinityCore (master)
This fork: WoW Classic beta 1.60.1.70338 ("Forever")
Branch forever runs TrinityCore master against the WoW Classic beta client 1.60.1.70338 (_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.
Letting other people play on your server? See Hosting for other players. A full Linux (Ubuntu 24.04) setup, tested on a fresh cloud server, is in doc/LinuxServerSetup.md.
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.
Network.EnterEncryptedModeRegionGroup is not in worldserver.conf.dist; add it by hand. The two LoginREST
names are what the client is told to connect to, and bnetserver must be able to resolve them itself at startup, so
the server PC also needs the hosts entry from step 3 (else bnetserver stops with "Could not resolve
LoginREST.ExternalAddress"). On Linux, contrib/linux/configure_server.sh writes both configs from the .dist files.
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.netsigned by a root CA that the client PC trusts. Create your own CA (restrict it withnameConstraints = critical,permitted;DNS:actual.battle.net) and never share its private key. The repack'ssetup\Setup.ps1shows the exact openssl commands. - start the client with the Forever Launcher, which sets the portal and the server's public key.
Hosting for other players
Out of the box everything only works on the server PC itself. For other PCs:
Windows repack: run setup\host-for-others.bat on the server PC. It opens the servers to the network, sets the
realm addresses, adds a Windows Firewall rule and makes ForeverFriendKit.zip. Each player unzips the kit and runs
join-server.bat (trusts your server certificate, sets their hosts line, checks the ports); leave-server.bat undoes
it. For internet play, forward TCP 1119, 8081, 8085, 8095, 8105, 8115 in your router to the server PC.
host-for-others.bat -Undo makes the server local-only again.
Built from source, check all of these (each one alone stops remote players):
| What | Why | |
|---|---|---|
| 1 | BindIP = "0.0.0.0" in bnetserver.conf and every worldserver.conf |
127.0.0.1 (the repack default) accepts this PC only |
| 2 | auth.realmlist.address = your public IP (or LAN IP), localAddress = the server's LAN IP |
the default 127.0.0.1 sends players to their own PC after login |
| 3 | server PC: hosts entry <server ip> trinity.actual.battle.net |
bnetserver must resolve the LoginREST names to start |
| 4 | every player: hosts entry <server ip> trinity.actual.battle.net |
the client logs in to that name |
| 5 | every player trusts the root CA that signed your server certificate (give them the CA certificate, never its key) | the client checks the certificate; a repack's Setup.bat makes a different CA on every PC |
| 6 | firewall / router: TCP 1119 (bnet), 8081 (LoginREST.Port) and every realm's WorldServerPort | the client needs all three kinds |
| 7 | LoginREST.ExternalAddress stays trinity.actual.battle.net, not the IP |
the certificate is only valid for that name |
Never open MySQL (3306/3317), Remote Access (3443) or SOAP (7878) to the internet.
- Build Status
- Introduction
- Requirements
- Install
- Reporting issues
- Submitting fixes
- Copyright
- Authors & Contributors
- Links
Build Status
| master | 3.3.5 | cata_classic |
|---|---|---|
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.
Copyright
License: GPL 2.0
Read file COPYING.
Authors & Contributors
Read file AUTHORS.