PDA

View Full Version : [TrinityCore] How to setup Eluna on Trinitycore



Wise
11-10-17, 02:02 PM
This guide was originally posted by vxean - How to setup Eluna on Trinitycore

This guide only explains how you pull the Eluna source and build it, the guide does not explain how you setup DBC, vmaps, maps or the Database or how you connect to your server. if you wish to install 32 bit you can still follow this guide, but you would have to download 32 bits. This guide does not either explain how you setup Mysql.
Original guide was made in a google Documment, it can be found HERE (https://docs.google.com/document/d/1wEpTgR-8OI_b2nobRb-I2_8nBBS86-FQWDfZNLjtVMM/edit?usp=sharing) for easier accessibility.

Trinitycore Eluna 3.3.5 WINDOWS10 installation guide
This is a guide Made by Syphex(A.K.A Syphex97 or vxea/vxean) at 2017 Jan 20th

Link to Trinitycores Requirements guide - here (https://trinitycore.atlassian.net/wiki/display/tc/Windows+Core+Installation)
Software requirements (64 bit) - you can download 32 bits and follow the guide too.
GIT: DOWNLOAD (https://git-scm.com/download/win)
Mysql, download the installer: DOWNLOAD (https://dev.mysql.com/get/Downloads/MySQLInstaller/mysql-installer-community-5.7.19.0.msi)
Boost libaries 1_60_0: DOWNLOAD (https://sourceforge.net/projects/boost/files/boost-binaries/1.60.0/boost_1_60_0-msvc-14.0-64.exe/download)
Cmake 3.9.0 x64: DOWNLOAD (https://cmake.org/files/v3.9/cmake-3.9.0-win64-x64.msi)(x32 DOWNLOAD (https://cmake.org/files/v3.9/cmake-3.9.0-win32-x86.msi))
OpenSSL x64 v1.1.0f: DOWNLOAD (https://slproweb.com/download/Win64OpenSSL-1_0_2L.exe)
Visual Studio community: DOWNLOAD (https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=Community&rel=15)
(if link is broken download Visual Studio community at LINK)

Optional - Trinitycore’s optional guide - here (https://trinitycore.atlassian.net/wiki/display/tc/Optional+Software)
Notepad ++ Download (https://notepad-plus-plus.org/download/v7.4.2.html) (very good text editor i recommend this, it will make your life easier)

Be sure to restart you computer after installing all the software
Boost Environment Variable Path Setup
Now you need to setup environment variable path for Boost libaries.


Go to “My Computer”, Right click and press “properties PIC
To the left side of the new window press “Advanced System Properties”
Down to the right on the new window right above “OK” press “Environment variables”
Under “System variables” press “New” and add a new path.
Press “OK” then “Apply” until both windows have closed down.
Done.


Git bash setup
During the installation do not Do not close the console window until the process is done



Navigate the the destination where you want your server to be, create a folder called “TC Eluna Source”
Open up the new folder and right click > Press “Git bash here” Copy and paste:
git clone https://github.com/ElunaLuaEngine/ElunaTrinityWotlk --recurse Guide updated. thanks to
Navigate to the new folder “ElunaTrinityWotlk” and change the name to “TC Eluna Source” once inside create a new folder called “scripts”
Done.





Trinitycore’s installation guide - HERE (https://trinitycore.atlassian.net/wiki/display/tc/Windows+Core+Installation) (with pics, scroll down to cmake)
Cmake Guide



Open up cmake, and fill in the 2 locations
Source code: Press the button “Browse source” and navigate to your source folder in this case its “TC Eluna Source”
example: C:/Wow_server/TC Eluna Source/
Build Binaries: Do the same as above but this time a different folder
example: C:/Wow_server/TC Eluna Build/
Down to the left Press “Configure” and choose “Visual studio 14 2015” and then press finish, Let it configure.
Press generate and it will generate the game files, make sure that you did not have any errors during the process or you will get a corrupted build.
Done




Trinitycore’s setup Guide - Here (https://trinitycore.atlassian.net/wiki/display/tc/Windows+Core+Installation) (scroll down to "compiling the source")
Server Setup Guide



Navigate to your build folder, if you have followed the guide so far it can be found in the folder “TC Eluna Build” Open up the folder.
Once inside the folder find “TrinityCore.sln” open this with VS up and let Visual studio load.
Once inside to the top of your screen in the menu bar there will be a box and “Debug” will be chosen, press the box and choose “Release”
Down to the right of the screen in VS press “Solution ‘TrinityCore’ “ Right click this and press “Build Solution”
This will take some time depending on your pc specs, it can take from 5 minutes to 1 hour.
once done it should say example:



========== Build: 23 succeeded, 0 failed, 0 up-to-date, 1 skipped ==========
This can be random, as long as it says 0 failed you’re fine.
If you have more than 1 failed go to the “Error List” and post your issue on the forum Ac-Web (link above)
Once the build is done, close Vs and navigate to the folder “bin”
Open it up and you should find a folder called “Release” Copy this (COPY IT) and paste it outside the Build folder
Once you’ve pasted the folder outside the build folder etc “c:\Wow_server\”
open it up and rename the files authserver.conf.dist & worldserver.conf.dist to
Now you need to setup the required game files (Vmaps, maps, dbc etc) Follow this guide here (https://trinitycore.atlassian.net/wiki/display/tc/Server+Setup)





Database, Port and connection guides
Databases installation guide can be found here (https://trinitycore.atlassian.net/wiki/display/tc/Databases+Installation)
Ports and addresses guide can be found here (https://trinitycore.atlassian.net/wiki/display/tc/Networking)
How to connect to your server and client setup can be found here (https://trinitycore.atlassian.net/wiki/display/tc/Client+Setup)

If any help is desired i can do so when i have time, comment below if so.
I've setup TrinityCore & Eluna Merged with TrinityCore for alot of different people on different computers and servers. so i'm well accustomed with installation and setup errors.

I think i got an error?
If Cmake succeeds but it says “Boost_DIR-NOTFOUND” it doesn't mean anything, you can still build the server without any errors. - NOTE that when you build it will say that you have an unknown compiler build, this doesn't really mean anything other than what it says. it will not cause any issues

Possible Errors
Boost_INCLUDE_DIR is not found
you need to build the boost path like i did above in the guide, it’s possible you are using a different version that may cause an issue.

When i start up world i get an error but not when i startup auth.
This is because you have the wrong DLL files, Make sure you have the files for either 32 or 64 bits you decided to compile.

I get a error message with a code when i try to startup auth or world.
This is the same issue as above.

Changes -
Git Bash Setup (New code for easier pull thanks to *FoeReaper)
Git Bash Setup removed 2 lines(changes can be seen in the google document)
Cmake Version changed due to conflicts with Latest VS installation
Added possible solutions for errors and other path finding issues.