how to compile a trinitycore+start the server. menu

User Tag List

Results 1 to 12 of 12
  1. #1
    razorwolf49's Avatar Member
    Reputation
    6
    Join Date
    Jul 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to compile a trinitycore+start the server.

    Complete guide to Compile and run your Trinity core 3.X.X server.




    First before we get started, Id like to tell everyone what ports they have to forward in order for everything to run smoothly.
    3784
    3306
    3724
    8085
    8129
    80
    3307
    To find out how to forward your ports, use PortForward.com - Port Forwarding Guides Listed by Manufacturer and Model

    Now we can start, we are going to need a few programs.
    1. * TortoiseHG-tortoisehg / stable / wiki / download — bitbucket.org

    * TortoiseSVN-TortoiseSVN | The coolest Interface to (Sub)Version Control

    * Visual Studio 2008 -Visual C++ 2008 Express Edition

    * Xampp- apache friends - xampp for windows

    * .NET Framework 3.5 (you should already have it via your Windows updates)-(google is your friend)

    * SQLYog-(trial version, requires shot forum fillout)-Download


    Please make sure all the downloads listed are ready for use, and downloaded correctly, before going on further.

    -------Getting the source-------
    Create a folder on your desktop, name it Trinitycore. Then right click it, click TortoiseHG Clone a Repository, Fill in the following code
    Code:
    Source Path: http://dev.trinitycore.org/trinitycore2/
    Destination Path: (where ever your trinitycore file is located)
    This will take a few minutes to complete.

    -------Compiling the Source-------
    Go to you C++ visual studio, go to the menu open up \win\TrinityCore&Script VC90.sln
    Go on the top menu 'Build' and click on Configuration Manager. Make sure you set the build to 'release Win32' or 'release x64' depending on the Operating System Trinity will be running on.Compilation length differs from machine to machine, you should expect it to take 15-30 minutes.

    You will find the following message once the compilation has finished successfully:

    Build: 11 completed, 0 failed, 0 up-to-date, 0 skipped



    -------Keeping your DB up to the current patch-------
    Just click on your TrinityCore folder , and click 'TortoiseHG' -> 'SynchronizeClick on the button 'pull' at top of the window and it will start pulling the new/updated files. Once it is finished click on 'Update to Branch Tip' at the bottom of the window and you are done! Now you can repeat the compiling procedure above.


    -------installing the DB-------
    Here we are going to use the very own DB from trinity core, which is called TDB,
    Create a folder, name it TDB, then right click, and click on SVN CHECKOUT, fill in the code -->
    Code:
    URL of Repository: http://svn.assembla.com/svn/trinitydatabase
    Checkout Directory: (where ever your TDB file is located.
    Click on 'ok'. Wait a few minutes (or less) and all the files will be pulled in the directory

    -------Db install-------
    The first two are to be taken from the Core directory, the world DB is to be taken from the TDB directory.

    1) Create the three databases by importing C:\Trinity\sql\create_mysql.sql. You now have three databases called realmd, characters and world.

    2) Import realmd database structure by importing C:\Trinity\sql\realmd.sql in the realmd DB.

    3) Import characters database structure by importing C:\Trinity\sql\characters.sql in the characters DB.

    4) Unzip C:\TDB\trunk\full_db\TDB_0.0.5_5254.zip and import world DB structure and contents by importing TDB_0.0.5_5254.sql in the world DB.

    5) Import C:\TDB\trunk\updates\21_corepatch_world_5255_6376.sql.

    6) Import C:\TDB\trunk\updates\21_updatepack_world.sql.

    7) Import all *.sql update files from C\Trinity\sql\updates which start with a number above '6376' so that your DB structure is up to date with the revision you just pulled and compiled.

    Import all files from C:\Trinity\sql\FULL directory in any order.

    Note: Now your world DB structure is for TrinityCore2 revision 6376. You need to import the update files to have the proper world DB structure for the revision you just pulled and compiled.. You will notice they are all named XXXX_world.sql or XXXX_characters.sql or XXXX_realmd.sql, and you need to import the *_world_*.sql files only!


    --------Setting up the server--------
    Now that you have the Source compiled and the Databases installed, you need to set up the server.
    Extracting dbc, maps and vmaps files

    In order to run Trinity needs dbc and maps files. In addition, if you want to enable vmaps (mobs not seeing through walls, etc) you will need to extract them as well.
    dbc and maps files

    Find the application C:\Trinity\contrib\extractor\ad.exe and place it in your WoW Client directory. Before running this application, run your Client once (the login screen is enough). You need to do this so that the 'ad.exe' knows where your Client is and where to extract the files.

    Now you can run 'ad.exe' and you will find two directories in your WoW Client called 'dbc' and 'maps'. Move them where your Trinity binaries are (C:\Trinity\bin\Win32_release or C:\Trinity\bin\x64_release).
    vmaps (optional)

    You can also extract vmaps which will take quite a while depending on your machine (1-2 hours).

    Copy all files from C:\Trinity\contrib\vmap_extract_assembler_bin\ to where all your binaries, dbc dir and maps dir are. Run makevmaps_SIMPLE.bat. It will take a long time. It will first create a directory called 'buildings'. Then it will start extracting files to the directory 'vmaps'.

    You will not see any progress in the application's window or anything else. You will just notice files being created in the 'vmaps' folder as it is proceeding. Do not stop the process.


    Configuring the Server

    First of all you need to change the extension of TrinityCore.conf.dist -> TrinityCore.conf and TrinityRealm.conf.dist -> TrinityRealm.conf (make sure you enabled "show known files extensions" in the Windows folder option). Then you can edit them.
    TrinityCore.conf

    Edit MySQL account username and password (instead of trinity;trinity).
    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"
    TrinityRealm.conf

    Edit MySQL account username and password (instead of trinity;tirnity)
    Code:
    LoginDatabaseInfo     = "127.0.0.1;3306;trinity;trinity;realmd"
    If you extracted vmaps then edit the following
    Code:
    vmap.enableLOS = 1 -- set this to 1
    vmap.enableHeight = 1 -- set this to 1
    vmap.ignoreMapIds = "369"
    vmap.ignoreSpellIds = "7720"
    vmap.petLOS = 1 -- set this to 1
    You need to make sure that TrinityRealm.exe directs incoming connections to your realm. In the realmd DB there is a table called realmlist. You need to edit the field address according to your needs:
    Code:
    127.0.0.1 -- Leave default localhost if you are connecting alone from the same machine Trinity runs on.
    LAN ip -- Use the machine's LAN ip if you want other computers from the same network as Trinity's to connect to your server.
    Public ip -- Use your public ip if you have friends and testers which need to connect your server from the internet.


    Now for xampp
    type local host in your browser, and go into phpmyadmin, then create your own user. This allows you to name the data base in Mysql what ever you want, and also use what ever password, when you create a host, make sure it's set to Local host.


    If you have any problems please feel free to ask, if enough people comment this, and need a guide to get your server live, please say so. I'll make another guide.

    CREDITS---->Razorwolfgaming, Trinitycore.
    Last edited by razorwolf49; 12-12-2009 at 12:50 AM. Reason: Was in a rush, fixed Spelling on Razorwolfgaming

    how to compile a trinitycore+start the server.
  2. #2
    Found's Avatar Banned
    Reputation
    239
    Join Date
    Mar 2009
    Posts
    642
    Thanks G/R
    1/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very nice guide and I will +rep on that note. Keep making them !!

  3. #3
    razorwolf49's Avatar Member
    Reputation
    6
    Join Date
    Jul 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by L0st View Post
    Very nice guide and I will +rep on that note. Keep making them !!
    Thanks so much for the comment =]!

  4. #4
    Sinclipse's Avatar Member
    Reputation
    3
    Join Date
    Aug 2008
    Posts
    28
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    razorwolf49 you have a MSN or something you could add me too? Got a few questions.

  5. #5
    razorwolf49's Avatar Member
    Reputation
    6
    Join Date
    Jul 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep, feel free to add me. [email protected]

  6. #6
    azack's Avatar Banned
    Reputation
    -1
    Join Date
    Sep 2008
    Posts
    50
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    May or may not use.
    +Rep when I can.

  7. #7
    razorwolf49's Avatar Member
    Reputation
    6
    Join Date
    Jul 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks, I'm going to create another guide some time soon, a repack version.

  8. #8
    Xees's Avatar Contributor

    Reputation
    92
    Join Date
    Aug 2009
    Posts
    189
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +Rep

    Helped me understand some stuff

  9. #9
    atomikgodz's Avatar Member
    Reputation
    1
    Join Date
    Oct 2007
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    hey

    does trin core support 3.3.0?

  10. #10
    Brucey125's Avatar Corporal
    Reputation
    5
    Join Date
    Nov 2009
    Posts
    23
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by atomikgodz View Post
    does trin core support 3.3.0?
    There are repacks out there for trinitycore 3.3.0 and some compiles for 3.3.0 but TrinityCore official Repository does not support 3.3.0 neither does their website :P

  11. #11
    atomikgodz's Avatar Member
    Reputation
    1
    Join Date
    Oct 2007
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    thanks

    alright thanks ya im doing alot of research on repacks and what not trying to compile my own with arcemu but patching it to 3.3.0 i cant find anything on it i heard terrorblade came out with a patch to bring it up to 3.3.0 but cant find it so im testing out diff repacks mangos/arcemu havent quite tested any trin cores...

    but im brainstorming looking around my goal is to make a custom pvp instant 80 diff from every other servers and ive played a whole crap load of them and still do... also with a blizzlike realm a funserver will have to wait until i get quite Great at this lol but thats my general plan any pointers?

  12. #12
    LosTGeNx's Avatar Member
    Reputation
    1
    Join Date
    Jan 2008
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by atomikgodz View Post
    does trin core support 3.3.0?
    Trinity Core is in 3.3.2 Active development, so your answer is yes. They do support 3.3.0.

Similar Threads

  1. [Guide] How to compile TrinityCore, Start to Finish
    By myran2 in forum WoW EMU Guides & Tutorials
    Replies: 184
    Last Post: 03-06-2011, 04:22 PM
  2. How to edit build send to the server
    By Khira in forum WoW Memory Editing
    Replies: 8
    Last Post: 04-30-2010, 06:25 PM
  3. [Guide] How To Compile a Aspire Core WoW Server!
    By XC4T4LY5TX in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 11-05-2008, 07:59 AM
  4. How do i make objects to stay, not disappear next time i start the server.
    By Grolo in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 02-24-2008, 10:29 AM
  5. the ppl i hate on the server and how to own em?
    By Meister in forum WoW Scam Prevention
    Replies: 17
    Last Post: 01-02-2007, 09:44 AM
All times are GMT -5. The time now is 03:59 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search