Spring LAN

Spring LAN

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
Ikaruga
Posts: 3
Joined: 09 Dec 2009, 11:30

Spring LAN

Post by Ikaruga »

Hi, I tried to play Spring on LAN, I downloaded the server provided here : http://spring.clan-sy.com/dl/TASServer_035.exe

but when I tried connecting to it with Springlobby, all I got was an error message saying "scket connection closed".

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

Re: Spring LAN

Post by knorke »

I think TASServer_035.exe is outdated.
The new lobby server is called SpringLS:
http://springrts.com/wiki/Download
(scroll down to lobby server)
Please report if it still does not work :-)
Ikaruga
Posts: 3
Joined: 09 Dec 2009, 11:30

Re: Spring LAN

Post by Ikaruga »

I managed running the server, however, when I try to join it with Springlobby, I get this error message : <userID> field should be an integer

I tried the same with an old version of Spring lobby, the 0.35 and it worked !
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring LAN

Post by hoijui »

yeah ... a bug in SpringLS. it is fixed in the dev version (after 0.37) on git.
ContiX
Posts: 33
Joined: 10 Mar 2012, 15:29

Re: Spring LAN

Post by ContiX »

Where would one download the Dev version? I can't seem to find a link.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring LAN

Post by hoijui »

i hope to make a release soon, until then, you can use the latest snapshot:
https://oss.sonatype.org/content/reposi ... e-full.jar
Last edited by hoijui on 24 Apr 2012, 02:36, edited 1 time in total.
nicedanmonkey
Posts: 8
Joined: 18 Jan 2010, 06:58

Re: Spring LAN

Post by nicedanmonkey »

I tried the latest snapshot and got an error.

"Could not find the main class: com.springrts.springls.Main. Program will exit."
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring LAN

Post by hoijui »

i changed the link in the previous post to include the full stand-alone jar.
with that, double click under windows or Linux GUI, or this command in the console work for me:

Code: Select all

java -jar springls-0.38-20120414.111401-4-stand-alone-full.jar
nicedanmonkey
Posts: 8
Joined: 18 Jan 2010, 06:58

Re: Spring LAN

Post by nicedanmonkey »

The updated link worked great for me. I don't get an error anymore in SpringLobby when trying to connect. Thanks!
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring LAN

Post by hoijui »

good! and thanks for reporting back! :-)
Sorc17
Posts: 2
Joined: 11 Apr 2011, 14:04

Re: Spring LAN

Post by Sorc17 »

I guess it's good idea to remove outdated server from standard distribution to do not confuse users :)
Sorc17
Posts: 2
Joined: 11 Apr 2011, 14:04

Re: Spring LAN

Post by Sorc17 »

Ops :-) What I did wrong?

Code: Select all

PS C:\Program Files (x86)\Spring> java -jar springls-0.37-stand-alone.jar
23:11:46,338 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
23:11:46,338 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
23:11:46,338 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/C:/Pro
gram%20Files%20(x86)/Spring/springls-0.37-stand-alone.jar!/logback.xml]
23:11:46,348 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@669b5cdb - URL [jar:file:/C:/Program%20Files
%20(x86)/Spring/springls-0.37-stand-alone.jar!/logback.xml] is not of type file
23:11:46,382 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
23:11:46,382 |-INFO in ReconfigureOnChangeFilter{invocationCounter=0} - Will scan for changes in [[]] every 60 seconds.

23:11:46,382 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Adding ReconfigureOnChangeFilter as a t
urbo filter
23:11:46,390 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.l
ogback.core.ConsoleAppender]
23:11:46,392 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
23:11:46,408 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.
classic.encoder.PatternLayoutEncoder] for [encoder] property
23:11:46,450 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.l
ogback.core.ConsoleAppender]
23:11:46,450 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDERR]
23:11:46,451 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.
classic.encoder.PatternLayoutEncoder] for [encoder] property
23:11:46,453 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.l
ogback.core.rolling.RollingFileAppender]
23:11:46,455 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [MAIN]
23:11:46,468 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@61ed627d - Will use zip compression
23:11:46,473 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.
classic.encoder.PatternLayoutEncoder] for [encoder] property
23:11:46,474 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[MAIN] - Active log file name: log/main.log
23:11:46,474 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[MAIN] - File property is set to [log/main.log]
23:11:46,475 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[MAIN] - Failed to create parent directories for
[C:\Program Files (x86)\Spring\log\main.log]
23:11:46,475 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[MAIN] - openFile(log/main.log,true) call failed.
 java.io.FileNotFoundException: log\main.log (╤шёЄхьх эх єфрхЄё  эрщЄш єърчрээ√щ яєЄ№)
        at java.io.FileNotFoundException: log\main.log (╤шёЄхьх эх єфрхЄё  эрщЄш єърчрээ√щ яєЄ№)
        at      at java.io.FileOutputStream.open(Native Method)
        at      at java.io.FileOutputStream.<init>(Unknown Source)
        at      at ch.qos.logback.core.recovery.ResilientFileOutputStream.<init>(ResilientFileOutputStream.java:30)
        at      at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:163)
        at      at ch.qos.logback.core.FileAppender.start(FileAppender.java:115)
        at      at ch.qos.logback.core.rolling.RollingFileAppender.start(RollingFileAppender.java:79)
        at      at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:96)
        at      at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:318)
        at      at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:197)
        at      at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:183)
        at      at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:147)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:133)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:96)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:55)
        at      at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
        at      at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
        at      at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
        at      at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:54)
        at      at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
        at      at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
        at      at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
        at      at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
        at      at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
        at      at com.springrts.springls.Main.<clinit>(Main.java:52)
