View topic - Springie the AutoHost



All times are UTC + 1 hour


Post new topic Reply to topic  [ 656 posts ]  Go to page Previous  1 ... 29, 30, 31, 32, 33
Author Message
PostPosted: 29 Sep 2010, 13:46 
Server Owner & Developer
User avatar

Joined: 19 May 2006, 18:13
Location: Brno, Czech rep., EU, Terra, Sol, Orion arm, Milky way, Virgo supercluster
Springie will autodownload these in 10 minutes.


Top
 Offline Profile  
 
PostPosted: 18 Nov 2010, 23:02 

Joined: 18 Nov 2010, 22:52
I have the same problem with springie map and mod being dummy in the lobby.

The errorlog:
Code:
===============
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


Top
 Offline Profile  
 
PostPosted: 18 Nov 2010, 23:16 
Server Owner & Developer
User avatar

Joined: 19 May 2006, 18:13
Location: Brno, Czech rep., EU, Terra, Sol, Orion arm, Milky way, Virgo supercluster
Thats normal, wait about 10 minutes, it will load all map and mod data.


Top
 Offline Profile  
 
PostPosted: 18 Nov 2010, 23:26 

Joined: 18 Nov 2010, 22:52
Thanks for the fast answer,
but
^^
Quote:
I run the autohost the hole night and nothing has been downloaded.


Maybe the firewall ? Which port to open ? Which p2p protocol ?

Thanks, Peter


Top
 Offline Profile  
 
PostPosted: 18 Nov 2010, 23:37 
Server Owner & Developer
User avatar

Joined: 19 May 2006, 18:13
Location: Brno, Czech rep., EU, Terra, Sol, Orion arm, Milky way, Virgo supercluster
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.


Top
 Offline Profile  
 
PostPosted: 18 Nov 2010, 23:40 
Server Owner & Developer
User avatar

Joined: 19 May 2006, 18:13
Location: Brno, Czech rep., EU, Terra, Sol, Orion arm, Milky way, Virgo supercluster
Added some recent version
Attachment:
File comment: springie
Springie.zip [263.43 KiB]
Downloaded 75 times
here.

Untested on windows.


Top
 Offline Profile  
 
PostPosted: 18 Nov 2010, 23:53 

Joined: 18 Nov 2010, 22:52
Thanks.
I tried it and have the following output:
Code:
/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


Top
 Offline Profile  
 
PostPosted: 18 Nov 2010, 23:57 

Joined: 18 Nov 2010, 22:52
Some Information:

mono --version
Code:
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:
mono Springie.exe -nogui

Thanks, peter


Top
 Offline Profile  
 
PostPosted: 19 Nov 2010, 00:07 
Server Owner & Developer
User avatar

Joined: 19 May 2006, 18:13
Location: Brno, Czech rep., EU, Terra, Sol, Orion arm, Milky way, Virgo supercluster
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.


Top
 Offline Profile  
 
PostPosted: 19 Nov 2010, 00:13 
Server Owner & Developer
User avatar

Joined: 19 May 2006, 18:13
Location: Brno, Czech rep., EU, Terra, Sol, Orion arm, Milky way, Virgo supercluster
Code:
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.


Top
 Offline Profile  
 
PostPosted: 19 Nov 2010, 00:18 

Joined: 18 Nov 2010, 22:52
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


Top
 Offline Profile  
 
PostPosted: 19 Nov 2010, 00:22 
Server Owner & Developer
User avatar

Joined: 19 May 2006, 18:13
Location: Brno, Czech rep., EU, Terra, Sol, Orion arm, Milky way, Virgo supercluster
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.


Top
 Offline Profile  
 
PostPosted: 19 Nov 2010, 00:31 

Joined: 18 Nov 2010, 22:52
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:
http://zero-k.googlecode.com/svn/trunk/other/Springie


Thanks, Peter


Top
 Offline Profile  
 
PostPosted: 20 Dec 2010, 23:13 
User avatar

Joined: 30 Jan 2008, 23:07
Location: Texas
Licho wrote:
Added some recent version
Attachment:
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


Top
 Offline Profile  
 
PostPosted: 21 Dec 2010, 00:27 
Server Owner & Developer
User avatar

Joined: 19 May 2006, 18:13
Location: Brno, Czech rep., EU, Terra, Sol, Orion arm, Milky way, Virgo supercluster
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.


Top
 Offline Profile  
 
PostPosted: 16 Jul 2012, 09:41 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Need an executable. The latest I can find is from 2 years ago.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 656 posts ]  Go to page Previous  1 ... 29, 30, 31, 32, 33

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.