PDA

View Full Version : Command Line Parameters - Dedicated Server



chromedome35
June 14th, 2007, 09:40 AM
Besides the -LIVE parameter, has anyone ran across a list of other options?

Specifically, is there a Port parameter to specify the port that the server runs on (to set up more than 1 server on a box) ?

Thanks

{XF} Doc
June 14th, 2007, 02:40 PM
help is a good one


as for a port no there is not but you can set up more than one service

h2server -createservice -name:blabla
h2server -createservice -name:blabla2

Something to that affect, like I said help is good one.

{XF} Doc
June 14th, 2007, 03:10 PM
I was wrong on the wording

its h2server -createservice -live -name:blabla -user:account@domain.com
then h2server -createservice -live -name:blabla2 -user:account2@domain.com
http://img252.imageshack.us/img252/9004/h2serverzv3.jpg
http://img237.imageshack.us/img237/3391/h2server2tk0.jpg
again help is great

chromedome35
June 14th, 2007, 09:48 PM
Thanks, but help doesn't detail specifying a port :)

{XF}Lowsy
June 14th, 2007, 10:13 PM
who is this doc guy and why is he so smart?

{XF} Doc
June 15th, 2007, 09:09 AM
Thanks, but help doesn't detail specifying a port :)


you don't have to specify a port like you did in H1 or you can't specify a port.

{XF} Doc
June 15th, 2007, 09:09 AM
who is this doc guy and why is he so smart?

yes yes a lot of our success is constant tinkering by Lowsy and myself...mostly lowsy

Con
June 15th, 2007, 09:11 AM
Post images on their own line
Don't double post

{XF} Doc
June 15th, 2007, 09:55 AM
Post images on their own line
Don't double post

1 I did the second image is just two wide
2 what about a postakular!!!
3 contribute?

Syuusuke
June 15th, 2007, 08:45 PM
1.
2. That would require 4 posts in row (...)
3. pfft

This is my contribution: damn them.

{XF} Doc
June 16th, 2007, 03:41 PM
I like it

Damn em all

LgK_BoZz
February 6th, 2008, 09:57 AM
I wrote: h2server -createservice -live -name:server1 -user:lgk.bozz@hotmail.it
and it says me:

http://img143.imageshack.us/img143/6100/immaginevl2.jpg

LgK_BoZz
February 6th, 2008, 09:59 AM
What should I do?? I tried so many times...:( Can someone help me? Maybe I did a mistake on writing?

Vicky
February 6th, 2008, 10:22 AM
Why not just h2server -createservice -live ?

LgK_BoZz
February 6th, 2008, 11:10 AM
because I want to run multiple instances on my PC...

LgK_BoZz
February 6th, 2008, 11:18 AM
it's possible to run multiple instances? i see the previous page of this topic and XF Doc was saying that it's possible...someone can help me?

Vicky
February 6th, 2008, 11:42 AM
Yeah it's possible, i'm pretty sure your user is the problem, it's not the 'live' user but a windows user. Make it simpler, like H2Server or something.

{XF}Lowsy
February 6th, 2008, 07:20 PM
I wrote: h2server -createservice -live -name:server1 -user:lgk.bozz@hotmail.it


That is almost correct. But to have multiple instances you need to actually use the word 'instance' instead of 'name'. Also, as Vicky pointed out, the username should be an actual windows account. Not a Games for Windows Live account.

So try this:

h2server -createservices -live -instance:server1

Forget the username field.

Once you get that far, and an actual prompt comes up (h2server #server1$), then start issuing the 'live autosignin [silveraccountemail]' and the 'Live Key #####-#####-#####-#####-#####' command to actually get the server logged in and available for people to join.

Good luck. Let us know how you made out.

LgK_BoZz
February 7th, 2008, 01:36 PM
ty, I'll try this tomorrow 'cause now I'm busy with this stupid homeworks...

LgK_BoZz
February 8th, 2008, 07:41 AM
That is almost correct. But to have multiple instances you need to actually use the word 'instance' instead of 'name'. Also, as Vicky pointed out, the username should be an actual windows account. Not a Games for Windows Live account.

So try this:

h2server -createservices -live -instance:server1

Forget the username field.

Once you get that far, and an actual prompt comes up (h2server #server1$), then start issuing the 'live autosignin [silveraccountemail]' and the 'Live Key #####-#####-#####-#####-#####' command to actually get the server logged in and available for people to join.

Good luck. Let us know how you made out.

I did this for the first server, but when I tried with the 2nd server it told me that another process of the same game or the server was already running....

Vicky
February 8th, 2008, 08:20 AM
Tried -instance:server2 for the 2nd?

LgK_BoZz
February 8th, 2008, 09:58 AM
i tried h2server -createservice -live -instance:server2
and then h2server #server2$ -live

as I did previously for the 1st server h2server -createservice -live -instance:server1
then h2server #server1$ -live

it creates the account H2SERVER2 but i can't run the 2nd server...

Vicky
February 8th, 2008, 10:16 AM
Once installed as a service you don't run the server anymore, it has become a background service. Are they both listed and active in your services? And are you connecting to the servers using h2admin? I don't think you are, use for every server the h2admin program. Use it like this: h2admin -live -instance:server1 (and 2 for the 2nd).
It's easy to create a batchfile for every server containing that command and create a shortcut on your desktop to those batchfiles, and that way you're almost setup to use the servertool too.

LgK_BoZz
February 8th, 2008, 10:54 AM
ok, I try this immediatly..

LgK_BoZz
February 8th, 2008, 11:02 AM
I do it!!!! oh yeah!!! ty Vicky!!!!!!!! <3

http://img521.imageshack.us/img521/1313/immagineay7.jpg

Vicky
February 8th, 2008, 11:15 AM
Great!

LgK_BoZz
February 8th, 2008, 11:30 AM
vicky can u help me with H2V Server Tool?

Vicky
February 8th, 2008, 07:44 PM
Helped him out, he installed it on vista and was trying to get a game-provider to host a hv2 server...

KIWIDOGGIE
March 10th, 2008, 07:00 PM
Does anyone know how to make the server "Invite Only" not VIP because I want to be able to invite friends without adding them to the VIP list.

Syuusuke
March 10th, 2008, 07:18 PM
Don't think it is possible. What's wrong with just typing the command: vip add "Gamertag here"?

KIWIDOGGIE
March 10th, 2008, 07:26 PM
Don't think it is possible. What's wrong with just typing the command: vip add "Gamertag here"?

The server is in another room, but then again who said I needed to install vista on my new server. *thinks* Vicky is a h2v god. RCON ftw.

Idjiki
March 13th, 2008, 04:26 PM
why don't you use realvnc or something like that to control your server in the other room? Or maybe i missed the point entirely.

johnnyblaz20
March 14th, 2008, 02:21 AM
Why not use scissors to cut your lawn? The tool is all you need.