Public Servers
The TrinityCore Team and Owners DO NOT in any case sponsor nor support illegal public servers. If you use these projects to run an illegal public server and not for testing and learning it is your own personal choice.
¶ Server Setup
¶ Extractors
Note
This part is just a general summary of the overall extraction process - please read more detailed steps for the OS you are working with:
macOS Server Setup
TrinityCore needs to extract certain files from the World of Warcraft client. You will need to match the client version with the server branch you want to use:
- 3.3.5 branch needs Wrath of the Lich King 3.3.5a client
- master branch, wotlk_classic, cata_classic needs the version pointed near the top of github repository.
- you cannot use wotlk_classic to extract wow 3.3.5a files or 3.3.5a files to run wotlk_classic server
- you cannot use cata_classic to extract wow 4.3.4 files or 4.3.4 files to run cata_classic server
TrinityCore does not provide any Client Version for download. It is up to the user to get them themselves for master e.g. via Battle.Net.
However - Arctium is providing pre-generated (mmaps) data: https://tc.arctium.io/
By default you will compile the core with tools and you will get the following executable files (.exe on windows platform):
- mapextractor
- vmap4extractor
- vmap4assembler
- mmaps_generator
RECOMMENDATION: compile tools in release mode to save time, debug mode extraction is much longer and it's only needed if you have a crash to report.
Copy these files after compiling to your World of Warcraft root folder:
- For 3.3.5, this is where Wow.exe and the Data folder are
- For master, this is where 'World of Warcraft Launcher.exe' and the Data folder are
TIP: Browse into your [Source Location]\TrinityCore\contrib folder and copy "extractor.bat"(for Windows)\"extractor.sh"(for Linux) into your root World of Warcraft folder (with the previous files). Run it instead of the executables and choose “4.Extract all” option.
Some of them are optional, but highly recommended:
After extracting all necessary files simply copy all the newly created directories to the directory with worldserver binary. Alternatively you can specify directory where you want to keep them changing DataDir value in worldserver.conf file.
If you use extractors from other projects, branches or a very outdated TrinityCore Version, it is almost certain that your Server will not recognize the extracted data or even work!
When this is complete you may receive the following message which can be safely ignored.
Processing Map 724
[################################################################]
Extracting GameObject models...Extracting World\Wmo\Band\Final_Stage.wmo
No such file.
Couldn't open RootWmo!!!
Done!
Extract V4.00 2012_02. Work complete. No errors.
On master branch you will see a lot of
Can't open WDT for map <a number> - <a name> (FileNameID <number>): FILE NOT FOUND
you can ignore this safely.
¶
Config Files
Rename your config files by removing the .dist to get the following:
worldserver.conf / authserver.conf for 3.3.5
worldserver.conf / bnetserver.conf for master
You should check and potentially change the SQL login information.
Open the files and scroll down \ locate the following:
LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;auth" worldserver.conf & authserver.conf / bnetserver.conf (for master)
WorldDatabaseInfo = "127.0.0.1;3306;trinity;trinity;world" worldserver.conf
CharacterDatabaseInfo = "127.0.0.1;3306;trinity;trinity;characters" worldserver.conf
It follows this structure:
Variablename = "MySQLIP;Port;Username;Password;database"
The following settings must be verified:
- The hostname (127.0.0.1) can stay the same if Trinity is being installed on the same computer that you run WoW on.
Otherwise, follow the instruction in Realmlist Table if this is not the case. #TODO: Link needed - The port (3306) is the standard configured value. If you changed the default port on your mysql settings, you must change it accordingly.
- The username and password can be variable. You can choose to either:
- use default trinity / trinity username and password pair.
- create an unique login within a User Manager within your preferred database management tool (commonly identified by an icon that looks like a person or people) and give it necessary permissions (SELECT, INSERT, UPDATE, DELETE permissions are sufficient, and is much safer).
RECOMMENDATION: Read over the config files to get a feeling for what can be set or changed in your server. Most settings are explained with details and examples.
Pro Tip
For most worldserver.conf setting changes, you can simply type .reload config in-game to see changes instantly without restarting the server.
¶ Help
If you still have any problem, check:
- Updating or starting with TrinityCore issues, Trouble with your TrinityCore Install / Readme 1st / FAQs
- Ask help on the Forum
- If you still have problems, you can try to ask help on IRC, but remember it's not real time 24/7 support, most of people there lives on GMT and they can be sleeping or working.
