LAN
Moderator: Moderators
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: LAN
Well LAN support is already there in the form of tasserver.jar. Run it, connect to it via lobby. Profit???
Re: LAN
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
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.
Re: LAN
I mean that there should be a way in the lobby to host a lan game without downloading the lobby files by yourself etc...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.
;D
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: LAN
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.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: LAN
Well the thing is, when you install spring, the files you need to run lan are installed as well.exciter wrote:I mean that there should be a way in the lobby to host a lan game without downloading the lobby files by yourself etc...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.
;D
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: LAN
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.Forboding Angel wrote: Well the thing is, when you install spring, the files you need to run lan are installed as well.
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
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.
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
use an other port, or kill what is running on it.
Code: Select all
java -jar TASServer.jar -PORT 8900
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: LAN
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).
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
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.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.
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
lol at the answers from the "Admin"...srsly wtf.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.
Re: LAN
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
edit: if anyone is interested, source code is here:
https://github.com/spring/TASServer