Setting up an Aion server on Windows using dannybest’s (awesome) pack for localhost use
This guide assumes you have the following:
1. Java installed
2. Mysql installed
3. A db manipulation program (Navicat, SQLyog)
4. Basic sql knowledge
All of these are thoroughly documented elsewhere, so my guide just concentrates on setting up this pack to allow you to play locally.
Downloading and extracting files
1. Create a directory for the server (I will use C:\AionServer for this guide)
2. Download all of the files from the first post of this thread (currently r184)
3. Extract ae_gameserver and ae_login, creating \gameserver and \loginserver in C:\AionServer
Creating and modifying databases
1. Create aionx_ls and aionx_gs databases in mysql
2. Go to loginserver\sql and import aionx_ls.sql into the aionx_ls database
3. Go to gameserver\sql and import these into aionx_gs:
- aion_gs.sql
- droplist.sql
- any in the update folder
4. In the gameservers table of the aionx_ls database, add a line with the following values:
a. 1, 127.0.0.1, (gameserver_password – default is ‘aion’)
Edit your config files
1. Edit gameserver\config\default.config:
a. Enter the user and password to access your mysql database
b. gameserver.network.login.gsid = (same as you used in 4 above)
c. gameserver.network.login.password = (same as you used in 4 above)
d. gameserver.country.code = (1 for US, 2 for EU)
e. there are many others you can change to customize your server, but these are the ones needed to get it working
2. edit loginserver\config\network\database.properties
a. enter the user and password to access your mysql database
3. edit loginserver\config\network\network.properties
a. change loginserver.accounts.autocreate to true
Download and configure the client
1. download the ncsoft launcher from their website, let it install and update the client to 2.1.0.9
2. create a zip / rar / 7z backup of the bin32 folder, then replace with the bin32_2.1.0.9 file you downloaded
3. create a StartAion.bat file in your Aion client directory:
a. start bin32\aion.bin –ip:127.0.0.1 –port:2106 – cc:1 –lang:enu –ng
b. (if you are using the EU client, then use –cc:2)
NOTE: Although I don't use one myself, some people have better luck using a no-ip launcher instead of a bat file. Search Google for "aion private server launcher no-ip".
Starting everything
1. Run C:\AionServer\loginserver\StartLogin.bat, wait for it to complete
2. Run C:\AionServer\gameserver\startGame.bat, wait for it to complete
3. Run StartAion.bat that you created above, or use a no-ip launcher to start the Aion client
4. Either use default admin/admin to log in, or enter a new user and password. As long as you have loginserver.accounts.autocreate = true, it will be saved to the database. Also, if you want this account to be a GM, modify access_level for the account_data table in aengine_ls to be 3.
I never saw the tutorials that were available before, this is just from my own trial and error, so if anyone sees anything I missed or have incorrect, please let me know and I will fix it.