SpringLS 0.37 (TASServer renamed)

SpringLS 0.37 (TASServer renamed)

Discuss development of lobby clients, server, autohosts and auto-download software.

Moderators: Moderators, Lobby Developers

User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

SpringLS 0.37 (TASServer renamed)

Post by hoijui »

SpringLS (Spring Lobby Server)
Many years have passed since the last release of TASServer (0.35).
Now it rose up again from the ashes, and everyone wonders...
why?
We will see, maybe...

Goals
This release will likely replace the TASServer used so far in the engine installer. It will not replace ueberserver as the official lobby server software.
aegis (dev of ueberserver) and me tried to make the DB scheme used for storing accounts equal in both our products.

Most important changes (in 0.37)
  • you can actually run the stand-alone version now!
Most important changes (in 0.36)
  • supports accounts in DB storage now
    (instead of the flat-file storage, which used a lot of memory, cause it kept all accounts in there, all the time)
  • heavily OO-ified
  • moved to git
  • is Maven based now
  • is about 50% OSGi-ified
  • lots and lots of code-cleanup and refactoring
  • modularized commands
TODO
  • (more) testing (mostly the DB related things)
  • allow & streamline infection with new commands at runtime (-> further OSGi-ification)
  • ????
History
I made most SpringLS changes since the last release, but Betalord is the original author of TASServer. He did excellent work. Most importantly, the documentation he did (both in and out of code) is vast and of very high quality. It explains exactly what it should, and leaves out the obvious; thanks a lot! :-)

Download
Release Development Builds
Run
in a console, run:

Code: Select all

java -jar springls-0.37-stand-alone.jar
Maven
Thanks to Sonatype OS Maven repository hosting,
SpringLS will is now also available through the maven central repository:

Code: Select all

<dependency>
	<groupId>com.springrts.springls</groupId>
	<artifactId>springls</artifactId>
	<version>0.37</version>
</dependency>
Misc
Detailed project site:
http://spring.github.com/SpringLS/

Source repo:
https://github.com/spring/SpringLS

Detailed changes since:
(0.36 -> 0.37) https://github.com/spring/SpringLS/comp ... ingls-0.37
(TASServer ~0.35 -> SpringLS 0.36) https://github.com/spring/SpringLS/comp ... ingls-0.36

ohloh site:
https://www.ohloh.net/p/SpringLS

Bug-Tracker (either one):
https://github.com/spring/SpringLS/issues
http://springrts.com/mantis/
Last edited by hoijui on 05 Feb 2012, 10:02, edited 7 times in total.
Pako
Posts: 174
Joined: 12 Jul 2009, 18:57

Re: SpringLS 0.36 (TASServer renamed)

Post by Pako »

So when Spring gets over a million players online will it be possible to have multiple lobby serves like for most popular games would have it's own server and chinese server so that all lobby chat wouldn't go through censors.

Player database would be shared and some battles could be shared. Something like IRC does?
User avatar
Cheesecan
Posts: 1571
Joined: 07 Feb 2005, 21:30

Re: SpringLS 0.36 (TASServer renamed)

Post by Cheesecan »

Somebody has been keeping busy this year.. I support the OSGI use that's not something you see in most open source software.

Is this lobby server supposed to be used for LAN parties and things like that? From the perspective of kids ages 13 and up installing and configuring a db server might be a bit scary.
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: SpringLS 0.36 (TASServer renamed)

Post by dansan »

Cheesecan wrote:Is this lobby server supposed to be used for LAN parties and things like that? From the perspective of kids ages 13 and up installing and configuring a db server might be a bit scary.
https://github.com/spring/SpringLS wrote:You do not need to create any accounts when joining a LAN server, it will accept any user-name/password
No DB needed in LAN mode I guess.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: SpringLS 0.36 (TASServer renamed)

Post by hoijui »

thats right! :-)

there are two things i could use help with:

1. Logo
A logo/icon, at best in multiple sizes (16x16 till 128x128 ?).
Maybe something with the general spring logo in the background, and a server icon plus a couch in the foreground? or one of the famous altered spring logos?
artists to the boards!

2. GUI?
I remember that windows users had/have a problem with the lobby server, as it has no GUI, and when they double-click it under windows, it starts, but ... actually i don't know what happens. does it open a console to show output? if not, i might have to try to force windows to do that, or if that is not possible, add a minimal GUI, basically only showing log output.
User avatar
Cheesecan
Posts: 1571
Joined: 07 Feb 2005, 21:30

