This article is part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps. |
Before proceeding, please make sure that you have your database set up properly. |
cd <your WoW client directory> /home/<username>/server/bin/mapextractor mkdir /home/<username>/server/data cp -r dbc maps /home/<username>/server/data edit worldserver.conf and change datadir from "." to "../data" |
You can also extract vmaps which will take quite a while depending on your machine (up to hours on ancient hardware).
cd <your WoW client directory> /home/<username>/server/bin/vmap4extractor mkdir vmaps /home/<username>/server/bin/vmap4assembler Buildings vmaps cp -r vmaps /home/<username>/server/data |
When this is complete you will 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. |
Extracting mmaps will take quite a while depending on your machine (up to hours).
cd <your WoW client directory> mkdir mmaps /home/<username>/server/bin/mmaps_generator cp -r mmaps /home/<username>/server/data |
... this part needs to be re-written. Coming soon!
1. Browse into your D:\Build\bin\Release folder and copy these files into your root World of Warcraft folder (where the Wow.exe is located):
mapextractor.exe mmaps_generator.exe vmap4extractor.exe vmap4assembler.exe makevmaps_simple.bat (look below if you do not have this file yet) |
Note - If you are extracting the data files from another machine, please make sure that you have the appropriate VC++ Redistributable Packages installed
2. Run mapextractor.exe and wait until it is finished.
3. Move the dbc and maps folders to the D:\Build\bin\Release folder.
4. Run makevmaps_simple.bat.
If you do not have makevmaps_simple.bat: create an empty one inside your root World of Warcraft folder. Once created, open it in Notepad and copy/paste the following inside it:
vmap4extractor.exe md vmaps vmap4assembler.exe Buildings vmaps pause |
Note: Extracting the vmaps will take a while depending on your machine (30 min. - 2 hours). Do not attempt to stop this process. It is finished when it prints "Press any key...". It will create two new folders: buildings and vmaps. The buildings folder is completely useless post-running and can be safely deleted.
5. Move the vmaps folder to the same directory as dbc, maps and the TrinityCore binaries.
The following steps are optional but recommended:
1. Move mmaps_generator.exe to the same directory as dbc, maps, vmaps and the TrinityCore binaries.
2. Create a folder called "mmaps" and run mmaps_generator.exe.
Note: Extracting MMAPS will take a while depending on your machine (1 - 24 hours). Do not attempt to stop this process.
Note: The mmaps are experimental right now. Any bugs should be reported to the Issue Tracker.
First of all you need to find the two default config files (named worldserver.conf.dist and authserver.conf.dist (bnetserver.conf.dist in 6.x) ) and copy these to their namesakes without the .dist extension.
You can find them within /trinitycore/etc/ (may vary)
cp worldserver.conf.dist worldserver.conf cp authserver.conf.dist authserver.conf # 3.3.5 only cp bnetserver.conf.dist bnetserver.conf # 6.x only |
OS X
You can find them within /opt/trinitycore/etc/ (may vary)
You can find them within your Release folder
Scroll down to the LoginDatabaseInfo, WorldDatabaseInfo, and CharacterDatabaseInfo config options and enter MySQL Server login information for the server to be able to connect to your database.
On a newly compiled config, you should have the following values:
LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;auth" WorldDatabaseInfo = "127.0.0.1;3306;trinity;trinity;world" CharacterDatabaseInfo = "127.0.0.1;3306;trinity;trinity;characters" |
It follows this structure:
Variablename = "MySQLIP;Port;Loginname;Password;database" |
The following settings must be verified:
All other default options should be sufficient, but it is recommended that you take some time after your server is finished to read through the configs and see all the ways to customize your server.
If you choose NOT to run vmaps or mmaps, you must make the following changes:
|
If you change your mind and decide to extract and use vmaps or mmaps later, make sure to change these values back to "1" to take advantage of them. |
For most worldserver.conf setting changes, you can simply type .reload config in-game to see changes instantly without restarting the server. |
Scroll down to the LoginDatabaseInfo and enter MySQL Server login information.
LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;auth" |
It follows this structure:
Variablename = "MySQLIP;Port;Loginname;Password;database" |
Just like the worldserver.conf, you have to enter these necessary values and customize your preferences.
You need to make sure that your authserver application directs incoming connections to your realm.
address
field according to your needs:External IP – If you want other people to connect to your server, use your external IP. Visit http://www.whatismyip.com/ to find your external IP address.
You need to make sure that your bnetserver application directs incoming connections to your realm.
address
field according to your needs:External IP – If you want other people to connect to your server, use your external IP. Visit http://www.whatismyip.com/ to find your external IP address.
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. |
After completing all the steps listed above you can now start your server.
After completing all the steps listed above you can now start your server.
Type: account create <user> <pass>
Example: account create test test
Type: account set gmlevel <user> 3 -1
Example: account set gmlevel test 3 -1
Log in with account test and password test through wow.exe.
Type: bnetaccount create <user> <pass>
Example: bnetaccount create test@test test
Type: account set gmlevel <account.username> 3 -1
Example: account set gmlevel 1#1 3 -1
Note: The username used for setting your gmlevel is not the same as the username you create with bnetaccount. You must manually find the username in auth.account.username. These are formatted as 1#1, 2#1, etc.
Log in with email test@test and password test.through Wow_Patched.exe or Wow-64_Patched.exe.
DO !NEVER! create an account directly into your database unless you are ABSOLUTELY SURE that you know what and how to do! |
The "3" is the GM account level (higher numbers = more access), and the "-1" is the realm ID that stands for "all realms".
Open the world database in your database management tool and find the command table. This table shows a full list of GM commands, their descriptions, and the security (GM level) needed to use them. You will not find a more accurate list of current GM commands anywhere else (assuming you keep your database up-to-date). The security level for a given command identifies that THAT GM level can use the command, along with all GM levels above it. For example, if a command has a security of 2, all accounts with a GM level of 2, 3, and 4 will be able to use it. More detailed information can be found at GM Commands Page. |
"Unable to open wmo_list.txt! Nothing extracted."
you need to run Mapextractor.exe before the makevmaps_simple.bat.
This article is part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps. |