Aion Core Project: [Howto] Windows : Install Aion-Core - Aion Core Project

Jump to content

Toggle shoutbox Shoutbox

maria  : (25 July 2012 - 11:55 PM) if you want chek this new project of aion source
Loxo  : (17 November 2011 - 11:20 PM) Good to hear :). Then there is no reason for AionCore to not be quiet and I hope it will stay like this because this means Aion's open source is not dead again.
Crash Override  : (17 November 2011 - 09:52 PM) Oh no, Aion X Emu is still there, just weeding out the idiots and posers by taking our time on somethings.
Loxo  : (13 November 2011 - 04:03 PM) Yup, but AionXEmu isn't dead, right ? I mean, it is. But they plan to keep going later from what they said and what is announced on the main page.
Crash Override  : (11 November 2011 - 11:13 PM) Still quiet over here
Bark  : (10 March 2011 - 04:25 PM) Could I save the three Howto I made? I don't have access to "edit" Thank You.
Bark  : (10 March 2011 - 04:23 PM) Thanks for the news.
Razer  : (27 February 2011 - 12:09 PM) <_<
kyo-1  : (08 February 2011 - 08:23 PM) hello everyone
Lomilio  : (07 February 2011 - 07:48 AM) Advice please, when some will be new reviews. (rus)
Lomilio  : (07 February 2011 - 07:47 AM) Hello
maria  : (07 February 2011 - 04:49 AM) HELLO :)
sisop  : (06 February 2011 - 09:12 PM) It's always better to unite in one project.
10ton  : (06 February 2011 - 07:14 PM) more developers and more knowledges and we can up this project :)
sisop  : (06 February 2011 - 06:50 PM) Looks like this.
jefe  : (06 February 2011 - 12:49 AM) realy stop this source?
jefe  : (06 February 2011 - 12:49 AM) WTF!!
maria  : (01 February 2011 - 09:40 PM) Brvavo Reirei ban them all ^^
maiz  : (01 February 2011 - 09:30 AM) Somoeone to help.How i cange points who give mob in Dark Poeta, i need to change it score x2.
Reirei  : (01 February 2011 - 09:28 AM) announcement: I will not allow any more false rumors in forum nor shoutbox. if i encounter any more of those " aion core is dead" i will BAN those accounts. thank you.
Resize Shouts Area

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

[Howto] Windows : Install Aion-Core English step by step guide on how to get your emulator ready. Rate Topic: -----

#1 User is offline   Bark 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 37
  • Joined: 19-January 11

Posted 27 February 2011 - 06:48 PM

Hello everyone,

Before stating anything you'll have to know that setting up Aion-Core isn't a one click thing.
I will process step by step during this tutorial.

I. Requirements

  • OS Microsoft windows XP / Vista / Seven
  • A bit of knowledge in MS-DOS and SQL
  • Patience and focusing :P

II. Get your system ready

The following software are needed for your future game server.

First of all we'll create a new AionCore folder in C:\ and a _INSTALL folder in C:\AionCore
You'll use _INSTALL to store all your setups.

Let's begin with TortoiseSVN which will help us get the Aion-Core source.
Download TortoiseSVN Setup and install it like any program. Reboot your computer if necessary.

Now, Sun-java6-jdk and Sun-java6-jre.
Download Java SE Development Kit and install it.

For Apache-Ant things will get different.
As there is no setup for this one, we'll add it manually the Windows Environment Variables with the following method:

Windows XP: Do right click on My Computer, click on Properties. Look for tab Advanced and button Environment Variables.
Windows Vista / Seven: Do right click on Computer, click on Properties.In the left shutter click on Advanced System Setting. look for button Environment Variables.

In box "System Variables" look for PATH and click on Edit.

Be Careful ! Do not delete the existing content of this variable
Add a the beginning of "Variable Value"

Press OK and click on New this time
name> ANT_HOME
value> C:\AionCore\apache-ant-1.8.2\lib;
Press OK two times and reboot your machine.

We'll end with 7zip download 7zip Setup install it.

III. The Web Server and Database

What we'll need:

We'll have to create a new password root for MySQL don't forget it!

Notes: It's advised to have a strong password (32 characters, numerals, letters and symbols intermixed) to make it harder for bad minded people to find it.
For example:

Let's go, download PhP, Apache and MySQL (without PhpMyAdmin).

Install these software in C:\AionCore, reboot and try your new web-server http://localhost/ :D

