Supgee's Official DOL HOWTO [Added to Wiki]

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

Supgee's Official DOL HOWTO [Added to Wiki]

Postby Supgee » Mon Jan 01, 2007 9:56 pm

As there is no "set in stone" walkthrough, I will attempt too provide one for the people.
This tutorial will explain everything from downloading the programs needed, exporting the source, compiling the source, setting up an MySQL server, and populating the databases.
------------
1. First of all, you will need to download a few programs too be successful in DOL.
A) Microsoft Visual C# Express Edition, available here.
This is a free IDE(Interactive Development Environment) provided by Microsoft.
B) You will need Tortoise SVN, available here.
Tortoise SVN is a way of obtaining the latest Dawn of Light source.
C) You will need MySQL server 4.1, available here.
MySQL 4.1 is the foundation for the MySQL databases.
D) You will need Navicat, available here.
Navicat is an MySQL GUI that allows you too edit MySQL easily.
-------------------------------------------------------------------


Using the Downloaded Programs effectively:
A) Microsoft Visual C# --> The C# Ide will automatically set itself as the c# default IDE. Once opened the Microsoft Visual C# interface is completely self explanatory.
B) Tortoise SVN --> Tortoise SVN is a shell extension, which means it is useable at all times. Too obtain the latest 1.8 source from Tortoise SVN, create a new folder. Right click inside that folder can do "SVN Checkout".
For the SVN URL, put: https://dolserver.svn.sourceforge.net/s ... harp/trunk
This will automatically download the latest 1.8 Revision into this folder.
C) MySQL 4.1 --> This is the framework for all MySQL. Once downloaded, you will need to configure your MySQL settings(username and password).
D) Navicat --> Navicat is the way you edit your databases. :)


--------------------------------------------------------------------
After you have obtained the latest 1.8 source, open up the Microsoft Visual C# IDE.
1) Go to file, and click browse. Find the folder you created and exported the 1.8 source into, and open the file labeled Dawn Of Light.
2) Let the file load completely, and when it is finished go too the top toolbar menu and click "Build". Then click "Build Solution".
3) Your 1.8 source will compile into a fully working Dawn of Light server.
After it has finished compiling you will see a compiled folder called "Release". You should all be familiar with this folder, so I will not go any further in this topic.

--------------------------------------------------------------------
Hooking up the MySQL Databases:
1) Open up your Navicat GUI and click "Connection", "New Connection".
2) Put in server as "localhost". Enter your username and password(the ones you entered when you configured your MySQL Server 4.1
3) Press Enter. You will have successfully entered into your MySQL server.
4) You will now see a tab called "localhost". Click on it, and it will become green. Expand the arrow, and you will see 3 databases.
5) Right click on "localhost" and create a new database named "DOL" or "dol" the capital do not mean anything.
6) This will be your database for MySQL.
---------------------------------------------------------------------

Linking, and Establishing your MySQL tables.
*update*
1) Run your DOLServer.
2) Follow the DOLConfig application that appears on screen.
3) Voila, you are done!
----------------------------------------------------------------------
Downloading and Importing your MySQL Databases:
1) Too download the official keep(Includes: Keep, KeepComponent, KeepHookpoint, KeepPosition, Relic) releases, click here.
2) Too download the official content package(Includes: Ability, ClassXRealmAbility, SpecXAbility, Specialisation, Style, Style Substitute, StyleXSpell, Spell, SpellLine, LineXSpell) releases, click here.
3) Too download the official World package(Includes: World Object, Zone Point, Area, Bind Point, Door) releases, click here.
4) Once you have downloaded all theese databases, extract them all into a folder you can easily remember.
5) Open up your Navicat MySQL GUI.
6) Open up your localhost connection, and right click on the database "dol" that you created.
7) Click execute batch file, and locate the folder you extracted all the databases into.
8) Click each database one by one, and they will be added to your MySQL database.
9) You now have an MySQL Database :)
10) You will now be able to run your fully compiled, fully functional DOL server, with a successful MySQL Database.
------------------------------------------------------------------------
I hope this tutorial provides useful, and I hope that people use it.

Cheers,
Supgee.
:v:
Last edited by Supgee on Thu Sep 13, 2007 10:43 pm, edited 4 times in total.
Supgee
DOL Devotee
 
Posts: 343
Joined: Sun Nov 12, 2006 9:54 pm
Location: CANADA. EH?

Postby LinkDead » Tue Jan 02, 2007 12:45 am

Thanks for the guide!
http://www.ff-fan.com/chartest/banners/zack.jpg

Each Win I Weaken, Each Defeat I Learn
User avatar
LinkDead
DOL Guest
 
Posts: 1
Joined: Mon Jan 01, 2007 11:48 pm

Postby Overdriven » Tue Jan 02, 2007 1:16 pm

Nice call moving it here Supgee.


PS: Sorry for being a cunt towards you recently.
Overdriven
Inactive Staff Member
 
Posts: 1736
Joined: Wed Sep 07, 2005 8:49 pm
Website: http://www.jasonbenedetti.co.uk
Location: Surrey, UK.

Postby Supgee » Tue Jan 02, 2007 7:16 pm

I actually got Etaew too move it and sticky it.


PS: No problem :wink:
Supgee
DOL Devotee
 
Posts: 343
Joined: Sun Nov 12, 2006 9:54 pm
Location: CANADA. EH?

