I got tired of always putting in the command ttd -n xxx.xxx.xxx.xxx so i wrote this little script to help out.
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
Something to help a bit for Multiplayer For OpenTTD
Moderator: OpenTTD Developers
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.
btw: Please don't post bugs about multiplayer or multiplayer GUI. Both are still under development.
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
- Korenn
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
- Korenn
Who is online
Users browsing this forum: No registered users and 13 guests