Page 1 of 3
SpringLS 0.37 (TASServer renamed)
Posted: 19 Dec 2011, 02:13
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/
Re: SpringLS 0.36 (TASServer renamed)
Posted: 19 Dec 2011, 02:25
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?
Re: SpringLS 0.36 (TASServer renamed)
Posted: 19 Dec 2011, 10:05
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.
Re: SpringLS 0.36 (TASServer renamed)
Posted: 19 Dec 2011, 10:23
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.
No DB needed in LAN mode I guess.
Re: SpringLS 0.36 (TASServer renamed)
Posted: 19 Dec 2011, 10:42
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.
Re: SpringLS 0.36 (TASServer renamed)
Posted: 19 Dec 2011, 11:11
by Cheesecan
How about remote administration? Any self respecting server software would have a web GUI.
Re: SpringLS 0.36 (TASServer renamed)
Posted: 19 Dec 2011, 14:51
by smoth
Won't that open it up for some serious security risks?
Re: SpringLS 0.36 (TASServer renamed)
Posted: 19 Dec 2011, 18:55
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.
Re: SpringLS 0.36 (TASServer renamed)
Posted: 19 Dec 2011, 20:51
by Cheesecan
Isn't it obvious? Command should be "java -jar springls-0.36-stand-alone.jar" not java java.
Re: SpringLS 0.36 (TASServer renamed)
Posted: 19 Dec 2011, 20:53
by smoth
JAVA JAVA
Re: SpringLS 0.36 (TASServer renamed)
Posted: 20 Dec 2011, 02:20
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?
Re: SpringLS 0.36 (TASServer renamed)
Posted: 20 Dec 2011, 02:21
by Beherith
Did -classpath . not help?
Re: SpringLS 0.36 (TASServer renamed)
Posted: 20 Dec 2011, 10:07
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.
Re: SpringLS 0.37 (TASServer renamed)
Posted: 20 Dec 2011, 12:59
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!
Re: SpringLS 0.37 (TASServer renamed)
Posted: 03 Jan 2012, 20:35
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.
Re: SpringLS 0.37 (TASServer renamed)
Posted: 03 Jan 2012, 23:36
by abma
Re: SpringLS 0.37 (TASServer renamed)
Posted: 04 Jan 2012, 15:05
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)
Re: SpringLS 0.37 (TASServer renamed)
Posted: 22 Jan 2012, 22:03
by bibim
What is the status of
this documentation? Is it up to date for SpringLS? What about uberserver?
Re: SpringLS 0.37 (TASServer renamed)
Posted: 23 Jan 2012, 09:17
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.
Re: SpringLS 0.37 (TASServer renamed)
Posted: 23 Jan 2012, 10:00
by koshi
hoijui wrote:überserver has aditional stuff that is not in this protocol documentation
and afaik not in any other documentation either.