Yeah yeah i know another compiling thread, but i'll try and make this easy to understand and yet detailed.
1.1: The Programs Used.
2.1: Folder creation
3.1: Compiling
4.1: Server going public
4.2 Setting up a website
1.1: The Programs used:
Visual Studio C++ 2008 Microsoft Use the 2008 version, it's the only one that works for me, also use FireFox, as IE fails and Safari won't open it up on my pc.
Toutoise SVN
Used to retreive the Core and Database (Thanks Kiev)
HeidiSQL
For editing the DataBase, you could also get something like Navicat.
2.1: Folder creation
I know this sounds stupid but this part got me confused ALLOT in the beginning.
Firstly; Create a folder called ArcEmu on your desktop, Like this: C:\Users\Gringo\Desktop\ArcEmu (Gringo is my account name on this pc, don't ask why.)
Then inside that ArcEmu folder on your desktop, create a folder called ArcEmu and a folder called Core.
Like this
ArcEmu:
Core: C:\Users\Gringo\Desktop\ArcEmu\Core
ArcEmu: C:\Users\Gringo\Desktop\ArcEmu\ArcEmu
After you've done that create yet another folder called ArcEmu in your second ArcEmu folder, it should look like this:
Now create a folder called Server inside your second ArcEmu folder, it should look like this:Code:C:\Users\Gringo\Desktop\ArcEmu\ArcEmu\ArcEmu
Now the first step is set to your own compiled Private Server.Code:C:\Users\Gringo\Desktop\ArcEmu\ArcEmu\Server
3.1: Compiling The Server
Now we're going to create the Core itself.
RIGHT click on the map on your desktop called ArcEmu
And click SVN Checkout, At URL Of Dipository you paste this:This shouldn't take long (depending on your internet speed though)Code:svn://arcemu.info/svn/
Now the real Copmpiling starts.
Go toAnd click on arcemuV90-allprojectsCode:C:\Users\Gringo\Desktop\ArcEmu\Core\win
Now on the top you'll see something called "Build" click on this and then on "Configuration manager" and change "Debug" To "Release" click on close and press F7 (or click on build-Build Solution)
This is going to take a while so go watch TV or take a shower or something or go outside and get some sun!
When ti's done it should say:
(When you get an error and you are on Windows Vista always open it as an administrator)Code:========== Build: 15 succeeded, 0 failed, 0 up-to-date, 0 skipped ====================
When this is done go to
And copy EVERYTHING toCode:C:\Users\Gringo\Desktop\ArcEmu\Core\bin\Release
C:\Users\Gringo\Desktop\ArcEmu\ArcEmu\ArcEmu
Once that is done, you could download a Blizz-Like repack and cope EVERYTHING inside the "Server" folder to your server folder located at:
Or you could download MySQL and get a fresh database (i'll add this later)Code:C:\Users\Gringo\Desktop\ArcEmu\ArcEmu\Server
Congarts, your compiling is now done, the hardest part is over with.
Note: you absolutely NEED to get DBC files for patch 3.3.2 (atm) just get them from the repack you downloaded earlyer. I'll upload them soon.
4.1: Server going public
Now to get the server public located this folder:
And open up the Realms.CONF file, now locate the following:Code:C:\Users\Gringo\Desktop\ArcEmu\ArcEmu\ArcEmu\configs
Change the adress to your external Ip wich can be found here:Code:<Realm1 Name = "Realm-Name-here" Address = "127.0.0.1:8129" Icon = "PVP" Population = "1.0" TimeZone = "8">
What Is My IP Address - Shows Your IP Address
Copy and paste that, also change the Realm-Name-Here to the wanted realm name.
Next to to this website: DynDNS.com: Free DNS Hosting, E-mail Delivery, and VPS Hosting
Create an account,Login and then click on My Services on your left side.
Now you'll see "Host Services" Click on "Add HostName"
The Hostname will be the realmlist for your server.
so choose wisely (can be changed later on though) in the IP Adress box just click on '"Your current locations IP Adress is **.**.**.*
Leave the other options untouched.
Now you need to forward these ports if you have a router:
3036 TCP
6112 TCP
3306 TCP
8050 TCP
6881 TCP
8093 TCP
8129 TCP
3727 TCP(this is for voice chat, IF you want it)
80 TCP(this is for your website)(You can also use port 8080 wich is better.
Now lcoate the following folder:And open up the Hosts FileCode:C:\Windows\System32\drivers\etc\
Then add this to it at the bottom:
You found your External IP earlyer in this guide.Code:127.0.0.1 Your DNS from DynDNS.com External IP DNS from DynDns.com Internal IP DNS from DynDNS.com
To find your Internal IP open up your command prompt and enter "CMD" then in that type "Ipconfig" Now you'll see a bunch of numbers, but the one we need is Standard Gateway or IP4V Adress
And now, we're done, remember to give your friends the realmlist you created at DynDNS.com but you need to login with the realmlist "Set Realmlist 127.0.0.1"
Pictures and the Website guide coming up very soon.
Please give me some feedback on how to improve this guide.