Clockworks Gaming Archive 4.0.6_4.1.0_4.2.2_4.3.0_4.3.4_5.1.0
Welcome to my dev archive. I hope you find what your looking for. Kind regards _Ikester_
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» phoenix-w7r8
Wed Nov 05, 2014 12:05 am by _IKESTER_

» Please come visit my new site
Tue Jul 22, 2014 3:45 pm by _IKESTER_

» 5.1.0 Mop_Eve_online multi server.
Thu Jun 26, 2014 3:26 am by _IKESTER_

» Clockworks cata updated 2014
Sat Jan 11, 2014 3:23 pm by _IKESTER_

» {Release} Tree Trinity 3.3.5 Stable Playerbots v17
Mon Dec 09, 2013 5:23 pm by _IKESTER_

» 2500_PHP_SCRIPTS_MEGA_PACK
Thu Oct 31, 2013 11:27 am by _IKESTER_

» 5000 Web Templates Incl. Php,Flash,_Ikester_.rar
Thu Oct 31, 2013 11:25 am by _IKESTER_

» Top wow addons
Sun Oct 27, 2013 1:26 pm by _IKESTER_

» Large lua script bundle for arcemu.
Mon Oct 21, 2013 10:15 am by _IKESTER_

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
November 2017
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
27282930   

Calendar Calendar

IKESTER

Compiling ArcEmu from scratch

View previous topic View next topic Go down

Compiling ArcEmu from scratch

Post by EVIL MONKEY on Tue Jan 18, 2011 5:35 pm

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

Guide on updating patches can be found by clicking this

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:
https://arcemu.svn.sourceforge.net/svnroot/arcemu/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!
avatar
EVIL MONKEY
GLOBAL MOD
GLOBAL MOD

Posts : 26
Points : 37318
Reputation : 7368
Join date : 2010-01-09

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum