Jump to content

[Tutorial] How to compile ArcEmu and cores based of it


Recommended Posts

Posted

Hello!

 

Today we are going to learn how to compile your very own core

 

First of all, we will start with the required things to have installed and ready on your computer:

* Microsoft Visual C++ 2010

* Tortoise SVN

* .NET Framework 4.0

 

Now, we'll continue

 

Note: The text in bold is required. The text in italic is optional.

 

Let's start off then!

 

First: Make 3 folders on your desktop (or anywhere else) called "ArcEmu", "Database" and "Repack".

 

Now, right click on the "ArcEmu" folder and choose "SVN Checkout"

URL of Repository: svn://arcemu.info/svn/

It will take some time to download, so here's some things to do meanwhile.

Now, download the "Server" folder from : http://filebeam.com/e6707ea2438ba7b610121ca9b7df9f64

Extract that into the "Repack" folder.

 

Start "Mysql(.bat)" and connect to the database with any SQL-program (eg. HeidiSQL, Navicat, SQLyog)

(If you want to edit the text in Mysql(.bat), right click it and choose "edit".)

Make 3 databases, called logon, world and character.

We will come back to this later.

 

Now, hopefully, ArcEmu has finished downloading... If not, you'll have to wait untill it finishes.

When it has finished, go to: ArcEmu\Trunk\Extra's\arcemu-windows-libraries\VC\lib

Copy all the files that are in there, and paste them into the following folder: C:\Program Files\Microsoft Visual Studio 10.0\VC\lib

Do the same thing for "include":

ArcEmu\Trunk\Extra's\arcemu-windows-libraries\VC\include

Copy all the files to

C:\Program Files\Microsoft Visual Studio 10.0\VC\include

 

Now, go to: C:\Users\User\Desktop\Emu\trunk\win

Start "arcemuVC100 - All Projects ".

Visual Studio C++ 2010 will open up now, and there will be 15 projects total. At the top, there are 2 drop down menu's.

In the first menu, make sure it stands on "Release". The second on depends on your system, if you have x32, make it Win32, if you have x64, make it Win64.

 

Now, right-click on the Solution arcemuVC100... and choose "Build Solution"

The program will now start building a solution. You should end up with this at the bottom:

========== Build: 15 succeeded, 0 failed, 0 up-to-date, 0 skipped ====================

 

The compiling has started, and can take some while, so here's what you can do meanwhile:

Go into the "Repack" folder, and make a folder called "configs".

Then go to C:\Users\User\Desktop\Emu\trunk\configs

and copy all the files in there, to your "configs" folder in the "Repack" folder (\Repack\configs).

You will need to edit some things in the "world" and "logon".conf

 

Change the following in the world.conf:

<WorldDatabase Hostname = "host" Username = "username" Password = "passwd" Name = "database" Port = "3306" Type = "1">

<CharacterDatabase Hostname = "host" Username = "username" Password = "passwd" Name = "database" Port = "3306" Type = "1">

 

to this:

<WorldDatabase Hostname = "localhost" Username = "root" Password = "ascent" Name = "world" Port = "3306" Type = "1">

<CharacterDatabase Hostname = "localhost" Username = "root" Password = "ascent" Name = "character" Port = "3306" Type = "1">

 

Logon.conf: change the following:

<LogonDatabase Hostname = "host"

Username = "user"

Password = "pass"

Name = "dbname"

Port = "3306"

Type = "1">

 

to this:

<LogonDatabase Hostname = "localhost"

Username = "root"

Password = "ascent"

Name = "logon"

Port = "3306"

Type = "1">

 

Save the files, and close them.

 

Next; Right-click on the folder database, and choose "SVN Checkout".

Download any DB you want (i would recommend WhyDB, LHDB, IFDB.If you want, you can use the ArcEmu DB too.. Links: Google)

 

Now let's get back to the "logon, world and character" databases.

Go to: C:\Users\User\Desktop\ArcEmu\trunk\sql

At the bottom there will be 3 SQL files. Logon, Character and World structure.

(If you have already imported a world DB, do not import the world structure from ArcEmu. If you haven't imported any world db, and want to use ArcEmu's db, import it too).

 

