How to Compile: ArcEmu menu

User Tag List

Page 1 of 3 123 LastLast
Results 1 to 15 of 42
  1. #1
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to Compile: ArcEmu

    How to Compile: ArcEmu


    Compiling servers is becoming a lost art. Repacks are taking over the emulation scene, but you my friend, are going to put a stop to this repack nonsense and learn how to compile your own server. In this guide I've put together the basic steps in how to download source from a SVN, use a compiler, and give you basic knowledge on whats happening behind the scenes. I realize that there are quite a bit of these, but there is always room for improvement in all of them. I am merely giving users a choice at the guides they want to read. So don't reply saying this has already been done. I hope you enjoy the guide. NOTE: I left out the DBC, map, and DB set up. The reason I did this is because of the recent update to 3.0.2. When there is a 'Stable' version released, I will update this.



    What you are going to need:

    A C++ Compiler -
    A compiler takes the scripts it is given and compiles them into one big program. There are numerous different compilers that you can choose from with most having the same basic features. NOTE: This list is for information purposes only, we will go over downloading/installing later on in the guide.
    Free C++ compilers:
    Borland C++
    Apple C++
    Intel C++ For Linux

    Compilers that you have to pay for:
    Visual C++
    Intel C++ For Linux
    Comeau C++

    A Subversion client – A subversion client allows the user to download, and stay updated on source code releases. It allows you to download things such as ArcEmu, Ascent, various databases, Lua projects ect.Downloading/Installing the Compiler:

    We need to start with the compiler. For this tutorial we are going to use Microsoft Visual C++ 2008 Express edition. Navigate your browser to Visual C++ 2008 Express Edition and download the compiler. The download only takes a couple of minutes, but don't be fooled. Once it is finished downloading and you start it up, it will download the entire program and install it to your machine. Just follow the instructions on the very basic installation.


    Downloading/Installing the Subversion Client:

    Next we need to download the subversion client. For this tutorial we are going to use TortoiseSVN which you can find here: tortoisesvn.tigris.org
    The download and install is again, very basic. After it is done installing you will need to restart your system.


    Getting the Source Code:

    Once you have those two things installed we need to obtain the ArcEmu source code. Make a new folder on your desktop by right clicking, selecting 'new' and then folder. Once you have a new folder, name it 'ArcEmu Source'. Right click on it and click SVN Checkout.

    It will come up with a window(See Figure 1). For the URL of repository we will type
    http://www.arcemu.info/svn and hit 'OK'. It will come up with a box, and it will get all of the source code. Its going to take a while to get all of those files, so go get something to eat.

    (Figure 1)




    Installing the ArcEmu libraries:

    Open up your ArcEmu source folder, click branches, then extras, then arcemu-windows-libraries. Open up the read-me and follow the directions.
    Where it says:
    Copy the files in VC\include to VC\include.
    Copy the files in VC\lib to VC\lib.

    It means that you need to go into the folder “VC” in your arcemu-windows-libraries folder and copy the two folders inside VC called lib, and include. Now go into your Compiler directory (C:\Program Files\Microsoft Visual Studio 9.0\VC) and paste them there. It will ask if you want to replace files, click yes for all.

    Compiling the Ascent Library source:

    Once you have copied those files, navigate to your 'Sources' folder inside arcemu-windows-libraries and double click 'VC90-solution.sln'. It should open with Microsoft Visual C++. Now we are going to need to build the source. We need to change the build to release, to do this you need to go to the top of the program and there is a drop-down menu that has 'Debug', 'Release', and 'Configuration Manager'. Set it to release. (See Figure 2)


    (Figure 2)


    Now either point your mouse to the 'Build' option on the top menu and select 'Build Selection' or, press F7. It should start to compile, and you should not get any errors.





    This will create a folder called Output_Release. Go into it and copy the 2 new files. Paste them in your C++ compiler's lib directory. (C:\Program Files\Microsoft Visual Studio 9.0\VC\lib) Now get the 2 DLL files from your arcemu-windows-libraries and copy them too your System32 folder (C:\Windows\System32). You only have to do this once per compiler. You can now compile ArcEmu!


    Compiling Collision:

    Go into Trunk> Extras> Collision> Collision_DLL. Double click on 'collsion_VC9.sln' set the build to release like the same as the libraries and click build. It should compile with no errors. You will have to use v_maps to enable collision. Collision comes highly recommended, and fixes many of the in-game walking through walls and other bugs.


    Compiling ArcEmu:

    Go into your ArcEmu source folder, click 'Trunk' and then 'Win'. Now double click on arcemuVC90.sln. Set the build to release like we did with the libraries, and click build. This takes about 10 minutes, so go check your favorite forums and such. You should get a message at the end saying 3 succeeded. If you don't, make sure you installed the libraries correctly, and double check you compiled collision.


    Compiling Scripts:

    Go into Trunk> SRC> Scripts. Double click on 'scripts2008.sln'. Set the build to release and click build. This takes a bit so check your forums again :P. It should compile with no errors. It should tell you that you successfully built 6 scripts. If it says any where skipped, please refer to my Q&A.


    Making your server folder and adding the core to it:

    Make a new folder for your server (Or use your old one if you already have a server). Call it whatever you want (I called mine 'Server').

    Now, go into Trunk>Bin>Release. Copy 'arcemu-logonserver.exe' and 'arcemu-world.exe' to your new Server folder.

    Make a new folder in your new Server folder called 'script_bin'. Now go into your Trunk>Bin>Release>Script_bin. Copy all of the DLL's and paste them into your new script_bin folder.


    Now go into Trunk>src and copy the configs folder. Paste it into your new Server folder.


    You now have your core files! You have officially compiled your very own ArcEmu Server!

    NOTE:
    This is only a guide for compiling! You will not be able to start up your server without setting up a database. I will make another guide on that if it is requested. I also don't really expect this to be much of a hit, but hopefully it will help some people out.







    Last edited by Sounddead; 10-26-2008 at 11:24 PM.

    I live in a shoe

    How to Compile: ArcEmu
  2. #2
    Dr. Livingstone's Avatar Member
    Reputation
    113
    Join Date
    Mar 2008
    Posts
    290
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great guide. You are missing some pictures. At one point you say. Should look like this: But there is no picture. +Rep for a great guide

  3. #3
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Er woops. Thats what you get when you convert it from a word document :P

    And thanks

    I live in a shoe

  4. #4
    Unbelievable's Avatar Member
    Reputation
    3
    Join Date
    Sep 2008
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you man !

  5. #5
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No problem. Glad you liked it

    I live in a shoe

  6. #6
    Herleybob's Avatar Contributor
    Reputation
    178
    Join Date
    Jul 2007
    Posts
    663
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you do not need to pay for Visual C++

    Nom Nom Nom :P

  7. #7
    djblade18's Avatar Member
    Reputation
    1
    Join Date
    Oct 2008
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This guide is good i do request for the data base one too



    NOTE: This is only a guide for compiling! You will not be able to start up your server without setting up a database. I will make another guide on that if it is requested. I also don't really expect this to be much of a hit, but hopefully it will help some people out.

    Please please please and make it as detailed as this one

  8. #8
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you do not need to pay for Visual C++
    You don't need to pay for the express edition.
    Or at least.. That's what I was told.
    This guide is good i do request for the data base one too
    Ok. I'll have one up soon.
    Last edited by Sounddead; 10-27-2008 at 08:19 PM.

    I live in a shoe

  9. #9
    Edude's Avatar Member
    Reputation
    98
    Join Date
    Jul 2008
    Posts
    406
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Excellent guide.... Im using it gratz +Rep

    I request for the database one too (Everyone say "I request" at the end of the post ^^)

  10. #10
    hux77's Avatar Member
    Reputation
    2
    Join Date
    Mar 2008
    Posts
    34
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    nice guide

    Nice guide +Rep from me. can u also make a database guide?

  11. #11
    haxadin's Avatar Member
    Reputation
    1
    Join Date
    Jan 2008
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    great guide!!
    i request database guide too

  12. #12
    Krushiev's Avatar Member
    Reputation
    2
    Join Date
    Jun 2008
    Posts
    18
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very very nice, I'll give it a shot tonight!

    Thank you for this guide (I'll give rep when I can, apparently gave out too much in teh past 24 hrs )

  13. #13
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks guys. I'm currently making one but the process is very slow. I'm grounded atm and my time on the computer is very limited. The next guide should be up soon.

    I live in a shoe

  14. #14
    cchhrriiss15's Avatar Member
    Reputation
    1
    Join Date
    Oct 2008
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    NIce

    Man Nice work!

  15. #15
    onelastsin's Avatar Member
    Reputation
    5
    Join Date
    Oct 2008
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is awsome detailed and down to the point <3 <3 <3 cant wait for the database 'compilation' to come out yea?

Page 1 of 3 123 LastLast

Similar Threads

  1. How to Compile ArcEmu
    By Vindicated in forum WoW EMU Guides & Tutorials
    Replies: 171
    Last Post: 01-19-2011, 03:06 PM
  2. How to compile ArcEmu (Mac)
    By f1racer328 in forum WoW EMU Guides & Tutorials
    Replies: 3
    Last Post: 03-04-2009, 03:51 AM
  3. [Guide] How to Compile ArcEmu (FOR NOOBS)
    By DarkFever in forum WoW EMU Guides & Tutorials
    Replies: 22
    Last Post: 03-02-2009, 01:15 PM
  4. How to compile ArcEmu (Linux)
    By f1racer328 in forum WoW EMU Guides & Tutorials
    Replies: 0
    Last Post: 01-12-2009, 12:31 PM
  5. How to Compile ArcEmu Scripts
    By Sokatu in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 08-09-2008, 01:52 PM
All times are GMT -5. The time now is 02:01 AM. 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