Postby Batlas » Tue Jan 02, 2007 9:28 pm

It would look better in the wiki :)
[22:29] <Arms> someones having sex upstairs -.-
[22:30] <Arms> bbl

[21:16] <Angie> do /me
[21:16] <Batlas> roflmao
[21:16] <Dalaaji> haha
[21:16] <Batlas> wow that came out bad
[21:16] <Angie> wow
[21:16] <Angie> that so came out bad
Batlas
Support Team
 
Posts: 1707
Joined: Sun Mar 21, 2004 3:11 am

Postby Cisien » Tue Jan 02, 2007 9:54 pm

there's already a halfassed one in the wiki, if you dont mind, supgee, you should update the wiki one :)
<img src="http://www.dolserver.net/portal/play/si ... &type=lait">
DAoCPortal
DOL Wiki! - Contribute!
ID List
[url=irc://irc.quakenet.org/dolserver]#dolserver[/url]
[url=irc://irc.quakenet.org/daocportal]#daocportal[/url]
[url=daoc://82.208.41.49:10300]Official DOL Test Server[/url]
Cisien
Inactive Staff Member
 
Posts: 1324
Joined: Thu Sep 25, 2003 7:46 am
ICQ: 13068487
Website: http://www.exoronet.net
Yahoo Messenger: Cisien123

Postby Supgee » Tue Jan 02, 2007 10:39 pm

Sure thing!
:wink:
Supgee
DOL Devotee
 
Posts: 343
Joined: Sun Nov 12, 2006 9:54 pm
Location: CANADA. EH?

Postby LifeFlight » Sat Jan 06, 2007 9:57 pm

Great Guide!!!
Helped me out.
LifeFlight
Contributor
 
Posts: 114
Joined: Wed Jan 03, 2007 6:07 am
Website: http://lifeflight.utpdr.com
Location: Texas

Postby Roozzz » Fri Feb 02, 2007 9:23 am

When browsing through different language forums i came across two other how-to guides in german and Italian respectively.

Maybe somebody could also sticky them? I think it could be very usefull for people to have a guide in their mothertongue...
Quidquid latine dictum sit, altum videtur
Roozzz
Database Team
 
Posts: 1943
Joined: Wed Dec 06, 2006 11:00 am

Postby Etaew » Fri Feb 02, 2007 2:00 pm

Would only sticky them in the respective other language forums, but since I don't understand the languages, or visit the forums often, I'd have to be pointed towards them.
Retired DOL Enthusiast | Blog
User avatar
Etaew
Inactive Staff Member
 
Posts: 7602
Joined: Mon Oct 13, 2003 5:04 pm
Website: http://etaew.net
Location: England

Postby Roozzz » Fri Feb 02, 2007 2:05 pm

Would only sticky them in the respective other language forums, but since I don't understand the languages, or visit the forums often, I'd have to be pointed towards them.
Thats why I figured to post here, I noticed the Italian one is stickied this morning by Lightbringer.

And this is the topic in the german forum: http://www.dolserver.net/viewtopic.php?t=6228
Quidquid latine dictum sit, altum videtur
Roozzz
Database Team
 
Posts: 1943
Joined: Wed Dec 06, 2006 11:00 am

Postby Supgee » Sun Mar 11, 2007 10:15 pm

Updated too reflect latest SVN url.
Supgee
DOL Devotee
 
Posts: 343
Joined: Sun Nov 12, 2006 9:54 pm
Location: CANADA. EH?

Postby samandhi » Sun Mar 11, 2007 11:08 pm

Linking, and Establishing your MySQL tables.
1) Locate too your "release" folder, and open up the folder config.
2) Find the XML document called serverconfig.xml, and open it up.
3) Find the line --> <DBConnectionString>C:/whatever/xml_db</DBConnectionString>
4) Replace that line with this --> <DBConnectionString>Server=localhost; Database=DOL; User ID=YOURUSERNAME; Password=YOURPASSWORD</DBConnectionString> (Note: Your username and password are the same from what you configured with your MySQL Server 4.1
5) Find the line --> <DBType>XML</DBType>
6) Replace that line with --> <DBType>MySQL</DBType>
7) Save the file, and run your DOL server.
You will experience some errors, while the DOL server creates the empty MySQL Databases
Hi. I love this guide, however I have followed it to a "T", and this section is stumping me. After compiling the sources as you suggested, I can find the config folder, but there are only two .xml files in there :
  • regions
    zones
has something changed or am I missing something?
User avatar
samandhi
DOL Apprentice
 
Posts: 45
Joined: Mon Aug 30, 2004 10:45 pm

Postby Overdriven » Sun Mar 11, 2007 11:18 pm

SQL databases arn't kept in the DOL directory at all, once they've been converted you need to use a SQL GUI to find/use the databases.

The two XML files are right :)
Overdriven
Inactive Staff Member
 
Posts: 1736
Joined: Wed Sep 07, 2005 8:49 pm
Website: http://www.jasonbenedetti.co.uk
Location: Surrey, UK.

Postby samandhi » Sun Mar 11, 2007 11:41 pm

Thank you for replying so fast. I am not sure I understand, though. I have downloaded the DB's listed in the tut... I was having a problem establishing the link between the server and MySQL because I cant find the file listed in the tutorial to change.
User avatar
samandhi
DOL Apprentice
 
Posts: 45
Joined: Mon Aug 30, 2004 10:45 pm


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 0 guests