View topic - LAN



All times are UTC + 1 hour


Post new topic Reply to topic  [ 16 posts ] 
Author Message
 Post subject: LAN
PostPosted: 20 Nov 2010, 02:48 

Joined: 19 Nov 2010, 09:44
When will the spring lobby get built in lan? It would be so much easier not to have to use other programs.


Top
 Offline Profile  
 
 Post subject: Re: LAN
PostPosted: 20 Nov 2010, 05:07 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Well LAN support is already there in the form of tasserver.jar. Run it, connect to it via lobby. Profit???


Top
 Offline Profile  
 
 Post subject: Re: LAN
PostPosted: 20 Nov 2010, 09:35 

Joined: 19 Nov 2010, 09:44
Forboding Angel wrote:
Well LAN support is already there in the form of tasserver.jar. Run it, connect to it via lobby. Profit???

I tried tasserver.jar. When I run it nothing happens. And yes I have java.


Top
 Offline Profile  
 
 Post subject: Re: LAN
PostPosted: 20 Nov 2010, 10:20 
Lobby Developer
User avatar

Joined: 14 Aug 2007, 15:15
there are a couple threads showing you what you're doing wrong, use the the search


Top
 Offline Profile  
 
 Post subject: Re: LAN
PostPosted: 20 Nov 2010, 10:30 
User avatar

Joined: 13 Jun 2010, 15:47
Hi,

I agree with the point of having something like an built-in LAN in SpringLobby (or in other lobbies). Because it makes the whole thing more comfortable for all, especially new, players here.

I think it's a nice idea :D


Last edited by exciter on 20 Nov 2010, 14:35, edited 1 time in total.

Top
 Offline Profile  
 
 Post subject: Re: LAN
PostPosted: 20 Nov 2010, 10:52 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
what you mean with built-in LAN, is actually a built-in lobby server, or the ability to start (and possibly monitor) an external lobby server from withing the lobby-client.


Top
 Offline Profile  
 
 Post subject: Re: LAN
PostPosted: 20 Nov 2010, 14:36 
User avatar

Joined: 13 Jun 2010, 15:47
hoijui wrote:
what you mean with built-in LAN, is actually a built-in lobby server, or the ability to start (and possibly monitor) an external lobby server from withing the lobby-client.


I mean that there should be a way in the lobby to host a lan game without downloading the lobby files by yourself etc...

;D


Top
 Offline Profile  
 
 Post subject: Re: LAN
PostPosted: 20 Nov 2010, 15:09 
Lua Coder
User avatar

Joined: 20 Feb 2007, 01:10
The bigger problem than downloading and starting the LAN-server is that you first need to know that such a thing exists. I remember our first spring game we had using a LAN server we had the exact same problem cause we just had no clue how things work on planet spring.


Top
 Offline Profile  
 
 Post subject: Re: LAN
PostPosted: 20 Nov 2010, 15:19 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
exciter wrote:
hoijui wrote:
what you mean with built-in LAN, is actually a built-in lobby server, or the ability to start (and possibly monitor) an external lobby server from withing the lobby-client.


I mean that there should be a way in the lobby to host a lan game without downloading the lobby files by yourself etc...

;D


Well the thing is, when you install spring, the files you need to run lan are installed as well.


Top
 Offline Profile  
 
 Post subject: Re: LAN
PostPosted: 20 Nov 2010, 15:40 
Lua Coder
User avatar

Joined: 20 Feb 2007, 01:10
Forboding Angel wrote:
Well the thing is, when you install spring, the files you need to run lan are installed as well.

Ok, but it does not solve anything to just dump a file called "TASServer.jar" to the user's hard disk. Even the readme.txt about how to use it is buried inside the jar.

Just starting it gives:
Code:
D:\Games\Spring>java -jar TASServer.jar
TASServer 0.35 started on 2010.11.20 at 03:38:49 MEZ
Accounts info file not found, switching to "lan mode" ...
LAN mode enabled
Couldn't find motd.txt. Using default MOTD
Unable to find or read <IP2Country> file. Skipping ...
Could not listen on port: 8200
Server stopped.
Exception in thread "main" Unable to start UDP server on port 8201. Ignoring ...
java.lang.NullPointerException

        at NATHelpServer.stopServer(NATHelpServer.java:71)
        at TASServer.closeServerAndExit(TASServer.java:397)
        at TASServer.main(TASServer.java:3007)


Top
 Offline Profile  
 
 Post subject: Re: LAN
PostPosted: 20 Nov 2010, 15:52 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
maybe something is already running on these ports (probably other instances of TASServer, check task-manager).
use an other port, or kill what is running on it.
Code:
java -jar TASServer.jar -PORT 8900


i will have to release a new version, and maybe make a shortcut to TASServer in the start-menu or something. is already on the TODO list


Top
 Offline Profile  
 
 Post subject: Re: LAN
PostPosted: 20 Nov 2010, 16:34 
Lua Coder
User avatar

Joined: 20 Feb 2007, 01:10
Ok, previous attempts to start it by double-clicking spawned the server silently (without console window), so for me it seemed nothing happened. Futher attemps to start it on a console to see whats wrong failed cause of the in-use ports (as you already guessed).
Maybe better have a console window by default when double clicking TASServer.jar? I dont even know how to quit the server correctly when there is no console window (besides killing javaw.exe via task manager).


Top
 Offline Profile  
 
 Post subject: Re: LAN
PostPosted: 20 Nov 2010, 17:37 
User avatar

Joined: 13 Jun 2010, 15:47
very_bad_soldier wrote:
The bigger problem than downloading and starting the LAN-server is that you first need to know that such a thing exists. I remember our first spring game we had using a LAN server we had the exact same problem cause we just had no clue how things work on planet spring.


You're right. New players don't get to know that there is something like a lan server available. Integrating a tab in springlobby called "lan" would be nice.

Furthermore, the existing tutorials aren't very clearly described.
In this german thread there is the problem that the person is very confused about this lan server thing. It's to funky.

Making lan games easier to host is the point you should focus on ;)


Top
 Offline Profile  
 
 Post subject: Re: LAN
PostPosted: 20 Nov 2010, 17:47 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
it isn't a lan server though. It goes out to the internet and back. It requires you having an open port and at a large lan like quakecon(where internet gets choked) spring becomes unplayable.


Top
 Offline Profile  
 
 Post subject: Re: LAN
PostPosted: 20 Nov 2010, 17:48 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
exciter wrote:
very_bad_soldier wrote:
The bigger problem than downloading and starting the LAN-server is that you first need to know that such a thing exists. I remember our first spring game we had using a LAN server we had the exact same problem cause we just had no clue how things work on planet spring.



In this german thread there is the problem that the person is very confused about this lan server thing. It's to funky.

lol at the answers from the "Admin"...srsly wtf.


Top
 Online Profile  
 
 Post subject: Re: LAN
PostPosted: 20 Nov 2010, 19:40 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
all the TASServer docu is very outdated. but it makes no sense to change it until there is a new release. i still have to cleanup some things.

edit: if anyone is interested, source code is here:
https://github.com/spring/TASServer


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.