Page 1 of 1

Springy Dedicated Server

Posted: 29 Nov 2010, 12:32
by massive
Hello everyone. IÔÇÖm trying to get my own dedicated server, and have some problem with that. IÔÇÖm trying to using Springy in Windows XP Prof SP3. For spring-dedicated I just renamed spring.exe to spring-dedicated.exe. Springy is launching, but I canÔÇÖt understand how add mods and maps. I trying to put it in folder with Springy and in folders mods maps, but still nothing :( (in Springy property just writing ÔÇÿdummyÔÇÖ). IÔÇÖm trying to use BA mod. IÔÇÖm copy Springy in folder without any lobby client, just spring-engine. So I have some questions:
1) Where I can find spring-dedicated? In build-bot I found only version 0.80.5.
2) Where I should put mods and maps files for Springy?

Re: Springy Dedicated Server

Posted: 29 Nov 2010, 12:44
by hoijui
1)
get spring-dedicated from here (the new build-bot):
http://springrts.com/dl/buildbot/defaul ... -g20d7ecc/
0.82.6.1 had a bug in the build-system script, and did not create spring-dedicated, that is why you have to use 0.82.6.1-3.

2)
you should have a unitsync.log (or if not, infolog.txt) around. if you look in there, you should see lines like these:
Using read-write data directory: /home/user/Projects/spring/
Using read-only data directory: /home/user/.spring/
Scanning: /home/user/.spring/maps
Scanning: /home/user/.spring/mods
... which tell you where to put the maps and mods.

Re: Springy Dedicated Server

Posted: 29 Nov 2010, 14:48
by Licho
Springie does not need maps and mods. Its made to host without them. It will download data necessary to do it automatically in 10 minute or so.
Also check springie thread for latest executable or simply compile it from sources http://code.google.com/p/zero-k/source/ ... r/Springie

Atm I don't provide executable updates automatically, because there is usually just 1 springie running on springrts.com which makes all the springie-type autohosts.

Re: Springy Dedicated Server

Posted: 01 Dec 2010, 17:14
by massive
Licho wrote:Also check springie thread for latest executable or simply compile it from sources http://code.google.com/p/zero-k/source/ ... r/Springie
Ok. I download SVN and how do i can compile it in windows? Using MinGW or something else?

Re: Springy Dedicated Server

Posted: 02 Dec 2010, 00:13
by Licho
oh, just open it in visual studio, you can use express edition which is free..

Download whole "other" folder and open "Zero-K.sln"

then right click on Springie in the project list and pick Build.

Re: Springy Dedicated Server

Posted: 10 Dec 2010, 20:39
by massive
I download Visual Studio Express Edition 2010 and compile Springie. Then I put binary files and libraries in folder with spring-dedicated.exe.
Image
After I tried to launch Springie. Files in folder becomes more.
Image
In springie_errors.txt was written ÔÇ£You need correct password to submit stats with account login, stats won't work - FAILED 1 already registeredÔÇØ.

Code: Select all

===============
10.12.2010 21:21
Error getting mod info from: http://zero-k.info/Resources/dummy.metadata.xml.gz
System.Net.WebException: ðúð┤ð░ð╗ðÁð¢ð¢Ðïð╣ ÐüðÁÐÇð▓ðÁÐÇ ð▓ð¥ðÀð▓ÐÇð░Ðéð©ð╗ ð¥Ðêð©ð▒ð║Ðâ: (404) ðØðÁ ð¢ð░ð╣ð┤ðÁð¢.
   ð▓ System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   ð▓ System.Net.WebClient.DownloadData(Uri address)
   ð▓ System.Net.WebClient.DownloadData(String address)
   ð▓ Springie.SpringNamespace.UnitSyncWrapper.GetModInfo(String name)

