The International Simutrans Forum

 

Author Topic: Play Simutrans Multiplayer on WiFi (Offline)  (Read 3977 times)

0 Members and 1 Guest are viewing this topic.

Offline ankit.karan99

  • *
  • Posts: 12
  • Languages: EN, Hin
Play Simutrans Multiplayer on WiFi (Offline)
« 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...
« Last Edit: February 28, 2016, 07:16:42 AM by ankit.karan99 »

Offline DrSuperGood

  • Dev Team
  • Devotee
  • *
  • Posts: 2719
  • Languages: EN
Re: Play Simutrams Multiplayer on WiFi (Offline)
« Reply #1 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.

Offline ankit.karan99

  • *
  • Posts: 12
  • Languages: EN, Hin
Re: Play Simutrams Multiplayer on WiFi (Offline)
« Reply #2 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...
« Last Edit: February 28, 2016, 11:22:34 AM by Isaac.Eiland-Hall »

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9518
  • Languages: De,EN,JP
Re: Play Simutrans Multiplayer on WiFi (Offline)
« Reply #3 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.