Los Ojos Rojos

Dark Age of Camelot PvP Freeshard and Dawn of Light resource

Guide updated on 02/07/2019 - Now supports live 1.125d client, new connect.exe required for 1.125+

This is a guide I originally posted over at the Dawn of Light forums. It has a few changed steps as this guide will use my Dawn of Light repo that currently supports live client 1.125d. If you want to use the official DOL repo(Currently only supports up to client ~1.115), follow my guide here: Win10 Guide

Important: There are a few things currently broken with this 1.125 version and probably some undiscovered bugs/changes. Such as the group window and the ability to prevent players from being able to dive underwater in zones. For this reason, I will include at the bottom of the guide steps involved to use game version 1.124 which has all these features working (AFAIK!).

A few things to note:
- This guide is based on Windows 10, although Windows 7 should work too.
- This is just a basic setup to get you in the game world - Nothing to do with compiling files or customizing will be included.
- There are many other ways and applications that can be used with DOL, this is just some user friendly apps to get started.

To start things off we will download the game client. Head over to Broadswords site and follow the prompts to download and install the client. Now we download MariaDB This will install the MySQL service and install HeidiSQL which we will use to edit our Database. Click to download the latest stable release. (The version may differ from the picture)

MariaDB

On the next page you will have a list of download links for various operating systems. Choose the .msi (microsoft installer) for the windows version you are using , either 64bit or 32bit

MariaDB installer

Once downloaded, begin the installation. It's recommended to install with the default selected settings. When you get to the password page, enter and confirm a new password for your 'root' account. This is basically an admin account for your mysql service. Make sure you remember this password!

MariaDB password

Once installation has completed, you will notice a shortcut on your desktop for HeidiSQL Now will will download the latest public database. This is the only version current and supported. All other DB's you find on this forum may have conflicts with this installation. (Note - This is not too say data from those databases cannot be later used with this current DB)

Click on 'Clone or download' -> download ZIP

Once downloaded, extract all the files and goto that folder location. From there, navigate down folders src\scripts\bin\windows Right click 'concat.exe' and run as administrator

Concat

A blank DOS windows should appear for some time , when it disappears the database file should be created as 'public-db.sql'

db created

If the file is not created, navigate to src\scripts\config - You will see a file name 'config.example.yml' - Rename this file to config.yml, then navigate back to the 'concat.exe' like before and run to create the database file.

Now that we have the public database created, we now go to the HeidiSQL shortcut on the desktop and double click it. A session window will appear where we need to enter the password we created for 'root' earlier. Enter the password then click open.

session

Now we right click on 'unnamed' -> create new -> database

new db

A small window pops up, where we enter the 'name' as 'dol' Click Ok

db name

Now we will import the database we created earlier. Select the down arrow next to 'unnamed' and select 'dol'

db selected

Now click on 'file' -> Run .sql file

db run

Now we navigate to the folder where we created the public -db.sql file earlier (1) . Select the file (2) Click open (3)

db open

A progress window will appear while the database is extracting

db import

When this is done, we will check to see if our new database has been populated. Click on 'unnnamed' -> 'dol' Right click 'dol' and then click on refresh. We should now see a heap of created tables and some information telling us how many lines etc are in them.

db refresh
db tables

Our database is installed. We can now run the server software. As mentioned at the start, this guide will use my fork of the official DOL repo which supports from 1.124 to 1.125d version of the game. Official DOL does not support this high. I have a pre-compiled 'release' version which can be downloaded here - 1.125d Release - or if you prefer to compile your own, head of to my fork at Los Ojos 1124 and compile it yourself. Download and extract this 'Release' version of the DOL server software. Goto the folder location where you extracted the files. Double click on 'dolconfig.exe' An error window will popup on first time use saying it will create a config file. Click 'Yes'

dolconfig error