Re: SpringLS 0.36 (TASServer renamed)

Post by Cheesecan »

How about remote administration? Any self respecting server software would have a web GUI.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: SpringLS 0.36 (TASServer renamed)

Post by smoth »

Won't that open it up for some serious security risks?
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: SpringLS 0.36 (TASServer renamed)

Post by knorke »

(windows)
downloaded the springls-0.36-stand-alone.jar, placed in spring folder tried to run it:
C:\Spiele\Spring-84.0-release>java java -jar springls-0.36-stand-alone.jar
Exception in thread "main" java.lang.NoClassDefFoundError: java
Caused by: java.lang.ClassNotFoundException: java
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: java. Program will exit.
Is my java vm broken or something? Other programs work though.
I remember that windows users had/have a problem with the lobby server, as it has no GUI, and when they double-click it under windows, it starts, but ... actually i don't know what happens.
The old lobby server always worked for me. It opend some console window, iirc that console would also show connecting players etc.
User avatar
Cheesecan
Posts: 1571
Joined: 07 Feb 2005, 21:30

Re: SpringLS 0.36 (TASServer renamed)

Post by Cheesecan »

Isn't it obvious? Command should be "java -jar springls-0.36-stand-alone.jar" not java java.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: SpringLS 0.36 (TASServer renamed)

Post by smoth »

JAVA JAVA
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: SpringLS 0.36 (TASServer renamed)

Post by knorke »

I tried to java all the javas in various ways but could not get it to start.
Maybe add something that can be doubleclicked so even unable people like me can play on lan?
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: SpringLS 0.36 (TASServer renamed)

Post by Beherith »

Did -classpath . not help?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: SpringLS 0.36 (TASServer renamed)

Post by hoijui »

edit: woops!
tested on windows VM, and indeed, it is missing stuff in the jar, and thus fails to run. thanks knorke!
will mak fix.

before edit:

Code: Select all

java -jar springls-0.36-stand-alone.jar
This should be enough; it works here.
knorke, please give the error output when using this command.

most likely problem, is that you have an old java version installed. i think it should work with 1.5, surely does with 1.6.

edit:
-classpath is not required, if everything is in the jar, (which it is with the stand-alone one(s).

double-clicking on it should also work, though... see my previous post in here.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: SpringLS 0.37 (TASServer renamed)

Post by hoijui »

Released SpringLS 0.37.

See the first post for download links.

awesome new features:
  • you can now run the stand-alone versions!
and mind you, all of this with the minimal file increase of 400KB -> 5.6MB!!

thanks go to knorke for reporting!
heinoldewage
Posts: 1
Joined: 03 Jan 2012, 20:31

Re: SpringLS 0.37 (TASServer renamed)

Post by heinoldewage »

I want to create a LAN server but with the account storage enabled (so players can rank) , but the database is missing. How can I create it or should I download it.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: SpringLS 0.37 (TASServer renamed)

Post by hoijui »

ouh yeah that schema.. it should not be required.. or say, it would rather hurt (in case it is outdated). everything the server needs is writeable access to a db. you configure the DB through the conf/persistence.xml file. you have to create the db manually, and enter login credentials in the xml file, and start the server with the right cmd-line params.

.. please ask for everything that is unclear.. this is important, as it is the most important thing of this release, to be improved.
thanks for testing! ;-)
ah .. btw, it uses MySQL by default, but i usually tested with postgres. if you want to use something else, it will take a little longer to setup, but i could help too, of course. (better dont try sqlite, it has poor support with drivers)
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: SpringLS 0.37 (TASServer renamed)

Post by bibim »

What is the status of this documentation? Is it up to date for SpringLS? What about uberserver?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: SpringLS 0.37 (TASServer renamed)

Post by hoijui »

for SpringLS it is, yes. it is also still the smae like for the old TASServer that was released years ago. no protocol changes have been implemented yet. überserver has aditional stuff that is not in this protocol documentation.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: SpringLS 0.37 (TASServer renamed)

Post by koshi »

hoijui wrote:überserver has aditional stuff that is not in this protocol documentation
and afaik not in any other documentation either.
Post Reply

Return to “Lobby Clients & Server”