[Epic Guide] Setting Up and Running an ArcEmu Server from Scratch!
Moonblade's ArcEmu Guide
I have been looking around on the forum but there hasn't been very many complete guides that haven't been advertising repacks or what not. So, I wanted to create this guide to help you, the user, be less reliant on repacks and for you to be able to download, compile, and run your very own WoW ArcEmu Server.
--==Table of Contents==--
1) Needed Files and Applications
A) Downloading
i) Microsoft Visual C++ and Libraries
ii) Tortoise SVN
iii) MySQL
iv) SQL Browser
B) Installing
i) Microsoft Visual C++ and Libraries
ii) Tortoise SVN
iii) MySQL
iv) SQL Browser
2) Getting ArcEmu + Database
A) Retrieving the Source
B) Retrieving the Database
3) Compiling ArcEmu
4) Setting Up ArcEmu + Database
A) Setting Up ArcEmu
B) Setting Up The Database
5) Running ArcEmu
1) Needed Files and Applications
In order for ArcEmu to compile and function properly you will need a few files and programs. Also you will need .net framework 3.5, if you don't want to get it from Microsoft updates then you can download it [Only registered and activated users can see links. ].
A) Downloading
i) Microsoft Visual C++ and Libraries
The fist thing you will need to download is Microsoft Visual C++ Express which is fairly large and will be the longest to download. It is needed to compile and edit the ArcEmu source. It can be downloaded here(Note: you do not need to install Microsoft SQL server 2008) Also you will need the ArcEmu libraries so that ArcEmu will function properly, this can be found [Only registered and activated users can see links. ].
ii) Tortoise SVN Next you will need Tortoise SVN which is used to download the ArcEmu source and the Database. It can be downloaded [Only registered and activated users can see links. ].
iii) MySQL You will also need MySQL which is used to allow your characters to be saved and for your ArcEmu server to work right. It can be downloaded [Only registered and activated users can see links. ].
iv) SQL Browser In order to be able to edit and access you will need a SQL browser. My favorite is Navicat which can be downloaded [Only registered and activated users can see links. ]
B) Installing
Between each install be sure to restart your computer
i) Microsoft Visual C++ and Libraries
For this install all you will need to do is just follow the on screen instructions and make sure you deselect Microsoft SQL Server 2008 because it is pointless to have if we already have MySQL =D. Once you have finished installing Microsoft visual C++ you will need to extract the libraries. In order to do so you will need to navigate to C:\program files\Microsoft Visual Studio 9.0, once there you will need to copy the /VC folder from ascent-windows-libraries to the Microsoft VS Folder, you will be prompted to confirm file replacement, click yes to all. Do not delete the ascent-windows-libraries folder just yet.
You will also need to copy over the the two DLLs in the DLL folder to c:/windows/system32
ii) Tortoise SVN
Just follow the on screen instructions if you need help just ask.
iii) MySQL
Now comes the kind of tricky part. Run the installer follow the the installer until it finishes installing. Once you finish a configuration will open. Click next, then standard configuration, click next, then next again. Now it will prompt you to set a password, this is very important because it I used by almost every part of the server, I will be referring to it as <Pass>, once you have entered the password click next. Then click execute. If you ever for any reason need to access the configurator again it's under "Start> All Programs> MySQL> Mysql server 5.1> MySQL Server Instance Config Wizard".
iv) SQL Browser
Just follow the on screen instructions if you need help just ask.
2) Getting ArcEmu + Database
This is where the fun starts. It's time to start working on the ArcEmu WoW server it self.
A) Retrieving the Source
To get the ArcEmu Source all you need to do is, create a new folder and open the folder, then right click the new folder and click SVN Checkout, once you have done that then you will put svn://arcemu.info/svn/ for URL of repository and click okay.
B) Retrieving the Database
There are many ArcEmu databases out there but today we're going to use WhyDB because it is the easiest to build off of DB. You will go thought the same process as you did for getting the ArcEmu source except you will put [Only registered and activated users can see links. ] for URL, but really you can use any ArcEmu database you would like.
3) Compiling ArcEmu
Compiling ArcEmu is a lot simpler then most people think, all you have to do is navigate to the folder where you downloaded the ArcEmu SVN, for me this is a folder on my desktop called ArcEmu, once inside go to a folder called trunk. Now, go to the folder win and run the file arcemuVC90 - All Projects.sln. If you want to do any editing in the core you could do it here but, that is another guide =D. To compile it just Build> Configuration Manager, then click on the drop down tab that says debug and change it to Release, close it. Now, go to build> build solution or just press F7, (Note: This may take a while if you have an old computer.)
4) Setting Up ArcEmu + Database
You can almost see your shiny new ArcEmu sever, only a few more greuling setps =D.
A) Setting Up ArcEmu
Now that you have compiled the server you can now start setting it up so you'll be able to have it running properly. First you have to get your Compiled ArcEmu form trunk/bin/release. The only files you really need to move to a new folder are arcemu-logonserver.exe arcemu-world.exe collision.dll and the 4 folders that dbc maps script _bin and scripts. If I didn't mention this you are supposed to make a separate folder to hold the ArcEmu compiled server. Also you will need the configs from trunk/configs, just copy the whole configs folder to your server folder. Next you will need to get the latest Maps and DBCs either from your client for from downloading them from [Only registered and activated users can see links. ]for 3.0.9. Extract each of these in the corresponding folders I.E. Maps go in maps DBCs go in dbc. (I cannont post maps because the are to large to upload but they aren't really needed anymore.)
B) Setting Up The Database
Now It's time to set up the database. Open up navicat create a new connection and under pass put the <pass> I told you we would need later. Then press OK. After that open the connection by double clicking on localhost, then right click localhost and click new database, you will be making 3, one named world, one named char and, one named logon. Go to the folder where you downloaded WhyDB, there should be a file called tool.bat. Right click it and press edit. Change WhyDB_world to world. then save and close it. Now open tool.bat, it will ask you for you information, the first will be root the second will be your <pass>. Then type i and press enter. Now you need to go back to navicat and double click char and logon. After you have done so you will need to right click them and choose execute batch file,Now go to <ArcEmu Source>/trunk/sql/ and find the database structure for the corresponding database. Now go to <ArcEmu Source>/trunk/sql/utilities and open ArcEmu DB Updater.bat, for this you will need to type in, localhost, 3306, root, <pass>(your password), logon, char, world. Now you will need to type a and press enter.
5) Running ArcEmu
Before you can run ArcEmu you will need to set up the configs.
<WorldDatabase Hostname = "localhost" Username = "root" Password = "<pass>" Name = "world" Port = "3306" Type = "1">
<CharacterDatabase Hostname = "host" Username = "username" Password = "<pass>" Name = "char" Port = "3306" Type = "1">
<Server PlayerLimit = "100"
Motd = "Welcome to an ArcEmu based server! Wrath of the Lich King is now live!"
SendStatsOnJoin = "1"
EnableBreathing = "1"
SeperateChatChannels = "0"
CompressionThreshold = "1000"
QueueUpdateInterval = "5000"
KickAFKPlayers = "0"
ConnectionTimeout = "180"
RealmType = "1"
AdjustPriority = "0"
RequireAllSignatures = "0"
ShowGMInWhoList = "1"
MapUnloadTime="0"
LimitedNames="1"
UseAccountData="0"
AllowPlayerCommands="0"
EnableLFGJoin="0"
TimeZone="0"
Collision="0"
DisableFearMovement="0">
<Rates Health="1"
Power1="1"
Power2="1"
Power3="1"
Power4="1"
QuestReputation="1"
KillReputation="1"
Honor="1"
PvPTimer="300000"
ArenaQueueDiff="150"
Compression="1"
XP="1"
QuestXP="1"
RestXP="1"
ExploreXP="1"
DropGrey="1"
DropWhite="1"
DropGreen="1"
DropBlue="1"
DropPurple="1"
DropOrange="1"
DropArtifact="1"
DropMoney="1"
Save="300000"
SkillChance="1"
SkillRate="1"
ArenaMultiplier2x="1"
ArenaMultiplier3x="1"
ArenaMultiplier5x="1">
<LogonServer DisablePings = "0"
RemotePassword = "logon">
ArcEmu-Realm.conf
Code:
<LogonServer Address = "127.0.0.1"
Port = "8093"
Name = "Default Logon"
RealmCount = "1">
<Realm1 Name = "Test Realm"
Address = "127.0.0.1:8129" #Change this to your Ip, external if your ports are open, local if you want to host on lan..
Icon = "PVP"
Population = "1.0"
TimeZone = "1">
Note: Don't just copy and paste my configs, it will not work.
The other configs are optonial if you want to chang them, go ahead =D, Now all you need to do is start ArcEmu-World.exe and ArcEmu-Logon.exe and your set. Don't forget to change your realmlist to 127.0.0.1 =). This is what you should end up with, I followed the guide exactly I said it and it comes out working perfect =-D.
I really hop that this guide helps. If you have any suggestions or Questions please feel free to post in this tread or send me a PM. Also guys and gals, I completly wipe my laptop to make this guide for ya'll so be happy.
Hope you don't get too confused,
<3 Moonblade
Last edited by moonblade0421; 04-17-2009 at 11:01 PM.
You won't have any problems that the repacks have. Your doing everything youself. You know where everything is and what you changed to cause a problem.
The main reason you would compile it your self and not use a repack is, that you have complete control of what you are doing and putting into your server.
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Join Date: May 2007
Posts: 10
Reputation: 1
how big is the svn download and when i try and when i type in WhyDB - Revision 270: / it says that it is not a url and then nothing happens what do i do??
When I run arcemu-world it won't authenticate here is a pic of it. Probably not enough info just from that but, if you want to see the configs just ask.
When I run arcemu-world it won't authenticate here is a pic of it. Probably not enough info just from that but, if you want to see the configs just ask.
It will be much easier to help if you provide a screenshot of you arcemu-logon too