PDA

View Full Version : How to Compile 4.3.4 Cataclysm Server / How to compile 4.3.4 TrinityCore



Wise
06-09-13, 01:48 AM
Compile your own 4.3.4 Cataclysm Server.

http://images.crossfire.uk.net/news/Cataclysm_Banner.jpg



Programs needed:


GitExstensions (https://code.google.com/p/gitextensions/downloads/detail?name=GitExtensions233SetupComplete.msi&can=2&q=)
Visual C++ 2008 (http://go.microsoft.com/?linkid=7729279)
CMakel (http://www.cmake.org/cmake/resources/software.html)
OpenSSL (http://slproweb.com/products/Win32OpenSSL.html)
Jeuties Portable MYSQL 5.5.9 (http://www.ac-web.org/forums/showthread.php?t=111061)
HeidiSQL (http://www.heidisql.com/download.php)



Downloads for maps,vmaps,dbc,mmaps(Thanks Anthony for sharing):


DBC (http://anthonys-toolbox.org/434-enUS-dbc-3-11-13.rar)
Maps (http://anthonys-toolbox.org/434-enUS-maps-3-11-13.rar)
MMaps (http://anthonys-toolbox.org/434-enUS-mmaps-3-11-13.rar)
VMaps (http://anthonys-toolbox.org/434-enUS-vmaps-3-11-13.rar)





I. Start off with downloading these 3 files:

4.3.4 Branch (https://github.com/TrinityCore/TrinityCore.git)
select 4.3.4 as BRANCH and download the ZIP File.
4.3.4 DB (http://www.trinitycore.org/f/files/download/9-tdb-full-434/4/]4.3.4%20DB)
4.3.4 DB Updates (https://github.com/trinitycore/trinitycore_4.3.4_DB_alpha)


II. Installing
Create a new folder on your C:\ name it Trinity or just extract the TrinityCore-4.3.4 to the C:\
Drop in the other files that we downloaded to TrinityCore-4.3.4 or your new created map.
Open up CMake and take the folder path from TrinityCore-4.3.4 and paste it into Source code. At Binaries make a new folder called Build


How it should look like:
http://i.imgur.com/gsf0KMf.png

After you've done this hit Configure and select Visual Studio 10 or Visual Studio 9 2008 and hit "Finish"
http://i.imgur.com/oboHFSj.png

This is how it should look if done correctly
http://i.imgur.com/EIT27JW.png


Press "Generate" and after that go into your Build folder and open up TrinityCore
http://i.imgur.com/bo2WX3j.png

Once the program is open select it to "Release" and right click on Solution 'TrinityCore' and do "Clean Solution" then press F7
and let it compile it.

http://i.imgur.com/bABYUeH.png


After this open upp the OpenSSL folder and copy the .dll files into the "Release" folder


libeay32.dll
libmySQL.dll
ssleay32.dll




Now would also be the time to put in the _Server folder that you got from Jeuties portable MYSQL and also the DBC,Maps,MMaps and VMaps folders.(remember to rename authserver.conf.dist/worldserver.conf.dist to worldserver.conf and authserver.conf

http://i.imgur.com/qt3txKW.png

Open up Authserver and Worldserver and rename the databaseinfo


LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;auth > LoginDatabaseInfo = "127.0.0.1;3306;root;ascent;auth
LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;auth > LoginDatabaseInfo = "127.0.0.1;3306;root;ascent;auth
WorldDatabaseInfo = "127.0.0.1;3306;trinity;trinity;world > WorldDatabaseInfo = "127.0.0.1;3306;root;ascent;world
CharacterDatabaseInfo = "127.0.0.1;3306;trinity;trinity;characters > CharacterDatabaseInfo = "127.0.0.1;3306;root;ascent;characters




Now it's time to open up Hedisql and create our three databases "Auth" "Characters" and "World" do this by logging in with this info

IP:Localhost / Username: Root / Password: Ascent / Port: 3306
http://i.imgur.com/ISYSyVq.png


Right Click on Unnamed (unless you change the name for your DB) and pick "Create New" and select "Database"
http://i.imgur.com/KVh9ZUh.png


Now it's time to execute the databases with SQLs that contains neccessary files that will make the server run.
Click on one Database such as "Auth" press CTRL+O and locate the sql folder inside your trinitycore "Pathway: C:\TrinityCore-4.3.4\sql\base" and execute each SQL for each database.

http://i.imgur.com/g7aUZz7.png


Execute the "TDB_full_434.05_2013_07_17.sql" for your world database.


After you have executed the SQLs its time to start the worldserver.exe and authserver.exe wait for to load and change your realmlist to 127.0.0.1

http://i.imgur.com/qkNaa2N.jpg


Congratulations you now got your own 4.3.4 server.


-BIGBLUE-




Note:

I know theres already a guide by Jeutie he's basically covered it all but since I saw some posts about compiling a 4.3.4 server I thought I should cover it. Hate it or love it here it is.


Thanks for reading!

ExonatioN
12-09-13, 11:35 AM
Might be useful, thanks for sharing ;o

Laladin
16-09-13, 07:49 AM
Thanks for sharing!!

swubu
18-10-13, 07:48 AM
thnx for the share ;)

MadAgos
07-01-14, 06:25 PM
I've an issue to download branch 4.3.4, always error

burnmymana
13-04-14, 05:14 AM
Nice, thanks for sharing