===============
10.12.2010 21:21
Error getting map info from url: http://zero-k.info/Resources/dummy.metadata.xml.gz
System.Net.WebException: ðúð┤ð░ð╗ðÁð¢ð¢Ðïð╣ ÐüðÁÐÇð▓ðÁÐÇ ð▓ð¥ðÀð▓ÐÇð░Ðéð©ð╗ ð¥Ðêð©ð▒ð║Ðâ: (404) ðØðÁ ð¢ð░ð╣ð┤ðÁð¢.
   ð▓ System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   ð▓ System.Net.WebClient.DownloadData(Uri address)
   ð▓ System.Net.WebClient.DownloadData(String address)
   ð▓ Springie.SpringNamespace.UnitSyncWrapper.GetMapInfo(String name)

===============
10.12.2010 21:21
You need correct password to submit stats with account login, stats won't work - FAILED 1 already registered
Then I edit autohost.xml and write

Code: Select all

  <AccountName>*Login*</AccountName>
  <AccountPassword>*Pass Hash*</AccountPassword>
from old file do_not_delete_me.xml

Code: Select all

    <Password>*Pass Hash*</Password>
    <UserName>*Login*</UserName>
And I tried to launch Springie again. After les 1 minute it crashed. Here is springie_errors.txt

Code: Select all

===============
10.12.2010 21:36
Secondary thread unhandled exception
System.Reflection.TargetInvocationException: ðØðÁð┐ÐÇð░ð▓ð©ð╗Ðîð¢Ðïð╣ ÐÇðÁðÀÐâð╗ÐîÐéð░Ðé ð©ðÀ-ðÀð░ ð©Ðüð║ð╗ÐÄÐçðÁð¢ð©ÐÅ, ð▓ð¥ðÀð¢ð©ð║ÐêðÁð│ð¥ ð▓ð¥ ð▓ÐÇðÁð╝ÐÅ ð¥ð┐ðÁÐÇð░Ðåð©ð©.  ðíð╝. ð¥ð┐ð©Ðüð░ð¢ð©ðÁ ð©Ðüð║ð╗ÐÄÐçðÁð¢ð©ÐÅ ð▓ InnerException. ---> System.IO.IOException: ðØðÁ Ðâð┤ð░ðÁÐéÐüÐÅ ð┐ÐÇð¥Ðçð©Ðéð░ÐéÐî ð┤ð░ð¢ð¢ÐïðÁ ð©ðÀ ÐéÐÇð░ð¢Ðüð┐ð¥ÐÇÐéð¢ð¥ð│ð¥ Ðüð¥ðÁð┤ð©ð¢ðÁð¢ð©ÐÅ: ðúð┤ð░ð╗ðÁð¢ð¢Ðïð╣ Ðàð¥ÐüÐé ð┐ÐÇð©ð¢Ðâð┤ð©ÐéðÁð╗Ðîð¢ð¥ ÐÇð░ðÀð¥ÐÇð▓ð░ð╗ ÐüÐâÐëðÁÐüÐéð▓ÐâÐÄÐëðÁðÁ ð┐ð¥ð┤ð║ð╗ÐÄÐçðÁð¢ð©ðÁ. ---> System.Net.Sockets.SocketException: ðúð┤ð░ð╗ðÁð¢ð¢Ðïð╣ Ðàð¥ÐüÐé ð┐ÐÇð©ð¢Ðâð┤ð©ÐéðÁð╗Ðîð¢ð¥ ÐÇð░ðÀð¥ÐÇð▓ð░ð╗ ÐüÐâÐëðÁÐüÐéð▓ÐâÐÄÐëðÁðÁ ð┐ð¥ð┤ð║ð╗ÐÄÐçðÁð¢ð©ðÁ
   ð▓ System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
   ð▓ System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
   --- ðÜð¥ð¢ðÁÐå ÐéÐÇð░ÐüÐüð©ÐÇð¥ð▓ð║ð© ð▓ð¢ÐâÐéÐÇðÁð¢ð¢ðÁð│ð¥ ÐüÐéðÁð║ð░ ð©Ðüð║ð╗ÐÄÐçðÁð¢ð©ð╣ ---
   ð▓ System.Web.Services.Protocols.WebClientAsyncResult.WaitForResponse()
   ð▓ System.Web.Services.Protocols.WebClientProtocol.EndSend(IAsyncResult asyncResult, Object& internalAsyncState, Stream& responseStream)
   ð▓ System.Web.Services.Protocols.SoapHttpClientProtocol.InvokeAsyncCallback(IAsyncResult result)
   --- ðÜð¥ð¢ðÁÐå ÐéÐÇð░ÐüÐüð©ÐÇð¥ð▓ð║ð© ð▓ð¢ÐâÐéÐÇðÁð¢ð¢ðÁð│ð¥ ÐüÐéðÁð║ð░ ð©Ðüð║ð╗ÐÄÐçðÁð¢ð©ð╣ ---
   ð▓ System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   ð▓ PlasmaShared.ContentService.GetResourceListCompletedEventArgs.get_Result()
   ð▓ Springie.SpringNamespace.UnitSyncWrapper.plasmaService_GetResourceListCompleted(Object sender, GetResourceListCompletedEventArgs e)
   ð▓ PlasmaShared.ContentService.ContentService.OnGetResourceListOperationCompleted(Object arg)
   ð▓ System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
   ð▓ System.Threading.ExecutionContext.runTryCode(Object userData)
   ð▓ System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   ð▓ System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   ð▓ System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   ð▓ System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
   ð▓ System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

