Navicat will now execute your database (this could take a good 20 minutes)

Once that’s finished, open “Characters” “execute batch file” navigate to
“SOURCE FOLDER/sql/base/characters.sql” let that execute, then open “auth” and execute “SOURCE FOLDER/sql/base/auth.sql”

Running the Updates
In the “SOURCE\sql\updates\” folder are all of the updates you need to apply. Don’t worry about all of those files, because you only need to execute the ones that are a higher number than your CTDB or TDB database. Say your CTDB database is TDB_rev32_0.0.4_7441.sql
The 7441 is the revision number it was made for. So you only need to execute the updates that are PAST 7441 (7442+, dur) You DONOT need to execute the character or realmd updates. Just the ones beginning with “world_” and a revision number past “7441”

Once you’ve installed all of the necessary updates. All that’s left is your configs!

Go into your “SOURCE/bin/win32_release/” folder. The 2 files we’re looking for are called “worldserver.conf.dist” and “authserver.conf.dist”
You’re going to want to remove the .dist extension so that they both files become “worldserver.conf” and “authserver.conf” respectively.

Now open worldserver.conf with WORDPAD, WORD, or Notepad++. Notepad will not work with TrinityCore config files.

Now open authserver.conf with WORD, WORDPAD, or Notepad++
Find the line:

Código:

LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;auth"

Replace it with

Código:

LoginDatabaseInfo = "127.0.0.1;3306;root;YOURMYSQLPASS;auth"

Where YOURMYSQLPASS is your MySQL password you set while configuring your MySQL server.
That’s all that’s necessary to do to get your server running!

I highly recommend that you read ALL of these config files. What I’ve shown you is just the bare minimum. To really understand your server, and to customize it a lot more you NEED to read both config files completely.

5. Extracting extra data
The last small step you need to do is go to where you downloaded "maptools.zip" (at the top of the guide, if you missed it )
now select everything in the zip file you downloaded and place them in your world of warcraft folder.
First run mapextractor.exe
(Vista and 7 users need to run this as admin)
This will extract your maps and DBCs.

It will do this, for quite a while (10-20 min)

When mapextractor.exe closes, that means it has finished extracting all of its data.
Now Drag and Drop your “maps” and “dbc” folders from your WoW directory to your “SOURCE/bin/win32_release/” folder.

5.5. Vmaps

Now run makevmaps3_simple.bat
it will run for quite a while, (about a half an hour)
once it has closed, it means it's done.
drag the vmaps folder from your WoW directory to SOURCE/bin/win32_release/

you can safely delete the "buildings" folder in your WoW directory, it's not needed.

That's All! You should be able to start worlserver.exe and authserver.exe with no problems!

If you have any questions, send me a PM or reply to this thread!
Try to give me a specific error so I can get your problem solved faster!​

Step 2: Modifying the database.
Open up your Database Connection.
Open your ‘auth’ database.
Now open the ‘realmlist’ table

Once you’ve opened the ‘realmlist’ table you’ll get a window that looks like this:

This is also a good time to show you what each column does.
Id: Used if you have more than 1 realm the lower the number, the closer to the top it is on the in-game realmlist.
Name: The name of the realm in the in-game realmlist
Address: The realmlist of the server. (What people set their realmlist in order to connect.)
Port: Used if you have more than 1 realm (Each realm needs their own forwarded port)
Icon: Reflects what you changed in the configs (doesn’t do anything if changed here)
Color: Reflects what you changed in the configs (doesn’t do anything if changed here)
Timezone: Reflects what you changed in the configs (doesn’t do anything if changed here)
Allowedsecuritylevel: What GM rank you need to connect to the server
Population: Not sure about this one, I know it handles "High, Low, etc" but I don't know the values for it.
Gamebuild: Handles what client version is allowed to connect to the server. (11723 == 3.3.3a) This won’t affect anything if a new patch comes out but the core doesn’t have support for it!

Once you’re done modifying the realmlist column to your liking, exit out of navicat.

On to step 3!

Step 3: Port Forwarding
This part is actually extremely easy, if you know your router password and how to obtain your router’s IP

Here are a few default router IPs you can try:
192.168.0.1
192.168.2.1
192.168.1.1
192.168.123.254
10.1.10.1
If none of those work, you probably set your router to use a different IP, so you should know it.

Once you’ve found your router IP, you’ll need to figure out the login.
The password is almost always defaulted to “password” “password1” or “highspeed”
The last one is only for Comcast
The user is almost always “admin” or “cusadmin”
Once again, the last one is for Comcast

If none of these work, you can call the manufacturer of the router for the default user and pass of your router model or ask whoever set up your router for the credentials they set up.

If you’ve gotten in successfully, then find the section related to ports “Port forwarding/Triggering” or just “Port forwarding”
You’ll need to add 3 new ports “8085” "3306", and “3724”. If you’re interested in setting up a website too, then open port “80”

That’s all you’ll need to do with your router. I apologize for the lack of specification in this section, but this step really is different for everyone.

Now that you’ve stumbled through that last step
You should be all set up!

Account Management
If you don't decide to make your server public, or you'd rather test things out before you go public. You'll need to make an account. Adding an account in the database doesn't work, so you'll have to make one in the console!

You'll also notice you can type in your worldserver but not in your realmserver.

3. Now, type this statement into worldserver;

Código:

account create ACCOUNTNAME PASSWORD

This creates a normal player account, no GM powers, no expansions.

If you want to make someone a GM, you can use this piece of code;

Código:

account set gmlevel ACCOUNTNAME GMLEVEL -1

Where gmlevel is the account's new GM rank (1-3) for all of you wondering, yes 4 is the highest rank and it is NOT to be used in-game (reserved for the trinity console).
-1 is stands for any realm. if you put -1 when doing this, the account would have a gm level of GMLEVEL on every realm.
You can also specify realmIDs, (1, 2 etc...)