.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   Request for Storing Server IP/Port #s (http://forum.shrapnelgames.com/showthread.php?t=18771)

Cainehill April 16th, 2004 02:14 AM

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 http://forum.shrapnelgames.com/images/icons/icon12.gif 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.)

Graeme Dice April 16th, 2004 02:35 AM

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.
<font size="2" face="sans-serif, arial, verdana">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.

Gandalf Parker April 16th, 2004 03:45 AM

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.

Tuna-Fish April 16th, 2004 08:02 AM

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.


All times are GMT -4. The time now is 01:21 PM.

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