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 http://www.immortal-s-ai3.comlu.com/
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"
C:\AionCore\apache-ant-1.8.2\bin;

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:
eCbjE7r$*ZH9cjc#9f$DQvBBk3M5KBmX

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
C:\AionCore\

C:\AionCore\_INSTALL
C:\AionCore\_INSTALL\php-5.3.5-nts-Win32-VC9-x86.msi
C:\AionCore\_INSTALL\httpd-2.2.17-win32-x86-openssl-0.9.8o.msi
C:\AionCore\_INSTALL\mysql-5.5.9-win32.msi

C:\AionCore\php
C:\AionCore\apache
C:\AionCore\mysql


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
C:\AionCore\mysql\bin

Reboot your computer.

Finishing with PhpMyAdmin. Download Archive PhpMyAdmin.
Extract it in C:\AionCore\_INSTALL and copy the content of C:\AionCore\_INSTALL\phpMyAdmin-3.3.9.2-all-languages 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
</IfModule>

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
http://subversion.assembla.com/svn/ac-go/

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 database.properties 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

BUILD FAILED
/home/server/ac-go/trunk/Commons/build.xml:41: Unable to find a javac compiler;
com.sun.tools.javac.Main 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

Reboot.

V. Setting up the Game Server


Everything is compiled now. We can create the root folder of your emulator (right-click -> new folder).
C:\AionCore\ac-server


Now we extract the files in the new folder

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


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


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


Summary of your AionCore folder
C:\AionCore\

C:\AionCore\_INSTALL
C:\AionCore\_INSTALL\php-5.3.5-nts-Win32-VC9-x86.msi
C:\AionCore\_INSTALL\httpd-2.2.17-win32-x86-openssl-0.9.8o.msi
C:\AionCore\_INSTALL\mysql-5.5.9-win32.msi

C:\AionCore\php
C:\AionCore\apache
C:\AionCore\mysql

C:\AionCore\ac-go
C:\AionCore\ac-server
C:\AionCore\ac-server\loginserver
C:\AionCore\ac-server\gameserver
C:\AionCore\ac-server\manager.jar
C:\AionCore\ac-server\startManager.bat
C:\AionCore\ac-server\startManager.sh


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> FLUSH PRIVILEGES
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 database.properties
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


Then network.properties
# 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
gameserver.network.login.gsid = 100

# LoginServer password for this GameServer
gameserver.network.login.password = NEW_PASS_1

# ChatServer password for this ChatServer
gameserver.network.chat.password = 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:
gameserver.network.login.password = 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 www.whatismyip.com, here the ip is 92.168.126.27.
For your LAN : get IPv4 Address, here 192.168.178.25
C:\AionCore\ac-server> ipconfig
Ethernet adapter Local Area Connection:

   IPv4 Address. . . . . . . . . . . : 192.168.178.25
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.178.1

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



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 2.1.0.8) 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:192.168.178.25 -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:92.168.126.27 -port:2106 -cc:1 -lang:en -noweb -nokicks -ncg -noauthgg -ls -charnamemenu


Aion Client Version 2.1.0.8 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?
#BBcode
[url="http://www.aioncore.com/index.php?/topic/380-howto-windows-install-aion-core/"][HowTo] Windows : Install Aion-Core[/url]
#Html
<a href="http://www.aioncore.com/index.php?/topic/380-howto-windows-install-aion-core/">[HowTo] Windows : Install Aion-Core</a>


Good luck to our newbies!

Friendly,
Bark,





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

Credits:



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 2.1.0.8 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
0

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