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

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old October 27th, 2004, 01:21 PM

Rowlff Rowlff is offline
Private
 
Join Date: Oct 2004
Location: Germany
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rowlff is on a distinguished road
Default PBEM server - first beta Online

Like discussed in the recent 'PBEM recommendations'-thread, I have been working on a fully automatic PBEM server for 'Dominions II'.
This system, while easy to install (needing only PHP5 and a cronjob), will allow people to host a large number of PBEM games with minimal admin supervision.

It's not done yet (which most of all means, that no games are actually hosted), but I have put a first working beta Online at

http://rowlff.dotgeek.org/domserv/

where you can already set up player accounts, create games, edit and join them, upload .2h files, ...

Please have a go at it, to find the inevitable bugs, give me your ideas, wishes, complaints!

I'll continue the work in the next days - and if I could take Gandalf up on his offer to use his server, we might have a working Version with live games soon (^_^)

-Marc
Reply With Quote
  #2  
Old October 27th, 2004, 01:55 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: PBEM server - first beta Online

Quote:
Rowlff said:
This system, while easy to install (needing only PHP5 and a cronjob), will allow people to host a large number of PBEM games with minimal admin supervision.
Only PHP5 and cron? Using comma dilimeted text files for a database? (which would be fine with me)

So this is going to be webbased PbEM? upload/download turm files and scripted "host & quit" cron jobs?
__________________
-- 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!)
Reply With Quote
  #3  
Old October 27th, 2004, 02:24 PM

Rowlff Rowlff is offline
Private
 
Join Date: Oct 2004
Location: Germany
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rowlff is on a distinguished road
Default Re: PBEM server - first beta Online

I use PHP 5's built in SQLite as a database (which is the reason I didn't go with the more widespread Version 4).
That gives me full SQL capabilities without having to install anything else...

And yes to your other question: The cron job will just have to call a 'runhost' script every hour (or whatever 'granularity' of schedule you prefer), and this automatically determines the games that are due for a host and runs them!
Reply With Quote
  #4  
Old October 27th, 2004, 04:31 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: PBEM server - first beta Online

It looks really good. Simple. Maybe even simple enough for me to understand the scripts.
PLEASE release it as a base workable Version and THEN start adding neat things.

As for hosting, thinking about getting a domain to go with it?
dommies.com
dominionist
dominionism
dominions2.net
dom2games.net
domgames.net
dom2taw.net
d2games.net

We can always tag it off of dom2minions.com but thats such a long name.
__________________
-- 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!)
Reply With Quote
  #5  
Old October 27th, 2004, 07:06 PM

deccan deccan is offline
Major
 
Join Date: May 2003
Location: Solomon Islands
Posts: 1,180
Thanks: 0
Thanked 0 Times in 0 Posts
deccan is on a distinguished road
Default Re: PBEM server - first beta Online

Way to go, that was fast work!
__________________
calltoreason.org
Reply With Quote
  #6  
Old October 27th, 2004, 07:16 PM

Rowlff Rowlff is offline
Private
 
Join Date: Oct 2004
Location: Germany
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rowlff is on a distinguished road
Default Re: PBEM server - first beta Online

Good to hear that you seem to like it - it's still a way to go, when it comes to automatic hosting, though: The fact that there's no standalone server, and you have to more or less start the complete 'Dominions II'-application to do a simple host run, is a big problem.
So far, I haven't been able to do so from a php-script, but I am working on it (^_^)

Once this works (and I'm still confident), we can think about where to put it. And I will then immediately release it for everybody to play around with. Promise!
Reply With Quote
Reply

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:50 PM.


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