|
|
|
 |

November 5th, 2003, 08:44 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Dedicated Servers?
Quote:
Originally posted by Tourmalyn:
What this allows for is lots of games since no game will be hosted 24/7 from an ip address. The only time that will happen is the first 48hrs to allow for players to claim spots.
|
What an interesting hybrid. I had been looking at it as all or nothing. Either the games would be IP/host operated limiting a server to about a dozen games running. Or would be PBEM allowing hundreds of games but the headaches involved with getting everyones initial files setup.
I like this. My linux server could actually have a dozen signups running at one time with no problem. Once the game is setup then it could shift to being a PBEM game.
Quote:
Question: Linux supports PHP right?
|
Yes. It supports pretty much anything that isnt actually locked in as being a windows only thing.
I was thinking of looking into things like "movable type" which allows an easy web interface for file uploading. That would simplify things alot I think.
[ November 05, 2003, 18:52: Message edited by: Gandalf Parker ]
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|

November 5th, 2003, 09:22 PM
|
Lieutenant Colonel
|
|
Join Date: Apr 2003
Location: Nuts-Land, counting them.
Posts: 1,329
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Re: Dedicated Servers?
Thank you Richard & Gandalf for the answer.
As of now, I'm just taking some notes. I have a script util to finish, and then a big scenario before restarting anything on my (crude as of now) hosting utility. So nothing will be done before at least january.
Anyway, I can only propose a windows Version, which would be a stand alone executable, without any web service associated anyway. So if some people have some spare time now, feel free to start something!
__________________
Currently playing: Dominions III, Civilization IV, Ageod American Civil War.
|

November 5th, 2003, 09:50 PM
|
Private
|
|
Join Date: Oct 2003
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Dedicated Servers?
I'm going to go ahead and start something just for the sake of doing it. I've been needing an excuse to learn PHP or JSP anyways. As far as the platform, I would probably lean toward Microsoft since transactions to an access/sql database from PHP/ASP are dead simple. Additionaly, it would be easy to write a VB app to run 24/7 that would manage the lauching/shutting down of Dom2 servers, and maintanence of the databases. Don't get me wrong, I don't have anything against Linux, I just don't want to deal with the tediousness of writing a C++ app to do the maintanence on an OS I am unfamiliar with.
|

November 27th, 2003, 09:50 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Dedicated Servers?
OK time to resurrect this thread.
THANK YOU Illwinter for adding the text-only mode for hosting. It works fine on my debian linux server. Now to play with switches and scripts for awhile.
Questions:
Quote:
-t --hosttime X Y Host on day X (0=sunday) hour Y (0-23)
--minutes X Set host interval in minutes
-h --hours X Set host interval in hours
--pauseday X Stop timer on this day (0=sunday)
|
0=sunday. Does that mean that --hosttime 024 3 will process on Sunday Tuesday and Thursday at 3am?
I understand the --hours but whats the thought behind --pausday? Why would you pause the time? Pause for what? How do you restart it?
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|

November 28th, 2003, 12:22 AM
|
 |
First Lieutenant
|
|
Join Date: Nov 2003
Location: Hobart, Australia
Posts: 772
Thanks: 7
Thanked 3 Times in 2 Posts
|
|
Re: Dedicated Servers?
Any ideas for handling "tyre-kickers"?
By this, I mean people who stumble on a site, click around a bit, then wander off never to be heard from again. This kind of behaviour would play havoc with a Dom2 automatic registration system if it wasn't handled in some way.
My suggestion would be the standard "we'll email you, and wait for your activation before we consider you registered". Even then, you'll still get people who will jump through all the hoops, only to abandon the game almost immediately it starts. I know this from experience with other web-based games I've managed.
__________________
There are 2 secrets to success in life:
1. Don't tell everything you know.
|

November 28th, 2003, 12:50 AM
|
Captain
|
|
Join Date: Aug 2003
Posts: 883
Thanks: 0
Thanked 13 Times in 5 Posts
|
|
Re: Dedicated Servers?
Quote:
I understand the --hours but whats the thought behind --pausday? Why would you pause the time? Pause for what? How do you restart it?
|
--pauseday 0, makes the timer not count down on sundays. This might be useful if you want to rest one day each week.
|

November 29th, 2003, 02:53 AM
|
 |
Major General
|
|
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
|
|
Re: Dedicated Servers?
Quote:
Originally posted by Tourmalyn:
As far as the platform, I would probably lean toward Microsoft since transactions to an access/sql database from PHP/ASP are dead simple.
|
mySQL ?
Quote:
Additionaly, it would be easy to write a VB app to run 24/7 that would manage the lauching/shutting down of Dom2 servers, and maintanence of the databases. Don't get me wrong, I don't have anything against Linux, I just don't want to deal with the tediousness of writing a C++ app to do the maintanence on an OS I am unfamiliar with.
|
shell script? cron job?
I'm not terribly familiar with LINUX, too, but afaik there should be some possiblities to do this "the simple way".
And if you need more complex functions to work with the database and/or want a GUI for administration, why not use Perl/Python/Tcl with GUI-Kit (tk).
Or XBasic (code portable between Linux and W32 Version), so we needn't rely on M$ stuff?
A.
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|