Quote:
Originally Posted by °~BlөØÐ¥BlaĐe~°
Hab i-wie ein Problem mit dem Rapack :O.Kann daran liegen das ich mich nur mit Arcemu und Mangos auskenne aber wenn ich versuche den Server zu starten komm ca 0.5 sec was rotes und er schließt sich wieder.Im Log stand er kann nicht zur Datenbank connecten..habe aber eig alles richtig gemacht.Bitte nochmal ein Guide für Trinity-Anfänger^^.Mfg
|
TrinityCore – Start to Finish
These example is with CTDB & TDB not FreeWoWDB, but i thing that will Help u :D
Table of Contents:
1. Programs you’ll need
2. Obtaining the source using HG
3. Compiling the core
4. Obtaining and configuring your database
5. Setting up your configs and extracting extra data
1. Programs you’ll need:
Setting up any server, including TrinityCore requires a few extra programs.
I’ve done my best to compile them into a simple list;
Mysql: [Only registered and activated users can see links. Click Here To Register...]
Hit “No thanks, Just take me to the downloads!”
TortoiseHG: [Only registered and activated users can see links. Click Here To Register...]
Microsoft Visual C++ Express: [Only registered and activated users can see links. Click Here To Register...]
3rd link from the top, on the left.
Navicat: [Only registered and activated users can see links. Click Here To Register...]
Notepad++: [Only registered and activated users can see links. Click Here To Register...]
Optional, if you plan on editing your core or want a clean view of your configs. I’d recommend it but if you’re low on HD space don’t bother.
2. Obtaining the source using HG
Make sure TortoiseHG has been installed correctly and that you have restarted if prompted.
Create a folder on your desktop; this will be your source folder. It’s where you will compile and edit your core. Follow this picture:
[Only registered and activated users can see links. Click Here To Register...]
A Window will pop up, prompting for a few fields.
Fill in “Source Path” as I did,
“Destination Path” is the location of your source folder.
[Only registered and activated users can see links. Click Here To Register...]
Let the program run for a while, it could take up to 10 minutes depending on your Internet Speed.
Once you see this, it’s safe to exit out of TortoiseHG
[Only registered and activated users can see links. Click Here To Register...]
Now we’re on to section 3!
3. Compiling the core
Open up your source folder. Then go to /SOURCE/WIN/
Open “TrinityCore&Script VC90.sln” with VC++
You should see something like this:
[Only registered and activated users can see links. Click Here To Register...]
Now go to the “Build” Tab then select “Configuration Manager”
[Only registered and activated users can see links. Click Here To Register...]
Change “Active Solution Configuration” from “Debug” to “Release”
[Only registered and activated users can see links. Click Here To Register...]
Now let the compiler do its thing.
When it’s done you should get this:
[Only registered and activated users can see links. Click Here To Register...]
You’re halfway there!
4. Obtaining and configuring your database
When you choose your database, you have 2 options.
CTDB: Which is a sort of Hacky Version, they have more items and spawns but they aren’t 100% blizzlike.
TDB: Everything they do is perfect, they aren’t AS fast as CTDB, but when they finish something it’s as close to blizzlike as possible!
The choice is really yours, there’s no difference when setting up the server besides the names of the database files.
TDB Link:
[Only registered and activated users can see links. Click Here To Register...]
The newest version is the file with the highest number (dur)
(it’s NOT in the archive folder)
CTDB Link:
[Only registered and activated users can see links. Click Here To Register...]
Folder with the highest number is always the newest (dur)
Now put these aside for a bit, We’re going to set up MySQL
MySQL:
Run the installer for MySQL that you downloaded at the beginning of the guide. (If you passed it by, it’s at the top of the page :P)
Once MySQL is installed, it will ask you if you want to configure the server. Select Yes.
Follow this picture to configure MySQL:
[Only registered and activated users can see links. Click Here To Register...]
After 9. Hit next, then on the 10th screen hit “Execute”
[Only registered and activated users can see links. Click Here To Register...]
You should get the all clear.
Once you hit Finish, you’ve set up MySQL.
I hope you still have those databases!
Now open up Navicat.
Up at the top, under “Connections” Select “MySQL”
[Only registered and activated users can see links. Click Here To Register...]
You’ll get a window with “maor stuff” to fill out.
Fill out the window like this:
[Only registered and activated users can see links. Click Here To Register...]
Once you’re in.
Create 3 new databases, “World” “Characters” “Realmd”
Do this 2 more times, with “Characters” and “World”
[Only registered and activated users can see links. Click Here To Register...]
Now, find your CTDB or TDB rar file
Extract it to anywhere. (You need Winrar (dur))
Now right click “world” select “Open Database”
[Only registered and activated users can see links. Click Here To Register...]
Then “execute batch file”
[Only registered and activated users can see links. Click Here To Register...]
Now navigate to find your CTDB or TDB sql file
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/characters.sql” let that execute, then open “realmd” and execute “SOURCE FOLDER/sql/realmd.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 CTDB_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 “TrinityCore.conf.dist” and “TrinityRealm.conf.dist”
You’re going to want to remove the .dist extension so that they both files become “TrinityCore.conf” and “TrinityRealm.conf” respectively.
Now open TrinityCore.conf with WORDPAD, WORD, or Notepad++. Notepad will not work with TrinityCore config files.
Look for these 3 lines:
Code:
Code:
LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;realmd"
WorldDatabaseInfo = "127.0.0.1;3306;trinity;trinity;world"
CharacterDatabaseInfo = "127.0.0.1;3306;trinity;trinity;characters"
Change them to:
Code:
Code:
LoginDatabaseInfo = "127.0.0.1;3306;root;YOURMYSQLPASS;realmd"
WorldDatabaseInfo = "127.0.0.1;3306;root;YOURMYSQLPASS;world"
CharacterDatabaseInfo = "127.0.0.1;3306;root;YOURMYSQLPASS;characters"
Where YOURMYSQLPASS is your MySQL password you set while configuring your MySQL server.
Now open TrinityRealm.conf with WORD, WORDPAD, or Notepad++
Find the line:
Code:
Quote:
|
LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;realmd"
|
Replace it with
Code:
Code:
LoginDatabaseInfo = "127.0.0.1;3306;root;YOURMYSQLPASS;realmd"
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. Setting up your configs and extracting extra data
The last small step you need to do is go to SOURCE/contrib/extractor/
Find the file ad.exe and place it in your world of warcraft folder.
(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 ad.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.
That's All! You should be able to start TrinityCore.exe and TrinityRealm.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!