Page 1 of 1
LAN
Posted: 20 Nov 2010, 02:48
by kalda341
When will the spring lobby get built in lan? It would be so much easier not to have to use other programs.
Re: LAN
Posted: 20 Nov 2010, 05:07
by Forboding Angel
Well LAN support is already there in the form of tasserver.jar. Run it, connect to it via lobby. Profit???
Re: LAN
Posted: 20 Nov 2010, 09:35
by kalda341
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.
Re: LAN
Posted: 20 Nov 2010, 10:20
by koshi
there are a couple threads showing you what you're doing wrong, use the the search
Re: LAN
Posted: 20 Nov 2010, 10:30
by exciter
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
Re: LAN
Posted: 20 Nov 2010, 10:52
by hoijui
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.
Re: LAN
Posted: 20 Nov 2010, 14:36
by exciter
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
Re: LAN
Posted: 20 Nov 2010, 15:09
by very_bad_soldier
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.
Re: LAN
Posted: 20 Nov 2010, 15:19
by Forboding Angel
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.
Re: LAN
Posted: 20 Nov 2010, 15:40
by very_bad_soldier
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: Select all
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)
Re: LAN
Posted: 20 Nov 2010, 15:52
by hoijui
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: Select all
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
Re: LAN
Posted: 20 Nov 2010, 16:34
by very_bad_soldier
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).
Re: LAN
Posted: 20 Nov 2010, 17:37
by exciter
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

Re: LAN
Posted: 20 Nov 2010, 17:47
by smoth
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.
Re: LAN
Posted: 20 Nov 2010, 17:48
by knorke
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.
Re: LAN
Posted: 20 Nov 2010, 19:40
by hoijui
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