README and CONTRIBUTING: shorter, in our own words
What ForeverCore is, the repack download, help, branches, the switch table, build, bots, sending fixes, thanks.
This commit is contained in:
+14
-66
@@ -1,69 +1,17 @@
|
||||
# Contributing to ForeverCore
|
||||
# Sending fixes
|
||||
|
||||
Thanks for helping. Bug reports, data fixes and code are all welcome. Please read this page once before you start.
|
||||
Thanks for helping! A few things make a fix easy to take in:
|
||||
|
||||
## The one rule: Blizzlike, with a source
|
||||
- **Blizzlike only.** The fix makes the game match Blizzard's realms, or fixes the server (crash, packet, pathing,
|
||||
script). No custom items, quests or rates. Something only some servers want can be a switch in `worldserver.conf`
|
||||
that is off by default, or a module in `src/modules/`.
|
||||
- **Say where it comes from.** Sniff, client data, Wowhead, Questie, a video or screenshot. We need to be able to check it.
|
||||
- **One fix per pull request**, against `forever` (or `forever-bots` for the bots). Say how you tested it.
|
||||
- **SQL** goes in `sql/custom/world/` (or `hotfixes/`), named `YYYY_MM_DD_NN_world_<what>.sql`, with a comment at the top
|
||||
saying what it fixes and the source. It must be safe to run twice: delete what you insert, no `REPLACE INTO`, no
|
||||
database names.
|
||||
- **C++** follows `.editorconfig` (4 spaces, 160 columns) and TrinityCore's
|
||||
[code style](https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130103/C+Development+Standards).
|
||||
- Code or data from another project: name it, and it must be GPL-2.0 compatible. Your name stays on your commit.
|
||||
|
||||
ForeverCore copies Blizzard's game for the WoW Forever client. A change is welcome when it does one of these:
|
||||
|
||||
- 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).
|
||||
|
||||
Good sources, best first:
|
||||
|
||||
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.
|
||||
|
||||
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)).
|
||||
|
||||
## Reporting a bug
|
||||
|
||||
Use the [issue forms](https://github.com/Karrz1/TrinityCore/issues/new/choose). Please give:
|
||||
|
||||
- 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.
|
||||
|
||||
Search the open issues first; if the bug is already there, add to it instead of opening a new one.
|
||||
|
||||
## 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.
|
||||
|
||||
Please tick "Allow edits from maintainers", so we can fix small things for you.
|
||||
|
||||
### C++
|
||||
|
||||
- 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.
|
||||
|
||||
### SQL
|
||||
|
||||
- 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/`.
|
||||
|
||||
### 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.
|
||||
|
||||
## Questions
|
||||
|
||||
Ask on our [Discord](https://discord.gg/eJt62dDh54). Please don't ask the TrinityCore team about ForeverCore.
|
||||
Bugs go in the [issues](https://github.com/Karrz1/TrinityCore/issues). Questions: [Discord](https://discord.gg/eJt62dDh54).
|
||||
|
||||
@@ -1,81 +1,55 @@
|
||||
# ForeverCore
|
||||
|
||||
[](COPYING)
|
||||
[](https://discord.gg/eJt62dDh54)
|
||||
A server for the **WoW Forever client (Classic 1.60.1, build 70862)**, based on TrinityCore.
|
||||
|
||||
## Introduction
|
||||
- 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.
|
||||
|
||||
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).
|
||||
**Want to play?** Download the Windows repack from the
|
||||
[latest release](https://github.com/Karrz1/Karrz-playerbots-wow-forever/releases/latest) (the
|
||||
`WoW-Forever-Bots-<version>.zip` file). You turn bots on or off when you start it. The launcher updates itself from
|
||||
[its own releases](https://github.com/Karrz1/foreverlauncher-releases/releases).
|
||||
|
||||
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.
|
||||
**Need help?** Ask on our [Discord](https://discord.gg/eJt62dDh54) or open an [issue](https://github.com/Karrz1/TrinityCore/issues).
|
||||
|
||||
Branches:
|
||||
## Branches
|
||||
|
||||
| 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. |
|
||||
- `forever`: the core (this branch).
|
||||
- `forever-bots`: the same core plus the optional player bots. Bots stay off until you turn them on.
|
||||
|
||||
**Just want to play?** Download the ready-to-play Windows repack from
|
||||
[the latest repack release](https://github.com/Karrz1/Karrz-playerbots-wow-forever/releases/latest) (the
|
||||
`WoW-Forever-Bots-<version>.zip` file). It is built from a tagged `forever-bots` commit, and you choose bots on or off
|
||||
when you start it. The launcher updates itself from [Forever Launcher releases](https://github.com/Karrz1/foreverlauncher-releases/releases).
|
||||
The repack is built from a tagged `forever-bots` commit.
|
||||
|
||||
## Philosophy
|
||||
## Switches
|
||||
|
||||
- **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.
|
||||
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](doc/OptionalServerOptions.md) and the notes in `worldserver.conf.dist`.
|
||||
|
||||
## Based on, and credits
|
||||
|
||||
- [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.
|
||||
|
||||
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).
|
||||
|
||||
## Config switches
|
||||
|
||||
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).
|
||||
|
||||
| Option | Default | What it does |
|
||||
| Switch | Normal | Turned on |
|
||||
|---|---|---|
|
||||
| `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. |
|
||||
| `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 (or MariaDB), Boost and OpenSSL. TrinityCore's
|
||||
[install guide](https://trinitycore.info/install) lists the exact versions for Windows, Linux and macOS.
|
||||
You need a C++20 compiler, CMake, MySQL 8, Boost and OpenSSL (versions: TrinityCore's
|
||||
[install guide](https://trinitycore.info/install)).
|
||||
|
||||
```
|
||||
git clone -b forever https://github.com/Karrz1/TrinityCore.git ForeverCore
|
||||
@@ -83,19 +57,13 @@ cmake -S ForeverCore -B build -DSERVERS=1 -DSCRIPTS=static -DTOOLS=1
|
||||
cmake --build build --config RelWithDebInfo
|
||||
```
|
||||
|
||||
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).
|
||||
Then follow [doc/ForeverSetup.md](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](doc/LinuxServerSetup.md).
|
||||
|
||||
## Modules
|
||||
## Bots
|
||||
|
||||
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:
|
||||
The bots are a module in `src/modules/PlayerbotV2`, on the `forever-bots` branch:
|
||||
|
||||
```
|
||||
git clone -b forever-bots https://github.com/Karrz1/TrinityCore.git ForeverCore-bots
|
||||
@@ -103,24 +71,23 @@ cmake -S ForeverCore-bots -B build -DSERVERS=1 -DSCRIPTS=static -DBUILD_PLAYERBO
|
||||
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.
|
||||
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` on that branch.
|
||||
Other modules go in `src/modules/` too, see [src/modules/README.md](src/modules/README.md).
|
||||
|
||||
## Contributing
|
||||
## Fixes welcome
|
||||
|
||||
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.
|
||||
Send a pull request against `forever`, one fix per pull request, and say where the data comes from (sniff, Wowhead,
|
||||
Questie, video). Bug reports go in the [issues](https://github.com/Karrz1/TrinityCore/issues).
|
||||
|
||||
## Links
|
||||
## Thanks
|
||||
|
||||
- [Discord](https://discord.gg/eJt62dDh54)
|
||||
- [Issues](https://github.com/Karrz1/TrinityCore/issues)
|
||||
- [Repack download](https://github.com/Karrz1/Karrz-playerbots-wow-forever/releases/latest)
|
||||
- [Releases](https://github.com/Karrz1/TrinityCore/releases) (source releases and the Forever world database)
|
||||
- [TrinityCore](https://github.com/TrinityCore/TrinityCore), the upstream project
|
||||
- [TrinityCore](https://github.com/TrinityCore/TrinityCore) and everyone in [AUTHORS](AUTHORS).
|
||||
- advocaite, who started the `forever` branch.
|
||||
- [VMaNGOS](https://github.com/vmangos/core) for the vanilla world, [CMaNGOS classic-db](https://github.com/cmangos/classic-db)
|
||||
and [Questie](https://github.com/Questie/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.
|
||||
|
||||
## 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.
|
||||
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](COPYING).
|
||||
|
||||
Reference in New Issue
Block a user