|
|
|
 |

February 15th, 2004, 03:40 PM
|
 |
Second Lieutenant
|
|
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New & raw web based Dominion II game server
The idea with one account pr. game is wonderful for play-by-email games. But I wouldn't want to do that from a CGI-interface: Creating accounts must for obvious reasons involve at least a sudo root operation. I would never let a CGI-script anywhere near that kind of power. Perhaps a chroot'ed approach could be found allowing for the one-accout-for-each-game approach.
As for storing game info, I use a mysql database. In there, I can do pretty much anything I want, without comprimising security. I could, e.g. store a backup for .2h files if I wished...
Another thing: Maybe it's just Sunday, but interest in this server has been quite low: Exactly one game has been created. For the current load, TCP/IP is DEFINITELY the way to go. Much easier to build/adminster than mail, and any server could run less than 5 games without sweating.
In the same vein: Feel free to pass the address of the server on to anywhere you think appropriate. The server has a limit (of currently 3), so there's no risk of overloading the server.
Also, if somebody have a pet option they just MUST have, please, don't hesitate to tell me. I havn't played all that much
Finally, response will be slow from me for an hour or so. I have a different kind of experiment underway: The making of filled chokolades.
Thanks for your interest in my little project 
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
|

February 15th, 2004, 04:12 PM
|
 |
Major General
|
|
Join Date: Jan 2004
Location: twilight zone
Posts: 2,247
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New & raw web based Dominion II game server
Quote:
Originally posted by Esben Mose Hansen:
Another thing: Maybe it's just Sunday, but interest in this server has been quite low
|
It is ...
1. early Sunday (in the US) with many religious types in church,
2. Post-Valentine's day,
3. a 3-day weekend in the US that some adults use for mini-vacations.
Give it some time. Your server hasn't even been running publically for 24 hours yet.
|

February 15th, 2004, 04:16 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: New & raw web based Dominion II game server
Quote:
Originally posted by Esben Mose Hansen:
The idea with one account pr. game is wonderful for play-by-email games. But I wouldn't want to do that from a CGI-interface: Creating accounts must for obvious reasons involve at least a sudo root operation. I would never let a CGI-script anywhere near that kind of power. Perhaps a chroot'ed approach could be found allowing for the one-accout-for-each-game approach.
|
True enough. Actually Ive done it in the past without sudo using a passed file as a work around. CGI creates a file with the account info. CRON reads it, checks it for possible abuse info, then creates the account with the info. But in general it is considered a thing to avoid.
Of course it wouldnt be much to a system to go ahead and make 100 or so such accounts then just roll the games thru them as needed.
Quote:
As for storing game info, I use a mysql database. In there, I can do pretty much anything I want, without comprimising security. I could, e.g. store a backup for .2h files if I wished...
|
Well pros and cons. SQL has its own drawbacks. Even in security. But then everyone should tends to know and handle the problems for their favorite softwares which is really the right way to go.
Quote:
Another thing: Maybe it's just Sunday, but interest in this server has been quite low: Exactly one game has been created. For the current load, TCP/IP is DEFINITELY the way to go. Much easier to build/adminster than mail, and any server could run less than 5 games without sweating.
|
When I saw the memory load it required I was scared away from that direction. But later I got up the nerve to start 2 games at the same time and saw that it handled librarys well. Most of what it loads does not get loaded for each server.
__________________
-- 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!)
|

February 15th, 2004, 05:14 PM
|
 |
Second Lieutenant
|
|
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New & raw web based Dominion II game server
Regarding the low load & Valentine: Good point. I hadn't thought about either Valentine holidays or religious types  Well, we'll just have to see what happens. However, before designing and implementing a server that could handle 100's of games, I would still like to see whether there is demand for 10's of games :-)
Cute idea with "order" file and a "fulfillment" cron job. That seems better secured than using sudo
Mysql has some nice & easy security feautures that I like  But as you say, each to their own. You can certainly do anything ýou can do with databases with files, and it' seasier to do mail<->file than mail<->db.
An objective description of the SQL language would be an epithet  At least the interface between Perl and Mysql is better than say C/C++ and DB/2.
Thanks for your interest... the chocolates are going through a 2nd cooling now.. next comes the bottom, and then it's back to coding 
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
|

February 15th, 2004, 11:58 PM
|
 |
Second Lieutenant
|
|
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New & raw web based Dominion II game server
I've uploaded a new Version of the hosting site. Most game options are now availble, though there's probably bugs. Report any you find here, please
I'll be gone working and visiting most of tommorow (2004-02-16). And now I'm going to get some sleep.
'night!
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
|

February 16th, 2004, 12:45 AM
|
Corporal
|
|
Join Date: Dec 2003
Location: Norway
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New & raw web based Dominion II game server
Can't create a game, no error message or anything.
|

February 16th, 2004, 08:25 AM
|
 |
First Lieutenant
|
|
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New & raw web based Dominion II game server
Quote:
Originally posted by Esben Mose Hansen:
I've uploaded a new Version of the hosting site. Most game options are now availble, though there's probably bugs. Report any you find here, please
I'll be gone working and visiting most of tommorow (2004-02-16). And now I'm going to get some sleep.
'night!
|
I believe you must have forgotten some part on the site: I see the same interface as before, with no more options. That may be why we cannot start new games.
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
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
|
|
|
|
|