===============
10.12.2010 21:36
Main thread unhandled exception
System.Reflection.TargetInvocationException: ðØðÁð┐ÐÇð░ð▓ð©ð╗Ðîð¢Ðïð╣ ÐÇðÁðÀÐâð╗ÐîÐéð░Ðé ð©ðÀ-ðÀð░ ð©Ðüð║ð╗ÐÄÐçðÁð¢ð©ÐÅ, ð▓ð¥ðÀð¢ð©ð║ÐêðÁð│ð¥ ð▓ð¥ ð▓ÐÇðÁð╝ÐÅ ð¥ð┐ðÁÐÇð░Ðåð©ð©.  ðíð╝. ð¥ð┐ð©Ðüð░ð¢ð©ðÁ ð©Ðüð║ð╗ÐÄÐçðÁð¢ð©ÐÅ ð▓ InnerException. ---> System.IO.IOException: ðØðÁ Ðâð┤ð░ðÁÐéÐüÐÅ ð┐ÐÇð¥Ðçð©Ðéð░ÐéÐî ð┤ð░ð¢ð¢ÐïðÁ ð©ðÀ ÐéÐÇð░ð¢Ðüð┐ð¥ÐÇÐéð¢ð¥ð│ð¥ Ðüð¥ðÁð┤ð©ð¢ðÁð¢ð©ÐÅ: ðúð┤ð░ð╗ðÁð¢ð¢Ðïð╣ Ðàð¥ÐüÐé ð┐ÐÇð©ð¢Ðâð┤ð©ÐéðÁð╗Ðîð¢ð¥ ÐÇð░ðÀð¥ÐÇð▓ð░ð╗ ÐüÐâÐëðÁÐüÐéð▓ÐâÐÄÐëðÁðÁ ð┐ð¥ð┤ð║ð╗ÐÄÐçðÁð¢ð©ðÁ. ---> System.Net.Sockets.SocketException: ðúð┤ð░ð╗ðÁð¢ð¢Ðïð╣ Ðàð¥ÐüÐé ð┐ÐÇð©ð¢Ðâð┤ð©ÐéðÁð╗Ðîð¢ð¥ ÐÇð░ðÀð¥ÐÇð▓ð░ð╗ ÐüÐâÐëðÁÐüÐéð▓ÐâÐÄÐëðÁðÁ ð┐ð¥ð┤ð║ð╗ÐÄÐçðÁð¢ð©ðÁ
   ð▓ System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
   ð▓ System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
   --- ðÜð¥ð¢ðÁÐå ÐéÐÇð░ÐüÐüð©ÐÇð¥ð▓ð║ð© ð▓ð¢ÐâÐéÐÇðÁð¢ð¢ðÁð│ð¥ ÐüÐéðÁð║ð░ ð©Ðüð║ð╗ÐÄÐçðÁð¢ð©ð╣ ---
   ð▓ System.Web.Services.Protocols.WebClientAsyncResult.WaitForResponse()
   ð▓ System.Web.Services.Protocols.WebClientProtocol.EndSend(IAsyncResult asyncResult, Object& internalAsyncState, Stream& responseStream)
   ð▓ System.Web.Services.Protocols.SoapHttpClientProtocol.InvokeAsyncCallback(IAsyncResult result)
   --- ðÜð¥ð¢ðÁÐå ÐéÐÇð░ÐüÐüð©ÐÇð¥ð▓ð║ð© ð▓ð¢ÐâÐéÐÇðÁð¢ð¢ðÁð│ð¥ ÐüÐéðÁð║ð░ ð©Ðüð║ð╗ÐÄÐçðÁð¢ð©ð╣ ---
   ð▓ System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   ð▓ PlasmaShared.ContentService.GetResourceListCompletedEventArgs.get_Result()
   ð▓ Springie.SpringNamespace.UnitSyncWrapper.plasmaService_GetResourceListCompleted(Object sender, GetResourceListCompletedEventArgs e)
   ð▓ PlasmaShared.ContentService.ContentService.OnGetResourceListOperationCompleted(Object arg)
   ð▓ System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
   ð▓ System.Threading.ExecutionContext.runTryCode(Object userData)
   ð▓ System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   ð▓ System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   ð▓ System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   ð▓ System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
   ð▓ System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
