How to configure a nice server ! [Added to Wiki]
PostPosted: Sat Oct 20, 2007 10:13 am
I M P O R T A N T: with DoL Setup, you no longer need to to the database import step !
Hello,
I'd like to help before asking something. All this comes from my own recent experience.
From my job, I know the complexity of comprehension between users and developpers, i hope this topic will help.
1) DOL for dummies
DOL is a server. This means there is no graphical part to DOL, except future 3rd party tools; DOL is intercepting what your DAOC client - the program you normally run - is asking and answers it accordingly. DoL runs in a 'console', the black box filled of text lines appearing when you run it; you can consider the server functional if the last line of the console do not contains an error message saying the server is stopped. When fully loaded, the server will state it is ready, announcing it is 'open for connections'.
DOL is only the means to answer the requests of DAoC clients. DOL 'speaks' the same language, handle answers, execute actions and reply. Some answers are searched into the MySQL database (or XML files if you prefer them). DOLServer determines facts (positions, etc...), triggers events, handles various things such as AI or actions, and database is storing data-side items: mob description, abilities description, characters description, items created...
For external actions, there are scripts. Scripts are part of code easily modifiable compiled at DOLServer execution. It allows you to extend DOLServer features in implementing various way of working, statics pnjs, quests. Scirpts are not in the database, and are loaded at DOL's start by itself.
So actually, you need these things at the start:
- the DOL server software
- a database for objects - objects are generic: they are mobs, items, spells, npc... (or XML files which do the same things, but with longer load times - MySQL is highly recommended. It seems XML is dead as DOL won't release & support it. Even a blank DB is allowed for testing purposes.
The goal of DOLServer is to emulate Mythic's DAoC servers. The package, far to be complete, allows numerous actions & DB items. You could help us to improve this in either populating databases sections, coding non-implemented features, or even doing bug reports.
2) Ok I understand but... what do I do now, precisely?
Precisely... you have just to download from this page the DoL server (and the dumped database ALTHOUGH we'll not use it in this chapter). Install DOLServer, launch DOLServer.exe - you should have the config dialog if this is the first time you run it - choose XML in database settings, save these settings, and double click DOLserver.exe. You can again change the settings by running DOLConfig.exe
Now, let's try to reach this server with a standard DAoC client. For this, download DAOC Portal, a simple means to connect to private servers without editing your client files (it also allows you to connect to some free shards on the net), then run it; choose DAoC the client directory, select the tab 'custom' shard, File-> add custom, accept parameters*, put username and password and select new added custom, then press play.
*for your own machine, try the I.P. 127.0.0.1 and port 10300 as default. If connection trouble persists, it may be your firewall blocking DoLserver, or windows firewalls.
Eventually deal with your own firewall.... and....
Miracle! It WORKS!
Your client connects to the wonderful startup land of DOLtopia!
Note : by default there is auto-account creation, and the first created account will have admin rights.
And YES, because everything is user defined, you can make a warrior+warlock+with pets and plate+dual weapons+ defender's rage growth rate on taunt style with champion's debuffs! This is the strength and the complexity of the product
But for obvious reasons, servers try to reproduces classes as on EA/Mythic's DAOC.
With your default server pack:
Normal commands are working: /quit, etc...
Gm commands are working (select yourself, type /speed 2000, and move... wahow!). Try /player level 50 !
There are also admin commands which allow Admins to grant privilege (gm/admin) to other's accounts.
Guys, it is working fine, you now have to configure your OWN world....
Hello,
I'd like to help before asking something. All this comes from my own recent experience.
From my job, I know the complexity of comprehension between users and developpers, i hope this topic will help.
1) DOL for dummies
DOL is a server. This means there is no graphical part to DOL, except future 3rd party tools; DOL is intercepting what your DAOC client - the program you normally run - is asking and answers it accordingly. DoL runs in a 'console', the black box filled of text lines appearing when you run it; you can consider the server functional if the last line of the console do not contains an error message saying the server is stopped. When fully loaded, the server will state it is ready, announcing it is 'open for connections'.
DOL is only the means to answer the requests of DAoC clients. DOL 'speaks' the same language, handle answers, execute actions and reply. Some answers are searched into the MySQL database (or XML files if you prefer them). DOLServer determines facts (positions, etc...), triggers events, handles various things such as AI or actions, and database is storing data-side items: mob description, abilities description, characters description, items created...
For external actions, there are scripts. Scripts are part of code easily modifiable compiled at DOLServer execution. It allows you to extend DOLServer features in implementing various way of working, statics pnjs, quests. Scirpts are not in the database, and are loaded at DOL's start by itself.
So actually, you need these things at the start:
- the DOL server software
- a database for objects - objects are generic: they are mobs, items, spells, npc... (or XML files which do the same things, but with longer load times - MySQL is highly recommended. It seems XML is dead as DOL won't release & support it. Even a blank DB is allowed for testing purposes.
The goal of DOLServer is to emulate Mythic's DAoC servers. The package, far to be complete, allows numerous actions & DB items. You could help us to improve this in either populating databases sections, coding non-implemented features, or even doing bug reports.
2) Ok I understand but... what do I do now, precisely?
Precisely... you have just to download from this page the DoL server (and the dumped database ALTHOUGH we'll not use it in this chapter). Install DOLServer, launch DOLServer.exe - you should have the config dialog if this is the first time you run it - choose XML in database settings, save these settings, and double click DOLserver.exe. You can again change the settings by running DOLConfig.exe
Now, let's try to reach this server with a standard DAoC client. For this, download DAOC Portal, a simple means to connect to private servers without editing your client files (it also allows you to connect to some free shards on the net), then run it; choose DAoC the client directory, select the tab 'custom' shard, File-> add custom, accept parameters*, put username and password and select new added custom, then press play.
*for your own machine, try the I.P. 127.0.0.1 and port 10300 as default. If connection trouble persists, it may be your firewall blocking DoLserver, or windows firewalls.
Eventually deal with your own firewall.... and....
Miracle! It WORKS!
Your client connects to the wonderful startup land of DOLtopia!
Note : by default there is auto-account creation, and the first created account will have admin rights.
And YES, because everything is user defined, you can make a warrior+warlock+with pets and plate+dual weapons+ defender's rage growth rate on taunt style with champion's debuffs! This is the strength and the complexity of the product
But for obvious reasons, servers try to reproduces classes as on EA/Mythic's DAOC.
With your default server pack:
Normal commands are working: /quit, etc...
Gm commands are working (select yourself, type /speed 2000, and move... wahow!). Try /player level 50 !
There are also admin commands which allow Admins to grant privilege (gm/admin) to other's accounts.
Guys, it is working fine, you now have to configure your OWN world....