23:11:46,475 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.l
ogback.core.FileAppender]
23:11:46,475 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [ERROR]
23:11:46,475 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.
classic.encoder.PatternLayoutEncoder] for [encoder] property
23:11:46,476 |-INFO in ch.qos.logback.core.FileAppender[ERROR] - File property is set to [log/error.log]
23:11:46,476 |-ERROR in ch.qos.logback.core.FileAppender[ERROR] - Failed to create parent directories for [C:\Program Fi
les (x86)\Spring\log\error.log]
23:11:46,477 |-ERROR in ch.qos.logback.core.FileAppender[ERROR] - openFile(log/error.log,true) call failed. java.io.File
NotFoundException: log\error.log (╤шёЄхьх эх єфрхЄё  эрщЄш єърчрээ√щ яєЄ№)
        at java.io.FileNotFoundException: log\error.log (╤шёЄхьх эх єфрхЄё  эрщЄш єърчрээ√щ яєЄ№)
        at      at java.io.FileOutputStream.open(Native Method)
        at      at java.io.FileOutputStream.<init>(Unknown Source)
        at      at ch.qos.logback.core.recovery.ResilientFileOutputStream.<init>(ResilientFileOutputStream.java:30)
        at      at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:163)
        at      at ch.qos.logback.core.FileAppender.start(FileAppender.java:115)
        at      at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:96)
        at      at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:318)
        at      at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:197)
        at      at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:183)
        at      at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:147)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:133)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:96)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:55)
        at      at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
        at      at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
        at      at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
        at      at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:54)
        at      at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
        at      at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
        at      at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
        at      at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
        at      at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
        at      at com.springrts.springls.Main.<clinit>(Main.java:52)
23:11:46,477 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.springrts.springl
s] to INFO
23:11:46,477 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [MAIN] to Logger[co
m.springrts.springls]
23:11:46,477 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [ERROR] to Logger[c
om.springrts.springls]
23:11:46,477 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
23:11:46,477 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[
ROOT]
23:11:46,477 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDERR] to Logger[
ROOT]
23:11:46,478 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@3a92446e - Registering current configuration as sa
fe fallback point

ERROR: Unable to create cache directory: .\felix-cache
ERROR: Error creating bundle cache. (java.lang.RuntimeException: Unable to create cache directory.)
java.lang.RuntimeException: Unable to create cache directory.
        at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:107)
        at org.apache.felix.framework.Felix.init(Felix.java:593)
        at org.apache.felix.framework.Felix.start(Felix.java:780)
        at com.springrts.springls.TASServer.startServerInstance(TASServer.java:49)
        at com.springrts.springls.Main.main(Main.java:273)
2012-05-05_23:11:46.596 ERROR [main] - Failed to start the OSGi framework
org.osgi.framework.BundleException: Error creating bundle cache.
        at org.apache.felix.framework.Felix.init(Felix.java:598) ~[springls-0.37-stand-alone.jar:na]
        at org.apache.felix.framework.Felix.start(Felix.java:780) ~[springls-0.37-stand-alone.jar:na]
        at com.springrts.springls.TASServer.startServerInstance(TASServer.java:49) ~[springls-0.37-stand-alone.jar:na]
        at com.springrts.springls.Main.main(Main.java:273) [springls-0.37-stand-alone.jar:na]
Caused by: java.lang.RuntimeException: Unable to create cache directory.
        at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:107) ~[springls-0.37-stand-alone.jar:na]

        at org.apache.felix.framework.Felix.init(Felix.java:593) ~[springls-0.37-stand-alone.jar:na]
        ... 3 common frames omitted
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Spring LAN

Post by hoijui »

sorry for the late answer, i only saw this now.
it looks like the user running the server does not have write access (right to create new dirs) in the server dir.
broken857
Posts: 2
Joined: 20 Sep 2012, 09:14

Re: Spring LAN

Post by broken857 »

For the record I've been able to get Spring running smoothly on opensource intel and mesa graphics with massive unit counts by using some custom hacks.
broken857
Posts: 2
Joined: 20 Sep 2012, 09:14

Re: Spring LAN

Post by broken857 »

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

Re: Spring LAN

Post by dansan »

That's great!

Can you please share with us what gfxcard you use, which game(s) you played and the patches you made?

Thank you
Post Reply

Return to “Help & Bugs”