Springie the AutoHost - Page 26

Springie the AutoHost

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

User avatar
racoon97
Posts: 24
Joined: 12 Dec 2007, 10:38

Springie on Ubuntu

Post by racoon97 »

I use Springie on Ubuntu Hardy, it seems to work but when I start it :

Code: Select all

mono springie.exe
I got this message (in a small window) : spring-dedicated.exe not found.
Spring can't work without this file or I need it ? If yes, where can I found it ?

And Licho... thanks a lot for you work and portage on linux. :-)
User avatar
racoon97
Posts: 24
Joined: 12 Dec 2007, 10:38

Re: Springie the AutoHost

Post by racoon97 »

Ok I found it here : http://spring.jobjol.nl/show_file.php?id=1516
But my question stay : need it or not need it ?
User avatar
racoon97
Posts: 24
Joined: 12 Dec 2007, 10:38

Re: Springie the AutoHost

Post by racoon97 »

Unfortunately after few seconds connection, Springie crash with this fatal error (last lines logs):

Code: Select all

Thread 1 (Thread 0xb7c8a6d0 (LWP 19908)):
#0  0xb7f17410 in __kernel_vsyscall ()
#1  0xb7d7fc07 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb549c654 in ?? ()
#3  0xb549bec7 in ?? ()
#4  0xb56f6afb in ?? ()
#5  0xb56f91a0 in ?? ()
#6  0xb56fcca2 in ?? ()
#7  0xb5e8808f in ?? ()
#8  0xb5e875b5 in ?? ()
#9  0xb5e8732b in ?? ()
#10 0xb787740b in ?? ()
#11 0xb78721c3 in ?? ()
#12 0x0809c63b in mono_runtime_exec_main ()
#13 0x0809c933 in mono_runtime_run_main ()
#14 0x0805acd9 in mono_main ()
#15 0x0805a122 in ?? ()
#16 0xb7cc9450 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#17 0x0805a091 in ?? ()
#0  0xb7f17410 in __kernel_vsyscall ()

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Abandon
:cry:
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Re: Springie the AutoHost

Post by det »

You have to configure Springie to use /usr/games/spring-dedicated.
You can find the setting in main.xml:

Code: Select all

<ExecutableName>/usr/games/spring-dedicated</ExecutableName>
User avatar
racoon97
Posts: 24
Joined: 12 Dec 2007, 10:38

Re: Springie the AutoHost

Post by racoon97 »

Thank you soo much det.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie the AutoHost

Post by Licho »

springie 34b fixes potential crash epxloit of dedicated server.
andre
Posts: 58
Joined: 21 Jun 2008, 04:52

Re: Springie the AutoHost

Post by andre »

can you please re-enable that everything what's going on with springie is sent to stdout (chatmesseages, !-commands, game starts, balance, etc)? i always used it to log everything but this isn't possible anymore now. (or atleast add some cli-arg that it can be enabled on demand.)
TitanTree
Posts: 10
Joined: 05 Dec 2008, 05:21

Re: Springie the AutoHost

Post by TitanTree »

hi,
Thanks for the springie host. I've been attempting to set it up on a windows PC (winxp and vista). Has anyone got a working install on windows?

My problem is:

* I can run springie and join one of its hosted games
* I can send commands like, !start
* When I start the round, the battle locks and the connected clients load spring and sit on the connection to server screen. This is where the clients stay, waiting for springie to host.
* I ALT-TAB to check springie, and find it locked, then unlocked the game straight away.

[15:29:19] <TitanTree> !start
[15:29:19] <AI01_TitanTree> please wait, game is about to start
[15:29:21] <AI01_TitanTree> game locked
[15:29:22] <AI01_TitanTree> game unlocked

* All clients return to battle room after they time out... or esc.
* We could try again, but same result.

I don't think its related to the firewall or anything because I can host manually with no problems.

I've turned springie into debug mode, msg box etc and no outputs so could this be a spring-dedicated.exe issue and not springie? Any debug ideas?

Thanks
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie the AutoHost

Post by Licho »

