.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 > Illwinter Game Design > Dominions 2: The Ascension Wars

Closed Thread
 
Thread Tools Display Modes
  #11  
Old February 15th, 2004, 10:58 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

Quote:
Originally posted by PhilD:
OK, I'm feeling stupid this morning.

I started a game, and the site tells me it's fine, running on port 2350 and all...

But I cannot find an IP address to connect to. Did I miss something, or is there, somewhere, a Dominions 2 server that's accepting connections, only nobody knows where?
You may be feeling stupid, but not as much as I do The IP is now on the page (it's 80.161.86.108). Somehow I figured that people would know it's mosehansen.dk since that is where the webpage is served from. And that is wrong in so many ways...

Sorry for the inconvience... I have already joined your game, BTW. It's me playing Man. And I'm no good at this game, BTW, but I will learn :-D
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
  #12  
Old February 15th, 2004, 11:01 AM
PhilD's Avatar

PhilD PhilD is offline
First Lieutenant
 
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
PhilD is on a distinguished road
Default Re: New & raw web based Dominion II game server

Quote:
Originally posted by Esben Mose Hansen:

Sorry for the inconvience... I have already joined your game, BTW. It's me playing Man. And I'm no good at this game, BTW, but I will learn :-D
I joined as well, as Abysia. We can do a few turns if you like (I wasn't really looking for a new MP game, but since we're both in Europe and it's sunday anyway...
  #13  
Old February 15th, 2004, 01:35 PM
PhilD's Avatar

PhilD PhilD is offline
First Lieutenant
 
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
PhilD is on a distinguished road
Default Re: New & raw web based Dominion II game server

Quote:
Originally posted by PhilD:
quote:
Originally posted by Esben Mose Hansen:

Sorry for the inconvience... I have already joined your game, BTW. It's me playing Man. And I'm no good at this game, BTW, but I will learn :-D
I joined as well, as Abysia. We can do a few turns if you like (I wasn't really looking for a new MP game, but since we're both in Europe and it's sunday anyway...
Wow, THAT was a fast game. I thought the victory conditions were "standard", and didn't check the VPs... (Is there a way on your server to use non-VP victory conditions?)

For those at home: Esben and I played a 7-turn or so game, which he won waaaay before we made contact because he had 3 VPs out of a total 6 on the map... thing is, he started with 2, and I with only 1...
  #14  
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!)
  #15  
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)
  #16  
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
  #17  
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!)
  #18  
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)
  #19  
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)
  #20  
Old February 16th, 2004, 12:45 AM

Pillin Pillin is offline
Corporal
 
Join Date: Dec 2003
Location: Norway
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Pillin is on a distinguished road
Default Re: New & raw web based Dominion II game server

Can't create a game, no error message or anything.
Closed Thread

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 07:21 PM.


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