Something to help a bit for Multiplayer For OpenTTD

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
VladP17
Engineer
Engineer
Posts: 26
Joined: 18 Jul 2004 17:57

Something to help a bit for Multiplayer For OpenTTD

Post 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
User avatar
dominik81
OpenTTD Developer
OpenTTD Developer
Posts: 768
Joined: 16 Aug 2003 12:55
Location: Bonn, Germany

Post 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.
"There's a readme that comes with the source. I suggest you read it."
- Korenn
VladP17
Engineer
Engineer
Posts: 26
Joined: 18 Jul 2004 17:57

Post 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?
User avatar
dominik81
OpenTTD Developer
OpenTTD Developer
Posts: 768
Joined: 16 Aug 2003 12:55
Location: Bonn, Germany

Post 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.
"There's a readme that comes with the source. I suggest you read it."
- Korenn
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 13 guests