The International Simutrans Forum

Community => Simutrans Help Center => Tutorials => Topic started by: ankit.karan99 on February 28, 2016, 03:59:36 AM

Title: Play Simutrans Multiplayer on WiFi (Offline)
Post by: ankit.karan99 on February 28, 2016, 03:59:36 AM
Hi friends,

Me and my friend want to play simutrans multiplayer.
I am using Linux Mint 17.3 and my friend is using Windows 7.
both PCs are connected to WiFi hotspot (created on android phone), means we are on same WiFi network. the phone is not connected to internet.

How we can play simutrans multiplayer without connecting to internet?

! Sorry if I posted this topic in on wrong section.

& Thanks in advance...
Title: Re: Play Simutrams Multiplayer on WiFi (Offline)
Post by: DrSuperGood on February 28, 2016, 06:43:43 AM
Start the game in server mode on one of the computers. Then get the other to connect to it directly by IP address and port number from the multiplayer list in game. The server list will fail to load without internet but the direct connection functionality should still work and let you connect to servers on a local network.
Title: Re: Play Simutrams Multiplayer on WiFi (Offline)
Post by: ankit.karan99 on February 28, 2016, 07:09:32 AM
Hello DrSuperGood,
I recently started playing simutrans, so I doesn't have any knowledge how to start or connect to server.
some users say use command line or other say edit simuconf.tab

so how can I get started?



OK I got this

I started server on one computer using command line :

simutrans -server

on another PC I started simutrans.

clicked on Play Online button

and entered IP address of first computer inside enter a server manually and clicked query server button

Play Online button is now enabled and I clicked that button,

and now we are playing multiplayer  offline.

Thanks...
Title: Re: Play Simutrans Multiplayer on WiFi (Offline)
Post by: prissi on March 01, 2016, 10:52:35 PM
You can have this even easier, since the special file name "net:IP:port" will connect to any server. So maybe start the server with a batch file "simutrans -server -objects pak64.japan", then you can connect with the other "simutrans -objects pak64.japan -load net:192.165.1.44" or whatever your IP is.