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

This Month's Specials

The Falklands War: 1982- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Closed Thread
 
Thread Tools Display Modes
  #1  
Old February 16th, 2004, 02:24 AM
Esben Mose Hansen's Avatar

Esben Mose Hansen Esben Mose Hansen is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
Esben Mose Hansen is on a distinguished road
Default Re: New & raw web based Dominion II game server

Well, no. The problem is that "capitalvp" is on by default. I'm just now updating my scripts to accept most of the game options provided to the textbased server, but I'm not done yet.

But playing with VP seems to so much more fun?

Well, anyway, thanks for the game! While short it was long enough for me to finish implementing another feature: The web page now shows a listing over the players that have not yet moved this turn. Also, I'm preparing a (short) comment field for stuff like: "Start this game at 5 players, please!"
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
  #2  
Old February 15th, 2004, 03:22 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: New & raw web based Dominion II game server

I was thinking that creating an actual account for each game might be simplest. Creating a game123 would allow for a game123@ email address, and a game123 upload directory, and a www.gameserver/~game123 web directory for game info. So far there isnt alot og game info you can put there but I was thinking "if you build it then some will come"
__________________
-- 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!)
  #3  
Old February 15th, 2004, 03:40 PM
Esben Mose Hansen's Avatar

Esben Mose Hansen Esben Mose Hansen is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
Esben Mose Hansen is on a distinguished road
Default 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)
  #4  
Old February 15th, 2004, 04:12 PM
Arryn's Avatar

Arryn Arryn is offline
Major General
 
Join Date: Jan 2004
Location: twilight zone
Posts: 2,247
Thanks: 0
Thanked 0 Times in 0 Posts
Arryn is on a distinguished road
Default 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.
__________________
Visit my Dominions II site
  #5  
Old February 15th, 2004, 04:16 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default 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!)
  #6  
Old February 15th, 2004, 05:14 PM
Esben Mose Hansen's Avatar

Esben Mose Hansen Esben Mose Hansen is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
Esben Mose Hansen is on a distinguished road
Default 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)
  #7  
Old February 15th, 2004, 11:58 PM
Esben Mose Hansen's Avatar

Esben Mose Hansen Esben Mose Hansen is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
Esben Mose Hansen is on a distinguished road
Default 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)
  #8  
Old September 7th, 2004, 12:21 PM
Esben Mose Hansen's Avatar

Esben Mose Hansen Esben Mose Hansen is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
Esben Mose Hansen is on a distinguished road
Default Re: New & raw web based Dominion II game server

As an extra note: I've just tested Jabber notification, and it seems to work. If anyone else would care to help test this... they could post their player name here and I could send a test message.

The Jabber system apparently attempts to send the message to whatever system it deems you are currently active at. This seems to be the client which logged in the latest. This can lead to surprising results. It is also rather wrongheaded, in my humble opinion.
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
  #9  
Old September 7th, 2004, 04:10 PM
JaydedOne's Avatar

JaydedOne JaydedOne is offline
Second Lieutenant
 
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 488
Thanks: 0
Thanked 0 Times in 0 Posts
JaydedOne is on a distinguished road
Default Re: New & raw web based Dominion II game server

Hi Esben,

It's been a while since I logged on to your server. Is there any chance you could PM me with my password? I seem to have forgotten it.

If there are any major changes that have taken place with the server that I need to be aware of, I'd also appreciate notice there. Otherwise, I'll just figure it out.

Thanks again!
  #10  
Old September 7th, 2004, 04:18 PM
Ygorl's Avatar

Ygorl Ygorl is offline
Captain
 
Join Date: Jun 2004
Location: Rhode Island
Posts: 822
Thanks: 0
Thanked 0 Times in 0 Posts
Ygorl is on a distinguished road
Default Re: New & raw web based Dominion II game server

I'm happy to help in any way possible. My player name (surprise!) is Ygorl.
I used to get Jabber notices intermittently. Lately I haven't been getting them at all.
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 10:50 AM.


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