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: 4342
Joined: 22 Sep 2007, 09:51

SpringLS 0.37 (TASServer renamed)

Post by hoijui » 19 Dec 2011, 02:13

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.
0 x

Pako
Posts: 174
Joined: 12 Jul 2009, 18:57

Re: SpringLS 0.36 (TASServer renamed)

Post by Pako » 19 Dec 2011, 02:25

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?
0 x

User avatar
Cheesecan
Posts: 1571
Joined: 07 Feb 2005, 21:30

Re: SpringLS 0.36 (TASServer renamed)

Post by Cheesecan » 19 Dec 2011, 10:05

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.
0 x

dansan
Server Owner & Developer
Posts: 1183
Joined: 29 May 2010, 23:40

Re: SpringLS 0.36 (TASServer renamed)

Post by dansan » 19 Dec 2011, 10:23

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.
0 x

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

Re: SpringLS 0.36 (TASServer renamed)

Post by hoijui » 19 Dec 2011, 10:42

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.
0 x

User avatar
Cheesecan
Posts: 1571
Joined: 07 Feb 2005, 21:30

Re: SpringLS 0.36 (TASServer renamed)

Post by Cheesecan » 19 Dec 2011, 11:11

How about remote administration? Any self respecting server software would have a web GUI.
0 x

User avatar
smoth
Posts: 22295
Joined: 13 Jan 2005, 00:46

Re: SpringLS 0.36 (TASServer renamed)

Post by smoth » 19 Dec 2011, 14:51

Won't that open it up for some serious security risks?
0 x

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

Re: SpringLS 0.36 (TASServer renamed)

Post by knorke » 19 Dec 2011, 18:55

(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.
0 x

User avatar
Cheesecan
Posts: 1571
Joined: 07 Feb 2005, 21:30

Re: SpringLS 0.36 (TASServer renamed)

Post by Cheesecan » 19 Dec 2011, 20:51

Isn't it obvious? Command should be "java -jar springls-0.36-stand-alone.jar" not java java.
0 x

User avatar
smoth
Posts: 22295
Joined: 13 Jan 2005, 00:46

Re: SpringLS 0.36 (TASServer renamed)

Post by smoth » 19 Dec 2011, 20:53

JAVA JAVA
0 x

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

Re: SpringLS 0.36 (TASServer renamed)

Post by knorke » 20 Dec 2011, 02:20

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?
0 x

User avatar
Beherith
Moderator
Posts: 4932
Joined: 26 Oct 2007, 16:21

Re: SpringLS 0.36 (TASServer renamed)

Post by Beherith » 20 Dec 2011, 02:21

Did -classpath . not help?
0 x

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

Re: SpringLS 0.36 (TASServer renamed)

Post by hoijui » 20 Dec 2011, 10:07

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.
0 x

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

Re: SpringLS 0.37 (TASServer renamed)

Post by hoijui » 20 Dec 2011, 12:59

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!
0 x

heinoldewage
Posts: 1
Joined: 03 Jan 2012, 20:31

Re: SpringLS 0.37 (TASServer renamed)

Post by heinoldewage » 03 Jan 2012, 20:35

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.
0 x

abma
Spring Developer
Posts: 3534
Joined: 01 Jun 2009, 00:08

Re: SpringLS 0.37 (TASServer renamed)

Post by abma » 03 Jan 2012, 23:36

0 x

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

Re: SpringLS 0.37 (TASServer renamed)

Post by hoijui » 04 Jan 2012, 15:05

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)
0 x

User avatar
bibim
Lobby Developer
Posts: 900
Joined: 06 Dec 2007, 11:12

Re: SpringLS 0.37 (TASServer renamed)

Post by bibim » 22 Jan 2012, 22:03

What is the status of this documentation? Is it up to date for SpringLS? What about uberserver?
0 x

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

Re: SpringLS 0.37 (TASServer renamed)

Post by hoijui » 23 Jan 2012, 09:17

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.
0 x

User avatar
koshi
Lobby Developer
Posts: 1058
Joined: 14 Aug 2007, 16:15

Re: SpringLS 0.37 (TASServer renamed)

Post by koshi » 23 Jan 2012, 10:00

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

Post Reply

Return to “Lobby Clients & Server”