|
|
|
 |

October 25th, 2004, 10:44 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: PBEM game: Advice and/or recommendations?
I have a 24/7 Debian Linux server (its easier and cheaper than you think). I wouldnt mind hosting either arrangment but Im going for the simplest modular arrangment that I can do as a sysadmin-upward system rather than the all-in-one webmaster-downward Version already available (Mose Hansens package).
So for mine, the keystone would be the simplest possible script that doesnt have much "this must also be loaded for this to work" stuff. It would transfer the Users "C:\Program Files\dominions2\game2\man.2h" file to "../dominions2/game2/man.2h". No variables, and no switches.
Im also hoping for "create game" and "host then quit" scripts rather than up-all-the-time hosting. Those ARE supposed to be possible. I would much rather CRON or CGI kickoff the hostings.
__________________
-- 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!)
|

October 25th, 2004, 12:29 PM
|
Private
|
|
Join Date: Oct 2004
Location: Germany
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: PBEM game: Advice and/or recommendations?
Thanks for the offer, Gandalf! Like I said, I'll most likely be able to host something like this myself come the beginning of next year, but the more offers, the better!
As to the simplicity, I am thinking along the same lines. A single package that's easy to install with as little dependencies as possible would be best. Seeing that having a database makes keeping track of players, games and everything so much easier, I am currently aiming for PHP5 with the included SQLite (or maybe PHP4 with some libraries I wrote myself for simple flatfile DBs). So if you had that, I'd like to keep you in the loop regarding my progress...
And, yes, we're talking about a solution here that 'hosts and quits' - no permanently running "Dominions II"-servers (^_^)
|

October 25th, 2004, 12:52 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: PBEM game: Advice and/or recommendations?
Since Im more SysAdmin than programmer or webmaster, my method of tracking Users and games was going to be user accounts on the machine. Managed by ISP methods. If a game has an account then it automatically has a web space, quotas, an email address that can be automatically programmed for processing incoming turn files and sending outgoing result files, ftp, etc etc etc. With user accounts they could simply be email aliases allowing for playing anonymously.
Of course to some that would seem the hard way and a database the easy way but Im thinking that depends on your background. The Mose Hansen Version is Perl/MySQL (and available for download if you want to look at the scripts)
__________________
-- 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!)
|

October 25th, 2004, 04:17 PM
|
Private
|
|
Join Date: Oct 2004
Location: Germany
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: PBEM game: Advice and/or recommendations?
Like you said, Gandalf: There always more than one way to do it. I prefer the database approach, because it allows for so much more flexibility in aggregating data. A list of all games you play? Just an SQL query! Displaying all games that have open positions left? Another simple query!
Whatever! I've started working on 'domserv' (anybody have a better name?) today, and am making progress (at least that's what I think). As soon as I have something to show, I'll either point you to the address or send you the files to try them on your own machine.
|
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
|
|
|
|
|