Import logon, character (and world, if you haven't already imported another world DB)

If you get any errors while importing, use Navicat (dont stop at errors).

--

When the compile has finished, it should say 15 Successful. If not, reply on this thread.

 

Now go to: C:\Users\User\Desktop\ArcEmu\trunk\bin

 

One of the 4 folders will be full of what a repack will look like

Copy everything and paste it into the 'Repack' folder.

 

The "DBC" folder will have no DBC files in it. Copy them from a repack with the same client/patch as yours, or get a DBC-extractor.

 

The DLL files:

Go to:

C:\Users\User\Desktop\ArcEmu\extras\arcemu-windows-libraries

 

There are 4 folders altogether, two of which have been previously been used while compiling.

The two folders are "DLL Files" and "DLL Files (x64)".

32bit Computers = DLL Files- folder

64bit Computers = DLL Files (x64)- folder

Click the folder that suits your computer needs and paste the files from the DLL/DLL x64 into: Repack\ArcEmu

 

Lastly change this in logon.conf:

<LogonServer RemotePassword = "change_me_logon"

 

to this:

<LogonServer RemotePassword = "Ascent"

 

and in world.conf, this:

<LogonServer DisablePings = "0"

RemotePassword = "change_me_world">

 

to this:

<LogonServer DisablePings = "0"

RemotePassword = "Ascent">

 

Now close and save both files.

 

And that should be it

 

Congratulations!

 

Credits : Moggie

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • https://jumpshare.com/share/kIdeKALOhgtMKpBKqxpg Test Equip Armors-> FullPlate, Gloves, Legs, Chest , Boots
    • 黑色星期五 — 为您的流量提供高级福利 仅在11月28日,我们的特别促销码可为您提供13%的商店折扣。 促销码: BLACKFRIDAY (13% 折扣) 您可以通过我们的网站或 Telegram 机器人在商店购物! 有效链接: 数字商品商店(网站): 前往 商店 Telegram 机器人: 前往 – 通过 Telegram Messenger 方便访问商店。 其他服务: 虚拟号码服务: 前往 用于购买 Telegram Stars 的机器人: 前往 – 快速且优惠地在 Telegram 中购买 Stars。 SMM 面板: 前往 – 推广您的社交媒体账户。 我们向您呈现当前的 促销和特惠活动 列表,用于购买我们服务的产品和服务: 1. 您可以在首次购买时使用促销码:SOCNET(15% 折扣) 2. 获取 $1 商店余额或 10–20% 折扣 — 只需在我们网站注册后发送您的用户名,格式如下:“SEND ME BONUS, MY USERNAME IS...” — 您需要在我们的论坛帖子中写下这句话! 3. SMM 面板首次试用可获得 $1:只需在我们的网站(支持)提交主题为“Get Trial Bonus”的工单。 4. 我们的 Telegram 频道和 Stars 购买机器人每周都会举办 Telegram Stars 抽奖活动! 新闻: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh 联系方式与支持: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ 邮箱: solomonbog@socnet.store
    • BLACK FRIDAY — PREMIUM BENEFITS FOR YOUR TRAFFIC Only on November 28 our special promo code gives you a 13% discount in the store. PROMO CODE: BLACKFRIDAY (13% Discount) Shop in our store on the website or via the Telegram bot! Active links: Digital goods store (Website): Go Store Telegram bot: Go – convenient access to the store via Telegram messenger. Other services: Virtual numbers service: Go Telegram bot for purchasing Telegram Stars: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We want to present you the current list of promotions and special offers for purchasing our service's products and services: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write this in our forum thread! 3. Get $1 for the first trial start of the SMM Panel: just open a ticket with the subject "Get Trial Bonus" on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Usually, I work alone on my projects, but sometimes the work is much more than I've expected. Could you provide a price list? It would be good if we knew your price before contacting you. 
    • BLACK FRIDAY — PREMIUM BENEFITS FOR YOUR TRAFFIC Only on November 28 our special promo code gives you a 13% discount in the store. PROMO CODE: BLACKFRIDAY (13% Discount) Shop in our store on the website or via the Telegram bot! Active links: Digital goods store (Website): Go Store Telegram bot: Go – convenient access to the store via Telegram messenger. Other services: Virtual numbers service: Go Telegram bot for purchasing Telegram Stars: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We want to present you the current list of promotions and special offers for purchasing our service's products and services: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write this in our forum thread! 3. Get $1 for the first trial start of the SMM Panel: just open a ticket with the subject "Get Trial Bonus" on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock