.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V > SEIV

Reply
 
Thread Tools Display Modes
  #1  
Old March 9th, 2007, 03:01 PM

Dethgod74 Dethgod74 is offline
Corporal
 
Join Date: Feb 2007
Location: Spring, TX
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Dethgod74 is on a distinguished road
Default Re: SEIV Autohost and dead human players

Mr. Junkie???

I'm a friend of Mikeydz's (althought I will NOT swear to that fact in court...) and am hosting a game on my webserver using Autohost as well.

Since I strive to keep my webserver up as much as possible, the unforeseen power outage that lasts longer than 10 minutes (the duration of my UPS) is there any way possible that you could add to autohost to accept command line entry from a batch file OR, have autohost 'remember' the last set of 'variables,' (savegame path, exe location, number of players and master password?

Also, how would someone go about hosting more than one game on the same server using your autohost program?

Thanks for taking the time to read my post.

Regards all,

Rob, aka dethgod74

Disclaimer: I am not now, nor will be in the future, be responsible for the longevity of one Mikeydz in our current SE 4 games...
__________________
Regards all,

Rob aka dethgod74
Reply With Quote
  #2  
Old March 9th, 2007, 08:19 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: SEIV Autohost and dead human players

If the games are using the same mod, there is no problem; just launch multiple instances of the autohost.

I suppose you could set up a batch file to copy a path.txt and then pass all of the parameters along to SE4 if you wanted to use multiple mods.

Note that the autohost was never intended to be hosting multiple games... concurrency issues are not handled at all. To be perfectly safe, you could have a separate, stripped down copy of se4 for each mod. (A playable SE4 can be fit on a 128meg usb key, and you can eliminate more graphics than that)
But for small numbers of games, it is probably a non-issue.



I will arrange some command line inputs to the autohost. Remembering the last set wouldn't work for you, if you were going to use multiple copies.
Reply With Quote
  #3  
Old March 9th, 2007, 09:10 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: SEIV Autohost and dead human players

And, done.

http://imagemodserver.mine.nu/other/...autohost2C.rar
Throw a question mark at it, and it will pop a message box detailing the parameters.

-seiv:<path to exe>
-nump:<#players>
-mpwd:<Master password>
-save:<savegame name>
-auto:

Note: Trailing spaces are trimmed. Avoid master PWs with spaces
Auto must come last if you want it to stick. Any change to the four text fields will automatically pause the autohost for safety, and the parameters are processed in order.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:51 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.