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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old March 1st, 2007, 11:24 PM

mikeydz mikeydz is offline
Private
 
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
mikeydz is on a distinguished road
Default SEIV Autohost and dead human players

Playing in a 4 human player game with AIs using autohost. Player 3 bit the dust (What a loser...) so now only player 1,2, and 4 remains. Unfortunately, Autohost does not seem to recognize that player 3 is dead, and is still waiting for him to upload his turn. How do I get autohost to recognize that player 3 is no more. Setting it to 3 players doesn't work. And I don't see anyway to remove the dead player under the SEIV host mode.
Reply With Quote
  #2  
Old March 1st, 2007, 11:43 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: SEIV Autohost and dead human players

Autohost?
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #3  
Old March 2nd, 2007, 12:27 AM

mikeydz mikeydz is offline
Private
 
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
mikeydz is on a distinguished road
Default Re: SEIV Autohost and dead human players

It's Suicide Junkie's program to automate hosting funcions, mostly for LAN play, but I'm using in on my private server instead of using PBW.
Reply With Quote
  #4  
Old March 2nd, 2007, 09:53 AM
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

Ah, that's a good thing to add.

For now, just make a dummy plr, and I'll update the code after work tonight.
Reply With Quote
  #5  
Old March 2nd, 2007, 10:14 AM
capnq's Avatar

capnq capnq is offline
General
 
Join Date: Feb 2001
Location: Pittsburgh, PA, USA
Posts: 3,070
Thanks: 13
Thanked 9 Times in 8 Posts
capnq is on a distinguished road
Default Re: SEIV Autohost and dead human players

On PBW the host can switch a dead player empire to AI control; you should be able to do that manually. (I assume PBW just uses the manual controls.)
__________________
Cap'n Q

"Good morning, Pooh Bear," said Eeyore gloomily. "If it is a good morning," he said. "Which I doubt," said he.
Reply With Quote
  #6  
Old March 2nd, 2007, 06:29 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: SEIV Autohost and dead human players

I would imagine that PBW just changes how many empire files it checks for when it does the "last player upload" type processing checks. You don't need special switches to make SE4 process a turn with AI control for missing or dead empires.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #7  
Old March 2nd, 2007, 10:27 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

http://imagemodserver.mine.nu/other/...autohost2B.rar

There you go!
I've added a row of checkboxes to mark players as dead.

Also, a spiffy master computer icon instead of the boring window icon.
Reply With Quote
  #8  
Old March 2nd, 2007, 11:44 PM

mikeydz mikeydz is offline
Private
 
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
mikeydz is on a distinguished road
Default Re: SEIV Autohost and dead human players

Awesome! Works like a champ... Thanks a bunch.
Reply With Quote
  #9  
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
  #10  
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
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 11:52 PM.


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