.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   How to set up an online autohost like Llamaserver? (http://forum.shrapnelgames.com/showthread.php?t=39612)

Innocence July 10th, 2008 04:48 AM

How to set up an online autohost like Llamaserver?
 
I'd like to set up online PBEM autohost (like Llamaserver) for a game I'm currently hosting manually.

Two questions:
1) Is there any premade web-stuff (PHP/ASP/HTML) available for player/host interaction (GUI), or do I have to write this myself?
2) Can I use my own serial when I install Dom3 on the non-playing autohosting server - or maybe I don't need to install the entire game when I only need hosting (Dom3.exe commandline)

llamabeast July 10th, 2008 05:41 AM

Re: How to set up an online autohost like Llamaser
 
Creating a new LlamaServer is non-trivial, as there are some thousands of lines of code involved. However, I'm more than happy to host any games you want on the LlamaServer, and if you have the admin password then you can do anything that you could do on your own machine anyway.

Innocence July 10th, 2008 06:06 AM

Re: How to set up an online autohost like Llamaser
 
Wow thanks, that'd be great http://forum.shrapnelgames.com/images/smilies/happy.gif

We play on a casual time scheme - it it possible to have the hame running without time limit (ie. no forced turns)?

llamabeast July 10th, 2008 08:06 AM

Re: How to set up an online autohost like Llamaser
 
Yeah sure, or rather you can set the time limit to be really long so it never comes into play.

Send me an e-mail with the files (llamabeast[ at ]llamaserver [ dot ]net) and I'll get it set up for you.

Baalz July 10th, 2008 08:42 AM

Re: How to set up an online autohost like Llamaser
 
Llamabeast is one of our great community resources. Thanks again for everything you do llama!

Gandalf Parker July 10th, 2008 11:37 AM

Re: How to set up an online autohost like Llamaserver?
 
Quote:

Innocence said:
I'd like to set up online PBEM autohost (like Llamaserver) for a game I'm currently hosting manually.

Two questions:
1) Is there any premade web-stuff (PHP/ASP/HTML) available for player/host interaction (GUI), or do I have to write this myself?
2) Can I use my own serial when I install Dom3 on the non-playing autohosting server - or maybe I don't need to install the entire game when I only need hosting (Dom3.exe commandline)

Just for the sake of answering..
There are lots of examples of code. But it would help to know what OS you are talking about. Windows XP, Vista, Mac, Linux?

You can use your own serial. Thats a wonderful thing that the devs did. The host doesnt check its own serial unless you use it to play in someones game (avoid that). Plus you can install your dom3 on a windows desktop for your own playing, and install it on a mac or linux server for hosting without having to buy another version.

Innocence July 10th, 2008 03:24 PM

Re: How to set up an online autohost like Llamaserver?
 
Quote:

Gandalf Parker said:There are lots of examples of code. But it would help to know what OS you are talking about. Windows XP, Vista, Mac, Linux?

Actually OS shouldn't matter too much if written in a webserver script like ASP/PHP. True, OS-specific calls like checking for and executing files would need an overhaul, but the code for player interaction would be similar. Apart from that, I was planning on using a Windows 2003 server (since I work with those daily http://forum.shrapnelgames.com/images/smilies/happy.gif )
Quote:

The host doesnt check its own serial unless you use it to play in someones game (avoid that)

Perfect http://forum.shrapnelgames.com/images/smilies/happy.gif

lch July 10th, 2008 04:08 PM

Re: How to set up an online autohost like Llamaser
 
Quote:

Innocence said:
Actually OS shouldn't matter too much if written in a webserver script like ASP/PHP.

Right, so I'd like to ask you to do this in PHP for greater portability, if you intend to share your code later. http://forum.shrapnelgames.com/images/smilies/happy.gif

I've been eying at the Symfony PHP Framework to implement something like this for a long time, but I'm lacking the time and determination at the moment to really pull through with this. Maybe you want to give it a try? http://forum.shrapnelgames.com/images/smilies/wink.gif

Gandalf Parker July 10th, 2008 07:32 PM

Re: How to set up an online autohost like Llamaserver?
 
Well there is Llamabeasts.

And Mine..
Linux Hosting

And Esben Mose Hansen Dom2 Server
Esbens Server

And then lch and Velusion have done extensive coding on the server end.

lch July 10th, 2008 08:18 PM

Re: How to set up an online autohost like Llamaser
 
I have the files that Esben was using for his web host, by the way, in case somebody is interested in those. As he writes in the post that Gandalf has linked to, it's powered by Apache/Perl/SQL. I was mostly interested in the web interface, but you could use it for hosting Dom3 games with it, too, I think. There hasn't changed much from Dom2 to Dom3 regarding hosting games.


All times are GMT -4. The time now is 07:57 AM.

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