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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.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, 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
  #2  
Old October 27th, 2004, 10:32 PM
PashaDawg's Avatar

PashaDawg PashaDawg is offline
General
 
Join Date: Jul 2004
Location: Portland, ME (USA)
Posts: 3,241
Thanks: 31
Thanked 65 Times in 18 Posts
PashaDawg is on a distinguished road
Default Re: PBEM server - first beta Online

Sounds cool. Dragonfire and I have 2 MP PBEM games going on. Maybe we can try to transfer them to your system to act as your guinea pigs.
Reply With Quote
  #3  
Old October 28th, 2004, 10:26 AM
Saeter's Avatar

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

Quote:
Rowlff said:
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 (^_^)
What about using a regular shell script to do the actual execution of the application? Have a php script do the command syntax of turns ready to run, and save those in a file, but do the actual execution from a shell script. It would only have to look in the php-prepared command file and run them. Just a thought, I'm not into the details of either php5 or Dom2 capabilities.
Reply With Quote
  #4  
Old October 28th, 2004, 12:58 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've tried this (and several other approaches) already! The problem remains that whatever way I try to open 'Dominions II', as soon as the original call is coming from PHP, 'Dominions II' can't start, because it can't connect to the Window Server (Error: "INIT_Processeses(), could not establish the default connection to the WindowServer."). Even using 'su' to pretend a normal user didn't help here...

Maybe it's due to me trying it on OS X. If somebody would like to give it a shot on Linux, I'll happily send him the appropriate scripts.

And does Illwinter read these threads? They should know a little something, too (^_^)
Reply With Quote
  #5  
Old October 28th, 2004, 01:53 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

Are you using text-only mode? Thats the only way I could get them to work. Are you looking for the start-game script or the process-turn script?
__________________
-- 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
  #6  
Old October 28th, 2004, 04:13 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

Interestingly enough, having the '--textonly' parameter didn't help, either.
Here's the command I use:

dominions2 --tcpserver --port 4040 --noclientstart --uploadtime 0 --mapfile aran.map --textonly testgame

Besides, I can't use '--textonly' for a hostrun, anyway, can I?

But like I said, I can't rule out the possibility that it's OS X related, and might work under Linux... can I send you a little script to test?
Reply With Quote
  #7  
Old October 28th, 2004, 05:33 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

You might try adding -q and --host
__________________
-- 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
  #8  
Old October 28th, 2004, 11:25 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

Thanks for the tip - but no change! I'll continue testing, but fear I have run into a wall here (>_<)
Hopefully Dom3 will introduce a separate server that's easier to use in textmode... but for the time being, I might have to go with Deccan's idea, and have 'domserv' only manage games, but hosts will actually have to download the .2h files to host on their own computers and reupload then once they're done.
Reply With Quote
Reply

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 06:13 AM.


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