Summary of your AionCore folder



Let's add command "mysql" in Windows environment. Open Environment Variables and add the following line in PATH
Be Careful ! Do not delete the existing content of this variable

Reboot your computer.

Finishing with PhpMyAdmin. Download Archive PhpMyAdmin.
Extract it in C:\AionCore\_INSTALL and copy the content of C:\AionCore\_INSTALL\phpMyAdmin- in C:\AionCore\apache\htdocs\phpmyadmin

We set up C:\AionCore\apache\conf\httpd.conf. Find and replace.
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
<IfModule dir_module>
    DirectoryIndex index.html, index.php

Restart Apache. Try it! http://localhost/phpmyadmin/

IV. Aion-Core's Source

To get Aion-Core's last revision we'll use TortoiseSVN.
Ended you've probably already notice that you've got two new options in your right-click! SVN Checkout and TortoiseSVN. Stay focused on Posted Image

Do right-click -> SVN Checkout on C:\AionCore folder

Posted Image

Download completed. Last revision 52
Notes: If you wish to update the source later on, move to C:\AionCore\ right-click on ac-go Posted Image

Get ready to compile! To do so let's use MS-DOS. (WINDOWS+R) or (Start -> Execute) and write: cmd
Notes: Folder Commons only includes configuration file and an other lib folder. You can compile it if you want, it could help you when new AionCore Revisions are released.

LoginServer, compiling...
C:\AionCore\ac-go\trunk\Commons> cd ../LoginServer/
C:\AionCore\ac-go\trunk\LoginServer> ant -q

GameServer, compiling...
C:\AionCore\ac-go\trunk\LoginServer> cd ../GameServer/
C:\AionCore\ac-go\trunk\GameServer> ant -q

To end, startManager.bat will help you run and keep your server organised.
C:\AionCore\ac-go\trunk\LoginServer> cd ..\Tools\AE-Manager
C:\AionCore\ac-go\trunk\Tools\AE-Manager> ant -q

Notes: If you encounter this kind of error.
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk/lib/tools.jar

/home/server/ac-go/trunk/Commons/build.xml:41: Unable to find a javac compiler; is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-openjdk/jre"

To solve the problem, go back to Environment Variables create a new variable JAVA_HOME and add the following line as value
C:\Program Files\Java\jdk1.6.0_24\lib


V. Setting up the Game Server

Everything is compiled now. We can create the root folder of your emulator (right-click -> new folder).

Now we extract the files in the new folder

LoginServer, find in C:\AionCore\ac-go\trunk\LoginServer\build and extract in ac-server

And GameServer, find in C:\AionCore\ac-go\trunk\GameServer\build and extract in ac-server

Tool StartManager, find in C:\AionCore\ac-go\trunk\Tools\AE-Manager\build and extract in ac-server

Summary of your AionCore folder




Under MS-DOS.
We now have to set up your MySQL. We'll first create a new user and two new databases, aioncore_login and aioncore_game.
C:\Users\Bark> mysql -u root -p

New user
mysql> USE mysql
mysql> CREATE USER 'server'@'localhost' IDENTIFIED BY 'YOUR_DB_PASS';

New databases
mysql> CREATE DATABASE aioncore_login;
mysql> CREATE DATABASE aioncore_game;

We grant privileges to server on aioncore_login et aioncore_game.
mysql> GRANT ALL PRIVILEGES ON aioncore_login.* TO 'server'@'localhost';
mysql> GRANT ALL PRIVILEGES ON aioncore_game.* TO 'server'@'localhost';
mysql> quit

Import of tables in aioncore_login
C:\Users\Bark> cd C:\AionCore\ac-server\loginserver\sql
C:\AionCore\ac-server/loginserver/sql> mysql -u server -p -h localhost aioncore_login < aengine_ls.sql

Import of tables in aioncore_game
C:\AionCore\ac-server/loginserver/sql> cd ../../gameserver/sql
C:\AionCore\ac-server/gameserver/sql> mysql -u server -p -h localhost aioncore_game < aengine_gs.sql
C:\AionCore\ac-server/gameserver/sql> cd drops/
C:\AionCore\ac-server/gameserver/sql/drops> mysql -u server -p -h localhost aioncore_game < droplist.sql

We now set up
You'll find it in C:\AionCore\ac-server\loginserver\config\network

Find and replace
# This is database url.
database.url = jdbc:mysql://localhost:3306/aioncore_login