Check log file, it probably cannot find dedicated server. Also make sure you have latest dedicated server compatible with 77b5
TitanTree
Posts: 10
Joined: 05 Dec 2008, 05:21

Re: Springie the AutoHost

Post by TitanTree »

Hi thanks for the reply.

I confirmed no errors were in the springie_errors.txt file.
I have also confirmed I'm running the latest version of the spring-dedicated.exe.

I then checked the infolog.txt for where my spring-dedicated.exe file is running, it appears to just stall.

This is all infolog.txt has in it... no errors, is this spring-dedicated.exe having problems?
---
Using read-write data directory: c:\program files\spring2\
Scanning: c:\program files\spring2\maps
Scanning: c:\program files\spring2\base
Scanning: c:\program files\spring2\mods
---

I join from spring installed at c:\program files\spring\ But run spring-dedicated.exe from c:\program files\spring2\

Thanks for any advice.
TT
User avatar
momfreeek
Posts: 625
Joined: 29 Apr 2008, 16:50

Re: Springie the AutoHost

Post by momfreeek »

same issue here on xp.

If I run springie form my normal spring folder and use the spring.exe it works fine, if I use spring-dedicated.exe no-one can connect. infolog just has those 3 lines, no springie errors.

Does anyone have the dedicated exe working on xp?
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie the AutoHost

Post by Licho »

Make sure you have latest build of it. Grab the one from jobjol, that should work. If not ask other people who have it running under windows.
I have only custom modified dedicated with bugfixes needed for planetwars.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie the AutoHost

Post by Licho »

Best way to test dedicated is to start it with commandline and give it path to strartup script as parameter (generated by springie for example springie8452.txt).

You should then see what is the problem.
marcel.lowrie
Posts: 13
Joined: 17 Dec 2008, 11:02

Re: Springie the AutoHost

Post by marcel.lowrie »

I'm interested in using this for a small project. I've been reading a good bit, but im finding it hard to get a clear set of instructions on how to get this working.

I got the source and the binaries, both of which i have working. It's confusing me a bit by requiring a log in?

Hoping someone can clarify this for me, if its not too much trouble.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie the AutoHost

Post by Licho »

It needs spring lobby account.. give it some..
User avatar
Pithikos
Posts: 146
Joined: 26 Dec 2008, 14:26

Re: Springie the AutoHost

Post by Pithikos »

Same problem here :/

Tryied rapidly to host but only made it to the screen where it says "connecting.."

I am able to host from lobby though :?
User avatar
[mft]Rrrr
Posts: 26
Joined: 12 Oct 2008, 23:10

Re: Springie the AutoHost

Post by [mft]Rrrr »

have some problems on linux (ubuntu 8.04 HH) when trying to start ModInfoBuilder or Springie.

Code: Select all

~/spring$ mono ModInfoBuilder.exe
Needs path to spring
~/spring/infolog.txt contain

Code: Select all

using configuration source "/home/zzzzzzz/.springrc"
OS: Linux
Using read-write data directory: /home/zzzzzzz/spring/
Using read-only  data directory: /home/zzzzzzz/.spring/
Using read-only  data directory: /usr/share/games/spring/
...
so i am frustrated which path to use. looks like all this folders contain unique data (maps, mods, etc. some are empty).
any help or suggestion? (which files/pathes Springie and ModInfoBuilder needs?)

ps: thanks for Springie!
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie the AutoHost

Post by Licho »

Ahh right i never tested builder on linux, im using windows. It needs spring path and assumes mods are in "mods" subfolder and maps in "maps".
Its probably best to ask someone to generate those files on windows and just copy them.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Springie the AutoHost

Post by Licho »

Oh wait nm, it should need path to unitsync.so
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Springie the AutoHost

Post by zerver »

Hi!

I suggest a better votekick/voteban system, where you can vote even if there are other ongoing votes.

Basically, anyone should be able to type !votekick username at any time and if enough people do so, the kick/ban is executed.

The purpose is to eliminate the problem with morons that start votes for other things just to avoid getting kicked themselves.

In addition to this, it might be good if votekick always implies 1 minute ban, because the morons tend to come right back in after getting kicked.

What do you think?
Post Reply

Return to “General Discussion”