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

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







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

Closed Thread
 
Thread Tools Display Modes
  #1  
Old February 15th, 2004, 12: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 New & raw web based Dominion II game server

Hi,

I just made a web page capable of starting a few Dominioins II games from my server. Come and try, start a few games :-D

It's made from Perl, IO::Pty, Apache, Perl::CGI and mysql --- all running on a Hardened Gentoo Linux.

Please be gentle with my server --- it's quite small, and can only handle so much. I'll be asleep the next 8 hours or so, but afterwards I'll certainly help with any trouble you spot :-)

I know the game options are really lacking, and so is the fact that everybody can start a game. Be patient, and it will come! Oh, and help would be nice, too. If I distribute it, it will be GPL'ed (it uses mysql, which I believe is GPL).

Here's the link:Dominions II Game Server
__________________
"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, 01:00 AM
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

Looks nice. Did you check out the server threads here? such as this one?

You went with starting a full service tcp/ip game. Nice setup. The community thanks you.

I was going to try and go the other way. Some sort of web-based upload of the .2h file is about the only hangup I think. Then it would be easy to provide a web-based download of .trn files. That would allow a "host at midnight" run thru all the game files. Alot more games could be done on one machine but its taking a long time to iron out.

[ February 14, 2004, 23:01: 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!)
  #3  
Old February 15th, 2004, 01:08 AM

Norfleet Norfleet is offline
Major General
 
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
Norfleet is an unknown quantity at this point
Default Re: New & raw web based Dominion II game server

Did you want us to merely test the game-starting functionality, or attempt to break the server?
  #4  
Old February 15th, 2004, 01:14 AM
Argitoth's Avatar

Argitoth Argitoth is offline
Lieutenant Colonel
 
Join Date: Oct 2003
Location: Gilbert, AZ
Posts: 1,375
Thanks: 1
Thanked 0 Times in 0 Posts
Argitoth is on a distinguished road
Default Re: New & raw web based Dominion II game server

How are you going to get past the temp-file crashes?
__________________
Composer, Sound Designer, www.elanhickler.com
  #5  
Old February 15th, 2004, 01:31 AM
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 Argitoth:
How are you going to get past the temp-file crashes?
I havent had that on a linux machine. Just on Windows. But if it did happen it wouldnt be hard on linux to check for it and reload

[ February 14, 2004, 23:31: 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!)
  #6  
Old February 15th, 2004, 01:37 AM
Johan K's Avatar

Johan K Johan K is offline
Brigadier General
 
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
Johan K is on a distinguished road
Default Re: New & raw web based Dominion II game server

I tried to test it. But I got this error message when I tried with port 6677 and later with port 16563. (0 vp, 0 req vp, map aran)

-------------------
An error occurred while attempting to launch game:

You must specify a valid port
__________________
http://www.illwinter.com
  #7  
Old February 15th, 2004, 09:20 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 Gandalf Parker:
Looks nice. Did you check out the server threads here? such as this one?

You went with starting a full service tcp/ip game. Nice setup. The community thanks you.

I was going to try and go the other way. Some sort of web-based upload of the .2h file is about the only hangup I think. Then it would be easy to provide a web-based download of .trn files. That would allow a "host at midnight" run thru all the game files. Alot more games could be done on one machine but its taking a long time to iron out.
Yeah, I did check out the server threads, and will do so again now that I have the basic setup. To get some more ideas. And you're all welcome --- thank me by playing with me

I chose the TCP/IP setup over the mail-based setup simply because I liked the feel of a TCP/IP server. A mail-based server would be able to handle a substantial load, though, so that would be great, too! I think my little server would be able to handle perhaps 5--10 TCP/IP game before becoming too slow.

Also, I think it is perhaps a bit more challinging to make a mailbased server. If I did, I would base it on a sendmail clone and a CGI webpage. Then I would have each game have it's own (maybe virtual) mailbox, or maybe filter on subject. When the server has run I would simply email the turns back. This would require a registration of email addresses, hence the CGI-page.

I won't be implemented this anytime soon though. But I'll certainly help if I can & if somebody want to do it
__________________
"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 February 15th, 2004, 09:23 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 Johan K:
I tried to test it. But I got this error message when I tried with port 6677 and later with port 16563. (0 vp, 0 req vp, map aran)

-------------------
An error occurred while attempting to launch game:

You must specify a valid port
My fault. I only allow ports between 2300 through 2400. This is to make it easier to understand my firewall logs. This should have been written in the error response.

I'll update the page soon. I wanted the port to be a dropdown selection in any case.
__________________
"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 February 15th, 2004, 09:26 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

OK, to reply to the rest of the replies in one fell swoop:

The server is not too hard to break.Only the dominions II part should break. I have a change in my head which should make it much harder to break, but that would have to wait.

I don't know what the tempfile problem is (Gandalf writes that it is a windowsthing), but restart of the server is certainly possible if it become an issue. It would actually be the same change as above, funny enough.

Enjoy!
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
  #10  
Old February 15th, 2004, 10:09 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

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?
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 05:23 PM.


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