# Database user
database.user = server

# Database password
# Write your password here!
database.password = YOUR_DB_PASS

# Create accounts automatically or not? -- You do not need a website / CMS if set true
loginserver.accounts.autocreate = true

We're done with loginserver

Let's now focus on gameserver and it's config files. More precisely at default.config and ipconfig.xml.
Starting with default.config that you can find in C:\AionCore\ac-server\gameserver\config

Find following lines
# JDBC database URL
database.url = jdbc:mysql://localhost:3306/aioncore_game?useUnicode=true&characterEncoding=UTF-8

# Database user
database.user = server

# Database password
database.password = YOUR_DB_PASS

# GameServer ID = 100

# LoginServer password for this GameServer = NEW_PASS_1

# ChatServer password for this ChatServer = NEW_PASS_2

# Enable or Disable Character Passkey
# Default: true
passkey.enable = false

Remeber password from line # LoginServer password for this GameServer we'll need it: = NEW_PASS_1

A little list of # GameServer ID (Your server's name and location)

  • 36 : Kromede
  • 37 : Thor
  • 38 : Votan
  • 39 : Balder
  • 40 : Urtem
  • 41 : Vidar
  • 42 : Suthran
  • 43 : Aegir
  • 44 : Nerthus
  • 45 : Deltras
  • 100 : Test Server

Let's now hit ipconfig.xml and for that we'll need a few informations so as your WAN ip and LAN ip where your server stands.

To find out your WAN visit, here the ip is
For your LAN : get IPv4 Address, here
C:\AionCore\ac-server> ipconfig
Ethernet adapter Local Area Connection:

   IPv4 Address. . . . . . . . . . . :
   Subnet Mask . . . . . . . . . . . :
   Default Gateway . . . . . . . . . :

ipconfig is for your WAN ip
iprange is only for LAN ip
<ipconfig default="">
<iprange min="" max="" address=""/>

We now add server to database.
C:\AionCore\ac-server> mysql -u server -p
mysql> USE aioncore_login
mysql> INSERT INTO `gameservers` (`id`, `mask`, `password`) VALUES (100, '*', 'YOUR_DB_PASS');
mysql> quit

It's finally ready ! :P

To lunch your fresh server lunch startManager.bat : a small software opens, for the rest you won't need help.

Posted Image

VI. Aion Client

We are now in the finnal step of this tutorial.
For you and your friends to enjoy your new fresh "home-made" server.

For Aion you understood, get Luncher NcSoft and during the download (10~12Go Total) of Aion : The Tower of Eternity (that you'll let update until last version we'll create the .bat file

To do so right-click -> new -> Text file that you rename as aioncore_client_lunch.bat in your game folder, here AionEU

If you are on the LAN of your Aion-Core server.
@echo off
start bin32\aion.bin -ip: -port:2106 -cc:1 -lang:en -noweb -nokicks -ncg -noauthgg -ls -charnamemenu

If you are outside use WAN ip
@echo off
start bin32\aion.bin -ip: -port:2106 -cc:1 -lang:en -noweb -nokicks -ncg -noauthgg -ls -charnamemenu

Aion Client Version Supported

You should now be able to log into your private server :D

If you can not understand one of the steps in this guide, think about an other project that fits better to your skills and come back later when you feel ready ;)

You found a spelling mistake? A simpler method that could improve this guide? Feel free to send me a private message.

You want to add a link of this tutorial on your site, forum?
[url=""][HowTo] Windows : Install Aion-Core[/url]
<a href="">[HowTo] Windows : Install Aion-Core</a>

Good luck to our newbies!


Thank you to all those people without whom I would not have completed this tutorial.


Edited on 07 March 2011

added BBcode and Html to link your site, forum
added keywords for search engines
startManager added
Few fixes

Edited on 28 February 2011

Version of Aion Client supported
Country code (cc:1) in .bat file

Keywords: aion, the, tower, of, eternity, emulator, aioncore, aion, core, aion-core, emu, guide, tutorial, tutorials, guides, windows

This post has been edited by Bark: 07 March 2011 - 09:06 PM

[HowTo] Windows : Install Aion-Core - [Guide] Linux : Installation Aion-Core - [Guide] Windows : Installation Aion-Core

If you happen to find the solution to your problem, make sure others will know. Thank you
S'il vous arrive de trouver la solution à votre problème, assurez-vous de le faire savoir. Merci

Share this topic:

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users