Docs: README in a clearer layout, contributor guide, issue and pull request forms

README: introduction, philosophy (Blizzlike, every data change names its source), what it is based on with
credits, a table of the config switches, build steps, modules and how to add the bots module, contributing, links.
The Forever setup steps that were in the README moved to doc/ForeverSetup.md unchanged.
CONTRIBUTING.md: the Blizzlike rule, good sources, bug reports, C++ and SQL rules, credits.
Issue forms: bug report, data fix (SQL) with a source field, new client build. Pull request form with a source box.
doc/OptionalServerOptions.md: Instance.MoltenCoreRagnarosReady added.
This commit is contained in:
Karrz1
2026-11-09 18:40:14 +00:00
parent 5c376e96fe
commit 208c78d3b4
12 changed files with 412 additions and 373 deletions
+71
View File
@@ -0,0 +1,71 @@
name: Bug report
description: Something in the game or the server works differently from Blizzard's game, or the server crashes.
labels: [bug]
body:
- type: markdown
attributes:
value: |
Thanks for the report. Please search the open issues first, and fill in every field, including the title.
Questions and setup help go to our Discord instead.
- type: textarea
id: description
attributes:
label: What happens
description: Describe the problem. For a crash, attach the crash log from the Crashes folder or link a gist.
validations:
required: true
- type: textarea
id: expected
attributes:
label: What should happen
description: What does Blizzard's game do, and how do you know? (Wowhead link, video, screenshot, packet capture)
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
description: Include the ids of the creatures, quests, items or spells involved.
placeholder: |
1. Take quest 12345 from NPC 678 in ...
2. ...
validations:
required: true
- type: dropdown
id: branch
attributes:
label: Branch
options:
- forever
- forever-bots
- repack
validations:
required: true
- type: input
id: commit
attributes:
label: Commit or version
description: The output of `.server debug` in game, the first lines of the worldserver log, or the repack version.
validations:
required: true
- type: input
id: client
attributes:
label: Client build
description: For example 1.60.1.70862 (shown on the login screen).
validations:
required: true
- type: input
id: os
attributes:
label: Operating system
description: For example Windows 11 x64 or Ubuntu 24.04.
validations:
required: true
- type: textarea
id: custom
attributes:
label: Your own changes
description: Config switches you turned on, modules, or code you changed. Write "None" if you have none.
validations:
required: true
+35
View File
@@ -0,0 +1,35 @@
name: New client build
description: Blizzard released a new WoW Forever client build and it no longer connects.
labels: [client-build]
body:
- type: markdown
attributes:
value: |
Check the open issues first: a new build is often reported by several people on the same day.
- type: input
id: build
attributes:
label: New client build
description: For example 1.60.1.70900 (shown on the login screen or in .build.info).
validations:
required: true
- type: textarea
id: what
attributes:
label: What happens
description: Where it stops (login, realm list, character list, entering the world) and any error shown.
validations:
required: true
- type: textarea
id: logs
attributes:
label: Server logs
description: The bnetserver and worldserver log lines from your login attempt.
render: text
- type: input
id: commit
attributes:
label: Server commit or version
description: The commit hash or repack version you run.
validations:
required: true
+8 -11
View File
@@ -1,14 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Discord
url: https://discord.com/invite/3UxRn4Kn?utm_source=Discord%20Widget&utm_medium=Connect
about: Chat
- name: How to Compile
url: https://trinitycore.info/
about: Wiki
- name: Community Support Forum
url: https://community.trinitycore.org/
about: Forum
- name: Discussions
url: https://github.com/TrinityCore/TrinityCore/discussions
about: Discuss
url: https://discord.gg/eJt62dDh54
about: Questions, help with setting up a server, and the repack.
- name: Setup guide
url: https://github.com/Karrz1/TrinityCore/blob/forever/doc/ForeverSetup.md
about: How to build, configure and host the server.
- name: How to contribute
url: https://github.com/Karrz1/TrinityCore/blob/forever/CONTRIBUTING.md
about: The Blizzlike rule, SQL and C++ rules.
+38
View File
@@ -0,0 +1,38 @@
name: Data fix (SQL)
description: Suggest a database fix (quests, spawns, loot, vendors, trainers, texts) with its source.
labels: [data]
body:
- type: markdown
attributes:
value: |
Thanks! Every data fix needs a source: a packet capture, client data, Questie data, Wowhead, a video or screenshot.
Please follow the SQL rules in CONTRIBUTING.md (safe to run twice, backticks, column names, no database names).
- type: textarea
id: description
attributes:
label: What is wrong
description: What the fix changes, and how to see the problem in game.
validations:
required: true
- type: textarea
id: source
attributes:
label: Source
description: Where the correct data comes from. Links, capture files, screenshots.
validations:
required: true
- type: textarea
id: fix
attributes:
label: SQL fix
description: Formatted as SQL automatically. For a large fix, link a gist instead.
render: sql
validations:
required: true
- type: input
id: commit
attributes:
label: Tested on commit
description: The output of `.server debug`, or the commit hash.
validations:
required: true
-69
View File
@@ -1,69 +0,0 @@
name: Generic issue
description: Report an issue or a suggestion.
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this form! Please make sure to fill all fields, including the Title above.
- type: textarea
id: description
attributes:
label: Description
description: |
Description of the problem or issue here.
If this is a crash, post the crashlog (upload to https://gist.github.com/).
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behaviour
description: |
Tell us what should happen instead.
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce the problem
description: |
1. Step 1 include entries of affected creatures / items / quests with a link to the relevant wowhead or for 3.3.5a branch at https://aowow.trinitycore.info/ page.
2. Step 2
3. Step 3
validations:
required: true
- type: dropdown
id: branch
attributes:
label: Branch
options:
- 3.3.5
- master
- cata_classic
validations:
required: true
- type: textarea
id: commit
attributes:
label: TC rev. hash/commit
description: |
Copy the result of server debug command (if you need to run it from client get prat addon)
validations:
required: true
- type: input
id: os
attributes:
label: Operating system
description: |
Operating System, i.e. Windows 10 x64, Debian 10 x64, etc
validations:
required: true
- type: textarea
id: custom
attributes:
label: Custom changes
description: |
List which custom changes you have applied, i.e. transmog patch, etc.
Write "None" if you don't have any changes applied.
validations:
required: true
-65
View File
@@ -1,65 +0,0 @@
name: SQL fix
description: Suggest a SQL only fix.
labels: [Comp-Database, Feedback-PatchFix]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this form! Please make sure to fill all fields, including the Title above.
For SQL fixes:
- search for existing issues. If a bug report exists for the issue you are trying to fix, and it's open, post your suggestion there
- always start suggestion by -- in case previous SQL file has no newline
- don't modify WDB fields without providing sniffs of those fields (censure guids, character names, anything blizzard can use to identify source)
- don't hardcode guids (use guid from fixed guid range when adding new objects or creatures)
- don't DELETE + INSERT to update only few fields of one row
- don't use database names
- don't use ' around numbers
- don't use ( ) if they aren't needed
- use only one INSERT INTO statement when you add multiple rows to one table, unless you are scripting multiple creatures
- always add every row you insert below INSERT INTO statement (each row inside new row)
- always use capital letters for all keywords (DELETE, FROM, SELECT, WHERE, IN, etc.)
- always use backticks for every column and table name
- always include column names in every INSERT INTO statement
- always make every INSERT INTO statement runnable twice (delete what you insert even if row does not exist, don't use REPLACE INTO)
- DELETE by guid AND id to be sure we don't delete existing spawns
The wiki page https://github.com/TrinityCore/TrinityCore/wiki/SQL-Fix includes additional details about how to fill this form and an example of a SQL fix.
- type: textarea
id: description
attributes:
label: Description
description: |
Description of what is getting fixed, including how to reproduce the issue if any.
validations:
required: true
- type: textarea
id: fix
attributes:
label: SQL fix
description: |
This field will be formatted automatically as SQL code block, no need to include \`\`\`sql
For large sql fixes please use https://gist.github.com/ then just paste the provided link in the following field.
placeholder: |
--
render: sql
validations:
required: true
- type: dropdown
id: branch
attributes:
label: Branch
options:
- 3.3.5
- master
- cata_classic
validations:
required: true
- type: textarea
id: commit
attributes:
label: TC rev. hash/commit
description: |
Copy the result of server debug command (if you need to run it from client get prat addon)
validations:
required: true
+47 -47
View File
@@ -1,69 +1,69 @@
# Contributing
# Contributing to ForeverCore
So, you want to contribute? Great!
Contributing is not only about creating fixes, but also reporting bugs. Before reporting a bug, please make sure to use the latest core and database revision.
Thanks for helping. Bug reports, data fixes and code are all welcome. Please read this page once before you start.
## The one rule: Blizzlike, with a source
Issues
======
ForeverCore copies Blizzard's game for the WoW Forever client. A change is welcome when it does one of these:
Read [this](https://community.trinitycore.org/topic/37-the-trinitycore-issuetracker-and-you/) before creating a ticket.
If you have problems with TrinityCore installation, read [this](https://community.trinitycore.org/topic/13962-trouble-with-your-trinity-install-starting-login-readme-1st-faqs/).
- makes the server match Blizzard's game, and says **where that comes from**, or
- fixes the server itself (a crash, a wrong packet, pathing, a broken script).
Mandatory things when creating a ticket:
========================================
Good sources, best first:
- Branch
- commit hash (if you get something like TrinityCore rev. unknown 1970-01-01 00:00:00 +0000 (Archived branch) (Win64, Release), please read this [post](https://community.trinitycore.org/topic/345-howto-properly-install-git-on-windows-fix-trinitycore-rev-1970-01-01-000000-0000/) or clone this repository instead downloading the source code.
- entries of affected creatures / items / quests with a link to the relevant wowhead page.
- clear title and description of the bug - if your english is very bad, please use google translate or yandex to translate to english and include one text in your native language.
1. Packet captures (sniffs) from the official Forever realms.
2. Client data: DB2 files, hotfixes, the player's `WDB` cache.
3. Questie data, Wowhead (the Forever / Classic pages), in-game screenshots or video.
4. VMaNGOS, CMaNGOS or TrinityCore, for vanilla behaviour that Forever did not change.
When reporting a crash, you MUST compile in debug mode because release dumps are useless (not enough information) - if you don't know how to compile in debug, read [this](https://community.trinitycore.org/topic/13962-trouble-with-your-trinity-install-starting-login-readme-1st-faqs/?tab=comments#comment-47672)
Not welcome in the core: custom items, quests, NPCs, rates or features. Things that only some server owners want can be
an option in `worldserver.conf` that is **off by default**, or a module in `src/modules/` (see
[src/modules/README.md](src/modules/README.md)).
We sugest the title and body to have the next style:
## Reporting a bug
DB/Quest: The Collapse
Use the [issue forms](https://github.com/Karrz1/TrinityCore/issues/new/choose). Please give:
4.3.4 branch
hash 63f96a282307
The quest "The Collapse" http://www.wowhead.com/quest=11706 lacks final event.
- the commit you run (`.server debug` in game, or the first lines of the worldserver log),
- the ids of the creatures, quests, items or spells involved, with a Wowhead link if you have one,
- what happens, and what should happen instead (and how you know),
- for a crash: the crash log from the `Crashes` folder.
Creating Pull Requests:
=======================
Search the open issues first; if the bug is already there, add to it instead of opening a new one.
1. Fork it.
2. Create a branch (`git checkout -b fixes`) (Note: fixes is an arbitrary name, choose whatever you want here)
3. Commit your changes (`git commit -am "Added Snarkdown"`)
4. Push to the branch (`git push origin fixes`)
5. Open a Pull Request
## Sending a pull request
1. Fork the repository and make a branch from `forever` (or from `forever-bots` for a change to the bots module).
2. One fix per pull request. Small pull requests get reviewed quickly.
3. Fill in the pull request form, including the **source** box.
4. Say how you tested it: does it build, did you check it in game.
When creating patches read:
- [TrinityCore Development Standards](https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130103/C+Development+Standards)
- [WDB Fields](https://community.trinitycore.org/topic/58-wdb-fields/)
- [Git Squash](https://ariejan.net/2011/07/05/git-squash-your-latests-commits-into-one/)
Please tick "Allow edits from maintainers", so we can fix small things for you.
### C++
We suggest that you create one branch for each C++ based fix: this will allow you to create more fixes without having to wait for your pull request to be merged.
For the SQL files coming with C++ based fixes the naming schema is `YYYY_MM_DD_i_database.sql`, where `YYYY_MM_DD` is the date of the fix, `i_database` is the *ith* sql created that day for `database`.
When doing changes to `auth` or `characters` database remember to update the base files (`/sql/base/*`).
For SQL only fixes, please [create a ticket](https://github.com/TrinityCore/TrinityCore/issues/new/choose).
Since it's very unlikely that your Pull Request will be merged on the day that you open it, please name the files with an impossible date to avoid merging issues ie: 2015_13_32_00_world.sql
- Follow the [TrinityCore C++ standards](https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130103/C+Development+Standards)
and `.editorconfig` (4 spaces, at most 160 columns).
- Change core files only when you must. If a feature can be a module or a script, make it one.
- A new option goes in `worldserver.conf.dist` with a description and a Blizzlike default.
Wiki
====
### SQL
The wiki is located at [https://trinitycore.info](https://trinitycore.info).
- World data fixes go in `sql/custom/world/`, named `YYYY_MM_DD_NN_world_<classic|forever>_<short_name>.sql`
(`classic` for vanilla data, `forever` for what the Forever client added or changed). For an open pull
request, use today's date; we fix the date when we merge if needed.
- Start the file with a comment that says what it fixes and **where the data comes from**.
- Every file must be safe to run twice: `DELETE` the rows you `INSERT` (by guid and id for spawns), no `REPLACE INTO`.
- Use backticks around table and column names, list the column names in every `INSERT`, and use one `INSERT` per table.
- Don't use database names in the file, and don't `DELETE` + `INSERT` a row just to change one column: use `UPDATE`.
- New spawns: use free guids, and say where the position comes from (sniff, Questie, video).
- Changes to the `auth` or `characters` schema also go into `sql/base/`.
You are welcome to create an account and help us improve and extend the wiki.
### Credits
If your fix uses another project's code or data, name it in the file and in the pull request, and check that its license
allows it (GPL-2.0 compatible). We keep the author of every merged commit.
Requirements
============
## Questions
Software requirements are available in the [wiki](https://www.trinitycore.info/display/tc/Requirements) for
Windows, Linux and Mac OSX.
If you choose Linux, we recommend to use Debian 8, since it's the Linux that we use to test compilations.
Ask on our [Discord](https://discord.gg/eJt62dDh54). Please don't ask the TrinityCore team about ForeverCore.
+101 -108
View File
@@ -1,130 +1,123 @@
# TrinityCore Forever (forever)
# ForeverCore
## This fork: WoW Forever / Classic 1.60.1 (client 1.60.1.70862)
[![License: GPL-2.0](https://img.shields.io/badge/license-GPL--2.0-blue.svg)](COPYING)
[![Discord](https://img.shields.io/badge/chat-Discord-5865F2.svg)](https://discord.gg/eJt62dDh54)
> **Blizzlike only.** Every change here matches Blizzard's own game: fixes come from real game data (packet captures,
> live hotfixes, player caches, Wowhead and Questie data, VMaNGOS for the vanilla world) or fix the server itself
> (crashes, packets, pathing, scripts). No custom items, no custom content, and every rate and option defaults to
> Blizzard's behaviour. Anyone may copy and use it under the GPL-2.0.
## Introduction
> **Not an official TrinityCore branch.** This is a community fork. It is not made, supported or endorsed by the
> TrinityCore team or by Blizzard Entertainment, and it ships no game files: you need your own client. Please don't ask
> the TrinityCore team for help with it: questions and bug reports go to our [Discord](https://discord.gg/7kJH4YyvZf).
ForeverCore is a free, open source server for the **WoW Forever client (Classic 1.60.1, build 70862)**. It is written
in C++ and based on [TrinityCore](https://github.com/TrinityCore/TrinityCore), with a vanilla world converted from
[VMaNGOS](https://github.com/vmangos/core).
It is made for people who want to run their own Blizzlike server, learn how the game works, or help make it more
correct. Anyone may copy it, change it and share it under the GPL-2.0.
Branches:
- `forever`: the clean core (this branch).
- `forever-bots`: the same core plus the optional player bots module (`src/modules/PlayerbotV2`). Bots stay off until
you turn them on (`Playerbot.Enable`, `Playerbot.World.Enable`).
The ready-to-play Windows repack is built from a tagged `forever-bots` commit; you choose bots on or off when you start it.
| Branch | What it is |
|---|---|
| `forever` (default) | The clean core. |
| `forever-bots` | The same core plus the optional player bots module (`src/modules/PlayerbotV2`). Bots stay off until you turn them on. |
This fork was started by advocaite as the `forever` branch of TrinityCore and is now kept up to date here. Thanks to
advocaite and to everyone who sent fixes.
**Just want to play?** Get the ready-to-play Windows repack from our [Discord](https://discord.gg/eJt62dDh54). It is
built from a tagged `forever-bots` commit, and you choose bots on or off when you start it.
Branch `forever` runs TrinityCore master against the **WoW Forever client 1.60.1** (`_forever_\Wow.exe`, Battle.net
product `wowf`) with a vanilla world (converted from VMaNGOS) and the Skyborne / Zephras Isle content.
## Philosophy
**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.
- **Blizzlike only.** Every change matches Blizzard's own game. Fixes come from real game data (packet captures, live
hotfixes, player caches, Wowhead and Questie data, VMaNGOS for the vanilla world) or fix the server itself (crashes,
packets, pathing, scripts).
- **No custom content.** No custom items, quests, NPCs or rates. Every rate and option defaults to Blizzard's behaviour.
- **Every data change names its source.** A reviewer must be able to check where a number came from.
- **Optional extras stay optional.** Server owner shortcuts (open gates, no attunement and so on) exist as config
switches that are off by default. Bigger additions live in modules, not in the core.
- **Kept up to date.** Each ForeverCore release is synced here as one commit, with the release notes in plain words.
**Letting other people play on your server?** See [Hosting for other players](#hosting-for-other-players). A full
Linux (Ubuntu 24.04) setup, tested on a fresh cloud server, is in [doc/LinuxServerSetup.md](doc/LinuxServerSetup.md).
## Based on, and credits
### Building from source
- [TrinityCore](https://github.com/TrinityCore/TrinityCore) (GPL-2.0), which goes back to MaNGOS. See [AUTHORS](AUTHORS).
- The `forever` branch of TrinityCore started by [advocaite](https://github.com/advocaite/TrinityCore). Thanks to
advocaite for starting it.
- [VMaNGOS](https://github.com/vmangos/core) (GPL-2.0) for the vanilla world, numbers and encounter scripts.
- [CMaNGOS classic-db](https://github.com/cmangos/classic-db) (GPL-2.0) and [Questie](https://github.com/Questie/Questie)
(GPL-3.0) data, used as sources for quests, spawns and drops.
- The AnoCore project (GPL-2.0), for Forever quest data and spawns.
- Everyone who sent fixes, bug reports and packet captures.
Build the core as usual (see [Install](#install)), then:
This is a community project. It is not made, supported or endorsed by the TrinityCore team or by Blizzard
Entertainment. It ships no game files: you need your own client. Please don't ask the TrinityCore team for help with
it; questions and bug reports go to our [Discord](https://discord.gg/eJt62dDh54) or the
[issues](https://github.com/Karrz1/TrinityCore/issues).
**1. Databases.** Download the Forever database release
[forever-tdb-2026-10-14](https://github.com/Karrz1/TrinityCore/releases/tag/forever-tdb-2026-10-14), unpack it and
put `TDB_full_world_forever_2026_10_14.sql` and `TDB_full_hotfixes_forever_2026_10_14.sql` in the worldserver folder
(the folder you start worldserver from). On the first start worldserver's auto-setup imports them and then applies
only the `sql/custom` files added after the release (`Updates.EnableDatabases = 15`); nothing else is needed. The
release is the world built from source (TrinityCore TDB 1210.26091, all TrinityCore updates and all of our
`sql/custom` files, including the vanilla world converted from VMaNGOS), so you skip that whole conversion.
## Config switches
Already have a database? Just pull and start worldserver: it applies the new files on top. Building from
TrinityCore's own TDB 1210.26091 instead still works (rename it or change `revision_data.h.in.cmake`) but takes much
longer and gives the same result.
Everything below is in `worldserver.conf.dist`, with a longer description next to each option. The defaults are
Blizzlike. The server owner shortcuts are explained in [doc/OptionalServerOptions.md](doc/OptionalServerOptions.md).
**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 `_forever_`). Since client 1.60.1.70790 the Forever client is its own CASC product **`wowf`**
(`_forever_\Wow.exe`; before that it was `wow_classic_beta` in `_classic_beta_\WowB.exe`). This branch's extractors use `wowf`
by default (TrinityCore's own default `wow` = retail fails with "Error opening casc storage / No locales detected"; for an
old beta install 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 `repack/Play-WoWForever.ps1`, which sets the portal and writes the server's public key into the running client.
### 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 |
| Option | Default | What it does |
|---|---|---|
| 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 |
| `Instance.IgnoreAttunement` | 0 | 1 = no attunement item or quest needed to enter an instance. |
| `Instance.AhnQirajGatesOpen` | 0 | 1 = the Gate of Ahn'Qiraj stands open, no war effort or Scarab Gong needed. |
| `Instance.MoltenCoreSkipRunes` | 0 | 1 = the Molten Core runes count as doused; Majordomo and Ragnaros are up from the start. |
| `Instance.MoltenCoreRagnarosReady` | 0 | 1 = Ragnaros can be fought at once, without Majordomo's talk and summon. |
| `Instance.MoltenCoreHoundsLinked` | 0 | 1 = Core Hounds rise again unless the whole pack dies together, as in 1.12. |
| `Instance.BindOnEntry`, `Instance.PersistRaidTrash` | 0 | 1 = raid lockout on entry; killed trash stays dead until the reset. |
| `Classic.ForeverCreatureHealth` | 0 | 1 = creature health from the curve fit to sniffed Forever creatures instead of the VMaNGOS curve. |
| `Classic.CreatureHealth.RaiseFromLevel`, `.RaiseAt60Pct`, `.Raids` | 20, 20, 0 | Forever's extra health for higher level creatures (+20% at level 60, raids not included). |
| `Classic.Respawn.Level1to10Pct` ... `Level31to60Pct` | 50, 70, 85, 100 | Forever's faster respawns in low level zones. All 100 = off. |
| `Classic.ForeverKillXp` | 0 | 1 = kill XP for lower level mobs from the Forever sniff formula. |
| `Classic.Shop.Enabled` | 0 | 1 = in-game store. 0 answers like the official server. |
| `Rate.*` | 1 | All rates are Blizzard's. |
| `AuctionHouseBot.Seller.Enabled`, `.Buyer.Enabled` | 0 | Auction house bot off. |
Never open MySQL (3306/3317), Remote Access (3443) or SOAP (7878) to the internet.
## Build
### Player bots
You need a C++20 compiler, CMake, MySQL 8 (or MariaDB), Boost and OpenSSL. TrinityCore's
[install guide](https://trinitycore.info/install) lists the exact versions for Windows, Linux and macOS.
Want bots? Use the `forever-bots` branch: this core plus the optional `src/modules/PlayerbotV2` module.
```
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
```
[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/TrinityCore/TrinityCore.svg)](https://isitmaintained.com/project/TrinityCore/TrinityCore "Average time to resolve an issue") [![Percentage of issues still open](https://isitmaintained.com/badge/open/TrinityCore/TrinityCore.svg)](https://isitmaintained.com/project/TrinityCore/TrinityCore "Percentage of issues still open")
The Forever specific steps (database release, `worldserver.conf` and `bnetserver.conf` settings, map extraction for
the `wowf` client, login certificate, hosting for other players) are in [doc/ForeverSetup.md](doc/ForeverSetup.md).
A full Linux (Ubuntu 24.04) server setup is in [doc/LinuxServerSetup.md](doc/LinuxServerSetup.md).
## Setup
## Modules
* [Website](https://www.trinitycore.org)
* [Wiki](https://www.trinitycore.info)
* [Forums](https://talk.trinitycore.org/)
* [Discord](https://discord.gg/7kJH4YyvZf)
A module is a folder in `src/modules/` with its own `CMakeLists.txt`. It plugs into the core's script hooks without
changing core files, and with no module the server is exactly the plain core. How to write one:
[src/modules/README.md](src/modules/README.md).
### Adding the player bots module
The bots module lives on the `forever-bots` branch. Either clone that branch, or merge it into your own tree:
```
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
```
`BUILD_PLAYERBOT_V2` is the only bot build flag. Bots stay off until you turn them on in `playerbot.conf`
(`Playerbot.Enable`, `Playerbot.World.Enable`). Extras such as world PvP bots and the optional bot chat program are off
by default. Database setup for the module is in `src/modules/PlayerbotV2/INSTALL.md` on that branch.
## Contributing
Bug reports, data fixes and code are all welcome. Please read [CONTRIBUTING.md](CONTRIBUTING.md) first: in short, one
fix per pull request, and every data change names its source.
## Links
- [Discord](https://discord.gg/eJt62dDh54)
- [Issues](https://github.com/Karrz1/TrinityCore/issues)
- [Releases](https://github.com/Karrz1/TrinityCore/releases) (source releases and the Forever world database)
- [TrinityCore](https://github.com/TrinityCore/TrinityCore), the upstream project
## License
ForeverCore is free software under the [GNU General Public License v2.0](COPYING), like TrinityCore. Libraries under
`dep/` keep their own licenses. World of Warcraft and its data belong to Blizzard Entertainment and are not included.
+98
View File
@@ -0,0 +1,98 @@
# Setting up a ForeverCore server
How to build, configure and host the core for the WoW Forever client. Back to the [README](../README.md).
Branch `forever` runs TrinityCore master against the **WoW Forever client 1.60.1** (`_forever_\Wow.exe`, Battle.net
product `wowf`) 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](#hosting-for-other-players). A full
Linux (Ubuntu 24.04) setup, tested on a fresh cloud server, is in [LinuxServerSetup.md](LinuxServerSetup.md).
## Building from source
Build the core as usual (TrinityCore's [install guide](https://trinitycore.info/install) lists the tools and libraries for Windows, Linux and macOS), then:
**1. Databases.** Download the Forever database release
[forever-tdb-2026-10-14](https://github.com/Karrz1/TrinityCore/releases/tag/forever-tdb-2026-10-14), unpack it and
put `TDB_full_world_forever_2026_10_14.sql` and `TDB_full_hotfixes_forever_2026_10_14.sql` in the worldserver folder
(the folder you start worldserver from). On the first start worldserver's auto-setup imports them and then applies
only the `sql/custom` files added after the release (`Updates.EnableDatabases = 15`); nothing else is needed. The
release is the world built from source (TrinityCore TDB 1210.26091, all TrinityCore updates and all of our
`sql/custom` files, including the vanilla world converted from VMaNGOS), so you skip that whole conversion.
Already have a database? Just pull and start worldserver: it applies the new files on top. Building from
TrinityCore's own TDB 1210.26091 instead still works (rename it or change `revision_data.h.in.cmake`) but takes much
longer and gives the same result.
**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 `_forever_`). Since client 1.60.1.70790 the Forever client is its own CASC product **`wowf`**
(`_forever_\Wow.exe`; before that it was `wow_classic_beta` in `_classic_beta_\WowB.exe`). This branch's extractors use `wowf`
by default (TrinityCore's own default `wow` = retail fails with "Error opening casc storage / No locales detected"; for an
old beta install 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 repack's `Play-WoWForever.ps1` (in the repack download), which sets the portal and writes the server's public key into the running client.
## 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.
+2 -1
View File
@@ -5,9 +5,10 @@ Every option below is OFF in the shipped `worldserver.conf.dist`, which gives th
| Option | What it does when on | Default |
|---|---|---|
| `Instance.MoltenCoreSkipRunes` | Molten Core without the runes: the seven runes count as doused (no Aqual Quintessence), Majordomo Executus stands in his hall, Ragnaros is in his lair and attackable. A boss already killed in the lockout stays dead. | 0 |
| `Instance.MoltenCoreRagnarosReady` | Ragnaros is up in his lair and can be fought at once, without Majordomo's talk and summon. Left out of the config, it follows `Instance.MoltenCoreSkipRunes`. | 0 |
| `Instance.IgnoreAttunement` | No attunement item or quest is needed to enter an instance (Molten Core, Onyxia, Blackwing Lair, Naxxramas and so on). Level limits are separate: `Instance.IgnoreLevel`. | 0 |
| `Instance.AhnQirajGatesOpen` | The Gate of Ahn'Qiraj stands open, so the war effort and the Scarab Gong are not needed to reach Ruins and Temple of Ahn'Qiraj. | 0 |
| `Instance.PersistRaidTrash` | Raid trash that was killed stays dead until the lockout resets, including after you leave the instance, the instance unloads or the server restarts. Needs `Instance.BindOnEntry = 1` for players without a lockout yet. | 0 |
| `Instance.MoltenCoreHoundsLinked` | Core Hounds as in 1.12 (feign death and rise again unless the whole pack dies together). Off (standard): hound packs are unlinked and can be killed one by one. | 0 |
Note: the first four switch off Blizzlike rules; `MoltenCoreHoundsLinked` is the reverse, its off state is the shared default for this project (packs unlinked).
Note: the first five switch off Blizzlike rules; `MoltenCoreHoundsLinked` is the reverse, its off state is the shared default for this project (packs unlinked).
-50
View File
@@ -1,50 +0,0 @@
<!--- (**********************************)
(** Fill in the following fields **)
(**********************************)
(you can delete all rows before description and after operating system when creating issue)
For SQL fixes:
search for existing issues, if a bug report exist for the issue you are trying to fix and it's opened post there.
don't modify WDB fields without supply one sniff of those fields (censure guids, character names, anything blizzard can use to identify source)
don't use pull requests for sql only fixes, unless it's to fix one existing unable to apply file.
don't hardcode guids.
don't DELETE + INSERT to update only few fields of one row.
don't use database names.
don't put ' around numbers.
don't put ( ) if they aren't needed.
use only 1 DELETE + INSERT when we add multiple items to one table, unless you are scripting multiple creatures.
start fix by -- in case some previous sql misses proper ending.
DELETE by guid AND entry to be sure we don't delete existing spawns.
start sql code with 3 ` sql --->
**Description:**
CHANGEME Description of the problem or issue here.
If this is a crash, post the crashlog (upload to https://gist.github.com/).
**Expected behaviour:**
CHANGEME Tell us what should happen instead.
**Steps to reproduce the problem:**
1. CHANGEME Step 1 include entries of affected creatures / items / quests with a link to the relevant wowhead page.
2. Step 2
3. Step 3
**Branch(es):**
CHANGEME 3.3.5, master, cata_classic or all
**TC rev. hash/commit:**
CHANGEME Copy the result of server debug command (if you need to run it from client get prat addon)
**Operating system:**
CHANGEME OS
<!--- Notes
- This template is for problem reports. For other types of report, edit it accordingly.
- For fixes containing C++ changes, create a Pull Request.
--->
+12 -22
View File
@@ -1,31 +1,21 @@
<!--- (**********************************)
(** Fill in the following fields **)
(**********************************) --->
<!-- Thanks! Please read CONTRIBUTING.md first: one fix per pull request, Blizzlike only, every data change names its source. -->
**Changes proposed:**
**What this changes:**
-
-
-
-
**Issues addressed:**
**Source (where the data or behaviour comes from):**
Closes # (insert issue tracker number)
<!-- Packet capture, client data, Questie, Wowhead link, video or screenshot. For a pure server fix (crash, packet, pathing) say so. -->
**Issues fixed:**
**Tests performed:**
Closes #
(Does it build, tested in-game, etc.)
**How it was tested:**
<!-- Does it build? Checked in game? Which client build? -->
**Known issues and TODO list:** (add/remove lines as needed)
- [ ]
- [ ]
<!--- Notes
- Enable the setting "[√] Allow edits from maintainers." when creating your pull request.
- If this PR only contains SQL files, open a new issue instead and post or link the SQL in the issue.
- When adding new SQL files, name them 9999_99_99_99_db_name.sql to reduce the chance of possible merge conflicts.
--->
- [ ] Builds
- [ ] Tested in game
- [ ] SQL files are safe to run twice