How to install ACEmu/Server - August 2017.


Intro

While attempting to install the ACEmu server I decided to write along so others might benefit. I have used the following installation guides to start and expanded on them.


Article Author Link
Getting started with the ACEmu server Kaos http://acemulator.org/forums/topic/39-getting-started-with-the-acemu-server/
ACEmu from scratch written aka-Steve https://aka-steve.com/02222017-update/
ACEmu from scratch Youtube aka-Steve https://www.youtube.com/watch?v=B3exDHF1alk

You can get the ACEmu server software over at Github: https://github.com/ACEmulator/ACE. Click on the green " Clone or Download" button and select " Download Zip". Extract it where you want so you will have all the source files needed.

All pathnames in this document should be altered to the pathnames you have chosen during installations and placement of ACEmu.


Install pre-requisite software

1: Install mysql-installer-community-5.7.17.0 ( ) as a server only enviroment and take note of the root password you provide. You will need this later.

Download Link
MySQL Community Server https://dev.mysql.com/downloads/mysql/5.1.html

2: Install both vcredist_x86 and vcredist_x64.

Download Link
Microsoft Visual C++ 2010 Redistributable Package (x64) https://www.microsoft.com/en-us/download/details.aspx?id=14632
Microsoft Visual C++ 2010 Redistributable Package (x86) https://www.microsoft.com/en-us/download/details.aspx?id=5555

3: Install the Connector/ODBC 5.1.13 . Install both the x86 and x64 bit versions with default settings.

Download Link
Connector/ODBC 5.1.13 https://dev.mysql.com/downloads/connector/odbc/5.1.html

4: Download and Install StyleCop by Chris Dahlberg. Alternatively, in Visual Studio, via the Package Manager Console, type in:

  • Install-Package StyleCop.MSBuild -Version 5.0.0
Download
StyleCop by Chris Dahlberg https://marketplace.visualstudio.com/items?itemName=ChrisDahlberg.StyleCop

Create database

Open the DOS command prompt > Run as Administrator

5: Open command prompt

6: Change directory to the MySQL bin folder (default c:\Program Files\MySQL\MySQL Server 5.7\bin)

7: Type in MySQL –u root -p

7a: Enter your root password. (see step 1)

8: Type in CREATE DATABASE ace_auth;

9: Type in CREATE DATABASE ace_shard;

10: Type in CREATE DATABASE ace_world;


To load the SQL dumps into their respective databases (MySQL)

These sql files can be found in the zipfile you downloaded from the ACEmu github page.

11: Type in use ace_auth;

12: Type in source D:\ACE-master\Database\Base\AuthenticationBase.sql

13: Type in use ace_shard;

14: Type in source source D:\ACE-master\Database\Base\ShardBase.sql

15: Type in use ace_world;

16: Type in source D:\ACE-master\Database\Base\WorldBase.sql


How to load incremental SQL updates

These sql files can be found in the zipfile you downloaded from the ACEmu github page. Remember to set the right database and update sql file when your applying the updates!

17: Set database, type in use ace_shard;

18: Type in source D:\ACE-master\Database\Updates\Shard\07-30-14-2017-ace_object_properties_spellbar_positions.sql

Repeat step 17-18 for any available updates (old to new) on the two databases, auth, shard.


Download from ACE-World the latest release of world data, extract and load into your ace_world database

Remember to set the right database and update sql file when your applying the updates!

Download
Latest release of the World Data https://github.com/ACEmulator/ACE-World/releases

19: Type in use ace_world;

20: Type in source D:\ACE-master\Database\Updates\World\Derethv0.1.10\ACE-World-db-v0.1.10.sql (point to just downloaded world data you extracted)

21: Repeat step 18 for any available updates (old to new) on the world database.


Copy and edit the config.json

22: Goto your \ACE-master\Source\ACE directory

23: Copy and paste the Config.json.example file.

24: Rename the pasted file to config.json


Edit the config.json file

25: Set the Host values to 127.0.0.1 if not already filled in (assuming your running it local).

26: Set the Password values for your root password. (See step 1)


Open Visual Studio and import the ACE project

27: In visual studio: File > Open Project/Solution

28: Browse to and select the ACE.sln file under ACE-master\Source to open.

29: Make sure your earlier copied config.json is listed under ACE, if not > Right mouse click ACE > Add Existing item > browse and add config.json

30: Right mouse button and Build Solution on top level Solution 'ACE' (x projects)

31: Wait while the building of the solution finishes.


Copy the solution you just build to a folder so it can be started

32: Go to \ACE-master\Source\ACE\bin\x64\Debug and select all the files.

33: Copy these files to a folder of your choosing

34: Download the Dat files from http://content.turbine.com/acpatch/ac_data.zip and copy the datfiles to c:\ACE (if you let the value DatFilesDirectory default in config.json, otherwise adjust accordingly)

34: Start the ACE.exe application.


Create account and launch

35: Create your first account as an admin at the prompt, type in accountcreate testaccount testpassword 5 (or whatever you want ofcourse, 5 represents admin)

36: Keep the ACEMulator running.


Run the game

37: I keep getting DirectX error when launching with acclient.exe -a username -h 127.0.0.1:9000 -glsticketdirect password so

38: I then added my local server to the Thwarg-Launcher, provided the credentials and launched with decal injection! Then it works for me!

Hope this helps! Please, if you can, contribute to the cause, we cannot let the world of Dereth and all its denizens down! Massive shoutout to all devs and everyone else that is contributing to ACEmulator

PS. Thistledown and hub forever!


Other Resources

My SQL commandline list. https://gist.github.com/hofmannsven/9164408
PhatAC and ACEmu information https://docs.google.com/spreadsheets/d/1W4slaA_nytVc-7bAMQsfwlhzzN4JvWovlFsduziKHks/edit#gid=0
ACEmulator Server Project (Public) https://trello.com/b/DXQUfVHj/acemulator-server-project
Asheron's Call Installer http://content.turbine.com/sites/clientdl/ac1/ac1install.exe
Asheron's Call datfiles http://content.turbine.com/acpatch/ac_data.zip

Asheron's Call is a registered trademark of Turbine, Inc. and WB Games Inc. ACEmulator is not associated or affiliated in any way with Turbine, Inc. or WB Games Inc

results matching ""

    No results matching ""