Page 1 of 1

Something to help a bit for Multiplayer For OpenTTD

Posted: 25 Jul 2004 20:37
by VladP17
I got tired of always putting in the command ttd -n xxx.xxx.xxx.xxx so i wrote this little script to help out. :D :D

Just put it in a file named ttd_multiplayer.sh and include the contents

!!!!!!BE SURE TO CHANGE THE DIRECTORY IN WHICH OPENTTD IS LOCATED!!!!

#!/bin/sh
# Change the cd / yada/yada/yada to the location of ur OpenTTD directory
cd /dvd/vlad/TTD/ttd-lin

echo "Please enter the IP address: "
read IP
echo "Ip address is: $IP "

ttd -n $IP

Hope this helps

Posted: 25 Jul 2004 21:21
by dominik81
The new multiplayer GUI in SVN already does this. You just have to click "Multiplayer" -> "Direct Connect", enter the IP and then click OK (or hit Enter). If it's a valid IP, you'll connect to the server. If it's not, the game will crash. :wink:

btw: Please don't post bugs about multiplayer or multiplayer GUI. Both are still under development.

Posted: 26 Jul 2004 00:47
by VladP17
Im using linux and when i press the 2 player in the main menu nothing happens

PS: I was also wondering when the next version of OpenTTD for Linux comes out?

Posted: 26 Jul 2004 08:07
by dominik81
I am talking about the SVN version (What is SVN?). The latest Linux release is 0.3.3 and doesn't have the multiplayer GUI yet.