Please help. What I should do next to launch dedicaded server?

Re: Springy Dedicated Server

Posted: 10 Dec 2010, 23:50
by Licho
Can you translate the text of exception?

Note password is unhashed and don't worry about do not delete me file - its just for statistics and system will be replaced soon.

Re: Springy Dedicated Server

Posted: 11 Dec 2010, 17:22
by massive

Code: Select all

===============
10.12.2010 21:21
Error getting mod info from: http://zero-k.info/Resources/dummy.metadata.xml.gz
System.Net.WebException: The remote server has returned an error: (404) It is not found.
   in System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   in System.Net.WebClient.DownloadData(Uri address)
   in System.Net.WebClient.DownloadData(String address)
   in Springie.SpringNamespace.UnitSyncWrapper.GetModInfo(String name)

===============
10.12.2010 21:21
Error getting map info from url: http://zero-k.info/Resources/dummy.metadata.xml.gz
System.Net.WebException: The remote server has returned an error: (404) It is not found.
   in System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   in System.Net.WebClient.DownloadData(Uri address)
   in System.Net.WebClient.DownloadData(String address)
   in Springie.SpringNamespace.UnitSyncWrapper.GetMapInfo(String name)

===============
10.12.2010 21:21
You need correct password to submit stats with account login, stats won't work - FAILED 1 already registered

Code: Select all

===============
10.12.2010 21:36
Secondary thread unhandled exception
System.Reflection.TargetInvocationException: Incorrect results due to exceptions thrown during the operation.  See the description of the exception in InnerException. ---> System.IO.IOException: Unable to read data from the transport connection: remote host forcibly broke the existing connection. ---> System.Net.Sockets.SocketException: The remote host forcibly broke the existing connection
   in System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
   in System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
   --- The End of inner exception stack trace ---
   in System.Web.Services.Protocols.WebClientAsyncResult.WaitForResponse()
   in System.Web.Services.Protocols.WebClientProtocol.EndSend(IAsyncResult asyncResult, Object& internalAsyncState, Stream& responseStream)
   in System.Web.Services.Protocols.SoapHttpClientProtocol.InvokeAsyncCallback(IAsyncResult result)
   --- The End of inner exception stack trace ---
   in System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   in PlasmaShared.ContentService.GetResourceListCompletedEventArgs.get_Result()
   in Springie.SpringNamespace.UnitSyncWrapper.plasmaService_GetResourceListCompleted(Object sender, GetResourceListCompletedEventArgs e)
   in PlasmaShared.ContentService.ContentService.OnGetResourceListOperationCompleted(Object arg)
   in System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
   in System.Threading.ExecutionContext.runTryCode(Object userData)
   in System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   in System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
   in System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

