http://eechcentral.simhq.com/index.php?title=Dedicated_server&feed=atom&action=historyDedicated server - Revision history2024-03-28T19:47:31ZRevision history for this page on the wikiMediaWiki 1.26.2http://eechcentral.simhq.com/index.php?title=Dedicated_server&diff=60&oldid=prevKassie at 13:59, 1 December 20072007-12-01T13:59:33Z<p></p>
<p><b>New page</b></p><div>[[Image:Dedicated server.jpg|thumb|right|Main screen in dedicated server mode.]]<br />
<br />
A dedicated server is more like the classic server/client configuration. Normally in EECH is that a player hosts a game which others can join. With dedicated server mode the host runs a server, which others can join, along with himself.<br />
<br />
{|<br />
|-<br />
| valign="top" | [[Image:Server client.png|thumb|300px|dedicated server set up]]<br />
| valign="top" | [[Image:Client host.png|thumb|300px|EECH default set up]]<br />
|-<br />
| '''<font color="#9aba58">Green</font>''' for the host player.<br />
|}<br />
<br />
== Cons and Pros ==<br />
<br />
There aren't really major advantages for running a dedicated server, just some minor things.<br />
<br />
* [[Image:Rating-plus.png|15px]] It can be started with a command line, which gives oppertunities to restart a campaign once crashed or every 5 days or so.<br />
* [[Image:Rating-minus.png|15px]] Doesn't have the ability to save.<br />
* [[Image:Rating-plus.png|15px]] It gives the ability to skip all the menu to pass through needed to start up a game.<br />
<br />
== Setting up a dedicated server ==<br />
<br />
# open [[eech.ini]]<br />
#* look for parameter <code>dedicated</code><br />
#*: set its value to <code>1</code> to enable dedicated server mode<br />
#* look for parameter <code>[[usemaster]]</code><br />
#*: set its value to <code>1</code><br />
# [[Image:DEDICATED bat.png|right]] open <code>DEDICATED.BAT</code> with Notepad<br />
#: path: <code>C:\Program Files\Razorworks\cohokum\DEDICATED.BAT</code><br />
# make a command line yourself in the file or pick one already made<br />
#: example: <code>cohokum dedicated:1 game_type:3 gunship_type:0 path:..\common\maps\map5 directory:skirm01 filename:lebanon.skr</code><br />
#: This example will start a skirmish on Libanon terrain.<br />
# run <code>DEDICATED.BAT</code><br />
<br />
=== notes ===<br />
* "<code>rem</code>" means that the current line isn't part of the algorithm.<br />
* Only <code>dedicated</code> and <code>pauseserv</code> are utilized parameters in [[eech.ini]] for setting up a dedicated server.<br />
* <code>pauseserv</code> parameters will pause the server if there are no players active.<br />
<br />
[[category:eech.ini]] [[category:installation and setup]]</div>Kassie