Page 1 of 2

Where's the best guide for setting up a DOL server?

PostPosted: Wed Jun 07, 2017 4:12 pm
by psychoninja911
I tried googling, but a lot of the guides have dead links in them. So like, I tried downloading the auto and outdated 1 click server, but neither of those download links work.

I started to set this up on my main PC, but I got to the SVN Tortoise part, where I pull the repository's files, and it was failing to save the files to my PC. Does that sound right?

I've set up AD/exchange servers on Windows, apache/httpd, vsftp, sshd, owncloud (with mariaDB back end) and more (on linux though).

Would Linux or Windows be a better platform for a DAoC server? I saw that you may have to run wine for it to work on a Linux server. I have a 2012 Windows server at my home. I would just need to set up port forwarding, I'm pretty sure it already has MySQL.

Anyway, let me know. Thanks!

Re: Where's the best guide for setting up a DOL server?

PostPosted: Wed Jun 07, 2017 8:58 pm
by ontheDOL
this has been asked and answer a few times in the last couple months (either in support or general forum) I think we need an updated "article" on how to set up a server :wink: . For me , i've never used tortoise svn and I believe its unnecessary (It does say it in the old article i know)

Hunabku has server guides to linux based setups in the general forum( I havent read them, dont know the scope of contents). If you want to use windows, just download the latest revision from the DOL github page https://github.com/Dawn-of-Light/DOLSharp/releases Download a release version for your platform, then no svn or IDE related app is required. Download mariaDB and set it up, download HeidiSQL and import the latest DOL public Database from database forum. Put in the required info in the Dolconfig.exe and then your ready to rock and roll.

If you go back a page or so in either support forum or general forum you will find a more detailed "guide" there somewhere

Re: Where's the best guide for setting up a DOL server?

PostPosted: Wed Jun 07, 2017 10:32 pm
by MrPickles
I think I may just put together a YouTube video on how to get a basic one up and running with the public DB. I didn't come across any when I was first learning how that were all that helpful. I'll post it on here when it's complete :)

Re: Where's the best guide for setting up a DOL server?

PostPosted: Wed Jun 07, 2017 11:39 pm
by psychoninja911
Geez, you guys rock. That's the updated Github link we needed. Either Github was down (not the first time I've seen this) or I ran into dead Github links last night too.

Thank you so much. You'll see my creation soon!!! :D

Re: Where's the best guide for setting up a DOL server?

PostPosted: Wed Jun 07, 2017 11:58 pm
by PlanarChaosRvrtwo
The current Public DB is outdated MrPickles My team work currently on better DB.

Re: Where's the best guide for setting up a DOL server?

PostPosted: Thu Jun 08, 2017 1:11 am
by MrPickles
The current Public DB is outdated MrPickles My team work currently on better DB.
Should I wait until it's complete? Should still all work the same right? Or should I make it a talking point? I'm just coming up with a rough draft script to explain the steps

Re: Where's the best guide for setting up a DOL server?

PostPosted: Thu Jun 08, 2017 2:05 am
by psychoninja911
Is this article up to date? http://www.dolserver.net/articles/?article=66
If so, I'm getting errors when Building Solution with SharpDevelop.

This is on a Win 10 machine. Am I using a bad .net or something?
This is sorta what it looks like.
Image

Re: Where's the best guide for setting up a DOL server?

PostPosted: Thu Jun 08, 2017 2:41 am
by MrPickles
Is this article up to date? http://www.dolserver.net/articles/?article=66
If so, I'm getting errors when Building Solution with SharpDevelop.

This is on a Win 10 machine. Am I using a bad .net or something?
This is sorta what it looks like.
Image
Can't tell for sure from the screenshot but looks like some assemblies aren't loaded in correctly. Have you tried to build it in Visual Studio? Since you have Windows, it may be worth a shot. Free as well. Might be the IDE not loading in correctly, I've never worked with Sharp Develop
https://www.visualstudio.com/vs/community/

Re: Where's the best guide for setting up a DOL server?

PostPosted: Thu Jun 08, 2017 3:52 am
by ontheDOL
Mrpickles, if you did a youtube setup vid that would be really nice :) The current DB might be "outdated" but it still is the most "current" ;) Regardless of this, the most it could serve in a video would be a direct link to the file. I feel most people stumble on the downloading and setup of the database applications etcs and config of dolserver.exe.

