PDA

View Full Version : Starting the Server Under Windows



fraghard
03-14-2004, 02:25 AM
Hey.

How do I start an AS server using the .bat files? I need to run the server as a service.

Thx for any help.

fraghard
03-14-2004, 02:25 AM
Hey.

How do I start an AS server using the .bat files? I need to run the server as a service.

Thx for any help.

Black_Ice_
03-14-2004, 09:45 AM
I have the same question. I've tried everything so far. So now I'm going to download the 268mb SA server just to view the readme file and example batch files. What a waste huh.

=ӹӞ=3?ßӺ
http://www.shubertium238.com/seals

RevRaz
03-14-2004, 10:34 AM
Use FireDaemon to run it as a service.

The only command line you need to enter is

ucc server -mod=AthenaSword

http://www.firedaemon.com/

http://squadservers.com
http://bdcpaging.com/files/MapHelperv12.zip

fraghard
03-14-2004, 11:19 AM
thx for the reply.

I do use Fire Daemon. Where do I enter the command line at? Currently I run the .bat file for COOP as a service, which is how I ran RvS.

I don't see where the .bat file will know to start AS at all.

So, I need to find how I can tell the server to start AS. Is it a parameter in Fire Daemon? I don't see where to enter a command line.

RevRaz
03-14-2004, 11:28 AM
You can change your .bat file command line to read

ucc server -mod=AthenaSword

instead of just ucc server

http://squadservers.com
http://bdcpaging.com/files/MapHelperv12.zip

fraghard
03-14-2004, 11:52 AM
<pre class="ip-ubbcode-code-pre">@echo off
:restart
ren server.ini server.old
echo Renamed server.ini
copy servercoop.ini server.ini
echo Copied new ini file
echo Starting server...
ucc.exe server -mod=AthenaSword
goto restart </pre>

Correct? Doesn't work as far as I can tell.

RevRaz
03-14-2004, 03:30 PM
You have a new Server.ini for Athena Sword, its in your AthenaSword\System folder called ServerAthenaSword.ini

http://squadservers.com
http://bdcpaging.com/files/MapHelperv12.zip

fraghard
03-14-2004, 04:00 PM
right, I understand that. Am I supposed to move the .bat files into the new system folder?

The directions aren't very clear, sorry for so many questions.

Basically, do I:

-Move the .bat files into the new AS system folder

-Edit the new server.ini file

- add the line ucc server -mod=AthenaSword to my .bat file (mine says ucc.exe not ucc)

RevRaz
03-14-2004, 04:05 PM
Well I pointed that out because you are backing up and renaming your Server.ini for no reason in that bat file.

ucc and ucc.exe are the same thing, so that doesnt matter. If you go to Start / Run and type your path to ucc (ie.. c:\program files\ravenshield\ucc.exe server -mod=AthenaSword) with the new parameter, does the Server launch?

http://squadservers.com
http://bdcpaging.com/files/MapHelperv12.zip

fraghard
03-14-2004, 05:08 PM
Thx for your help http://ubbxforums.ubi.com/infopop/emoticons/icon_smile.gif

Great having people like you around on the forums.

RevRaz
03-14-2004, 05:21 PM
Hopefully that means its working now for you http://ubbxforums.ubi.com/images/smiley/59.gif

http://squadservers.com
http://bdcpaging.com/files/MapHelperv12.zip

Black_Ice_
03-14-2004, 07:37 PM
This is striaght from the "Howto-AthenaSword.txt" document that comes with the stand alone server. I've included a couple of game type examples down below as well. Also I've attached a working batch file for you guys to see.
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>
You can type in any of the two following commands to start a server:

ucc server -mod=AthenaSword

*This will use the default server settings that can be found in the
Mods\AthenaSword\System\ServerAthenaSword.ini.

You can also use the following command:

ucc server -mod=AthenaSword -servercfg=[Insert your server file name here]

The default location for ini files is the Raven Shield's system folder

e.g. ucc server -mod=AthenaSword -servercfg=MyAthenaSwordCfg.ini
will load MyAthenaSwordCfg.ini from the Raven Shield's system folder.
ucc server -mod=AthenaSword -servercfg=..\Mods\AthenaSword\System\MyAthenaSword Cfg.ini
will load MyAthenaSwordCfg.ini from the Athena Sword's system folder.


GameType[1]=ASGame.R6CaptureTheEnemyAdvGame -AS Capture the Enemy Adversarial
GameType[2]=ASGame.R6KamikazeGame -AS Kamakazi<HR></BLOCKQUOTE>
My Batch File Code
<pre class="ip-ubbcode-code-pre">
@echo off
:restart
ucc.exe server -mod=AthenaSword -servercfg=athena_th.ini
goto restart
</pre>
This is as simple as a batch file gets. I use the athena_th.ini which is just a customer 'server.ini' file. It's located in my original ravenshield system folder. Simply copy my code and change the athena_th.ini code to whatever your custom server.ini files name is.

Hope this helps.

=ӹӞ=3?ßӺ
http://www.shubertium238.com/seals