Page 33 of 33

Re: Springie the AutoHost

Posted: 29 Sep 2010, 14:46
by Licho
Springie will autodownload these in 10 minutes.

Re: Springie the AutoHost

Posted: 18 Nov 2010, 23:02
by chefpro
I have the same problem with springie map and mod being dummy in the lobby.

The errorlog:

Code: Select all

===============
11/18/2010 19:37
While loading mapinfo.dat
System.IO.FileNotFoundException: Could not find file "/home/k000001/.spring/mapinfo.dat".
File name: '/home/k000001/.spring/mapinfo.dat'
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] 
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.OpenRead (System.String path) [0x00000] 
  at Springie.SpringNamespace.UnitSyncWrapper..ctor (System.String path) [0x00000] 

===============
11/18/2010 19:37
While loading modinfo.dat
System.IO.FileNotFoundException: Could not find file "/home/k000001/.spring/modinfo.dat".
File name: '/home/k000001/.spring/modinfo.dat'
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] 
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.OpenRead (System.String path) [0x00000] 
  at Springie.SpringNamespace.UnitSyncWrapper..ctor (System.String path) [0x00000] 

===============
11/18/2010 19:37
Error getting map info
System.Net.WebException: An error occurred performing a WebClient request. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] 
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] --- End of inner exception stack trace ---

  at System.Net.WebClient.DownloadDataCore (System.Uri address, System.Object userToken) [0x00000] 
  at System.Net.WebClient.DownloadData (System.Uri address) [0x00000] 
  at System.Net.WebClient.DownloadData (System.String address) [0x00000] 
  at Springie.SpringNamespace.UnitSyncWrapper.GetMapInfo (System.String name) [0x00000] 

===============
11/18/2010 19:37
Error getting mod info
System.Net.WebException: An error occurred performing a WebClient request. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] 
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] --- End of inner exception stack trace ---

  at System.Net.WebClient.DownloadDataCore (System.Uri address, System.Object userToken) [0x00000] 
  at System.Net.WebClient.DownloadData (System.Uri address) [0x00000] 
  at System.Net.WebClient.DownloadData (System.String address) [0x00000] 
  at Springie.SpringNamespace.UnitSyncWrapper.GetModInfo (System.String name) [0x00000] 

===============
11/18/2010 19:37
Exception while dispatching OPENBATTLE 11593
System.NullReferenceException: Object reference not set to an instance of an object
  at PlasmaShared.UnitSyncLib.Mod.GetDefaultModOptionsTags () [0x00000] 
  at Springie.Client.TasClient.DispatchServerCommand (System.String command, System.String[] args) [0x00000] 
I can┬┤t see whats wrong.
Maybe the webserver don┬┤t have some data ?

I run the autohost the hole night and nothing has been downloaded.
Please help.

Thanks, Peter

Re: Springie the AutoHost

Posted: 18 Nov 2010, 23:16
by Licho
Thats normal, wait about 10 minutes, it will load all map and mod data.

Re: Springie the AutoHost

Posted: 18 Nov 2010, 23:26
by chefpro
Thanks for the fast answer,
but
^^
I run the autohost the hole night and nothing has been downloaded.
Maybe the firewall ? Which port to open ? Which p2p protocol ?

Thanks, Peter

Re: Springie the AutoHost

Posted: 18 Nov 2010, 23:37
by Licho
Where did you get the autohost? Did you compile latest version from zero-k http://code.google.com/p/zero-k/source/ ... runk/other ?
I no longer provide executable for autohost.

So version you tried is most likely outdated.

Re: Springie the AutoHost

Posted: 18 Nov 2010, 23:40
by Licho
Added some recent version
Springie.zip
springie
(263.43 KiB) Downloaded 94 times
here.

Untested on windows.

Re: Springie the AutoHost

Posted: 18 Nov 2010, 23:53
by chefpro
Thanks.
I tried it and have the following output:

Code: Select all

/home/k000001/.spring/Springie.exe Warning : 0 : Could not load repository cache from /home/k000001/.spring/repositories.dat: System.IO.FileNotFoundException: Could not find file "/home/k000001/.spring/repositories.dat".
File name: '/home/k000001/.spring/repositories.dat'
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] 
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.OpenRead (System.String path) [0x00000] 
  at PlasmaDownloader.Packages.PackageDownloader.LoadRepositories () [0x00000] 
/home/k000001/.spring/Springie.exe Warning : 0 : Unable to load selected packages list: System.IO.FileNotFoundException: Could not find file "/home/k000001/.spring/packages/selected.list".
File name: '/home/k000001/.spring/packages/selected.list'
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] 
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.OpenRead (System.String path) [0x00000] 
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detect_encoding_from_bytemarks, Int32 buffer_size) [0x00000] 
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding) [0x00000] 
  at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string,System.Text.Encoding)
  at System.IO.File.ReadAllText (System.String path, System.Text.Encoding enc) [0x00000] 
  at System.IO.File.ReadAllText (System.String path) [0x00000] 
  at PlasmaDownloader.Packages.PackageDownloader.LoadSelectedPackages () [0x00000] 