In the dolconfig window what opens, click on the 'Database' tab (1). Click the down box for database type and select 'MySQL' (2). Enter 'root' as the username and enter your mysql password from before (3). Click 'test connection' (4). If successful it will display a success message. Click save configuration down the bottom right and then close the window (5).

dolconfig

Now double click on 'dolserver.exe' A DOS console window will appear and text will start scrolling down indicating that the database is being loaded and server being started. A windows firewall window may popup, allowing you to add an exception for the 'dolserver.exe' Click accept if you wish to connect to this server over a LAN network and such. Once the server has completed loading, it will display a final message "GameServer is now open for connections!"

dol console

The server is running! Now we download DAoCPortal and connect to the server. Download DAoCPortal from this link here DAoC Portal.

Important: A new connect.exe is required for any game.dll version 1.125+ and is bundled with the DAoC Portal linked here. If you already have DAoC Portal, you will need to download this one and either replace your old one or just replace the connect.exe in the folder. Extract the file, and then run 'portal.exe' from within the extracted folder.

Another Important note: By default, Portal will be set to automatically update. This needs to be turned off otherwise it will override the new 1.125 connect.exe with the old 1.124 connect.exe - This is because I have not updated the Portal sources with this new connect.exe! Until I update the official Portal sources, you will have to do the following. Click on File -> Settings. Click on the 'General' tab. If the 'Auto Update enabled' box is checked, uncheck it, then close Portal.

portal game folder

Inside the Portal folder you will see another folder called 'Connect1125'. Copy the 'connect.exe' that is in this folder, and paste it over the 'connect.exe' that is in the main Portal folder. You can now run 'Portal.exe' again. Now we set the default directory for our DAoC game we installed earlier. Click on 'File' -> Settings. Under the 'Client' tab, click 'Browse' to navigate to the directory of our game.dll in the Dark age game folder. Click 'Ok' then click 'Close'.

portal game folder

Now click the 'Custom Shards' tab, then right click in the blank white space and click 'add server'

portal add server

A small window will pop up with some default details. These are fine for us right now, so just click 'Ok' You will how have an entry for you server in the custom shards tab. A 'green light' should be visible indicating that portal can see our server! Select the server, then click inside the 'user' box to enter a username. This can be whatever you want your account name to be. Then click inside the 'Pass' box to enter the password you want for this account. This does not need to match the mysql 'root' password. Click on 'Play!' and the game will begin to connect!

portal creds

If everything has been done, you will see the loading screen and then the realm select screen in game. Continue through the screens to create a character as normal, then click the play button to enter the world. If you received an error saying encryption 1.115+ failed, you did not correctly stop Portal auto-updating and need to re-follow the steps above when configuring Portal.

in game

We are almost done! Now we will give this account Administrator permissions. Exit the game as normal with /q Now goto our heidiSQL window that we still have open. In the tables we see in the 'dol' database, we select the 'account' table (1), click the 'data' tab (2) and select our newly created account entry (3). Double click the cell for 'PrivLevel' and change it from 1 to 3. 1 being a normal account, 2 being a GM account, and 3 being Admin account. Click anywhere in the blank white space to make the change take place (4).

admin account

And we are done. You can connect to your server and make changes with this account now. New accounts can be created by entering a different username/password in the portal application as you did before. Well, if you made it to here and are connected than that's great! I hope this guide was helpful for some. If you have followed all the steps and are still stuck, please re-read the guide! Sometimes a small step is missed and will cause errors. If you are still having trouble, join the discord and message me with your issue. Good luck!

If you are wanted to use game version 1.124b, follow these steps:
Download the 1.124b game.dll and replace the game.dll in your DAoC installation folder. Be sure to backup the game.dll you are replacing! I suggest to just rename it 'game1125.dll'. Then download the 1.124b 'pregame' folder, and replace the 'pregame' folder in your DAoC installation folder with the one you downloaded. Again, please backup the original folder you are replacing!

1.124b game.dll
1.124b pregame folder