===============
10.12.2010 21:36
Main thread unhandled exception
System.Reflection.TargetInvocationException: Incorrect results due to exceptions thrown during the operation. See the description of the exception in InnerException. ---> System.IO.IOException: Unable to read data from the transport connection: remote host forcibly broke the existing connection. ---> System.Net.Sockets.SocketException: The remote host forcibly broke the existing connection
   in System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
   in System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
   --- The End of inner exception stack trace ---
   in System.Web.Services.Protocols.WebClientAsyncResult.WaitForResponse()
   in System.Web.Services.Protocols.WebClientProtocol.EndSend(IAsyncResult asyncResult, Object& internalAsyncState, Stream& responseStream)
   in System.Web.Services.Protocols.SoapHttpClientProtocol.InvokeAsyncCallback(IAsyncResult result)
   --- The End of inner exception stack trace ---
   in System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   in PlasmaShared.ContentService.GetResourceListCompletedEventArgs.get_Result()
   in Springie.SpringNamespace.UnitSyncWrapper.plasmaService_GetResourceListCompleted(Object sender, GetResourceListCompletedEventArgs e)
   in PlasmaShared.ContentService.ContentService.OnGetResourceListOperationCompleted(Object arg)
   in System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
   in System.Threading.ExecutionContext.runTryCode(Object userData)
   in System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   in System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
   in System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

Re: Springy Dedicated Server

Posted: 17 Dec 2010, 13:39
by Licho
This looks just like some network connection problem.

Is lobby server address set correctly?

Re: Springy Dedicated Server

Posted: 17 Dec 2010, 16:19
by massive
main.xml

Code: Select all

<?xml version="1.0"?>
<MainConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <HostingPortStart>8452</HostingPortStart>
  <MaxInstances>100</MaxInstances>
  <ExecutableName>spring-dedicated.exe</ExecutableName>
  <GargamelMode>true</GargamelMode>
  <HostingProcessPriority>AboveNormal</HostingProcessPriority>
  <PlanetWarsPort>1666</PlanetWarsPort>
  <PlanetWarsServer>planet-wars.eu</PlanetWarsServer>
  <RedirectGameChat>true</RedirectGameChat>
  <ServerHost>taspringmaster.clan-sy.com</ServerHost>
  <ServerPort>8200</ServerPort>
  <SpringCoreAffinity>1</SpringCoreAffinity>
</MainConfig>

Re: Springy Dedicated Server

Posted: 17 Dec 2010, 18:31
by Licho
Yeah that's possibly wrong. Spring server is springrts.com atm.

Re: Springy Dedicated Server

Posted: 17 Dec 2010, 19:39
by massive
Licho wrote:Yeah that's possibly wrong. Spring server is springrts.com atm.
Image
When you write me that
Licho wrote:This looks just like some network connection problem.

Is lobby server address set correctly?
I look what server using TASClient and edit main.xml. So, with springrts.com don't work too Image

Re: Springy Dedicated Server

Posted: 18 Dec 2010, 02:33
by Licho
Perhaps its best if I spawn extra autohost for you on main server. For what mod do you want it?

Re: Springy Dedicated Server

Posted: 18 Dec 2010, 08:21
by massive
BA Chicken Defense V2.13
Maybe I just need edit autohost.xml in that sections:

Code: Select all

  <DefaultMap>SmallDivide</DefaultMap>
  <DefaultMod>XTA v8</DefaultMod>
And one more thing. I donÔÇÖt see that autohost is connecting to lobby server. When I using old version, it was in list.

Re: Springy Dedicated Server

Posted: 18 Dec 2010, 08:29
by movemoveny
I didn't connect to server. my system gave me some error for this. kindly help on my problem!

Re: Springy Dedicated Server

Posted: 20 Dec 2010, 03:12
by Licho
Do you have chickens on rapid? What is the rapid tag? If its on rapid autohost can autorehost to latest version automatically.

Re: Springy Dedicated Server

Posted: 20 Dec 2010, 07:09
by massive
What do you mean "on rapid"?

Re: Springy Dedicated Server

Posted: 28 Dec 2010, 01:28
by Licho
Rapid is method of storing and distributing spring content (usually mods) in incremental way.

Its used by lots of mods.

If your mod uses rapid system, i can set springie to auto ugprade to newer version of mod when it becomes available.