Files
ForeverCore/README.md

121 lines
6.7 KiB
Markdown

# ForeverCore
Built on [TrinityCore](https://github.com/TrinityCore/TrinityCore). ForeverCore is our own core now, made for the WoW Forever client, the same way other cores use TrinityCore as their base.
### [Download latest launcher](https://github.com/Karrz1/Karrz-playerbots-wow-forever/releases/latest/download/WoWForeverLauncher.exe)
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 70938)**, based on TrinityCore. Older supported builds (70888, 70790 and the rest in `repack/client-builds.txt`) keep working.
- 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](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.
## 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](https://github.com/Karrz1/ForeverCore/issues/new/choose). 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](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](https://discord.gg/eJt62dDh54).
- **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](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 |
| `Forever.VanillaAoE` | 0 | Vanilla Consecration and Improved Blizzard |
| `Classic.AdventureGuide` | 0 | The Adventure Guide is shown |
| `Respawn.DynamicOpenWorld` | 0 | Open world respawns speed up when lots of players are around (thanks SIN) |
| `Instance.NefarianCapAdds` | 0 | Nefarian phase 1 calls at most 42 drakonids |
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 |
| `Forever.DayCycle.Speed` | 1 | Day and night speed, 1 to 24. Players can use `.time day`, `.time night` and `.time auto` for themselves |
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](https://trinitycore.info/install)).
```
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](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).
## 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](src/modules/PlayerbotV2/INSTALL.md).
Other modules go in `src/modules/` too, see [src/modules/README.md](src/modules/README.md).
New in 0.1.37:
- `.bot lead on` / `.bot lead off`: your bot tank leads the dungeon (also the Tank leads button in the bot panel).
- `/fb plates`: enemy nameplates only in combat (add-on option).
- Open a trade window with one of your bots to give it items or take items from it.
- `Playerbot.Raid.Talk` (default 1): raid chat from bots in a raid of more than 15 with a player, 0 off, 1 normal, 2 chatty.
## Thanks
- [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.
- SIN, for the dynamic open world respawns.
- 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](COPYING).