LAN Problems.

LAN Problems.

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
Tomassevich
Posts: 5
Joined: 19 Dec 2005, 13:42

LAN Problems.

Post by Tomassevich »

Me and a friend are trying to get a LAN game going as our internet is too sporadic to just play online ='(

The LAN works, we both have java working.
We're both running LANServer and it says 'looking for connections' on both machines...

Any ideas anyone?
Tomassevich
Posts: 5
Joined: 19 Dec 2005, 13:42

Post by Tomassevich »

Here is the exact info. from DOS

Firstly using debuglanserver


C:\Documents and Settings\DW\Desktop\LAN Client>REM press CTRL+C to stop server


C:\Documents and Settings\DW\Desktop\LAN Client>java -cp . TASServer -lan -debug
2
TASServer 0.30 started on 2006.10.11 at 11:10:41 BST
LAN mode enabled
Couldn't find motd.txt. Using default MOTD
Unable to find <IP2Country> file. Skipping ...
UDP server started on port 8201
Port 8200 opened
Listening for connections ...


and then just lanserver



C:\Documents and Settings\DW\Desktop\LAN Client>REM press CTRL+C to stop server


C:\Documents and Settings\DW\Desktop\LAN Client>java -cp . TASServer -lan -debug
2
TASServer 0.30 started on 2006.10.11 at 11:10:41 BST
LAN mode enabled
Couldn't find motd.txt. Using default MOTD
Unable to find <IP2Country> file. Skipping ...
UDP server started on port 8201
Port 8200 opened
Listening for connections ...
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

1) run the lan server on one of the computers
2) all players run tasclient.exe, set it in options to connect to localhost
3) set up a game and play just like you would for an internet game
Tomassevich
Posts: 5
Joined: 19 Dec 2005, 13:42

Post by Tomassevich »

thanks for the help mate. That should do it now =)
User avatar
BvDorp
Posts: 439
Joined: 14 Oct 2005, 12:09

Post by BvDorp »

P3374H wrote:1) run the lan server on one of the computers
2) all people run tasclient.exe, set it in options to connect to localhost for host, IP of host for others
3) set up a game and play just like you would for an internet game
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

Right, thanks Bv.
Betalord
Former Engine Dev
Posts: 543
Joined: 29 Jun 2005, 09:31

Post by Betalord »

Someone made a nice tutorial (with screenshots) on how to do it right: http://taspring.clan-sy.com/wiki/Spring_on_a_LAN
Post Reply

Return to “Help & Bugs”