PDA

View Full Version : [TrinityCore] How to Compile & Setup database! (Super)



Dimman
01-04-10, 10:59 AM
Before doing anything make sure you have these programs:
SQLYOG
VISUAL C++ 2008
TORTOISE HG

TrinityCore SVN: https://trinitycore.googlecode.com/hg/
TrinityDB SVN https://trinitydb.googlecode.com/hg/

Clone them to the following locations (dont create the folders before cloning :#)
C:\Trinity
C:\TDB
http://i40.tinypic.com/xl9ctl.jpg

When its done startup Microsoft Visual C++ and go to [File - Open - Project/Solution] & navigate to C:\Trinity\Win\TrinityCore&Script VC90 <--- Open :)

Then do this:
http://i41.tinypic.com/25hoi6a.jpg

When its set to "Release" click on [Build - Clean Solution] it will take a few seconds.

When its completed you should get this message:
========== Clean: 10 succeeded, 0 failed, 0 skipped ==========

Then click on [Build - Build Solution] you can also just press the F7 button on your keyboard.

This will take a while.

When its completed close the program and open up [Computer\C:\Trinity\Bin\Win32_Release] and copy the files in that directory to your server Folder.
http://i40.tinypic.com/20qmfyh.jpg

Rawr ima dinosaur :E

Database setup ...


Navigate to [C:\TDB\Full_db]

And Unzip the "TDB_332.8.26_7332.rar" with winrar.

Open SQLYOG and create a database and pick a cool name for it, but if you dont want to change it in the configs later just name it "World"

Rightclick on the world database and click on [IMPORT - RESTORE FROM SQL DUMP] Then choose the SQL file you just unzipped in the TDB folder and "EXECUTE"

When its completecreate 2 more databases call them "realmd" and "Characters"
And import the character SQL file to characters & the realmd file into realmd
You can find them in [C:\Trinity\SQL]

When its complete you will need to update your database, there are 2 folders with SQL files
[C:\Trinity\sql\updates]
[C:\TDB\updates]
just import all sql files to the right Db (world/character/realmd) :#

Apple
01-04-10, 11:09 AM
nice guide mate +Rep :)

Cocain
01-04-10, 11:35 AM
You could aswell just download the source from Google source, if you're to lazy to download Tortoise HG. :)

Dimman
01-04-10, 12:33 PM
trinitycore - Project Hosting on Google Code (http://code.google.com/p/trinitycore/)
Look at the right side, you can download it there if you dont want to mess with the Turtle (Tortoise HG)

ghost15
19-04-10, 12:19 AM
Very ***y Icky. +rep

Tsukiomi
04-05-10, 09:06 PM
Great guide + rep and i lol at the fact that it says "Do not share this guide its ONLY for the members on mmopro.com / .net " and right under it says share with facebook :)

Dimman
05-05-10, 12:33 AM
Great guide + rep and i lol at the fact that it says "Do not share this guide its ONLY for the members on mmopro.com / .net " and right under it says share with facebook :)


lulz :3

bataiver
24-06-10, 11:23 PM
Thanks!!! I didint know about this... I started to copy .cpp and .h files from code.google.com xD And i borred... All i can say is +rep +rep +rep +rep +rep +rep x10000000000

Dimman
16-07-10, 08:09 AM
Thanks!!! I didint know about this... I started to copy .cpp and .h files from code.google.com xD And i borred... All i can say is +rep +rep +rep +rep +rep +rep x10000000000
If you want to give me rep press the [R]. Dont just write it.