===============
11/18/2010 23:51
Secondary thread unhandled exception
System.NotImplementedException: The requested feature is not implemented.
  at System.Linq.Enumerable.ToDictionary[AutoHost,Int32] (IEnumerable`1 source, System.Func`2 keySelector, IEqualityComparer`1 comparer) [0x00000] 
  at System.Linq.Enumerable.ToDictionary[AutoHost,Int32] (IEnumerable`1 source, System.Func`2 keySelector) [0x00000] 
  at Springie.Main.GetFreeHostingPort () [0x00000] 
  at Springie.Main.SpawnAutoHost (System.String path, Springie.SpawnConfig spawnData) [0x00000] 
  at Springie.Main.StartFromPath (System.String path) [0x00000] 
  at Springie.Main.StartAll () [0x00000] 
  at Springie.Program.Main (System.String[] args) [0x00000] 

===============
11/18/2010 23:51
Main thread unhandled exception
System.NotImplementedException: The requested feature is not implemented.
  at System.Linq.Enumerable.ToDictionary[AutoHost,Int32] (IEnumerable`1 source, System.Func`2 keySelector, IEqualityComparer`1 comparer) [0x00000] 
  at System.Linq.Enumerable.ToDictionary[AutoHost,Int32] (IEnumerable`1 source, System.Func`2 keySelector) [0x00000] 
  at Springie.Main.GetFreeHostingPort () [0x00000] 
  at Springie.Main.SpawnAutoHost (System.String path, Springie.SpawnConfig spawnData) [0x00000] 
  at Springie.Main.StartFromPath (System.String path) [0x00000] 
  at Springie.Main.StartAll () [0x00000] 
  at Springie.Program.Main (System.String[] args) [0x00000] 

then it quits unexpectedly.

I use only linux, too.

Thanks, Peter

Re: Springie the AutoHost

Posted: 18 Nov 2010, 23:57
by chefpro
Some Information:

mono --version

Code: Select all

Mono JIT compiler version 1.9.1 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
	TLS:           __thread
	GC:            Included Boehm (with typed GC)
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  x86
	Disabled:      none
I start springie with:

Code: Select all

mono Springie.exe -nogui
Thanks, peter

Re: Springie the AutoHost

Posted: 19 Nov 2010, 00:07
by Licho
That just looks like old mono.
Upgrade to some newer.

I also think it does not need -nogui anymore, i believe i removed gui about year ago.

Re: Springie the AutoHost

Posted: 19 Nov 2010, 00:13
by Licho

Code: Select all

Mono JIT compiler version 2.4.2.3 (Debian 2.4.2.3+dfsg-2)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
Thats what its running at now. Anything newer will do.

Re: Springie the AutoHost

Posted: 19 Nov 2010, 00:18
by chefpro
Thanks Licho,

but upgradeing mono is not an option for me for security reason.

But I will try to compile the new version of springie on my host.

How could this work ?

I newer used mono before, I think I am more a c/c++ guy.

I have 2 projects on sourceforge.

1) I think I firstly should checkout the source, so what┬┤s the svn url ?
2) How to compile ?

Thank you for your great and fast support, Peter

Re: Springie the AutoHost

Posted: 19 Nov 2010, 00:22
by Licho
Recompiling wont work because it fails due to lack of some method form core library.

Solution is possible but i would need to change project target to .NET 2.0 and reference additional library linqbridge which brings what is needed to older mono.

But thats too annoying for me, project uses libs shared by other projects too.

Afaik mono devel contains compiler. There is also gui monodevelop but that all sounds like a hassle just for making it run.

You can also use SPADS autohost which is for python.
Springie only has advantage in being able to host any mod and map automatically without having them and support for missions, stats etc.

Re: Springie the AutoHost

Posted: 19 Nov 2010, 00:31
by chefpro
Thanks Licho,

you are making a got job here.

Maybe with the next Debian release I test it again.

For information only I found the svn url:

Code: Select all

http://zero-k.googlecode.com/svn/trunk/other/Springie
Thanks, Peter

Re: Springie the AutoHost

Posted: 20 Dec 2010, 23:13
by RpWhite3
Licho wrote:Added some recent version
Springie.zip
here.

Untested on windows.

Tried in windows, crashes in about 5 mins.. Whats the alternative to geting a host up and running. I have linux and winblows either works for me..

I just need some one to point me in the right direction, I can try to figure out the rest...

We want to start playing again, and having a host I control was very fun..

Thanks,

Rp

Re: Springie the AutoHost

Posted: 21 Dec 2010, 00:27
by Licho
Get the SPADS autohost instead then. Springie is now meant for multi-autohost servers.

Its interesting it crashes though. On main server it never crashed so far.

Re: Springie the AutoHost

Posted: 16 Jul 2012, 10:41
by Forboding Angel
Need an executable. The latest I can find is from 2 years ago.

Re: Springie the AutoHost

Posted: 03 Jul 2013, 10:54
by Licho
Springie is no longer supported for personal autohosting.

Main server runs one springie which can be used to !spawn more autohsots.

Use spads if you want fully private autohost.