.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 3: The Awakening

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old May 20th, 2007, 08:11 PM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Starting mod-nation MP games in text-only mode

Bit of a technical question here.

I've been working for a while on my automated PBEM system, which is called the LlamaServer. It's running fine, and has a few games going at the moment. It has the capacity to host far more though (at least 10s I should think, maybe more), and so I want to automate as much of the process of creating and running games as possible.

With a considerable amount of help from Gandalf, I was able to get it to automatically start games once all the pretender files have been received. It goes like this:
- Put all the pretender files in the game directory
- In text mode, tell it to start hosting a new game with that name. It'll then sit there waiting for people to connect and upload pretenders. Given a timeout of zero seconds, it'll immediately give up, then notice a load of pretenders are already in the correct directory, and use them.
- It'll then sit waiting for people to play their turns. Being as this is a PBEM game that isn't what we want, so just kill the process. But the game has now been successfully started.

This all works brilliantly. Thanks Gandalf!

The problem I've now run into is with mod nations. I'm a huge fan of some of the mod nations, particularly Sombre's Ulm Reborn and Vaettiheim SE. So I'd very much like players to be able to choose those nations in my games. The problem is that the above procedure doesn't work for mod nations - the pretender files just don't get noticed.

Doing tests in graphical mode, I've found the following:
- If you go straight to "Setup a dominions server", the mod nations aren't in the list.
- If you first click "Create a new game", then immediately hit Cancel, then do "Setup a dominions server", the mod nations will now be in the list.

So it seems that "Create a new game" makes dominions look at the mods and realise that there are extra nations to include.

So my question is, how can I mimic this in text-only mode? Is there any way of making dominions accept pretenders for mod nations without using the graphical interface?

If anyone has any thoughts they'll be greatly appreciated. Sorry for the long and technical post! It'll be really good if I can get this working.
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
 

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 10:47 PM.


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