[Current Forum ] [Archive 2003 - 2005]
[Register]  [Profile]  [Preferences]  [Search]
[Private messages]  [Memberslist]  [FAQ]  [Login]
Subsim Radio Room Forum Index » » Silent Hunter II » » Can we Join/Host from command line?
Author Can we Join/Host from command line?
RevRaz


Joined: Dec 31, 2002
Posts: 230
From: So Cal
Posted: 2003-01-27 21:26   
Is there a /j or /h switch we can use to join or host a M/P game without having to use the menu?
_________________



  View Profile of RevRaz   Email RevRaz   ICQ status       Edit/Delete This Post   Reply with quote
HerrBaron


Joined: Feb 26, 2002
Posts: 493
From: Norwalk, CT
Posted: 2003-01-27 21:44   
Quote:

On 2003-01-27 21:26, RevRaz wrote:
Is there a /j or /h switch we can use to join or host a M/P game without having to use the menu?




You can create a shortcut that points to sim.exe in the sim folder under sh2; it must be set to START UP in the sim folder. The command line for the link should have a -h (host) or a -m (join) after the exe name, as in:

J:\games\sh2\sim\sim.exe -h

or

J:\games\sh2\sim\sim.exe -m

Note that when the sim shuts down, it will spawn the shell; this is expected behavior.

_________________
Fair Winds and Following Seas!



HerrBaron


  View Profile of HerrBaron   Email HerrBaron   Goto the website of HerrBaron        Edit/Delete This Post   Reply with quote
RevRaz


Joined: Dec 31, 2002
Posts: 230
From: So Cal
Posted: 2003-01-27 21:49   
Thank you for the reply, does the Join switch need a IP?
_________________



  View Profile of RevRaz   Email RevRaz   ICQ status       Edit/Delete This Post   Reply with quote
HerrBaron


Joined: Feb 26, 2002
Posts: 493
From: Norwalk, CT
Posted: 2003-01-28 00:59   
Quote:

On 2003-01-27 21:49, RevRaz wrote:
Thank you for the reply, does the Join switch need a IP?




No; the switches merely bring the sim to the appropriate dialogs.

_________________
Fair Winds and Following Seas!



HerrBaron


  View Profile of HerrBaron   Email HerrBaron   Goto the website of HerrBaron        Edit/Delete This Post   Reply with quote
WULFPAK


Joined: Mar 16, 2002
Posts: 282
Posted: 2003-01-28 01:19   
HB,

Is there a way for to setup the host for a non-player no gui server?

Like:
../SH2/sim.exe /h /nogui
(i.e. host ip: 111.222.333.444)

and

Is there a way to seed the Client's IP form/field as to pick up the host's IP?

Like:
../SH2/sim.exe /m /ip 111.222.333.444

Wulfie

[ This Message was edited by: WULFPAK on 2003-01-28 01:36 ]


  View Profile of WULFPAK   Email WULFPAK      Edit/Delete This Post   Reply with quote
Lock this Topic Move this Topic Delete this Topic
Powered by phpBB Version 1.4.4
Copyright © 2000 - 2001 The phpBB Group

phpBB Created this page in 0.008763 seconds.