View Single Post
  #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