psychoninja, you are missing references, right click the top folder of each tree in the solution and add the relevant references, you onyl need to be doing this if you plan on modifying core files. If you dont plan on this, download the release version as i said and and you can just double click an exe file.

Re: Where's the best guide for setting up a DOL server?

PostPosted: Thu Jun 08, 2017 6:08 am
by HunabKu
Hi psychoninja911,
I
Image
you need to restore nuget packages about the solution.

Re: Where's the best guide for setting up a DOL server?

PostPosted: Thu Jun 08, 2017 7:46 pm
by psychoninja911
psychoninja, you are missing references, right click the top folder of each tree in the solution and add the relevant references, you onyl need to be doing this if you plan on modifying core files. If you dont plan on this, download the release version as i said and and you can just double click an exe file.
I hate to be so dense. But is there a way to test this? I'm unable to log into the server. I read that the first account you sing in with, is the admin account. However, I'm getting "Service not available" when trying to sign in.
Here's a close example (minus credentials) of my connect.bat file.
@DOLLoader "C:\Program Files (x86)\Electronic Arts\Dark Age of Camelot\game.dll" 127.0.0.1 10300 1 Adminaccount Password

I looked at my Maria db folder (C:\Program Files\MariaDB 10.2\data\) and there's daoc-like content in there :D
So it's been exported from Heidi properly. Right?

Is there anything else I need to do to turn the power switch on? :D
Windows firewalls are disabled for the time being (thought it shouldn't matter with loopback localhost address right? I'm not great with windows security).

EDIT: I added the localhost as a "Custom Server" in the DAoC Portal, and the icon is red. Not sure if this helps.
Edit: Also, I'm using Ginnungagap 1.2

Re: Where's the best guide for setting up a DOL server?

PostPosted: Thu Jun 08, 2017 8:11 pm
by PlanarChaosRvrtwo
Sent me pm i can help you via teamviewer to see exactly where the problem is.

Re: Where's the best guide for setting up a DOL server?

PostPosted: Thu Jun 08, 2017 9:30 pm
by ontheDOL
I hate to be so dense. But is there a way to test this? I'm unable to log into the server. I read that the first account you sing in with, is the admin account. However, I'm getting "Service not available" when trying to sign in.
it's ok mate, I dont think my responses have been too informative anyway :lol: I think you've been "led astray" by old guides. Personally, i've never used dolloader, and im not sure if it even works with current DOL! You should download DOLPortal from this website (links up top of website), then download the 1.109 game.dll also from this website ( links everywhere on site should be able to find a working link) replace the game.dll with the 1.109 version. Load up daocportal, point it to your daoc folder with the game.dll, click custom shards, right click the "white space" , add server, enter you local address ( IP ) . If you have your dolconfig setup to with your local IP, and database, you should now be able to see your server in "custom shards" with a green dot!
If not, then somethings is wrong :wink:

Now, the "first account admin" Is no longer how it works afaik (again very outdated guide :oops: ) So the "user" and "password" you try to login with daocportal to your server with, will create an account in your database with those credentials. Now, you need to goto your database in heidiSQL, click on "account" table, click "data" to see the columns, find your name (account name) you jsut created. scroll across to "privLevel" and change it from 1 to 3. (1 is normal user, 2 is GM, 3 is Admin)
Reset you server for the effects to take place, that account now has admin priviledges.

now this is a pretty crappy guide i wrote quickly but hopefully it can get you going. I might write up a proper 2017 guide this weekend and submit it to articles.

Re: Where's the best guide for setting up a DOL server?

PostPosted: Fri Jun 09, 2017 12:05 am
by psychoninja911
I'm going to wipe maria DB...

But first, I just noticed I have 2 HeidiSQL.exe files.
"C:\Program Files\HeidiSQL\heidisql.exe"
"C:\Program Files (x86)\Common Files\MariaDBShared\HeidiSQL\heidisql.exe"

Is that normal? Should I be using one over the other?

Re: Where's the best guide for setting up a DOL server?

PostPosted: Fri Jun 09, 2017 12:26 am
by PlanarChaosRvrtwo
"C:\Program Files\HeidiSQL\heidisql.exe" its instalation folder
"C:\Program Files (x86)\Common Files\MariaDBShared\HeidiSQL\heidisql.exe" Mariadb folder with its assitioated files
It dont make an diffrence witch one you use but i recommed to stick to mariadb but use the sourcecode diffrent couse your issues look like you used an github workbranch and not the sourcecode itself.