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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old April 16th, 2004, 02:14 AM
Cainehill's Avatar

Cainehill Cainehill is offline
Lieutenant General
 
Join Date: Mar 2004
Location: Albuquerque New Mexico
Posts: 2,997
Thanks: 0
Thanked 0 Times in 0 Posts
Cainehill is on a distinguished road
Default Request for Storing Server IP/Port #s

Maybe it's just me, but I've found it unnecessarily tedious and awkward to deal with multiple ongoing MP games - having to write down the names of each game, the IP addresses / hostnames and the port numbers, and then enter them for each game.

Now, I realize our developers don't like to do UI work so a menu of the Last five servers & port numbers would be way too much to hope for.

However, a much simpler thing would be to either embed the server & port into the gamestate files (probably the .trn file), or create a separate file in the game directory - "server.opt" or some such - that contained the information.

Then, instead of going through Network, Connect to Dominions Server, and entering in the server information, you could simply click "Play an Existing Game", select the game, and have the server settings pre-loaded from "server.opt" if it existed.

If it was a SP game, no server.opt, therefore no prompt, and a player could always skip or modify the server and port settings, if a game was being hosted by a new server or whatnot.

So - does anyone else think this would be a useful and convenient thing? I know I've heard others chatting on IRC, trying to remember a server or port number for a particular game, so I don't think I'm the only one. (But possibly few players have 5 to 10 MP games going at once, on 3 or more different servers.)
__________________
Wormwood and wine, and the bitter taste of ashes.
Reply With Quote
  #2  
Old April 16th, 2004, 02:35 AM
Graeme Dice's Avatar

Graeme Dice Graeme Dice is offline
General
 
Join Date: Nov 2000
Posts: 3,013
Thanks: 17
Thanked 25 Times in 22 Posts
Graeme Dice is on a distinguished road
Default Re: Request for Storing Server IP/Port #s

Quote:
Originally posted by Cainehill:
However, a much simpler thing would be to either embed the server & port into the gamestate files (probably the .trn file), or create a separate file in the game directory - "server.opt" or some such - that contained the information.
The easiest way is to set up a shortcut with the information included in it. Something like:
D:\games\dominions2\dom2.exe -i --tcpclient --ipadr 127.0.0.1 --port 11111 -w

All of the relevant commandline switches can be found in Argitoth's guide at DominionsX.
Reply With Quote
  #3  
Old April 16th, 2004, 03:45 AM
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: Request for Storing Server IP/Port #s

Thats how I do mine. I have seperate desktop icons for each game Im in. And a seperate notepad file to do with it forall the notes. If you name them for with the game name its a pretty workable arrangment.
__________________
-- 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
  #4  
Old April 16th, 2004, 08:02 AM
Tuna-Fish's Avatar

Tuna-Fish Tuna-Fish is offline
Corporal
 
Join Date: Feb 2004
Location: Finland
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
Tuna-Fish is on a distinguished road
Default Re: Request for Storing Server IP/Port #s

And, there are files called ipadr.old and portnbr.old in your dom2 dir, making a script or batch or whatever to move them around could do it if startup shortcuts are not an option, although I cannot quite think of a situation when they are not.
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 02:55 AM.


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