[Noob Friendly] Compiling ArcEmu from scratch menu

User Tag List

Results 1 to 13 of 13
  1. #1
    0ntox's Avatar Private
    Reputation
    7
    Join Date
    Mar 2010
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Noob Friendly] Compiling ArcEmu from scratch

    I know there are alot of these but I just want contribute something!

    In this Tutorial I will explain how to get the ArcEmu code, Compile it and edit the config files.

    Programs Needed for getting the code:

    TotoiseSvn

    Placing Code in folder.


    This part is still simple.
    Just create a new folder in C:/ called ArcEmu or anything, but for the easy part I will just call the folder ArcEmu the whole tutorial.
    When you've created the folder just richt click the folder and click Svn Checkout.

    After that you will have to enter a Url or repository
    That would be the ArcEmu official Svn:
    Code:
    svn://arcemu.info/svn/trunk

    Then you will just have to wait till it's all finished!

    When the svn is done downloading you will see this in the checkout window:


    Always Remember your revision!

    Congratulations you have got yourself an ArcEmu code! ;D
    Now the harder part: Compiling

    Compiling Programs Needed:
    Windows C++
    Map Extractor
    MPQ extractor 32bit or MPQ extractor 32bit Win7 orMPQ extractor 64bit
    VMAP extractor
    You will need a program that can open .rar files like Winrar
    And you will need microsoft frameworks wich can be downloaded free.
    Windows
    Windows 7

    Compiling


    To start with compiling there is an optional option,
    That option would be extraction some libraries, but that option has a fine tutorial on it's Readme text.
    You can find this at
    Code:
    ArcEmu/extras/arcemu-windows-libraries
    Now for the next step:
    Real compiling!

    Go to ArcEmu/win
    There you will find the file AcremuVC90-all projects.sln click it and your Visual studio will open.
    Now before you actually build that code you have to change the configuration from debug to release.



    Go to Build -> Configuration manager and a window will pop up.



    Now you can go to Build -> Build solution (Hotkey: F7)
    Just wait till ArcEmu is done compiling and you have this underneath:
    Code:
    ========== Build: 15 succeeded, 0 failed, 0 up-to-date, 0 skipped ====================
    If you get an error just go to the part where you got that error and look if you can find out yourself, if you can't find out yourself post the problem here.
    For vista users: Always run Visual studio as administrator.

    Now create a new folder in C:/ called what you want to name your server.
    After you have made the new folder go to ArcEmu/bin/release, then copy ALL the files that are in the and paste them in your server folder.

    Congratulations you have compiled your server! but you aren't done yet
    There is still enough to do and you are far from done!

    MPQE:
    Extrade the 3 files to your desktop
    Code:
    MPQE.exe
    ArcEmu English DBC Extractor.bat
    SFmpq.dll
    When they are extracted place them in your Wow locale folder
    Code:
    World of Warcraft\Data\"locale"
    Locale will be enGb or enUs

    Then run ArcEmu English DBC Extractor.bat and choose your locale/language (enGb or enUs)

    After it's done there will be a folder called "dbc", copy the dbc folder to your server's folder and you are done with the dbc part!

    Maps


    Go to C:/World of warcraft (Or where you have your world of warcraft folder) and place ad.exe
    ad.exe is simple, just let it run, it will create a new folder called "maps" just wait till it's done and the maps folder will be filled so you can copy it to your server's folder.
    This process can take 20minutes-1hour depending on your computer's speed

    VMaps
    This is a bit harder then ad.exe.
    Place vmapextract_v3.exe and vmap_assembler.exe in the same folder as ad.exe (C:/World of warcraft probably)
    First let vmapextract_v3.exe run, this will create a folder called buildings that will be needed by vmap_assembler.exe
    When it's done extracting buildings the folder buildings will be full, so that means you can run vmap_assembler.exe now wich will create the folder "vmaps"
    This can also take quite a while but when it's done you can place the vmaps folder in your server folder.
    You can either keep or delete the buildings folder, because when a new patch is made you will need to extract the buildings again anyway.

    Oke that was compiling! if I were you I would take a small break now.

    Config Files

    Don't worry, you have had the hard parts
    Go to ArcEmu/configs and copy all the files there to your server folder -> config folder.

    World.conf
    find this part at the top and edit it with your MySQL information:
    Code:
    <WorldDatabase Hostname = "localhost" Username = "root" Password = "passwd" Name = "arc_world" Port = "3306" Type = "1">
    <CharacterDatabase Hostname = "localhost" Username = "root" Password = "passwd" Name = "arc_character" Port = "3306" Type = "1">
    Also edit this part (The password and let it match with the password that you will fill in the logonserver.conf
    Code:
    <LogonServer DisablePings = "0"
                 RemotePassword = "change_me_world">
    For logon.conf enter your mysql info again:
    Code:
    <LogonDatabase Hostname = "localhost"
                   Username = "root"
                   Password = "passwd"
                   Name     = "logon"
                   Port     = "3306"
                   Type     = "1">
    Now change the password to the same password as in world.conf
    Code:
    <LogonServer RemotePassword = "change_me_logon"
                 AllowedIPs = "127.0.0.0/24"
                 AllowedModIPs = "127.0.0.0/24">
    Realms.conf
    Doesn't need much editing
    Code:
    <LogonServer Address = "127.0.0.1"
    	Port = "8093"
    	Name = "Default Logon"
    	RealmCount = "1">
    This is for the realm name and the ip address it is on.

    Code:
    <Realm1 Name = "Realm name"
            Address = "YOURIP:8129"
            Icon = "PVP"
            Population = "1.0"
            TimeZone = "1">
    Port forwarding

    This part is different for every router.
    So I reccomend going to Here

    Ports that need to be opened:
    Code:
    3724
    8129
    80
    8000

    Database building:


    To create a database you will need this programs:
    MySQL
    And a database editing program:
    SqlYog, Navicat, PhpMyAdmin
    But I always used HeidiSql
    I'l just use HeidiSql as the database we all use here but ofcourse this is optional

    Structures.

    When logged into your client using 127.0.0.1 and used the login and password of your configs and MySql you are almost ready to play.
    Right click at the left window of HeidiSql and choose new-> new Database.
    Do this 3x and create these databases:
    Code:
    arc_character
    arc_logon
    arc_world
    after you have done this click import -> import sql and import these structures:
    Code:
    <number>_character_structure.sql
    <number>_logon_structure.sql
    <number>_world_structure.sql
    after you have created them you can download a database.
    I recommend using WhyDB, I use it also.

    Code:
    svn:http://svn.xp-dev.com/svn/whydb-users
    Just create a new folder and download it via the svn.
    After it's download go into your whydb folder and choose import.
    A new window will pop up and what you need to do then speaks for itself.

    Congratulations you are all done!
    Just create a new account in logon-> accounts and you are ready to go.
    (Only you need to edit your realmlist to 127.0.0.1 )

    I hope this was helpfull to you and have fun with your self compiled ArcEmu server!

    Please don't spread this tutorial without my permission!

    [Noob Friendly] Compiling ArcEmu from scratch
  2. #2
    XinuX's Avatar Contributor
    Reputation
    129
    Join Date
    Apr 2007
    Posts
    583
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the contribution!
    I'll try it, reps if good

  3. #3
    0ntox's Avatar Private
    Reputation
    7
    Join Date
    Mar 2010
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the nice reply!

  4. #4
    P1raten's Avatar Banned
    Reputation
    500
    Join Date
    Mar 2008
    Posts
    1,323
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    More pictures please.

    +rep x3 for effort.

  5. #5
    0ntox's Avatar Private
    Reputation
    7
    Join Date
    Mar 2010
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Pictures of?
    And thank you!

  6. #6
    Fralexxelarfx's Avatar Private
    Reputation
    1
    Join Date
    Jan 2010
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    when you have done this, how do you patch it to like 3.3.x keeping account files but still want the new items, spawns and quests to work? i'am skilled at beeing gm(also at database editing) but not at compiling and stuff like that. please awnser i have been looking around verry long on how to patch my server, also does it work patching a repack? (not just changing server build)
    Last edited by Fralexxelarfx; 03-31-2010 at 12:48 PM.

  7. #7
    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)
    more guides = better noob service , +Rep for this even tho i dislike arcemu very much
    Doooooo+Repoooooooo+Repoooooood

  8. #8
    Fralexxelarfx's Avatar Private
    Reputation
    1
    Join Date
    Jan 2010
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    pm me the awnser please
    Last edited by Fralexxelarfx; 03-31-2010 at 01:26 PM.

  9. #9
    0ntox's Avatar Private
    Reputation
    7
    Join Date
    Mar 2010
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just update the Revision of you SVN folde rand compile it again.
    (Sorry but can't PM yet due low post count.)

  10. #10
    Andorzen's Avatar Member
    Reputation
    1
    Join Date
    May 2009
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lol, even how many times i try, it fails..


    "Cannot open include file windows.h"

    ...

  11. #11
    lol97899's Avatar Contributor
    Reputation
    104
    Join Date
    Nov 2008
    Posts
    262
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very Nice, Imma Try this sometime


  12. #12
    domonart's Avatar Member
    Reputation
    1
    Join Date
    Oct 2008
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Followed the guide, and it works great, no problems running arcemu-world o arcemu-logonserver. However, when I attempt to login (locally) I get hung up at "Connected" and i'm assuming this is because the server is producing an out-of date version of WoW.
    How would I update this to 3.3.3.11723 (My client version) as i'm unwilling to down-patch
    Last edited by domonart; 04-23-2010 at 06:03 PM.

  13. #13
    domonart's Avatar Member
    Reputation
    1
    Join Date
    Oct 2008
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I downpatched and then re-updated. it fixed the problem of being stuck at "connecting" but then whenever I tried to create a character, once logged into the account, I simply was disconnected.

Similar Threads

  1. [Trinity] How to compile TrinityCore from scratch!
    By turtleswin in forum WoW EMU Guides & Tutorials
    Replies: 6
    Last Post: 12-20-2020, 01:05 PM
  2. [How-To] Compile the newest Arcemu revision - Noob Friendly!
    By Thunderofnl in forum WoW EMU Guides & Tutorials
    Replies: 19
    Last Post: 06-12-2016, 05:10 PM
  3. [How-To] [Windows] Set up ArcEmu from scratch, in detail with pictures. (Updated 30/1/11)
    By Facerolling in forum WoW EMU Guides & Tutorials
    Replies: 98
    Last Post: 04-15-2012, 04:15 AM
  4. [Legendary Guide] Compile ArcEmu From Scratch
    By Found in forum WoW EMU Guides & Tutorials
    Replies: 18
    Last Post: 08-21-2009, 07:52 AM
  5. [Guide] Setting up ArcEmu From Scratch
    By Syrup in forum WoW EMU Guides & Tutorials
    Replies: 14
    Last Post: 10-28-2008, 01:04 AM
All times are GMT -5. The time now is 08:41 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