.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   Auto Admin for PBE? (http://forum.shrapnelgames.com/showthread.php?t=16621)

Gandalf Parker November 1st, 2003 08:18 PM

Re: Auto Admin for PBE?
 
Quote:

Originally posted by Gandalf:
Id be very interested in this. I have a linux (debian) server and can put up a much larger (solaris) server if need be. Ive been trying to prod some webmaster into creating some sort of interface they would like to manage but so far no one has bitten.

Originally posted by Strider:
Not sure that I understand the 'need' for an interface...Doing a TCP/IP server for DOM II is (or similar) to the DOM II server being a Terminal Server. The player enters the IP address and port number to make the connection. They are then using the server to actually play the game (for the most part).
<font size="2" face="sans-serif, arial, verdana">Yes Ive played those games in Dom 1 and I love that Illwinter provided that option. Its a great option especially for new players so they dont really have to understand the old PBEM methods. Its how most of the games have been run so far. And you are correct that there is no 'need' for an interface if I were 'hosting' a game.

But if I were going to become a game server for Dom 2 then an interface would be a good idea. The way you mention would mean that I would need to run multiple copies of dominions all the time each watching a different port. Im not sure how many could be run that way since I dont know how much CPU and memory the dom host requires.

With a web interface then 100 games could be listed. Different maps, different settings, signup forms showing what races are taken in each game and which ones are open. The turns would be turned in by FTP or Email. Each game could have its own email box for this and its own webpage for game statistics/information.

Whenever a game gets all of the turns received then it would run Dom in host mode to process the turns and move them to an FTP directory or email them back. That would be quick and it would then quit the dom program. Thats why a hundred games could run on a PBEM server even if its a very small machine.

[ November 01, 2003, 18:23: Message edited by: Gandalf Parker ]

Alneyan November 1st, 2003 08:38 PM

Re: Auto Admin for PBE?
 
If you do want to see why an interface would be needed, you may want to have a look at Play By Web for Space Empires IV. When the server is back Online that is. http://forum.shrapnelgames.com/images/icons/icon12.gif

PBW ran *a lot* of games (somewhere above a hundred, likely two hundred and some) from two to twenty players, with different settings and even mods were featured, along with all the features Gandalph mentioned.

I do not know what were the specifications of the server though, so I cannot say how much is needed. And don't ask me either how PBW is working. http://forum.shrapnelgames.com/images/icons/icon12.gif But it works very well, while you would have a problem to handle a hundred of games without an interface.

Strider November 2nd, 2003 06:50 PM

Re: Auto Admin for PBE?
 
Ahhh...now I have a much better understanding of what you're after, from reading this and your post in another thread. Thanks for explaining.

Sammual November 2nd, 2003 07:18 PM

Re: Auto Admin for PBE?
 
[quote]Originally posted by Gandalf Parker:
[qb]
Quote:

Originally posted by Gandalf:
Id be very interested in this. I have a linux (debian) server and can put up a much larger (solaris) server if need be. Ive been trying to prod some webmaster into creating some sort of interface they would like to manage but so far no one has bitten.

But if I were going to become a game server for Dom 2 then an interface would be a good idea. The way you mention would mean that I would need to run multiple copies of dominions all the time each watching a different port. Im not sure how many could be run that way since I dont know how much CPU and memory the dom host requires.

With a web interface then 100 games could be listed. Different maps, different settings, signup forms showing what races are taken in each game and which ones are open. The turns would be turned in by FTP or Email. Each game could have its own email box for this and its own webpage for game statistics/information.

Whenever a game gets all of the turns received then it would run Dom in host mode to process the turns and move them to an FTP directory or email them back. That would be quick and it would then quit the dom program. Thats why a hundred games could run on a PBEM server even if its a very small machine.
<font size="2" face="sans-serif, arial, verdana">Other than the open Dom / process turns / close Dom I can do that given a server with Cold Fusion 4.5+ installed on it (The only ones I have access to ATM are at work).

Sammual

Gandalf Parker November 2nd, 2003 08:26 PM

Re: Auto Admin for PBE?
 
Quote:

Originally posted by Sammual:
Other than the open Dom / process turns / close Dom I can do that given a server with Cold Fusion 4.5+ installed on it (The only ones I have access to ATM are at work).
Sammual
<font size="2" face="sans-serif, arial, verdana">Illwinter has made that easy with switches. Dom 1 even had it where you could run the host action from a bat file or any other script. The only problem I had before is that it still seemed to want a graphic library which I didnt have loaded because I dont load my servers with any GUI stuff. I understand that this is fixed but I havent tested it. It wouldnt affect most people anyway since most windows/linux/solaris servers tend to have a gui interface loaded. Its just us old coming-out-of-unix die-hards that have a problem. http://forum.shrapnelgames.com/images/icons/icon7.gif

Gandalf Parker November 3rd, 2003 03:05 AM

Re: Auto Admin for PBE?
 
Apparently....
./dom2demo -STq --hosttime 0 22 --ipadr X.X.X.X. --port XXXX

should work for running a text-only server. Of course its the type of server where people log in to play one game. Since a game can run for months I dont see where a server could run enough of these to keep a game available for joining most of the time.

Id rather see an example of a process&quit command line.

[ November 03, 2003, 01:32: Message edited by: Gandalf Parker ]


All times are GMT -4. The time now is 11:03 PM.

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